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

Disassembly:
push ebp
sub esp, 0x5c
push 0x8c
mov eax, 0x6670f0
call fcn.0062dfa1
mov esi, ecx
or dword [esi + 0x2da0], 0xffffffff
and dword [ebp + 0x5c], 0
mov ebx, dword [ebp + 0x68]
lea edi, [esi + 0x1998]
mov ecx, dword [edi]
call fcn.005e2cd0
test al, al
jne 0x597bd5
mov ecx, dword [edi]
cmp dword [ebp + 0x5c], ebx
jne 0x597bd0
call fcn.005e2c38
jmp 0x597bd5
call fcn.005e2c47
inc dword [ebp + 0x5c]
add edi, 4
cmp dword [ebp + 0x5c], 0xa
jl 0x597bb7
mov dword [esi + 0x2d9c], ebx
xor ebx, ebx
lea edi, [esi + 0x1ad8]
mov ecx, dword [edi]
test ecx, ecx
je 0x597c16
mov eax, dword [esi + 0x2d98]
imul eax, eax, 0xa
add eax, dword [esi + 0x2d9c]
cmp ebx, eax
jne 0x597c0f
push 0xff
jmp 0x597c11
push 0
call fcn.005e35aa
inc ebx
add edi, 4
cmp ebx, 0x64
jb 0x597bef
lea eax, [esi + 0x1b8]
mov ebx, 0x1f4
mov edi, eax
mov dword [ebp + 0x68], ebx
mov ecx, dword [edi]
call fcn.005e2c04
add edi, 4
dec dword [ebp + 0x68]
jne 0x597c2f
lea edi, [esi + 0x988]
mov dword [ebp + 0x68], ebx
mov ecx, dword [edi]
call fcn.005e2c04
add edi, 4
dec dword [ebp + 0x68]
jne 0x597c47
lea edi, [esi + 0x1158]
mov dword [ebp + 0x68], ebx
mov ecx, dword [edi]
call fcn.005e3579
add edi, 4
dec dword [ebp + 0x68]
jne 0x597c5f
lea edi, [esi + 0x2dcc]
mov ecx, edi
call fcn.0044dd6d
add edi, 0x5ebe8
dec ebx
jne 0x597c74
mov eax, dword [esi + 0x1c]
imul eax, dword [esi + 0x18]
and dword [ebp + 0x68], ebx
mov dword [ebp + 0x58], eax
test eax, eax
jle 0x597f88
lea eax, [esi + 0x2dd0]
lea edi, [esi + 0x1b8]
mov dword [ebp + 0x5c], eax
inc ebx
push dword [esi + 0xb4]
mov ecx, dword [edi]
push dword [esi + 0xb0]
lea eax, [esi + 0x3c]
push dword [esi + 0xac]
push dword [esi + 0xa8]
push dword [esi + 0xa4]
push dword [esi + 0xa0]
push dword [esi + 0x9c]
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x64]
push dword [esi + 0x60]
push ebx
push eax
push 0
call fcn.005e2f1b
mov eax, dword [ebp + 0x68]
mov ecx, dword [esi + 0x18]
cdq
idiv ecx
mov ecx, dword [esi + 0xd0]
imul ecx, edx
mov edx, dword [esi + 0xd4]
add ecx, dword [esi + 0xc8]
imul edx, eax
add edx, dword [esi + 0xcc]
push edx
push ecx
mov ecx, dword [edi]
call fcn.005e2ce0
mov ecx, dword [edi]
push 0xff
call fcn.005e2cf7
push dword [esi + 0x8c]
mov ecx, dword [edi + 0x7d0]
push dword [esi + 0x88]
lea eax, [esi + 0x20]
push dword [esi + 0x84]
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [esi + 0x78]
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esi + 0x6c]
push dword [esi + 0x68]
push dword [esi + 0x5c]
push dword [esi + 0x58]
push ebx
push eax
push 0
call fcn.005e2f1b
mov eax, dword [ebp + 0x68]
mov ecx, dword [esi + 0x18]
cdq
idiv ecx
mov ecx, dword [esi + 0xc0]
imul ecx, edx
mov edx, dword [esi + 0xc4]
add ecx, dword [esi + 0xb8]
imul edx, eax
add edx, dword [esi + 0xbc]
push edx
push ecx
mov ecx, dword [edi + 0x7d0]
call fcn.005e2ce0
mov ecx, dword [edi + 0x7d0]
push 0xff
call fcn.005e2cf7
mov eax, dword [esi + 0x2d9c]
imul eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x68]
lea eax, [eax + ecx + 1]
push eax
lea eax, [ebp - 0x44]
push 0x685c70
push eax
call fcn.0045bca8
mov dword [ebp + 0x54], eax
and dword [ebp - 4], 0
lea eax, [ebp + 0x38]
push eax
call fcn.0045c450
push dword [ebp + 0x54]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp]
push eax
call fcn.0040375e
push eax
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 2
call fcn.0045b91a
add esp, 0x24
mov ecx, dword [ebp + 0x5c]
push eax
add ecx, 0xfffffffc
mov byte [ebp - 4], 3
call fcn.0044ddf3
push 0
push ebx
lea ecx, [ebp - 0x7c]
call fcn.00403f20
push 0
push ebx
lea ecx, [ebp]
call fcn.00403f20
push 0
push ebx
lea ecx, [ebp + 0x38]
call fcn.00403f20
or dword [ebp - 4], 0xffffffff
push 0
push ebx
lea ecx, [ebp - 0x44]
call fcn.00403f20
mov eax, dword [ebp + 0x5c]
cmp byte [eax], 0
je 0x597f4f
mov eax, dword [esi + 0x2d9c]
imul eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x68]
lea eax, [eax + ecx + 1]
push eax
lea eax, [ebp - 0x98]
push 0x685c84
push eax
call fcn.0045bca8
mov dword [ebp + 0x54], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 4], 4
call fcn.0045c450
push dword [ebp + 0x54]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040375e
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0045b91a
add esp, 0x24
xor ecx, ecx
inc ecx
push ecx
push ecx
mov ecx, dword [edi + 0xfa0]
push 0
push eax
mov byte [ebp - 4], 7
call fcn.005e36f8
push 0
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00403f20
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403f20
push 0
push ebx
lea ecx, [ebp - 0x60]
call fcn.00403f20
or dword [ebp - 4], 0xffffffff
push 0
push ebx
lea ecx, [ebp - 0x98]
call fcn.00403f20
xor ecx, ecx
push ecx
mov ecx, dword [edi + 0xfa0]
xor eax, eax
push eax
call fcn.005b516f
mov eax, dword [ebp + 0x68]
mov ecx, dword [esi + 0x18]
cdq
idiv ecx
mov ecx, dword [esi + 0xe0]
imul ecx, edx
mov edx, dword [esi + 0xe4]
add ecx, dword [esi + 0xd8]
imul edx, eax
add edx, dword [esi + 0xdc]
push edx
push ecx
mov ecx, dword [edi + 0xfa0]
call fcn.005e3599
mov ecx, dword [edi + 0xfa0]
push 0xff
call fcn.005e35aa
cmp byte [esi + 0x14], 0
je 0x597f6f
mov eax, dword [ebp + 0x5c]
cmp byte [eax], 0
jne 0x597f6f
mov ecx, dword [edi]
call fcn.005e2c56
mov ecx, dword [edi + 0x7d0]
call fcn.005e2c56
inc dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
add dword [ebp + 0x5c], 0x5ebe8
add edi, 4
cmp eax, dword [ebp + 0x58]
jl 0x597ca9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x60
leave
ret 4