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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x9c]
xor ebp, ebp
cmp eax, ebp
lea ebx, [edi + 8]
je 0x5a918d
lea ecx, [eax + 8]
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add eax, 0x14
mov dword [esp + 0x24], edx
mov edx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], edx
push ecx
lea edx, [edi + 0x24]
push edx
push ebx
mov dword [esp + 0x5c], eax
call fcn.0058fe20
fld dword [esp + 0x2c]
fadd dword [ebx]
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + 0x30]
fstp dword [ebx]
push ecx
fld dword [esp + 0x38]
lea edx, [esp + 0x68]
fadd dword [ebx + 4]
push edx
fstp dword [ebx + 4]
fld dword [esp + 0x40]
fadd dword [ebx + 8]
fstp dword [ebx + 8]
call fcn.0058fcf0
mov edx, dword [eax]
lea ecx, [edi + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
add esp, 0x18
mov dword [ecx + 0xc], eax
jmp 0x5a91be
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
mov edx, ebx
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
lea edx, [edi + 0x30]
mov ecx, dword [edx]
lea eax, [edi + 0x14]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x10], ebp
lea ebx, [ebx]
mov eax, dword [edi + 0x44]
test eax, eax
je 0x5a9303
mov ecx, dword [edi + 0x48]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x5a9303
mov eax, dword [edi + 0x44]
fld dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
fsub dword [eax + ecx]
lea esi, [eax + ecx]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
fld dword [esp + 0x18]
mov dword [esp + 0x38], edx
fsub dword [esi + 4]
lea edx, [esi + 0xc]
push edx
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x20]
mov dword [esp + 0x40], eax
fsub dword [esi + 8]
lea eax, [esp + 0x3c]
push eax
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x1c]
push ecx
call fcn.0058fe20
fld dword [esp + 0x20]
fadd dword [esi]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
fstp dword [esp + 0x20]
mov dword [esp + 0x54], eax
fld dword [esp + 0x24]
add esi, 0xc
fadd dword [esi - 8]
push esi
lea eax, [esp + 0x54]
mov dword [esp + 0x5c], ecx
fstp dword [esp + 0x28]
mov dword [esp + 0x54], edx
fld dword [esp + 0x2c]
mov edx, dword [esp + 0x70]
fadd dword [esi - 4]
push eax
lea ecx, [esp + 0x78]
push ecx
fstp dword [esp + 0x34]
mov dword [esp + 0x68], edx
call fcn.0058fcf0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
add esp, 0x18
inc ebp
add eax, 0x1c
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x10], eax
jmp 0x5a9200
lea esi, [edi + 0x14]
push esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0058fe20
fld dword [esp + 0x2c]
fadd dword [ebx]
mov eax, ebx
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
fld dword [esp + 0x30]
fadd dword [ebx + 4]
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
fld dword [esp + 0x34]
fadd dword [ebx + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, esi
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x50]
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0x64]
mov dword [esp + 0x60], ecx
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.0058fcf0
mov ecx, dword [eax]
mov edx, esi
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
lea ecx, [edi + 0x50]
push esi
push ecx
mov dword [edx + 0xc], eax
call fcn.00608680
mov edx, dword [ebx]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
add esp, 0x20
mov dword [edi + 0x80], edx
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret