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

Disassembly:
sub esp, 0x13c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov al, byte [edi + 0x358]
xor ebx, ebx
cmp al, bl
je 0x5a62d0
cmp dword [edi + 0x354], ebx
je 0x5a62d0
push 0x4a9aa2
push 2
push 0xc
lea eax, [esp + 0x54]
push eax
call fcn.00401000
mov eax, dword [edi + 0x114]
cmp eax, ebx
je 0x5a5fdf
push eax
call fcn.0040103c
mov ecx, eax
call fcn.00646de5
test eax, eax
jne 0x5a5d59
mov eax, dword [edi + 0x354]
cmp eax, ebx
je 0x5a62d0
mov ecx, eax
mov byte [ecx + 0x29], 1
mov edx, dword [edi + 0x354]
cmp dword [edx + 0x1c], ebx
je 0x5a62d0
mov eax, edx
cmp dword [eax + 4], ebx
mov dword [esp + 0x10], ebx
jle 0x5a62d0
xor ebp, ebp
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebp + 0x12c]
cmp eax, ebx
je 0x5a5d30
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0060a290
push ecx
push 0xbc
push eax
call fcn.006945b7
push esi
call fcn.00693d31
mov edx, dword [edi + 0x354]
mov eax, dword [edx + 0x1c]
add esp, 4
mov dword [eax + ebp + 0x12c], ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x354]
mov edx, dword [eax + 4]
inc ecx
add ebp, 0x158
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x5a5cf2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 0x18
lea ecx, [esp + 0x48]
lea ebp, [edi + 0x1a0]
xor esi, esi
mov dword [esp + 0x14], ecx
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov edx, ebp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [edi + 0x354]
mov ecx, dword [eax + 0x20]
add ecx, esi
push ecx
mov ecx, dword [edi + 0x114]
call fcn.005b5b70
cmp eax, ebx
je 0x5a5fc2
mov ecx, dword [edi + 0x114]
cmp ecx, dword [ecx + 0x54]
je 0x5a5dba
mov dword [esp + 0x10], 0x3f800000
jmp 0x5a5dc4
mov edx, dword [ecx + 0xac]
mov dword [esp + 0x10], edx
lea ecx, [eax + 0x14]
mov ebp, ecx
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esp + 0xb4], edx
mov edx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
add eax, 8
mov dword [esp + 0xbc], ebp
mov ebp, dword [eax]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x3c], ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x44], eax
mov eax, 0x3f800000
mov dword [esp + 0xac], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x354]
mov dword [esp + 0x38], edx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [esi + ecx + 0x100]
mov dword [esp + 0xa0], edx
mov ecx, dword [eax + 0x20]
mov edx, dword [esi + ecx + 0x104]
mov dword [esp + 0xa4], edx
mov eax, dword [eax + 0x20]
mov ecx, dword [esi + eax + 0x108]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x110]
push eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0xb0], ecx
call fcn.005421e7
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0xd4]
push eax
call fcn.00541522
mov edx, dword [edi + 0x354]
mov eax, dword [edx + 0x20]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [eax + esi + 0x10c]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.00542bfc
fld dword [esp + 0xfc]
mov eax, dword [esp + 0x60]
fadd dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x6c]
fld dword [esp + 0x100]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
fadd dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
lea ebp, [edi + 0x1a0]
fstp dword [esp + 0x24]
fld dword [esp + 0x104]
fadd dword [esp + 0x44]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fmul dword [esp + 0x10]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x10]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [esp + 0x10]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fadd dword [edi + 0x1a8]
fstp dword [esp + 0x18]
fld dword [esp + 0x24]
fadd dword [edi + 0x1a4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
fadd dword [ebp]
fstp dword [esp + 0xc0]
mov edx, dword [esp + 0xc0]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x14]
add esi, 0x144
add ecx, 0xc
cmp esi, 0x288
mov dword [esp + 0x14], ecx
jl 0x5a5d70
mov esi, dword [edi + 0x354]
cmp byte [esi + 0x28], bl
mov ecx, dword [esp + 0x154]
jne 0x5a61fd
mov eax, dword [esi + 0x30]
cmp eax, ecx
jne 0x5a62d0
fld dword [esp + 0x158]
call fcn.00693530
cmp dword [esi + 0x34], eax
jg 0x5a62d0
mov byte [esi + 0x28], 1
call dword [0x6d0458]
mov ecx, dword [edi + 0x354]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x354]
cmp dword [eax + 4], ebx
mov dword [esp + 0x10], ebx
jle 0x5a62d0
xor ebp, ebp
lea ecx, [ecx]
mov edx, dword [eax + 0x1c]
cmp dword [edx + ebp], ebx
mov dword [esp + 0x1c], ebx
jle 0x5a61d0
mov dword [esp + 0x14], ebx
jmp 0x5a6060
mov eax, dword [edi + 0x354]
mov ecx, dword [eax + 0x1c]
mov esi, dword [ecx + ebp + 0x12c]
mov edx, dword [esp + 0x14]
add ecx, ebp
add esi, edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x14c], edx
je 0x5a61a5
mov eax, dword [edi + 0x200]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x354]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + ebp + 0x134]
push eax
mov ecx, esi
call fcn.00607ee0
call fcn.006935b2
mov ecx, dword [edi + 0x354]
mov edx, dword [ecx + 0x1c]
fld dword [edx + ebp + 0x104]
mov ebx, eax
call fcn.00693530
mov ecx, eax
mov eax, ebx
cdq
idiv ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [0x6dc420]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x354]
mov ecx, dword [eax + 0x1c]
lea eax, [ecx + ebp]
mov ecx, dword [eax + 0x110]
mov eax, dword [eax + 0x10c]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00607fb0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00607fd0
mov ecx, esi
call fcn.00608080
mov edx, dword [edi + 0x354]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + ebp + 0x154]
mov dword [esi + 0x68], ecx
push 1
mov ecx, esi
call fcn.00608300
mov edx, dword [edi + 0x354]
mov eax, dword [edx + 0x1c]
lea ecx, [eax + ebp + 4]
push ecx
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.00608390
mov dword [esi + 0x3c], 1
mov edx, dword [edi + 0x354]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + ebp + 0x108]
mov dword [esi + 0x50], ecx
mov ecx, esi
call fcn.0060a180
mov edx, dword [edi + 0x354]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + ebp + 0x13c]
mov dword [esi + 0x64], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x354]
mov eax, dword [esp + 0x1c]
add edx, 0xbc
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx + ebp]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x5a6060
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x354]
mov edx, dword [eax + 4]
inc ecx
add ebp, 0x158
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x5a6040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 0x18
mov eax, dword [esi + 0x38]
cmp eax, ecx
jne 0x5a62a7
fld dword [esp + 0x158]
call fcn.00693530
cmp dword [esi + 0x3c], eax
jg 0x5a62a7
mov byte [esi + 0x29], 1
mov eax, dword [edi + 0x354]
cmp dword [eax + 4], ebx
mov dword [esp + 0x10], ebx
jle 0x5a62d0
xor ebp, ebp
jmp 0x5a6240
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + ebp + 0x12c]
cmp eax, ebx
je 0x5a627e
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0060a290
push edx
push 0xbc
push eax
call fcn.006945b7
push esi
call fcn.00693d31
mov eax, dword [edi + 0x354]
mov ecx, dword [eax + 0x1c]
add esp, 4
mov dword [ecx + ebp + 0x12c], ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x354]
mov edx, dword [eax + 4]
inc ecx
add ebp, 0x158
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x5a6240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 0x18
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x160]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x170]
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [edx + 8], eax
call fcn.005a36b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 0x18