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

Disassembly:
fld dword [esp + 0x18]
sub esp, 0xd0
fcomp dword [0x5bef98]
push ebx
mov ebx, dword [esp + 0xe0]
push ebp
mov ebp, dword [esp + 0xdc]
fnstsw ax
push esi
push edi
test ah, 0x41
jne 0x4ef881
fld dword [esp + 0xfc]
fcomp dword [0x5bef98]
fnstsw ax
test ah, 0x41
jne 0x4ef881
mov eax, dword [0xf91614]
mov edx, dword [eax + 8]
lea ecx, [edx + 0x20]
mov dword [eax + 8], ecx
xor eax, eax
push eax
push eax
push eax
push edx
mov edi, edx
mov dword [esp + 0x40], edx
lea edx, [esp + 0x4c]
push edx
mov ecx, 8
push 1
mov edx, 0x54
rep stosd dword es:[edi], eax
call fcn.00515c30
mov eax, dword [esp + 0x48]
movzx esi, byte [esp + 0x130]
fld dword [esp + 0x108]
movzx ecx, byte [esp + 0x12c]
movzx edx, byte [esp + 0x134]
mov byte [eax + 0x15], 4
movzx eax, byte [esp + 0x128]
fadd dword [ebp + 8]
and esi, 0xfffffffe
shl esi, 8
fst dword [esp + 0x38]
or esi, ecx
fstp dword [esp + 0x28]
fld dword [esp + 0x10c]
shl edx, 0x11
fadd dword [ebp + 0xc]
and esi, 0xfffffffe
or esi, edx
mov edx, dword [esp + 0x28]
shr eax, 1
fst dword [esp + 0x3c]
add esp, 8
fstp dword [esp + 0x24]
shl esi, 7
or esi, eax
mov eax, dword [esp + 0x24]
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [esp + 0x28], 0xbf800000
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x20]
mov ecx, ebx
mov byte [esp + 0x44], 1
call fcn.00460320
mov ecx, dword [eax]
fld dword [eax + 4]
fstp dword [esp + 0x44]
push esi
fld dword [eax + 8]
lea edx, [esp + 0x44]
fstp dword [esp + 0x4c]
push edx
mov dword [esp + 0x48], ecx
call fcn.004931a0
fld dword [esp + 0x100]
fmul dword [0x5bf198]
call fcn.00581d24
fld dword [esp + 0x104]
fmul dword [0x5bf198]
mov di, ax
mov word [esp + 0x50], di
call fcn.00581d24
mov bp, ax
mov eax, dword [esp + 0x20]
mov word [esp + 0x52], bp
mov dword [esp + 0x10], eax
fld dword [esp + 0x24]
mov edx, eax
fadd dword [esp + 0xfc]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
fst dword [esp + 0x3c]
mov dword [esp + 0x28], 0xbf800000
mov edx, dword [esp + 0x28]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x20]
mov ecx, ebx
call fcn.00460320
fld dword [eax + 4]
mov ecx, dword [eax]
fstp dword [esp + 0x6c]
fld dword [eax + 8]
push esi
lea edx, [esp + 0x6c]
fstp dword [esp + 0x74]
push edx
mov dword [esp + 0x70], ecx
call fcn.004931a0
fld dword [esp + 0x10c]
fmul dword [0x5bf198]
mov word [esp + 0x78], di
call fcn.00581d24
fld dword [esp + 0x20]
fadd dword [esp + 0xf8]
mov di, ax
mov eax, dword [esp + 0x2c]
sub esp, 0x10
fst dword [esp + 0x38]
mov ecx, esp
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [esp + 0x28], 0xbf800000
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x20]
mov ecx, ebx
mov word [esp + 0x8a], di
call fcn.00460320
fld dword [eax + 4]
mov ecx, dword [eax]
fstp dword [esp + 0x94]
fld dword [eax + 8]
push esi
lea edx, [esp + 0x94]
fstp dword [esp + 0x9c]
push edx
mov dword [esp + 0x98], ecx
call fcn.004931a0
fld dword [esp + 0x108]
fmul dword [0x5bf198]
call fcn.00581d24
mov ecx, dword [esp + 0x24]
mov word [esp + 0x20], ax
mov word [esp + 0xa0], ax
mov eax, dword [esp + 0x28]
mov word [esp + 0xa2], di
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0xbf800000
mov dword [esp + 0x1c], 0
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea eax, [esp + 0x20]
mov ecx, ebx
call fcn.00460320
fld dword [eax + 4]
mov edx, dword [eax]
fstp dword [esp + 0xbc]
fld dword [eax + 8]
push esi
lea eax, [esp + 0xbc]
fstp dword [esp + 0xc4]
push eax
mov dword [esp + 0xc0], edx
call fcn.004931a0
mov cx, word [esp + 0x20]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
mov word [esp + 0xcc], cx
mov word [esp + 0xce], bp
call fcn.0050b810
call fcn.00515d10
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xe8]
mov eax, 0x1fc30
call fcn.0050cfd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0x3c