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

Disassembly:
push esi
push ebx
sub esp, 0xb4
mov ebx, ecx
fld dword [ebx + 0x46c]
mov esi, dword [ebx + 0x468]
mov ecx, dword [ebx + 0x404]
fstp dword [esp + 0xb0]
push dword [0x9a6e9c]
call fcn.005b8638
cmp esi, eax
je 0x494f93
add esp, 0xb4
pop ebx
pop esi
ret
fld dword [esp + 0xb0]
fcomp dword [0x90262c]
fnstsw ax
sahf
jb 0x494f8a
fld dword [esp + 0xb0]
fcomp dword [0x902628]
fnstsw ax
sahf
ja 0x494f8a
fld dword [0x902b18]
fld dword [esp + 0xb0]
fcomp st(1)
fnstsw ax
fld dword [ebx + 0x470]
faddp st(1)
sahf
jb 0x494ffb
fld dword [esp + 0xb0]
fcompp
fnstsw ax
sahf
jae 0x494ffd
lea edx, [ebx + 0x5ec]
xor eax, eax
push eax
push eax
push edx
push 0x3bd
call fcn.00814298
add esp, 0x10
jmp 0x494ffd
fstp st(0)
mov ecx, ebx
call fcn.0049536c
mov eax, dword [0xaae168]
xor esi, esi
test eax, eax
jle 0x49519c
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ebp
mov ebp, eax
mov edi, dword [esi*4 + 0xaad720]
push edi
call fcn.0048e100
pop ecx
test eax, eax
je 0x495183
mov eax, dword [edi + 0x38]
mov dword [esp + 4], 0
lea edx, [ebx + 0x5e0]
mov dword [esp], eax
lea ecx, [esp + 0xc]
mov eax, dword [edi + 0x40]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x5ec]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x5f0]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x5f4]
mov dword [esp + 0x14], eax
call fcn.0082f9c4
lea ecx, [esp]
lea eax, [esp + 0x18]
mov edx, dword [ebx + 0x5e0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
mov edx, dword [ebx + 0x5e8]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x30]
push edx
push eax
push ecx
call fcn.0083a0dc
add esp, 0xc
fcomp dword [0x902b04]
fnstsw ax
sahf
ja 0x495183
fld dword [esp + 0x18]
fadd dword [esp + 0x24]
mov edx, dword [esp + 0x18]
fld dword [esp + 0x20]
fadd dword [esp + 0x2c]
fxch st(1)
fstp dword [esp + 0x48]
fstp dword [esp + 0x50]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x30]
call fcn.0082f9c4
lea ecx, [esp + 0x48]
lea edx, [esp + 0x30]
call fcn.0082f9c4
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x48]
mov dword [esp + 0x4c], 0
call fcn.0082f9e0
fcomp dword [0x902b14]
fnstsw ax
sahf
ja 0x495183
push 0x3dcccccd
push dword [ebx + 0x484]
call fcn.0048e9d4
add esp, 8
mov dword [esp + 0x80], eax
fild dword [esp + 0x80]
mov eax, dword [edi]
fstp dword [esp + 0x58]
xor edx, edx
mov ecx, 0xffffffff
mov dword [esp + 0x54], edx
push ecx
push ecx
mov ecx, edi
push edx
push dword [esp + 0x64]
push 0
push ebx
call dword [eax + 0x60]
fstp st(0)
add esi, 1
cmp esi, ebp
jl 0x495023
mov edi, dword [esp + 0xa8]
mov ebp, dword [esp + 0xac]
mov eax, dword [ebx + 0x410]
test al, 1
jne 0x49535a
mov eax, dword [ebx + 0x5ec]
mov edx, dword [ebx + 0x5f4]
mov dword [esp + 0x60], 0
lea esi, [ebx + 0x574]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.00836208
add esp, 8
fld dword [0x902624]
fcom st(1)
fnstsw ax
sahf
ja 0x495363
fdivp st(1)
fld dword [0x902b0c]
fadd st(1), st(0)
fxch st(1)
fnstcw word [esp + 0x88]
movzx eax, word [esp + 0x88]
or eax, 0xc00
mov dword [esp + 0x90], eax
fldcw word [esp + 0x90]
fistp dword [esp + 0x98]
fldcw word [esp + 0x88]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
cmp esi, 4
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x74]
mov eax, 4
jle 0x495256
mov esi, eax
mov eax, dword [ebx + 0x574]
mov dword [esp + 0xa0], esi
fild dword [esp + 0xa0]
fdivp st(1)
fstp dword [esp + 0xb0]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x578]
mov dword [esp + 0x78], eax
lea edx, [esp + 0x5c]
mov eax, dword [ebx + 0x57c]
mov dword [esp + 0x7c], eax
call fcn.0082f9c4
fld dword [esp + 0x74]
fld dword [esp + 0xb0]
fmul st(1), st(0)
fld dword [esp + 0x78]
fld dword [esp + 0x7c]
fxch st(1)
fmul st(2)
fxch st(2)
fmulp st(1)
fxch st(2)
fstp dword [esp + 0x74]
fstp dword [esp + 0x78]
fstp dword [esp + 0x7c]
xor eax, eax
test esi, esi
jle 0x495310
mov dword [esp + 0xa8], edi
mov edi, esi
mov esi, eax
lea edx, [esp + 0x68]
push 0x40
push 0x212
push edx
call fcn.0050b7a4
lea edx, [esp + 0x74]
push 0x40
push 0x213
push edx
call fcn.0050b7a4
add esp, 0x18
lea ecx, [esp + 0x68]
lea edx, [esp + 0x74]
call fcn.0082ebac
add esi, 1
cmp esi, edi
jl 0x4952d0
mov edi, dword [esp + 0xa8]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov dword [ebx + 0x574], eax
mov dword [ebx + 0x578], edx
mov dword [ebx + 0x57c], esi
lea edx, [esp + 0x5c]
xor eax, eax
push eax
push eax
push edx
push 0x3be
call fcn.00814298
lea eax, [esp + 0x6c]
push 0xf
push 0xc0
push 0x42c80000
push eax
call fcn.0048e41c
add esp, 0x20
add esp, 0xb4
pop ebx
pop esi
ret
fstp st(1)
fstp st(0)
jmp 0x49532e