Function at 0x4031f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1297
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x308]
mov ecx, 0xbf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x616870]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov esi, esp
push str.MHManualPatch.exe
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.00544880
mov ecx, dword [ebp - 0x18]
call fcn.0047caf0
push 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x954]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.004683d0
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x954]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.004683d0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x960], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x964], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x1460], 0xffffffff
mov ecx, dword [ebp - 0x18]
call fcn.004070f0
mov ecx, dword [ebp - 0x18]
call fcn.00407480
mov ecx, dword [ebp - 0x18]
call fcn.00408630
push str.DarkstoryOnline
mov ecx, dword [ebp - 0x18]
call fcn.0046e2b0
mov esi, esp
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x24], eax
mov esi, esp
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 0x280
mov eax, dword [0x6186e8]
add eax, 0x1e0
mov dword [ebp - 0x48], eax
push 4
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x48]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x3c]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0046e720
mov ecx, dword [ebp - 0x18]
call fcn.004065d0
mov dword [ebp - 0x54], 0
mov esi, esp
push 0xffffffffffffffe6
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x434]
push ecx
call dword [sym.imp.USER32.dll_GetClassLongA]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
and eax, 0xfffffff7
mov dword [ebp - 0x54], eax
mov esi, esp
mov eax, dword [ebp - 0x54]
push eax
push 0xffffffffffffffe6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x434]
push edx
call dword [sym.imp.USER32.dll_SetClassLongA]
cmp esi, esp
call fcn.00544880
mov esi, esp
push 0xffffffffffffffe6
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x494]
push ecx
call dword [sym.imp.USER32.dll_GetClassLongA]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
and eax, 0xfffffff7
mov dword [ebp - 0x54], eax
mov esi, esp
mov eax, dword [ebp - 0x54]
push eax
push 0xffffffffffffffe6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x494]
push edx
call dword [sym.imp.USER32.dll_SetClassLongA]
cmp esi, esp
call fcn.00544880
mov esi, esp
push 0xffffffffffffffe6
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x4f4]
push ecx
call dword [sym.imp.USER32.dll_GetClassLongA]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
and eax, 0xfffffff7
mov dword [ebp - 0x54], eax
mov esi, esp
mov eax, dword [ebp - 0x54]
push eax
push 0xffffffffffffffe6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x4f4]
push edx
call dword [sym.imp.USER32.dll_SetClassLongA]
cmp esi, esp
call fcn.00544880
mov esi, esp
push 0xffffffffffffffe6
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x554]
push ecx
call dword [sym.imp.USER32.dll_GetClassLongA]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
and eax, 0xfffffff7
mov dword [ebp - 0x54], eax
mov esi, esp
mov eax, dword [ebp - 0x54]
push eax
push 0xffffffffffffffe6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x554]
push edx
call dword [sym.imp.USER32.dll_SetClassLongA]
cmp esi, esp
call fcn.00544880
mov ecx, dword [ebp - 0x18]
add ecx, 0x5e8
call fcn.00469ee0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
or eax, 0xb
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
or eax, 2
mov dword [ebp - 0x60], eax
push 1
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x5e8
call fcn.00469f30
mov ecx, dword [ebp - 0x18]
add ecx, 0x728
call fcn.00469ee0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
or eax, 0xb
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
or eax, 2
mov dword [ebp - 0x60], eax
push 1
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x728
call fcn.00469f30
mov eax, dword [0x6186e8]
add eax, 0x1e0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x78], 0x280
mov eax, dword [ebp - 0x6c]
sub eax, 0x14
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x78]
sub eax, 0x14
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x84], 0x1e0
mov dword [ebp - 0x90], 0x280
mov dword [ebp - 0x9c], 0x55
mov dword [ebp - 0xa8], 0x11
mov dword [ebp - 0xb4], 0x5a
push 4
push 0x11
push 0x11
mov eax, dword [ebp - 0x84]
sub eax, 0x1d9
push eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0x1c
push ecx
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x474
call fcn.0046e720
mov eax, dword [ebp - 0xb4]
add eax, 5
mov ecx, dword [ebp - 0x78]
sub ecx, eax
mov dword [ebp - 0x78], ecx
push 4
push 0x2c
push 0x6e
mov eax, dword [ebp - 0x84]
sub eax, 0x3a
push eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0x81
push ecx
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x414
call fcn.0046e720
push 0x5c15c8
mov ecx, dword [ebp - 0x18]
add ecx, 0x1f8
call fcn.0046e2b0
push 4
push 0xf
mov eax, dword [ebp - 0x9c]
sub eax, 0x14
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x78]
add edx, 0xb
push edx
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x1f8
call fcn.0046e720
push 0x646464
mov ecx, dword [ebp - 0x18]
add ecx, 0x1f8
call fcn.0040bb50
push 4
push 0x16
push 0x5a
mov eax, dword [ebp - 0x84]
sub eax, 0x2f
push eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0x1c1
push ecx
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x534
call fcn.0046e720
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0xb4]
mov dword [ebp - 0x78], eax
push 4
push 0x16
push 0x5a
mov eax, dword [ebp - 0x84]
sub eax, 0x2f
push eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0x14f
push ecx
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x4d4
call fcn.0046e720
push 0x5c15c8
mov ecx, dword [ebp - 0x18]
add ecx, 0x160
call fcn.0046e2b0
push 4
push 0xc
mov eax, dword [ebp - 0x9c]
sub eax, 0x14
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x78]
add edx, 0xb
push edx
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x160
call fcn.0046e720
mov eax, dword [ebp - 0x78]
sub eax, 0x3c
mov dword [ebp - 0x78], eax
push 4
push 0x11
push 0x11
mov eax, dword [ebp - 0x84]
sub eax, 0x2d
push eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0xdc
push ecx
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x5e8
call fcn.0046e720
push 0x5c19bc
mov ecx, dword [ebp - 0x18]
add ecx, 0x690
call fcn.0046e2b0
push 4
push 0x11
push 0x3c
mov eax, dword [ebp - 0x84]
sub eax, 0x28
push eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0xc5
push ecx
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x690
call fcn.0046e720
push 0x618110
push str.___s__
lea eax, [ebp - 0x1bc]
push eax
call fcn.00544ff0
add esp, 0xc
lea eax, [ebp - 0x1bc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x8bc
call fcn.0046e2b0
push 0xffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x8bc
call fcn.0040bb50
push 2
mov ecx, dword [ebp - 0x18]
add ecx, 0x8bc
call fcn.00403c30
push 4
push 0x14
push 0x64
push 0xb
push 0xd4
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x8bc
call fcn.0046e720
push 5
mov ecx, dword [ebp - 0x18]
add ecx, 0x8bc
call fcn.0046e7d0
push str.1024710
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.1024768
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.1152864
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.1280720
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.1280800
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.12801024
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.1360710
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.1360768
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.1600900
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.16001200
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.16801050
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.1768992
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.19201080
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.25601080
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push str.34401440
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b4b0
push 5
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046e7d0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x9d8]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x814
call fcn.0046b090
mov eax, dword [0x612310]
add eax, 0x1b1
push eax
push str.e:dropboxdropboxpong_titan_titan_playonline_source1_sourcecode_client_mhautopatchmhautopatchdlg.cpp
push 0xf8
call fcn.00447340
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x2f4], 0
je 0x403915
mov ecx, dword [ebp - 0x2f4]
call fcn.004010f0
mov dword [ebp - 0x308], eax
jmp 0x40391f
mov dword [ebp - 0x308], 0
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x300], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x300]
mov dword [edx + 0x968], eax
mov esi, esp
push 0
push 1
mov eax, dword [ebp - 0x18]
push eax
push 0x186
push 0x2a8
push 0x20
push 0
lea ecx, [ebp - 0x2e8]
call fcn.005a4630
push eax
push 0x40000000
push 0
push 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x968]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x968]
mov edx, dword [edx]
mov eax, dword [edx + 0x5c]
call eax
cmp esi, esp
call fcn.00544880
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
add eax, 0x9dc
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x968]
call fcn.0044a5d0
mov eax, dword [0x612310]
add eax, 0x1d1
push eax
push str.e:dropboxdropboxpong_titan_titan_playonline_source1_sourcecode_client_mhautopatchmhautopatchdlg.cpp
push 0x54
call fcn.00447340
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x2c4], 0
je 0x4039ef
mov ecx, dword [ebp - 0x2c4]
call fcn.0040b010
mov dword [ebp - 0x308], eax
jmp 0x4039f9
mov dword [ebp - 0x308], 0
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2d0]
mov dword [edx + 0x96c], eax
mov esi, esp
push 2
mov eax, dword [ebp - 0x18]
push eax
push 0x194
push 0x274
push 0x18c
push 0x80
lea ecx, [ebp - 0x2b8]
call fcn.005a4630
push eax
push 0x50000000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x96c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x96c]
mov edx, dword [edx]
mov eax, dword [edx + 0x144]
call eax
cmp esi, esp
call fcn.00544880
push 0xff
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x96c]
call fcn.00493b30
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x96c]
call fcn.0049abb0
push 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x96c]
call fcn.00493c90
mov eax, dword [0x612310]
add eax, 0x1dd
push eax
push str.e:dropboxdropboxpong_titan_titan_playonline_source1_sourcecode_client_mhautopatchmhautopatchdlg.cpp
push 0x98
call fcn.00447340
mov dword [ebp - 0x294], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x294], 0
je 0x403ae3
mov ecx, dword [ebp - 0x294]
call fcn.0040b500
mov dword [ebp - 0x308], eax
jmp 0x403aed
mov dword [ebp - 0x308], 0
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2a0]
mov dword [edx + 0x970], eax
push 0x198
push 0x82
push 0x189
push 0xe
mov ecx, dword [ebp - 0x18]
add ecx, 0x974
call fcn.005a4960
push 1
push 0xb
push str.Arial
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x970]
call fcn.0040ba90
mov esi, esp
push 3
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x974
push ecx
push 0x50000001
mov edx, dword [ebp - 0x18]
add edx, 0xde0
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x970]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x970]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x144]
call eax
cmp esi, esp
call fcn.00544880
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
mov dword [0x6186ec], ecx
push 0x5c159c
push str..._DeveloperWorking__DONOTUSEENGINEPACK
call fcn.00545e80
add esp, 8
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
je 0x403bd1
mov dword [0x6122d4], 0
mov eax, dword [ebp - 0x1c8]
push eax
call fcn.00545a60
add esp, 4
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x403c10]
call fcn.005448b0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544870
add esp, 0x308
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret