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

Disassembly:
sub esp, 0xfc
push ebx
push esi
push edi
mov edi, dword [0x65b33c]
lea eax, [esp + 0x4c]
push eax
mov esi, ecx
call edi
lea ecx, [esp + 0x5c]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call edi
lea eax, [esp + 0xe8]
push eax
call edi
lea ecx, [esp + 0x3c]
push ecx
call edi
mov ebx, dword [esp + 0x114]
test ebx, ebx
jne 0x537ab0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xfc
ret 0x20
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x3c], eax
add eax, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x124]
add ecx, eax
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
call fcn.00541b80
test eax, eax
je 0x537aa2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x11c], eax
sub edi, eax
mov dword [esp + 0x120], ecx
sub ebp, ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.005411b0
mov eax, dword [esp + 0x110]
add eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x114]
add ecx, dword [esp + 0x28]
mov dword [esp + 0x110], eax
mov dword [esp + 0x60], eax
add eax, edi
xor edi, edi
mov dword [esp + 0x114], ecx
mov dword [esp + 0x64], ecx
add ecx, ebp
cmp dword [esi + 0xc], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x10], edi
jle 0x537dcf
xor ebp, ebp
cmp dword [esi + 8], ebp
jle 0x537dc1
jmp 0x537b80
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, eax
imul edx, ebp
mov dword [esp + 0x50], edx
mov edx, ecx
imul edx, edi
mov dword [esp + 0x54], edx
lea edx, [ebp + 1]
mov dword [esp + 0x34], edx
imul edx, eax
lea eax, [edi + 1]
imul eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x5c], edx
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [0x65b460]
test eax, eax
je 0x537db4
mov edi, dword [esi + 8]
imul edi, dword [esp + 0x10]
add edi, ebp
cmp edi, dword [esi + 0x18]
jae 0x537db0
mov eax, dword [esi + 0x14]
cmp dword [eax + edi*4], 0
je 0x537db0
push edi
mov ecx, esi
call fcn.00537570
lea ecx, [esp + 0x8c]
push 0x80
push ecx
call fcn.0050cd20
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + edi*4]
add esp, 8
call fcn.00537350
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
shr eax, 3
mov dword [esp + 0x8c], eax
mov eax, dword [esi]
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x98], ecx
mov ecx, ebx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
call fcn.00541150
mov ecx, ebx
mov dword [esp + 0xb4], eax
call fcn.005673b0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
mov dword [esp + 0xc0], eax
call fcn.00541130
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x110]
mov ecx, dword [esp + 0x3c]
add edx, dword [esp + 0x11c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x114]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0xa4]
add eax, dword [esp + 0x120]
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xcc], ecx
mov ecx, ebx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], edx
call fcn.0052a210
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
imul ecx, ebp
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xe0], eax
mov eax, dword [esi + 4]
imul eax, dword [esp + 0x10]
sub edx, ecx
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
mov dword [esp + 0xe0], 0
mov ecx, dword [ecx + edi*4]
push eax
call fcn.00537320
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], edx
sub eax, dword [esp + 0x74]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x70]
mov dword [esp + 0x7c], eax
push ecx
mov ecx, dword [edx + edi*4]
call fcn.00537360
test eax, eax
je 0x537db0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x94], eax
mov dword [esp + 0xb0], ecx
call fcn.00558940
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + edi*4]
add esp, 4
call fcn.005373e0
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
cmp ebp, dword [esi + 8]
jl 0x537b80
inc edi
cmp edi, dword [esi + 0xc]
mov dword [esp + 0x10], edi
jl 0x537b70
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xfc
ret 0x20