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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x164
fld dword [0x890968]
push ebx
mov ebx, dword [ebp + 8]
fld dword [ebx + 0x10]
push esi
fucompp
push edi
mov dword [esp + 0x1c], ecx
mov edx, 1
fnstsw ax
test ah, 0x44
jp 0x584909
fld dword [0x890968]
fld dword [ebx + 0x14]
fucompp
fnstsw ax
test ah, 0x44
jp 0x584909
fld dword [0x890968]
fld dword [ebx + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x584909
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x58490f
mov dword [esp + 0x10], edx
xor edi, edi
mov eax, dword [ebx + 0x38]
mov ecx, 0x3f800000
cmp eax, ecx
jne 0x58493b
cmp dword [ebx + 0x3c], ecx
jne 0x58493b
cmp dword [ebx + 0x40], ecx
jne 0x58493b
fld dword [0x89096c]
mov dword [esp + 0x18], edi
fld dword [ebp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x58493f
mov dword [esp + 0x18], edx
fld dword [0x890968]
fld dword [ebx + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jp 0x58497e
fld dword [0x890968]
fld dword [ebx + 0x2c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x58497e
fld dword [0x890968]
fld dword [ebx + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x58497e
cmp dword [ebx + 0x34], ecx
mov dword [esp + 0x14], edi
je 0x584982
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x120], eax
cmp dword [esp + 0x10], edi
mov dword [esp + 0xf0], 0x3f800000
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0x3f800000
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0x3f800000
mov dword [esp + 0x11c], 0
mov dword [esp + 0x12c], 0x3f800000
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
je 0x584b8d
fld dword [ebx + 0x10]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
fchs
mov edx, dword [ebx + 0x18]
fstp dword [esp + 0xe0]
fld dword [ebx + 0x14]
mov dword [esp + 0x70], 0x3f800000
fchs
mov dword [esp + 0x74], 0
fstp dword [esp + 0xe4]
mov dword [esp + 0x78], 0
fld dword [ebx + 0x18]
mov dword [esp + 0x7c], 0
fchs
mov dword [esp + 0x80], 0
fstp dword [esp + 0xe8]
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x9c], 0
mov dword [esp + 0xac], 0x3f800000
mov dword [esp + 0xb0], 0x3f800000
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0x3f800000
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0x3f800000
mov dword [esp + 0xdc], 0
mov dword [esp + 0xec], 0x3f800000
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
cmp dword [esp + 0x18], edi
je 0x584c4d
fld dword [ebp + 0x18]
mov dword [esp + 0x134], 0
fmul dword [ebx + 0x38]
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
fstp dword [esp + 0x130]
mov dword [esp + 0x148], 0
fld dword [ebp + 0x18]
mov dword [esp + 0x14c], 0
fmul dword [ebx + 0x3c]
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x15c], 0
fstp dword [esp + 0x144]
mov dword [esp + 0x160], 0
fld dword [ebp + 0x18]
mov dword [esp + 0x164], 0
fmul dword [ebx + 0x40]
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0x3f800000
fstp dword [esp + 0x158]
cmp dword [esp + 0x14], edi
je 0x584d01
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x34]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x3f800000
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00466af0
mov esi, dword [ebp + 0xc]
lea edx, [esp + 0xf0]
push edx
mov eax, 0x3f800000
push esi
push esi
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], eax
call fcn.0045ecf0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, edi
je 0x584d61
lea eax, [esp + 0x70]
push eax
push esi
push esi
call fcn.0045ecf0
add esp, 0xc
cmp dword [esp + 0x14], edi
je 0x584d76
lea ecx, [esp + 0x30]
push ecx
push esi
push esi
call fcn.0045ecf0
add esp, 0xc
cmp dword [esp + 0x10], edi
je 0x584d8e
lea edx, [esp + 0xb0]
push edx
push esi
push esi
call fcn.0045ecf0
add esp, 0xc
cmp dword [esp + 0x18], edi
je 0x584da6
lea eax, [esp + 0x130]
push eax
push esi
push esi
call fcn.0045ecf0
add esp, 0xc
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x584e3e
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0xb0
movzx edx, byte [eax + ecx + 0xb9]
imul edx, dword [ebx + 8]
lea edi, [eax + ecx + 0x10]
mov eax, dword [ebp + 0x10]
add edx, 0x80
sar edx, 8
mov dword [eax + 8], edx
movzx ecx, byte [edi + 0xaa]
imul ecx, dword [ebx + 4]
add ecx, 0x80
sar ecx, 8
mov dword [eax + 4], ecx
movzx edx, byte [edi + 0xab]
imul edx, dword [ebx]
add edx, 0x80
sar edx, 8
mov dword [eax], edx
movzx ecx, byte [edi + 0xa8]
imul ecx, dword [ebx + 0xc]
push esi
add ecx, 0x80
sar ecx, 8
push edi
push esi
mov dword [eax + 0xc], ecx
call fcn.0045ecf0
mov eax, dword [edi + 0xa4]
add esp, 0xc
test eax, eax
je 0x584e52
lea eax, [edi + 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x10]
push ebx
call fcn.005b2e10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14