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

Disassembly:
sub esp, 0x140
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call dword [0x6d0458]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x114]
xor edi, edi
cmp eax, edi
je 0x5a394e
lea eax, [esp + 0x9c]
lea ebx, [ebp + 0x1a0]
xor esi, esi
mov dword [esp + 0x10], eax
lea esp, [esp]
mov edx, dword [esp + 0x10]
mov ecx, ebx
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov edx, dword [ebp + 0x354]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp + 0x114]
add eax, esi
push eax
call fcn.005b5b70
cmp eax, edi
je 0x5a3931
mov ecx, dword [ebp + 0x114]
cmp ecx, dword [ecx + 0x54]
je 0x5a373a
mov dword [esp + 0x14], 0x3f800000
jmp 0x5a3744
mov ecx, dword [ecx + 0xac]
mov dword [esp + 0x14], ecx
lea edx, [eax + 0x14]
mov ebx, edx
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0xc4], edx
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
add eax, 8
mov dword [esp + 0xcc], ebx
mov ebx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x3c], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x44], eax
mov eax, 0x3f800000
mov dword [esp + 0x88], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x354]
mov dword [esp + 0x34], edx
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + esi + 0x100]
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + esi + 0x104]
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + esi + 0x108]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x114]
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x8c], ecx
call fcn.005421e7
lea ecx, [esp + 0x110]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xd8]
push eax
call fcn.00541522
mov edx, dword [ebp + 0x354]
mov eax, dword [edx + 0x20]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [eax + esi + 0x10c]
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.00542bfc
fld dword [esp + 0x100]
mov eax, dword [esp + 0x8c]
fadd dword [esp + 0x3c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x28], eax
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x98]
fld dword [esp + 0x104]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
fadd dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
lea ebx, [ebp + 0x1a0]
fstp dword [esp + 0x20]
fld dword [esp + 0x108]
fadd dword [esp + 0x44]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x14]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fadd dword [ebp + 0x1a8]
fstp dword [esp + 0x38]
fld dword [esp + 0x20]
fadd dword [ebp + 0x1a4]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
fadd dword [ebx]
fstp dword [esp + 0xb4]
mov edx, dword [esp + 0xb4]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x10]
add esi, 0x144
add ecx, 0xc
cmp esi, 0x288
mov dword [esp + 0x10], ecx
jl 0x5a36f0
mov eax, dword [ebp + 0x354]
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp + 0x354]
cmp dword [eax + 4], edi
mov dword [esp + 0x18], edi
jle 0x5a3a32
mov dword [esp + 0x10], edi
mov esi, dword [eax + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + ecx]
add esi, ecx
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x5a3a0a
xor ebx, ebx
lea esp, [esp]
mov eax, dword [esi + 0x12c]
cmp eax, edi
je 0x5a39f5
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push ecx
push edx
lea ecx, [ebx + eax]
call fcn.00607fb0
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
push eax
push ecx
mov ecx, dword [esi + 0x12c]
push edx
add ecx, ebx
call fcn.00607fd0
mov ecx, dword [esi + 0x12c]
push edi
lea eax, [esp + 0xb8]
push eax
add ecx, ebx
call fcn.0060bba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
inc eax
add ebx, 0xbc
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5a3990
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x354]
mov edx, dword [eax + 4]
inc ecx
add esi, 0x158
cmp ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], esi
jl 0x5a3972
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret 0xc