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

Disassembly:
push 0xffffffffffffffff
push 0x60561b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x767500]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x767500]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [esp + 0x260]
mov edi, dword [esp + 0x248]
mov esi, ecx
lea ecx, [esp + 0xc8]
push ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], eax
call dword [0x608334]
mov ebx, dword [esp + 0x24c]
mov eax, dword [esp + 0x250]
mov dword [esp + 0x14], eax
cmp bx, 0x20
je 0x53db20
mov edx, 0x8140
cmp bx, dx
je 0x53db20
cmp dword [esp + 0x258], 0
je 0x53d781
lea ecx, [esi + 0x99]
mov dword [esp + 0x34], ecx
jmp 0x53d788
lea edx, [esi + 0x58]
mov dword [esp + 0x34], edx
test eax, eax
jle 0x53d790
neg eax
jmp 0x53d798
mov ecx, eax
neg ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
push eax
call fcn.00426180
mov ecx, dword [esi + 8]
call fcn.00426370
push eax
mov eax, dword [esi + 0x34]
push eax
call dword [0x60806c]
mov dword [esp + 0x3c], eax
test ebx, 0xff00
je 0x53d7c8
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x2c], ecx
jmp 0x53d7d1
mov edx, dword [esi + 0x28]
inc edx
shr edx, 1
mov dword [esi + 0x2c], edx
lea eax, [esp + 0x58]
push 0x10
push eax
call fcn.00500830
mov ecx, 1
add esp, 8
mov edx, ecx
lea eax, [esp + 0xe8]
mov word [esp + 0x5a], cx
mov ecx, dword [esi + 0x34]
push eax
push ecx
mov word [esp + 0x6e], dx
call dword [0x60804c]
mov ecx, dword [esi + 0x34]
lea edx, [esp + 0x58]
push edx
push 0
push 0
lea eax, [esp + 0x50]
push eax
movzx ebp, bx
push 6
push ebp
push ecx
call dword [0x608050]
mov ebx, eax
cmp dword [esi + 0x3c], ebx
jae 0x53d850
mov eax, dword [esi + 0x38]
test eax, eax
je 0x53d83f
push eax
call fcn.004ff0f0
add esp, 4
mov dword [esi + 0x38], 0
push ebx
push 0
call fcn.004ff0a0
add esp, 8
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
lea edx, [esp + 0x58]
push edx
push eax
mov eax, dword [esi + 0x34]
push ecx
lea edx, [esp + 0x50]
push edx
push 6
push ebp
push eax
call dword [0x608050]
test eax, eax
jbe 0x53daf2
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
test al, 3
je 0x53d890
lea ecx, [eax + 3]
and ecx, 0xfc
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x48]
mov ebx, eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x120]
mov dword [esp + 0x2c], ebx
call fcn.0052eea0
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0x14]
xor ebp, ebp
xor ecx, ecx
cmp eax, edx
mov dword [esp + 0x240], ebp
jle 0x53d8c8
mov ecx, eax
sub ecx, edx
sub eax, dword [esp + 0x50]
lea edx, [esp + 0x24]
sub eax, ecx
inc eax
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.0052eed0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push 4
push ecx
push edx
lea ecx, [esp + 0x12c]
call fcn.0052f010
cmp dword [esp + 0x25c], ebp
je 0x53d91e
movsx ecx, word [esp + 0x54]
mov eax, dword [esi + 0x2c]
cmp eax, ecx
jbe 0x53d91e
sub eax, ebx
shr eax, 1
inc eax
mov ebx, eax
mov dword [esp + 0x20], eax
jmp 0x53d927
mov ebx, dword [esp + 0x4c]
inc ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x18], ebp
jbe 0x53d9a2
mov dword [esp + 0x14], ebp
mov edx, dword [esp + 0x28]
mov edi, dword [esi + 0x38]
add edi, dword [esp + 0x14]
lea eax, [edx + ebp]
push eax
push ebx
lea ecx, [esp + 0x128]
call fcn.0052ef10
test eax, eax
je 0x53d98f
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jbe 0x53d98f
lea esp, [esp]
movzx edx, byte [esi + 0x42]
mov ebx, dword [esp + 0x34]
mov byte [eax], dl
movzx edx, byte [esi + 0x41]
mov byte [eax + 1], dl
movzx edx, byte [esi + 0x40]
mov byte [eax + 2], dl
movzx edx, byte [edi]
movzx edx, byte [edx + ebx]
mov byte [eax + 3], dl
inc edi
add eax, 4
sub ecx, 1
jne 0x53d960
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add dword [esp + 0x14], eax
inc ebp
cmp ebp, dword [esp + 0x18]
jb 0x53d931
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x254]
push ecx
lea edx, [esp + 0x124]
push edx
push edi
mov ecx, esi
call fcn.0053d150
mov ebp, eax
lea eax, [esp + 0x68]
push 0x80
push eax
call fcn.00500830
add esp, 8
mov ecx, edi
call fcn.0052eee0
mov ecx, edi
mov dword [esp + 0x6c], eax
call fcn.0052ef00
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
add eax, ebx
mov dword [esp + 0x74], edx
lea edx, [eax + ecx + 2]
mov eax, dword [esi + 0x54]
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], edx
lea edx, [eax + ecx + 2]
mov ecx, edi
mov dword [esp + 0x84], edx
call fcn.0052eef0
lea ecx, [esp + 0x120]
mov dword [esp + 0x88], eax
call fcn.0052ef00
lea ecx, [esp + 0x120]
mov dword [esp + 0x90], eax
call fcn.0052eee0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x9c], ecx
xor edi, edi
lea ecx, [esp + 0x120]
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
call fcn.0052eef0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0xff
cmp ebp, edi
je 0x53dacc
lea ecx, [esp + 0x68]
push ecx
call fcn.00547510
jmp 0x53dad6
lea edx, [esp + 0x68]
push edx
call fcn.00547ce0
add esp, 4
lea ecx, [esp + 0x120]
mov dword [esp + 0x240], 0xffffffff
call fcn.0052f710
jmp 0x53daf4
xor edi, edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x34]
push eax
push ecx
call dword [0x60806c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0055d4e2
add esp, 0x230
ret 0x1c