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

Disassembly:
fld dword [esp + 8]
sub esp, 0x90
push esi
push edi
mov edi, dword [esp + 0x9c]
fmul dword [edi + 0x18]
mov esi, ecx
fsubr dword [edi + 0x1c]
fcom dword [0x5a1414]
fst dword [edi + 0x1c]
fnstsw ax
test ah, 0x41
jp 0x494d9a
pop edi
fstp st(0)
xor al, al
pop esi
add esp, 0x90
ret 8
fmul dword [0x5a1478]
call fcn.0059b6c0
fld dword [esp + 0xa0]
fmul dword [edi + 0x14]
mov ecx, dword [edi + 8]
mov byte [edi + 0xf], al
mov eax, dword [edi + 4]
fadd dword [edi + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0xbf800000
mov dword [esp + 0x1c], 0
fst dword [esp + 8]
mov dword [esp + 0x20], 0x3f800000
mov edx, dword [esp + 8]
fstp dword [edi + 0x10]
fld dword [edi]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xc0000000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3f800000
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x5c], 0xbf800000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x3f800000
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xbf800000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x78], 0xbf800000
mov dword [esp + 0x7c], 0xbf800000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xbf800000
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x3f800000
mov dword [esp + 0x14], ecx
mov dword [esp + 8], edx
xor eax, eax
push ebx
lea esp, [esp]
movzx ecx, byte [edi + 0xd]
fld dword [esp + 0xc]
fmul dword [esp + eax + 0x1c]
xor edx, edx
mov dh, byte [edi + 0xf]
mov ebx, dword [esi + 0x10]
fadd st(1)
fld dword [esp + 0xc]
fmul dword [esp + eax + 0x5c]
fadd dword [esp + 0x18]
mov dl, byte [edi + 0xc]
fld st(1)
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0xe]
shl edx, 8
or edx, ecx
mov ecx, dword [esi + 0x18]
lea ecx, [ecx + ecx*8]
mov dword [ebx + ecx*4 + 0x18], edx
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0x14]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 4]
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fst dword [ecx + edx*4 + 8]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0xc]
inc ecx
fmul dword [esp + eax + 0x20]
mov dword [esi + 0x18], ecx
movzx ebx, byte [edi + 0xd]
xor edx, edx
mov dh, byte [edi + 0xf]
fadd st(2)
lea ecx, [ecx + ecx*8]
fstp dword [esp + 0x10]
fld dword [esp + 0xc]
fmul dword [esp + eax + 0x60]
fadd st(1)
mov dl, byte [edi + 0xc]
fstp st(2)
fstp st(0)
fld dword [esp + 0x10]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 0xe]
shl edx, 8
or edx, ebx
mov ebx, dword [esi + 0x10]
mov dword [ebx + ecx*4 + 0x18], edx
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0x14]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 4]
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fst dword [ecx + edx*4 + 8]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0xc]
inc ecx
fmul dword [esp + eax + 0x24]
mov dword [esi + 0x18], ecx
fadd dword [esp + 0x10]
fld dword [esp + 0xc]
fmul dword [esp + eax + 0x64]
fadd st(2)
fst dword [esp + 0x18]
movzx ebx, byte [edi + 0xd]
fld st(1)
xor edx, edx
mov dh, byte [edi + 0xf]
lea ecx, [ecx + ecx*8]
mov dl, byte [edi + 0xc]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 0xe]
shl edx, 8
or edx, ebx
mov ebx, dword [esi + 0x10]
mov dword [ebx + ecx*4 + 0x18], edx
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0x14]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 4]
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 8]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0xc]
xor edx, edx
fmul dword [esp + eax + 0x28]
inc ecx
mov dword [esi + 0x18], ecx
mov dh, byte [edi + 0xf]
movzx ebx, byte [edi + 0xd]
fadd st(1)
lea ecx, [ecx + ecx*8]
fstp st(2)
fstp st(0)
fld dword [esp + 0xc]
mov dl, byte [edi + 0xc]
fmul dword [esp + eax + 0x68]
fadd dword [esp + 0x18]
fld st(1)
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 0xe]
shl edx, 8
or edx, ebx
mov ebx, dword [esi + 0x10]
mov dword [ebx + ecx*4 + 0x18], edx
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0x14]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 4]
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fst dword [ecx + edx*4 + 8]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0xc]
xor edx, edx
fmul dword [esp + eax + 0x2c]
inc ecx
mov dword [esi + 0x18], ecx
mov dh, byte [edi + 0xf]
movzx ebx, byte [edi + 0xd]
fadd st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0xc]
fmul dword [esp + eax + 0x6c]
mov dl, byte [edi + 0xc]
fadd st(1)
fstp st(2)
fstp st(0)
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 0xe]
fld dword [esp + 0x10]
shl edx, 8
or edx, ebx
mov ebx, dword [esi + 0x10]
lea ecx, [ecx + ecx*8]
mov dword [ebx + ecx*4 + 0x18], edx
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0x14]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 4]
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fst dword [ecx + edx*4 + 8]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0xc]
xor edx, edx
fmul dword [esp + eax + 0x30]
inc ecx
mov dword [esi + 0x18], ecx
mov dh, byte [edi + 0xf]
fadd dword [esp + 0x10]
movzx ebx, byte [edi + 0xd]
fld dword [esp + 0xc]
lea ecx, [ecx + ecx*8]
fmul dword [esp + eax + 0x70]
fadd st(2)
mov dl, byte [edi + 0xc]
fst dword [esp + 0x18]
fld st(1)
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 0xe]
shl edx, 8
or edx, ebx
mov ebx, dword [esi + 0x10]
mov dword [ebx + ecx*4 + 0x18], edx
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0x14]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 4]
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 8]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0xc]
xor edx, edx
fmul dword [esp + eax + 0x34]
inc ecx
mov dword [esi + 0x18], ecx
mov dh, byte [edi + 0xf]
movzx ebx, byte [edi + 0xd]
fadd st(1)
lea ecx, [ecx + ecx*8]
fstp st(2)
fstp st(0)
fld dword [esp + 0xc]
mov dl, byte [edi + 0xc]
fmul dword [esp + eax + 0x74]
fadd dword [esp + 0x18]
fst dword [esp + 0x18]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 0xe]
shl edx, 8
or edx, ebx
mov ebx, dword [esi + 0x10]
mov dword [ebx + ecx*4 + 0x18], edx
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
fld st(1)
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0x14]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 4]
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 8]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0xc]
inc ecx
fmul dword [esp + eax + 0x38]
mov dword [esi + 0x18], ecx
movzx ebx, byte [edi + 0xd]
xor edx, edx
mov dh, byte [edi + 0xf]
fadd st(1)
lea ecx, [ecx + ecx*8]
add eax, 0x20
fstp st(2)
fstp st(0)
fld dword [esp + 0xc]
fmul dword [esp + eax + 0x58]
mov dl, byte [edi + 0xc]
fadd dword [esp + 0x18]
fst dword [esp + 0x18]
fld st(1)
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 0xe]
shl edx, 8
or edx, ebx
mov ebx, dword [esi + 0x10]
mov dword [ebx + ecx*4 + 0x18], edx
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0x14]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 4]
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x10]
fstp dword [ecx + edx*4 + 8]
mov ebx, dword [esi + 0x18]
inc ebx
cmp eax, 0x40
mov dword [esi + 0x18], ebx
jl 0x494ef0
mov eax, dword [esi + 0x1c]
fstp st(0)
pop ebx
add eax, 0x18
mov dword [esi + 0x1c], eax
pop edi
mov al, 1
pop esi
add esp, 0x90
ret 8