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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
lea eax, [edi + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x74], edx
push ecx
lea edx, [esi + 0x34d4]
lea ecx, [esp + 0x74]
mov dword [esp + 0x7c], eax
call fcn.004ea930
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
fld dword [esp + 0x24]
fmul dword [esi + 0x34c8]
mov dword [esp + 0x20], ecx
fld dword [esp + 0x20]
fmul dword [esi + 0x34bc]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esi + 0x34b0]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esi + 0x34cc]
fld dword [esp + 0x20]
fmul dword [esi + 0x34c0]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esi + 0x34b4]
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x24]
fmul dword [esi + 0x34d0]
fld dword [esp + 0x20]
fmul dword [esi + 0x34c4]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esi + 0x34b8]
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [esi + 0x744]
fadd dword [esi + 0x72c]
fstp dword [esp + 0x60]
fld dword [esi + 0x748]
fadd dword [esi + 0x730]
fstp dword [esp + 0x64]
fld dword [esi + 0x74c]
fadd dword [esi + 0x734]
fstp dword [esp + 0x68]
fld dword [esi + 0x750]
fadd dword [esi + 0x72c]
fstp dword [esp + 0x50]
fld dword [esi + 0x754]
fadd dword [esi + 0x730]
fstp dword [esp + 0x54]
fld dword [esi + 0x758]
fadd dword [esi + 0x734]
fstp dword [esp + 0x58]
fld dword [edi + 0x18]
fsubr dword [esp + 0x60]
fld st(1)
fcompp
fnstsw ax
test ah, 5
jnp 0x4ea920
fld dword [edi + 0x18]
fadd dword [esp + 0x50]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x4ea922
fld dword [edi + 0x18]
fsubr dword [esp + 0x64]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x41
je 0x4ea922
fld dword [edi + 0x18]
fadd dword [esp + 0x54]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 5
jnp 0x4ea922
fld dword [edi + 0x18]
fsubr dword [esp + 0x68]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
je 0x4ea922
fld dword [edi + 0x18]
fadd dword [esp + 0x58]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 5
jnp 0x4ea922
mov ecx, dword [ebp + 0x10]
fld qword [ecx + 4]
xor eax, eax
fstp dword [esp + 0x28]
add ecx, 0x1c
fld qword [ecx - 0x10]
fstp dword [esp + 0x2c]
fld qword [ecx - 8]
fstp dword [esp + 0x30]
fld qword [ecx]
inc eax
fstp dword [esp + eax*4 + 0x78]
add ecx, 8
cmp eax, 9
jl 0x4ea202
mov ecx, dword [ebp + 0xc]
push 0
mov dword [esp + 0x1c], 0x7f7fffff
call fcn.0054c230
mov edi, eax
mov ecx, edi
call fcn.0054e100
xor ebx, ebx
test eax, eax
mov dword [esp + 0x6c], eax
jle 0x4ea922
lea ebx, [ebx]
push ebx
mov ecx, edi
call fcn.0054e120
fld dword [eax]
fld dword [eax + 4]
fld dword [eax + 8]
fld dword [esp + 0x84]
fmul st(1)
fld dword [esp + 0x80]
fmul st(3)
faddp st(1)
fld dword [esp + 0x7c]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x90]
fmul st(1)
fld dword [esp + 0x8c]
fmul st(3)
faddp st(1)
fld dword [esp + 0x88]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x9c]
fmul st(1)
fld dword [esp + 0x98]
fmul st(3)
faddp st(1)
fld dword [esp + 0x94]
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [esp + 0x34]
fadd dword [esp + 0x28]
fld dword [esp + 0x38]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x38]
fxch st(1)
fadd dword [esp + 0x30]
fstp dword [esp + 0x3c]
fsub dword [esi + 0x34d4]
fld dword [esp + 0x38]
fsub dword [esi + 0x34d8]
fld dword [esp + 0x3c]
fsub dword [esi + 0x34dc]
fld st(0)
fmul dword [esi + 0x34c8]
fld st(3)
fmul dword [esi + 0x34b0]
faddp st(1)
fld st(2)
fmul dword [esi + 0x34bc]
faddp st(1)
fstp dword [esp + 0xc]
fld st(0)
fmul dword [esi + 0x34cc]
fld st(3)
fmul dword [esi + 0x34b4]
faddp st(1)
fld st(2)
fmul dword [esi + 0x34c0]
faddp st(1)
fstp dword [esp + 0x10]
fxch st(2)
fmul dword [esi + 0x34b8]
fxch st(1)
fmul dword [esi + 0x34c4]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x34d0]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0xc]
fcomp dword [esp + 0x60]
fnstsw ax
test ah, 0x41
jne 0x4ea3f9
fld dword [esp + 0xc]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 5
jp 0x4ea3f9
fld dword [esp + 0x10]
fcomp dword [esp + 0x64]
fnstsw ax
test ah, 0x41
jne 0x4ea3f9
fld dword [esp + 0x10]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 5
jp 0x4ea3f9
fld dword [esp + 0x14]
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 0x41
jne 0x4ea3f9
fld dword [esp + 0x14]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 5
jp 0x4ea3f9
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fcom dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x4ea3f7
mov eax, dword [esp + 0xc]
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jmp 0x4ea3f9
fstp st(0)
mov eax, dword [esp + 0x6c]
inc ebx
cmp ebx, eax
jl 0x4ea240
fld dword [esp + 0x18]
fcomp dword [0x59eae0]
fnstsw ax
test ah, 0x44
jnp 0x4ea922
mov ecx, esi
call fcn.004ea010
fld dword [esp + 0x18]
fsqrt
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [ebx], 0xffffffff
mov ecx, dword [eax + 0x1c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], ecx
fld dword [esi + 0x3b70]
fsub st(1)
fcom dword [0x59e440]
fnstsw ax
test ah, 5
jp 0x4ea459
fstp st(0)
fld dword [0x59e440]
fld dword [esp + 0x1c]
fchs
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fld dword [esp + 0x20]
mov dword [esp + 0xc], edx
fchs
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
fld dword [esp + 0x24]
mov dword [esp + 0x10], eax
fchs
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
fld st(1)
mov dword [esp + 0x14], ecx
fcomp dword [0x59e440]
fnstsw ax
test ah, 0x41
jne 0x4ea4c8
fdiv st(1)
fstp dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x18]
fmul dword [esp + 0x34]
fstp dword [esp + 0xc]
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x18]
fstp dword [esp + 0x14]
jmp 0x4ea4d0
fstp st(0)
fstp st(0)
fld dword [esp + 0x10]
fld dword [esp + 0x1c]
fcomp dword [0x59e440]
fnstsw ax
test ah, 5
jp 0x4ea4eb
fld dword [esp + 0x1c]
fsub dword [esp + 0x60]
jmp 0x4ea4f3
fld dword [esp + 0x50]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fcomp dword [0x59e440]
fnstsw ax
test ah, 5
jp 0x4ea512
fld dword [esp + 0x24]
fsub dword [esp + 0x68]
jmp 0x4ea51a
fld dword [esp + 0x58]
fsub dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4ea54c
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [0x59e440]
fld dword [esp + 0x28]
fnstsw ax
test ah, 5
jnp 0x4ea540
fchs
fstp dword [esp + 0x28]
fld dword [0x59e440]
jmp 0x4ea567
fld dword [esp + 0x24]
fcomp dword [0x59e440]
fnstsw ax
test ah, 5
jnp 0x4ea55f
fchs
mov dword [esp + 0x28], 0
fld dword [esp + 0x28]
fadd dword [esp + 0xc]
fxch st(2)
fstp dword [esp + 0x2c]
fld dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x30]
fxch st(1)
fmul dword [0x59e84c]
fstp st(1)
fld dword [esp + 0x2c]
fmul dword [0x59e84c]
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
fmul dword [0x59e84c]
fst dword [esp + 0x14]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fst dword [ebx + 8]
fcomp dword [0x59e440]
fnstsw ax
test ah, 0x41
jne 0x4ea659
fld dword [esp + 0x14]
fmul dword [esi + 0x34b8]
fld dword [esp + 0x10]
fmul dword [esi + 0x34b4]
faddp st(1)
fld st(1)
fmul dword [esi + 0x34b0]
faddp st(1)
fstp dword [ebx + 0x2c]
fld dword [esp + 0x14]
fmul dword [esi + 0x34c4]
fld dword [esp + 0x10]
fmul dword [esi + 0x34c0]
faddp st(1)
fld st(1)
fmul dword [esi + 0x34bc]
faddp st(1)
fstp dword [ebx + 0x30]
fld dword [esp + 0x14]
fmul dword [esi + 0x34d0]
fld dword [esp + 0x10]
fmul dword [esi + 0x34cc]
faddp st(1)
fld st(1)
fmul dword [esi + 0x34c8]
faddp st(1)
fstp dword [ebx + 0x34]
fld dword [ebx + 8]
fdivr dword [0x59e43c]
fld st(0)
fmul dword [ebx + 0x2c]
fstp dword [ebx + 0x2c]
fld st(0)
fmul dword [ebx + 0x30]
fstp dword [ebx + 0x30]
fmul dword [ebx + 0x34]
fstp dword [ebx + 0x34]
jmp 0x4ea66e
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0x3f800000
mov dword [ebx + 0x34], 0
fsubr dword [esp + 0x1c]
lea edi, [ebx + 0x14]
fld dword [esp + 0x20]
lea edx, [esp + 0x40]
fsub dword [esp + 0x10]
push edx
fld dword [esp + 0x28]
lea eax, [esp + 0x60]
fsub dword [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
push ecx
fld st(0)
lea eax, [ebx + 0x2c]
fmul dword [esi + 0x34b8]
push eax
fld st(2)
push edi
fmul dword [esi + 0x34b4]
mov ecx, esi
faddp st(1)
fld st(3)
fmul dword [esi + 0x34b0]
faddp st(1)
fstp dword [edi]
fld st(0)
fmul dword [esi + 0x34c4]
fld st(2)
fmul dword [esi + 0x34c0]
faddp st(1)
fld st(3)
fmul dword [esi + 0x34bc]
faddp st(1)
fstp dword [edi + 4]
fmul dword [esi + 0x34d0]
fxch st(1)
fmul dword [esi + 0x34cc]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x34c8]
faddp st(1)
fstp dword [edi + 8]
fld dword [edi]
fadd dword [esi + 0x34d4]
fstp dword [edi]
fld dword [esi + 0x34d8]
fadd dword [edi + 4]
fstp dword [edi + 4]
fld dword [esi + 0x34dc]
fadd dword [edi + 8]
fstp dword [edi + 8]
call fcn.004ed420
fld dword [edi]
lea edx, [esp + 0xc8]
fstp qword [esp + 0xe0]
push edx
fld dword [ebx + 0x18]
lea eax, [esp + 0xac]
fstp qword [esp + 0xec]
push eax
fld dword [ebx + 0x1c]
lea ecx, [esp + 0xa8]
fstp qword [esp + 0xf8]
push ecx
fld dword [ebx + 0x2c]
lea edx, [esp + 0xbc]
fstp qword [esp + 0xbc]
push edx
fld dword [ebx + 0x30]
fstp qword [esp + 0xc8]
fld dword [ebx + 0x34]
fstp qword [esp + 0xd0]
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0xf0]
push eax
call fcn.005694e0
fld qword [esp + 0xa0]
fsubr dword [esp + 0x4c]
fstp dword [esp + 0x4c]
fld qword [esp + 0xa8]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x48]
fsub qword [esp + 0xd8]
fst dword [esp + 0x18]
fld dword [esp + 0x40]
fsub qword [esp + 0xc8]
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fsub qword [esp + 0xd0]
fstp dword [esp + 0x44]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fcomp dword [0x59e440]
fnstsw ax
test ah, 0x41
jne 0x4ea7ef
mov dword [esp + 0x4c], 0
fld dword [esp + 0x4c]
fdiv dword [esp + 0x5c]
fchs
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
fld st(1)
fadd st(1)
fadd st(3)
fcomp qword [0x59e420]
fnstsw ax
test ah, 0x41
jne 0x4ea854
fxch st(1)
fadd st(1)
faddp st(2)
fxch st(1)
fsqrt
fstp st(1)
fdivr dword [0x59e43c]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x18]
fstp dword [esp + 0x48]
jmp 0x4ea85a
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [0x59e7e8]
fmul st(1)
fld dword [esp + 0x40]
fmul st(1)
fld st(1)
fmul dword [esp + 0x44]
fstp dword [esp + 0x38]
fxch st(1)
fmul dword [esp + 0x48]
fstp dword [esp + 0x3c]
fld st(1)
fmul dword [ebx + 0x2c]
fld st(2)
fmul dword [ebx + 0x30]
fstp dword [esp + 0x2c]
fxch st(2)
fmul dword [ebx + 0x34]
fstp dword [esp + 0x30]
fsubp st(1)
fld dword [esp + 0x2c]
fsub dword [esp + 0x38]
fstp dword [esp + 0x54]
fld dword [esp + 0x30]
fsub dword [esp + 0x3c]
fld st(0)
fmul st(1)
fld dword [esp + 0x54]
fmul dword [esp + 0x54]
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fst dword [ebx + 4]
fcom dword [0x59e440]
fnstsw ax
test ah, 0x41
jne 0x4ea911
fdivr dword [0x59e43c]
add ebx, 0x20
fld st(0)
fmul st(3)
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x54]
mov dword [ebx], ecx
fmul st(1)
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [ebx + 4], edx
fmul st(1)
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [ebx + 8], eax
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
fstp st(0)
mov dword [ebx + 0x20], eax
fstp st(0)
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc