Function at 0x4c3519
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.00571ea8
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x6dabd6
push ebx
mov eax, esp
push eax
call fcn.00406183
pop ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
push 8
call fcn.00571ea8
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x6dab1b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], 0
call fcn.00402390
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x50
mov dword [ebp - 0x3c], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
mov ebx, dword [ebp - 0x3c]
fild qword [ebx]
fstp qword [ebp - 0x4c]
fsub qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00401072
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x58
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x726610]
mov ebx, dword [ebx + 0x6c]
add ebx, 8
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebx]
push eax
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.004019c4
add esp, 8
cmp eax, 0
je 0x4c3643
mov eax, 0
jmp 0x4c4522
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xa0
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 4]
cdq
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov ebx, dword [ebp - 0x3c]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
xor ecx, ecx
cmp dword [ebp - 0x40], edx
jl 0x4c3672
jg 0x4c3671
cmp dword [ebp - 0x44], eax
jbe 0x4c3672
inc ecx
mov eax, ecx
test eax, eax
je 0x4c3686
mov eax, 0
jmp 0x4c4522
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x60
mov dword [ebp - 0x3c], ebx
fild dword [ebp - 8]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
mov ebx, dword [ebp - 0x3c]
fmul qword [ebx]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.00401072
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x34
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
fld qword [ebx]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x48]
fmul qword [ebp - 0x48]
fstp qword [ebp - 0x50]
push 0
push 0
push 0
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 2
mov ebx, 0x572670
call fcn.00571eba
add esp, 0x1c
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x7c]
mov dword [ebp - 0x5c], ebx
fld qword [ebp - 0x58]
mov ebx, dword [ebp - 0x5c]
fild dword [ebx]
fstp qword [ebp - 0x64]
fadd qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.00401072
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x78]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x3c
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
fld qword [ebx]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x48]
fmul qword [ebp - 0x48]
fstp qword [ebp - 0x50]
push 0
push 0
push 0
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 2
mov ebx, 0x572670
call fcn.00571eba
add esp, 0x1c
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x7c]
add ebx, 4
mov dword [ebp - 0x5c], ebx
fld qword [ebp - 0x58]
mov ebx, dword [ebp - 0x5c]
fild dword [ebx]
fstp qword [ebp - 0x64]
fadd qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.00401072
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x78]
add ebx, 4
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
push dword [ebx]
mov ebx, dword [ebp - 0x44]
push dword [ebx]
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.0040fb21
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
cmp dword [ebp - 0xc], eax
jl 0x4c382b
mov eax, 0
jmp 0x4c4522
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x78]
add ebx, 4
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
push 0x7266d0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x84]
push 0x7266e8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x74]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4c3e13
push dword [ebp - 0x18]
push 0x7266e8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, str.currentX
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c38e8
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
mov eax, str.currentY
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c3948
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
mov ebx, 0x572450
call fcn.00571eba
add esp, 0x10
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00401072
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
mov ebx, 0x572450
call fcn.00571eba
add esp, 0x10
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00401072
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x64]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4c3a26
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov ebx, dword [0x726610]
add ebx, 0x11c
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x30]
call fcn.004019c4
add esp, 8
cmp eax, 0
jne 0x4c3a53
cmp dword [ebp - 0x28], 2
jg 0x4c3a6e
cmp dword [ebp - 0x2c], 2
jg 0x4c3a6e
mov eax, 1
jmp 0x4c3a73
mov eax, 0
test eax, eax
je 0x4c3df4
mov eax, str.hideStatus
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c3aa8
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
cmp dword [ebp - 0x48], 0
jne 0x4c3c76
mov eax, str.death
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4c3b0c
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x54]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
cmp dword [ebp - 0x5c], 0
jne 0x4c3c76
mov eax, 0x6db25d
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4c3b7c
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x6c], 0
push 0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x68]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
cmp dword [ebp - 0x70], 1
jne 0x4c3c76
mov eax, str.curHp
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x4c3bfe
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
push 0
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
mov ebx, dword [ebp - 0x7c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
xor eax, eax
cmp dword [ebp - 0x88], 0
jl 0x4c3c67
jg 0x4c3c66
cmp dword [ebp - 0x8c], 0
jbe 0x4c3c67
inc eax
test eax, eax
je 0x4c3c76
mov eax, 1
jmp 0x4c3c7b
mov eax, 0
test eax, eax
je 0x4c3df4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x3c], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4c3cb3
mov eax, 0x6daae2
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
test eax, eax
jne 0x4c3cc9
mov eax, 0x6daae2
push eax
push 4
mov ebx, 0x572c70
call fcn.00571eba
add esp, 0x34
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
jne 0x4c3df4
lea eax, [ebp - 0x34]
push eax
push 4
mov eax, 2
call fcn.00571ea2
add esp, 8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x40], ebx
call fcn.00401a7a
mov dword [ebp - 0x44], ecx
mov edi, dword [ebp - 0x40]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4c3d2c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x40]
call fcn.00571ec0
add esp, 8
mov dword [ebp - 0x34], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x44]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x3c]
push edi
test eax, eax
je 0x4c3d6f
push eax
mov ebx, eax
call fcn.004018fd
inc eax
push eax
call fcn.00571ea8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x40], ebx
push dword [ebp - 0x30]
push 0x6db08d
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ecx, 3
call fcn.00401968
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c3dbb
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
push dword [ebp - 0x30]
push 0x6db08d
push dword [ebp - 0x38]
mov ecx, 3
call fcn.00401968
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c3df0
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x6c
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
cmp dword [ebx], 0
jg 0x4c3e0b
pop eax
pop ebx
pop ecx
jmp 0x4c3880
add esp, 0xc
mov ebx, dword [ebp - 0x34]
call fcn.00401a61
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jg 0x4c43af
push 0x726758
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x74]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4c43ac
push dword [ebp - 0x18]
push 0x726758
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x6db25d
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c3eab
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
cmp dword [ebp - 0x48], 0
jne 0x4c406d
mov eax, str.hideStatus
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4c3f0f
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x5c]
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x54]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
cmp dword [ebp - 0x5c], 0
jne 0x4c406d
mov eax, str.death
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4c3f76
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x5c]
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x64]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
cmp dword [ebp - 0x6c], 0
jne 0x4c406d
mov eax, str.curHp
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x4c3ff8
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
push 0
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
mov ebx, dword [ebp - 0x74]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
xor eax, eax
cmp dword [ebp - 0x80], 0
jg 0x4c4061
jl 0x4c4060
cmp dword [ebp - 0x84], 0
ja 0x4c4061
inc eax
test eax, eax
jne 0x4c406d
xor eax, eax
jmp 0x4c4072
mov eax, 1
test eax, eax
je 0x4c407f
jmp 0x4c43a4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x64]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4c40a4
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0046b7eb
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4c40c7
jmp 0x4c43a4
mov eax, str.currentX
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c40f4
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
mov eax, str.currentY
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c4154
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
mov ebx, 0x572450
call fcn.00571eba
add esp, 0x10
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00401072
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
mov ebx, 0x572450
call fcn.00571eba
add esp, 0x10
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00401072
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 1
jg 0x4c4228
cmp dword [ebp - 0x2c], 1
jg 0x4c4228
mov eax, 1
jmp 0x4c422d
mov eax, 0
test eax, eax
je 0x4c4388
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x3c], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4c4265
mov eax, 0x6daae2
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
test eax, eax
jne 0x4c427b
mov eax, 0x6daae2
push eax
push 4
mov ebx, 0x572c70
call fcn.00571eba
add esp, 0x34
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
jne 0x4c4388
lea eax, [ebp - 0x34]
push eax
push 4
mov eax, 2
call fcn.00571ea2
add esp, 8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x40], ebx
call fcn.00401a7a
mov dword [ebp - 0x44], ecx
mov edi, dword [ebp - 0x40]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4c42de
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x40]
call fcn.00571ec0
add esp, 8
mov dword [ebp - 0x34], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x44]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x3c]
push edi
test eax, eax
je 0x4c4321
push eax
mov ebx, eax
call fcn.004018fd
inc eax
push eax
call fcn.00571ea8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x40], ebx
push dword [ebp - 0x30]
push 0x6db08d
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ecx, 3
call fcn.00401968
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c436d
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x6c
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
dec dword [ebx]
jmp 0x4c43ac
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x6c
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
cmp dword [ebx], 0
jg 0x4c43a4
jmp 0x4c43ac
pop eax
pop ebx
pop ecx
jmp 0x4c3e43
add esp, 0xc
mov ebx, dword [ebp - 0x34]
call fcn.00401a61
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jle 0x4c4518
mov ebx, dword [0x726610]
add ebx, 0x11c
mov dword [ebp - 0x3c], ebx
push dword [ebp - 0x3c]
push 0x7266e8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x40], eax
mov eax, str.currentX
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4c4425
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x48]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov ebx, dword [0x726610]
add ebx, 0x11c
mov dword [ebp - 0x3c], ebx
push dword [ebp - 0x3c]
push 0x7266e8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x40], eax
mov eax, str.currentY
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4c44b9
push ebx
call fcn.00571eae
add esp, 4
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x48]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x28
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x726610]
mov ebx, dword [ebx + 0x2c]
add ebx, 8
mov dword [ebp - 0x40], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call fcn.004c459f
mov eax, 1
jmp 0x4c4522
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00571eae
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4c4543
push ebx
call fcn.00571eae
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4c4561
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4c455d
imul eax, dword [ebx]
jmp 0x4c4552
mov ecx, eax
test ecx, ecx
je 0x4c4580
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4c4579
push ebx
push eax
call fcn.00571eae
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4c4567
call fcn.00571eae
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c4598
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4