Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.05 KB | None | 0 0
  1. text:00545EA1
  2. .text:00545EA1 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
  3. .text:00545EA1
  4. .text:00545EA1 ; Attributes: bp-based frame
  5. .text:00545EA1
  6. .text:00545EA1 printArchivefile proc near ; CODE XREF: sub_5466E1+A4p
  7. .text:00545EA1 ; sub_5466E1+AFp ...
  8. .text:00545EA1
  9. .text:00545EA1 var_10= dword ptr -10h
  10. .text:00545EA1 var_C= dword ptr -0Ch
  11. .text:00545EA1 var_8= dword ptr -8
  12. .text:00545EA1 var_4= byte ptr -4
  13. .text:00545EA1 var_3= byte ptr -3
  14. .text:00545EA1 arg_0= byte ptr 8
  15. .text:00545EA1 arg_4= byte ptr 0Ch
  16. .text:00545EA1
  17. .text:00545EA1 push ebp
  18. .text:00545EA2 mov ebp, esp
  19. .text:00545EA4 sub esp, 10h
  20. .text:00545EA7 mov ecx, dword_8937DC
  21. .text:00545EAD push ebx
  22. .text:00545EAE xor ebx, ebx
  23. .text:00545EB0 cmp ecx, ebx
  24. .text:00545EB2 mov [ebp+var_10], ebx
  25. .text:00545EB5 mov [ebp+var_C], ebx
  26. .text:00545EB8 mov [ebp+var_8], ebx
  27. .text:00545EBB mov [ebp+var_4], bl
  28. .text:00545EBE mov [ebp+var_3], bl
  29. .text:00545EC1 jnz short loc_545ECE
  30. .text:00545EC3 call sub_550B1F
  31. .text:00545EC8 mov ecx, dword_8937DC
  32. .text:00545ECE
  33. .text:00545ECE loc_545ECE: ; CODE XREF: printArchivefile+20j
  34. .text:00545ECE mov eax, [ecx]
  35. .text:00545ED0 push ebx
  36. .text:00545ED1 push ebx
  37. .text:00545ED2 push dword ptr [ebp+arg_0]
  38. .text:00545ED5 lea edx, [ebp+var_10]
  39. .text:00545ED8 push edx
  40. .text:00545ED9 call dword ptr [eax+0Ch]
  41. .text:00545EDC cmp [ebp+arg_4], bl
  42. .text:00545EDF jz short loc_545EEB
  43. .text:00545EE1 cmp [ebp+var_4], bl
  44. .text:00545EE4 jz short loc_545F26
  45. .text:00545EE6 cmp [ebp+var_3], bl
  46. .text:00545EE9 jnz short loc_545F26
  47. .text:00545EEB
  48. .text:00545EEB loc_545EEB: ; CODE XREF: printArchivefile+3Ej
  49. .text:00545EEB push [ebp+var_10]
  50. .text:00545EEE push [ebp+var_C]
  51. .text:00545EF1 push [ebp+var_8]
  52. .text:00545EF4 push dword ptr [ebp+arg_0] ; char
  53. .text:00545EF7 push offset aAddingArchiveF ; "Adding archive file \"%s\" (length %u, ti"...
  54. .text:00545EFC call sub_548268
  55. .text:00545F01 mov ecx, dword_88F088
  56. .text:00545F07 add esp, 14h
  57. .text:00545F0A cmp ecx, ebx
  58. .text:00545F0C jnz short loc_545F19
  59. .text:00545F0E call sub_54E508
  60. .text:00545F13 mov ecx, dword_88F088
  61. .text:00545F19
  62. .text:00545F19 loc_545F19: ; CODE XREF: printArchivefile+6Bj
  63. .text:00545F19 mov eax, [ecx]
  64. .text:00545F1B push ebx
  65. .text:00545F1C push dword ptr [ebp+arg_0]
  66. .text:00545F1F call dword ptr [eax+18h]
  67. .text:00545F22 mov al, 1
  68. .text:00545F24 jmp short loc_545F28
  69. .text:00545F26 ; ---------------------------------------------------------------------------
  70. .text:00545F26
  71. .text:00545F26 loc_545F26: ; CODE XREF: printArchivefile+43j
  72. .text:00545F26 ; printArchivefile+48j
  73. .text:00545F26 xor al, al
  74. .text:00545F28
  75. .text:00545F28 loc_545F28: ; CODE XREF: printArchivefile+83j
  76. .text:00545F28 pop ebx
  77. .text:00545F29 leave
  78. .text:00545F2A retn
  79. .text:00545F2A printArchivefile endp
  80. .text:00545F2A
  81. .text:00545F2B
  82. .text:00545F2B ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
  83. .text:00545F2B
  84. .text:00545F2B
  85. .text:00545F2B sub_545F2B proc near ; CODE XREF: sub_40C5E5+16p
  86. .text:00545F2B ; sub_40C5E5+37p ...
  87. .text:00545F2B mov eax, dword_886BA8
  88. .text:00545F30 retn
  89. .text:00545F30 sub_545F2B endp
  90. .text:00545F30
  91. .text:00545F31
  92. .text:00545F31 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
  93. .text:00545F31
  94. .text:00545F31
  95. .text:00545F31 sub_545F31 proc near ; CODE XREF: sub_5466E1+22p
  96. .text:00545F31
  97. .text:00545F31 arg_0= dword ptr 8
  98. .text:00545F31
  99. .text:00545F31 push esi
  100. .text:00545F32 push 0FFFFFFFFh
  101. .text:00545F34 push [esp+4+arg_0]
  102. .text:00545F38 mov esi, ecx
  103. .text:00545F3A push 200h
  104. .text:00545F3F push esi
  105. .text:00545F40 mov byte ptr [esi+1FEh], 0
  106. .text:00545F47 call sub_547C1E
  107. .text:00545F4C add esp, 10h
  108. .text:00545F4F mov eax, esi
  109. .text:00545F51 pop esi
  110. .text:00545F52 retn 4
  111. .text:00545F52 sub_545F31 endp
  112. .text:00545F52
  113. .text:00545F55
  114. .text:00545F55 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
  115. .text:00545F55
  116. .text:00545F55 ; Attributes: bp-based frame
  117. .text:00545F55
  118. .text:00545F55 sub_545F55 proc near ; CODE XREF: sub_545FCE+Ep
  119. .text:00545F55 ; sub_545FCE+12Bp ...
  120. .text:00545F55
  121. .text:00545F55 var_200= byte ptr -200h
  122. .text:00545F55 var_2= byte ptr -2
  123. .text:00545F55 var_1= byte ptr -1
  124. .text:00545F55 arg_0= dword ptr 8
  125. .text:00545F55
  126. .text:00545F55 push ebp
  127. .text:00545F56 mov ebp, esp
  128. .text:00545F58 sub esp, 200h
  129. .text:00545F5E push esi
  130. .text:00545F5F push 0FFFFFFFFh
  131. .text:00545F61 push [ebp+arg_0]
  132. .text:00545F64 mov esi, 200h
  133. .text:00545F69 lea eax, [ebp+var_200]
  134. .text:00545F6F push esi
  135. .text:00545F70 push eax
  136. .text:00545F71 mov [ebp+var_200], 0
  137. .text:00545F78 mov [ebp+var_2], 0
  138. .text:00545F7C mov [ebp+var_1], 0
  139. .text:00545F80 call sub_547C1E
  140. .text:00545F85 lea eax, [ebp+var_200]
  141. .text:00545F8B push esi ; int
  142. .text:00545F8C push eax ; char *
  143. .text:00545F8D call sub_547A7A
  144. .text:00545F92 push 0FFFFFFFFh ; int
  145. .text:00545F94 push offset aSettlershok_bi ; "settlershok.bin"
  146. .text:00545F99 lea eax, [ebp+var_200]
  147. .text:00545F9F push esi ; int
  148. .text:00545FA0 push eax ; char *
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement