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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x40]
test al, 4
jne 0x54596f
test al, 0x10
je 0x5455c0
mov eax, dword [esp + 0x6c]
fld dword [edi + 0x4c]
fmul dword [eax + 0x18]
fld dword [edi + 0x48]
fmul dword [eax + 0x14]
faddp st(1)
fld dword [edi + 0x44]
fmul dword [eax + 0x10]
faddp st(1)
fld st(0)
fmul dword [eax + 0x10]
fld st(1)
fmul dword [eax + 0x14]
fstp dword [esp + 0x2c]
fxch st(1)
fmul dword [eax + 0x18]
fstp dword [esp + 0x30]
fsubr dword [edi + 0x44]
fld dword [edi + 0x48]
fsub dword [esp + 0x2c]
fld dword [edi + 0x4c]
fsub dword [esp + 0x30]
fld st(0)
fmulp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fst dword [esp + 0x6c]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x54596b
fld dword [0x858624]
fdiv dword [esp + 0x6c]
fld st(0)
fmul st(3)
fstp dword [esp + 0x58]
fxch st(1)
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x6c]
fchs
fld dword [0xb7cb5c]
fdiv dword [edi + 0x8c]
fmul dword [esp + 0x68]
fchs
fstp dword [esp + 0x68]
fcom dword [esp + 0x68]
fnstsw ax
test ah, 5
jp 0x54558c
fstp st(0)
fld dword [esp + 0x68]
fld dword [esp + 0x58]
mov eax, dword [edi + 0x64]
fmul st(1)
mov dword [edi + 0x64], eax
mov al, 1
fstp dword [esp + 0x58]
fxch st(1)
fmul st(1)
fxch st(1)
fstp st(0)
fld dword [esp + 0x58]
fadd dword [edi + 0x5c]
fstp dword [edi + 0x5c]
fadd dword [edi + 0x60]
fstp dword [edi + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov esi, dword [esp + 0x6c]
mov eax, dword [edi + 0x14]
fld dword [esi]
fsub dword [eax + 0x30]
add eax, 0x30
sub esp, 0xc
mov ecx, esp
fstp dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
fld dword [esi + 4]
mov dword [ecx], ebp
fsub dword [eax + 4]
fstp dword [esp + 0x20]
fld dword [esi + 8]
mov edx, dword [esp + 0x20]
fsub dword [eax + 8]
mov dword [ecx + 4], edx
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [ecx + 8], eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.00542ce0
fld dword [esp + 0x20]
fmul dword [esi + 0x14]
lea ebx, [esi + 0x10]
fld dword [esp + 0x24]
fmul dword [ebx + 8]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [ebx]
faddp st(1)
fld st(0)
fmul dword [ebx]
fld st(1)
fmul dword [ebx + 4]
fstp dword [esp + 0x2c]
fxch st(1)
fmul dword [ebx + 8]
fstp dword [esp + 0x30]
fsubr dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x38]
fld dword [esp + 0x24]
fsub dword [esp + 0x30]
fld st(0)
fmul st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fst dword [esp + 0x6c]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x54596b
fld dword [0x858624]
mov eax, dword [edi + 0x14]
fdiv dword [esp + 0x6c]
lea edx, [edi + 0xa4]
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
fld st(0)
fmul st(3)
fstp dword [esp + 0x28]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0x2c]
fxch st(1)
fmul st(1)
fstp dword [esp + 0x30]
fstp st(0)
fstp st(0)
call fcn.0059c790
fld dword [esp + 0x1c]
lea edx, [esp + 0x28]
fsub dword [esp + 0x40]
push edx
lea eax, [esp + 0x38]
push eax
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x6c]
fld dword [esp + 0x28]
push ecx
fsub dword [esp + 0x50]
fstp dword [esp + 0x44]
fld dword [esp + 0x30]
fsub dword [esp + 0x54]
fstp dword [esp + 0x48]
call fcn.0059c730
fld dword [eax + 8]
fld dword [eax + 4]
add esp, 0x18
fld dword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fdiv dword [edi + 0x90]
fld dword [0x858624]
fdiv dword [edi + 0x8c]
faddp st(1)
fdivr dword [0x858624]
fmul dword [esp + 0x6c]
fchs
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [esp + 0x68]
fchs
fstp dword [esp + 0x68]
fcom dword [esp + 0x68]
fnstsw ax
test ah, 5
jp 0x545751
fstp st(0)
fld dword [esp + 0x68]
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
fmul st(1)
sub esp, 0xc
mov edx, esp
fstp dword [esp + 0x34]
mov dword [edx], ebp
fld dword [esp + 0x2c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x34]
fmul st(1)
mov dword [edx + 8], ecx
sub esp, 0xc
fstp dword [esp + 0x44]
fld dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
fmul st(1)
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ecx
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov ecx, edi
fstp st(0)
mov dword [edx + 8], eax
call fcn.00543220
fld dword [esp + 0x6c]
fcomp dword [0x858b1c]
fnstsw ax
test ah, 0x41
jne 0x54595f
movzx ecx, byte [esi + 0x23]
push ecx
mov ecx, 0xb79538
call fcn.0055e650
test eax, eax
je 0x54595f
movzx edx, byte [esi + 0x20]
push edx
mov ecx, 0xb79538
call fcn.0055e650
cmp eax, 1
je 0x5457f3
mov al, byte [edi + 0x36]
and al, 7
cmp al, 2
jne 0x54595f
mov cl, byte [edi + 0x36]
and cl, 7
cmp cl, 2
jne 0x545831
cmp dword [edi + 0x594], 0xa
jne 0x545831
mov eax, dword [edi + 0x460]
test eax, eax
je 0x545831
mov edx, dword [edi + 0x14]
push edx
push ebx
call fcn.0040fdb0
fabs
fcomp dword [0x863c14]
add esp, 8
fnstsw ax
test ah, 5
jnp 0x54595f
fld dword [esp + 0x6c]
lea eax, [esp + 0x1c]
fmul dword [0x858c84]
push eax
push ecx
lea ecx, [esp + 0x54]
fstp dword [esp]
push ecx
call fcn.0040fe90
fld dword [esp + 0x78]
mov edx, dword [esp + 0x28]
fmul dword [0x86321c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push ebx
fstp dword [esp + 0x78]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x68]
push 0x3dcccccd
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call fcn.0040fe90
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
call fcn.00411a00
add edi, 0x44
push edi
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.0059c730
add esp, 0xc
lea ecx, [esp + 0x28]
call fcn.0059c910
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov edi, 8
lea esp, [esp]
call fcn.00821b1e
mov dword [esp + 0x6c], eax
fild dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x68]
push 0x3f800000
fmul dword [0x858c7c]
push 0x3dcccccd
push 0
sub esp, 0xc
fmul dword [0x858ee8]
mov ecx, esp
mov dword [ecx], edx
fsub dword [0x858cc4]
fld dword [esp + 0x40]
mov dword [ecx + 4], ebp
push 1
fmul st(1)
mov dword [ecx + 8], ebx
fld dword [esp + 0x48]
push eax
fmul st(2)
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x7c]
fstp dword [esp + 0x68]
fld dword [esp + 0x54]
push edx
fmul st(2)
mov ecx, 0xa9ae00
fstp dword [esp + 0x70]
fadd dword [esi]
fstp dword [esp + 0x80]
fstp st(0)
fld dword [esp + 0x6c]
fadd dword [esi + 4]
fstp dword [esp + 0x84]
fld dword [esp + 0x70]
fadd dword [esi + 8]
fstp dword [esp + 0x88]
call fcn.0049f040
dec edi
jne 0x5458c0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x54
ret 8