Guest User

Untitled

a guest
Jul 16th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.81 KB | None | 0 0
  1. /*
  2. Code: by Dark
  3. */
  4.  
  5. .text:004DAB10
  6. .text:004DAB10 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
  7. .text:004DAB10
  8. .text:004DAB10
  9. .text:004DAB10 sub_4DAB10 proc near ; CODE XREF: sub_4CC340+6C4p
  10. .text:004DAB10
  11. .text:004DAB10 var_10 = dword ptr -10h
  12. .text:004DAB10 var_C = dword ptr -0Ch
  13. .text:004DAB10 var_8 = dword ptr -8
  14. .text:004DAB10 var_4 = dword ptr -4
  15. .text:004DAB10
  16. .text:004DAB10 sub esp, 10h
  17. .text:004DAB13 push esi
  18. .text:004DAB14 mov esi, eax
  19. .text:004DAB16 mov eax, [edi+3360h]
  20. .text:004DAB1C test eax, eax
  21. .text:004DAB1E jnz short loc_4DAB33
  22. .text:004DAB20 push 5000h
  23. .text:004DAB25 call j_??2@YAPAXI@Z ; operator new(uint)
  24. .text:004DAB2A add esp, 4
  25. .text:004DAB2D mov [edi+3360h], eax
  26. .text:004DAB33
  27. .text:004DAB33 loc_4DAB33: ; CODE XREF: sub_4DAB10+Ej
  28. .text:004DAB33 lea eax, [esp+14h+var_8]
  29. .text:004DAB37 push eax
  30. .text:004DAB38 lea ecx, [esp+18h+var_C]
  31. .text:004DAB3C push ecx
  32. .text:004DAB3D lea edx, [esp+1Ch+var_10]
  33. .text:004DAB41 push edx
  34. .text:004DAB42 mov ecx, esi
  35. .text:004DAB44 call sub_63D600
  36. .text:004DAB49 mov ecx, eax
  37. .text:004DAB4B call sub_63D600
  38. .text:004DAB50 mov ecx, eax
  39. .text:004DAB52 call sub_63D600
  40. .text:004DAB57 movzx ecx, word ptr [esp+14h+var_10]
  41. .text:004DAB5C mov eax, [esp+14h+var_8]
  42. .text:004DAB60 imul ecx, 0FB0h
  43. .text:004DAB66 mov edx, [edi+3360h]
  44. .text:004DAB6C push eax
  45. .text:004DAB6D lea eax, [ecx+edx-0FB0h]
  46. .text:004DAB74 push eax
  47. .text:004DAB75 mov ecx, esi
  48. .text:004DAB77 call sub_63D480
  49. .text:004DAB7C mov ax, word ptr [esp+14h+var_C]
  50. .text:004DAB81 cmp word ptr [esp+14h+var_10], ax
  51. .text:004DAB86 jnz loc_4DAC2F
  52. .text:004DAB8C cmp dword_70BA68, 10h
  53. .text:004DAB93 push ebx ; char
  54. .text:004DAB94 mov ebx, dword_70BA54
  55. .text:004DAB9A mov [esp+18h+var_4], 17E9C541h
  56. .text:004DABA2 jnb short loc_4DABA9
  57. .text:004DABA4 mov ebx, offset dword_70BA54
  58. .text:004DABA9
  59. .text:004DABA9 loc_4DABA9: ; CODE XREF: sub_4DAB10+92j
  60. .text:004DABA9 movzx edx, word ptr [esp+18h+var_8]
  61. .text:004DABAE movzx ecx, ax
  62. .text:004DABB1 imul ecx, 0FB0h
  63. .text:004DABB7 push offset aCallApr_init ; "Call APR_Init"
  64. .text:004DABBC lea esi, [ecx+edx-0FB0h]
  65. .text:004DABC3 call sub_63BC50
  66. .text:004DABC8 mov eax, [edi+3360h]
  67. .text:004DABCE push esi
  68. .text:004DABCF push eax
  69. .text:004DABD0 lea ecx, [esp+24h+var_4]
  70. .text:004DABD4 push ecx
  71. .text:004DABD5 push ebx
  72. .text:004DABD6 call sub_695CBC
  73. .text:004DABDB mov esi, eax
  74. .text:004DABDD push esi ; char
  75. .text:004DABDE push offset aReturnDFromApr ; "return %d from APR_Init"
  76. .text:004DABE3 call sub_63BC50
  77. .text:004DABE8 add esp, 1Ch
  78. .text:004DABEB test esi, esi
  79. .text:004DABED pop ebx
  80. .text:004DABEE jz short loc_4DAC16
  81. .text:004DABF0 push esi ; char
  82. .text:004DABF1 push offset aErrorFailToIni ; "error: fail to initialize crypt module,"...
  83. .text:004DABF6 call sub_63BC50
  84. .text:004DABFB mov edx, hWnd
  85. .text:004DAC01 add esp, 8
  86. .text:004DAC04 push 0 ; lParam
  87. .text:004DAC06 push 0 ; wParam
  88. .text:004DAC08 push 10h ; Msg
  89. .text:004DAC0A push edx ; hWnd
  90. .text:004DAC0B call ds:PostMessageA
  91. .text:004DAC11 pop esi
  92. .text:004DAC12 add esp, 10h
  93. .text:004DAC15 retn
  94. .text:004DAC16 ; -----------------------------------------------------
Add Comment
Please, Sign In to add comment