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

Disassembly:
sub esp, 0x64
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x74]
mov ecx, dword [esi + 0x184]
xor eax, eax
add edx, 0xd4
cmp dword [esi + 0x178], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x17c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x18], eax
jle 0x54b077
push ebx
push edi
mov edi, dword [esp + 0x78]
lea ebx, [ecx + 0x14]
lea ecx, [ecx]
fld dword [edi + 0xec]
mov eax, dword [ebp + 0x1d8]
fmul dword [ebx + 4]
fld dword [edi + 0xdc]
fmul dword [ebx]
faddp st(1)
fld dword [edi + 0xcc]
fmul dword [ebx - 4]
faddp st(1)
fadd dword [edi + 0xfc]
fld dword [edi + 0xf0]
fmul dword [ebx + 4]
fld dword [edi + 0xd0]
fmul dword [ebx - 4]
faddp st(1)
fld dword [edi + 0xe0]
fmul dword [ebx]
faddp st(1)
fadd dword [edi + 0x100]
fld dword [edi + 0xf4]
fmul dword [ebx + 4]
fld dword [edi + 0xd4]
fmul dword [ebx - 4]
faddp st(1)
fld dword [edi + 0xe4]
fmul dword [ebx]
faddp st(1)
fadd dword [edi + 0x104]
fld dword [edx]
fsubrp st(3)
fld dword [edx + 4]
fsubrp st(2)
fsubr dword [edx + 8]
fld dword [eax + 4]
fadd dword [ebx + 8]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
fcompp
fnstsw ax
test ah, 1
jne 0x54b04c
mov eax, dword [ebx - 0xc]
mov edx, dword [eax]
test dl, dl
mov esi, dword [eax + 0x1c]
movzx eax, word [ecx]
movzx ecx, word [ebx - 0x12]
jns 0x54abd9
movzx edx, word [ebx - 0x10]
shl eax, 7
shl ecx, 7
shl edx, 7
jmp 0x54abf6
test dl, 8
movzx edx, word [ebx - 0x10]
je 0x54abed
imul eax, eax, 0x58
imul ecx, ecx, 0x58
imul edx, edx, 0x58
jmp 0x54abf6
shl eax, 6
shl ecx, 6
shl edx, 6
fld dword [edi + 0xec]
add eax, esi
fmul dword [eax + 8]
add ecx, esi
fld dword [edi + 0xdc]
add edx, esi
fmul dword [eax + 4]
faddp st(1)
fld dword [eax]
fmul dword [edi + 0xcc]
faddp st(1)
fadd dword [edi + 0xfc]
fstp dword [esp + 0x50]
fld dword [edi + 0xd0]
fmul dword [eax]
fld dword [edi + 0xf0]
fmul dword [eax + 8]
faddp st(1)
fld dword [edi + 0xe0]
fmul dword [eax + 4]
faddp st(1)
fadd dword [edi + 0x100]
fstp dword [esp + 0x54]
fld dword [edi + 0xd4]
fmul dword [eax]
fld dword [edi + 0xf4]
fmul dword [eax + 8]
faddp st(1)
fld dword [edi + 0xe4]
fmul dword [eax + 4]
faddp st(1)
fadd dword [edi + 0x104]
fstp dword [esp + 0x58]
fld dword [edi + 0xdc]
fmul dword [ecx + 4]
fld dword [edi + 0xec]
fmul dword [ecx + 8]
faddp st(1)
fld dword [edi + 0xcc]
fmul dword [ecx]
faddp st(1)
fadd dword [edi + 0xfc]
fstp dword [esp + 0x5c]
fld dword [edi + 0xe0]
fmul dword [ecx + 4]
fld dword [edi + 0xf0]
fmul dword [ecx + 8]
faddp st(1)
fld dword [edi + 0xd0]
fmul dword [ecx]
faddp st(1)
fadd dword [edi + 0x100]
fstp dword [esp + 0x60]
fld dword [edi + 0xe4]
fmul dword [ecx + 4]
fld dword [edi + 0xf4]
fmul dword [ecx + 8]
faddp st(1)
fld dword [edi + 0xd4]
fmul dword [ecx]
faddp st(1)
fadd dword [edi + 0x104]
fstp dword [esp + 0x64]
fld dword [edi + 0xdc]
fmul dword [edx + 4]
fld dword [edi + 0xec]
fmul dword [edx + 8]
faddp st(1)
fld dword [edx]
fmul dword [edi + 0xcc]
faddp st(1)
fadd dword [edi + 0xfc]
fstp dword [esp + 0x68]
fld dword [edi + 0xe0]
fmul dword [edx + 4]
fld dword [edi + 0xd0]
fmul dword [edx]
faddp st(1)
fld dword [edi + 0xf0]
fmul dword [edx + 8]
faddp st(1)
fadd dword [edi + 0x100]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x6c]
mov eax, dword [ebp + 0x1d8]
fld dword [edi + 0xe4]
mov dword [esp + 0x44], ecx
fmul dword [edx + 4]
mov dword [esp + 0x14], 0
fld dword [edi + 0xd4]
fmul dword [edx]
faddp st(1)
fld dword [edi + 0xf4]
fmul dword [edx + 8]
lea edx, [esp + 0x5c]
mov dword [esp + 0x48], edx
faddp st(1)
fadd dword [edi + 0x104]
fstp dword [esp + 0x70]
cmp dword [eax + 8], 0
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x78], ecx
jle 0x54b044
lea esi, [ecx + 0x18]
mov edi, edi
test byte [ecx], 0x60
jne 0x54b01c
mov eax, dword [ebx - 8]
fld dword [edi + 0xec]
shl eax, 4
add eax, dword [esp + 0x24]
fmul dword [eax + 8]
fld dword [edi + 0xdc]
fmul dword [eax + 4]
faddp st(1)
fld dword [edi + 0xcc]
fmul dword [eax]
faddp st(1)
fst dword [esp + 0x38]
fld dword [edi + 0xf0]
fmul dword [eax + 8]
fld dword [edi + 0xe0]
fmul dword [eax + 4]
faddp st(1)
fld dword [edi + 0xd0]
fmul dword [eax]
faddp st(1)
fst dword [esp + 0x3c]
fld dword [edi + 0xf4]
fmul dword [eax + 8]
fld dword [edi + 0xe4]
fmul dword [eax + 4]
faddp st(1)
fld dword [edi + 0xd4]
fmul dword [eax]
faddp st(1)
fst dword [esp + 0x40]
fld dword [esp + 0x58]
fmul st(1)
fld dword [esp + 0x54]
fmul st(3)
faddp st(1)
fld dword [esp + 0x50]
fmul st(4)
faddp st(1)
fld dword [esi]
fmul st(2)
fld dword [esi - 8]
fmul st(5)
faddp st(1)
fld st(3)
fmul dword [esi - 4]
faddp st(1)
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x54b012
fld dword [esi + 0x18]
fmul st(3)
fld dword [esi + 0x14]
fmul st(5)
faddp st(1)
fld dword [esi + 0x10]
fmul st(6)
faddp st(1)
fst dword [esp + 0x28]
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x54b012
fld st(4)
fabs
fld st(4)
fabs
fcom st(1)
fnstsw ax
test ah, 5
jp 0x54aec9
fstp st(5)
fstp st(4)
fld st(2)
fabs
fcomp st(4)
fnstsw ax
fstp st(3)
test ah, 5
jp 0x54aeb0
fstp st(1)
fldz
fcomp st(3)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x54aea9
xor eax, eax
jmp 0x54af10
mov eax, 1
jmp 0x54af10
fstp st(3)
fldz
fcompp
fnstsw ax
test ah, 5
mov eax, 4
jnp 0x54af10
mov eax, 5
jmp 0x54af10
fstp st(6)
fstp st(0)
fld st(2)
fabs
fcomp st(5)
fnstsw ax
fstp st(4)
test ah, 5
jp 0x54aef7
fstp st(1)
fldz
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
mov eax, 2
jnp 0x54af0e
mov eax, 3
jmp 0x54af0e
fstp st(2)
fldz
fcompp
fnstsw ax
test ah, 5
mov eax, 4
jnp 0x54af0e
mov eax, 5
fxch st(1)
fld dword [esp + 0x28]
mov word [ebx - 0xe], ax
fsub st(1)
fld st(0)
fabs
fcomp qword [0x5cacb0]
fnstsw ax
test ah, 5
jp 0x54af35
fstp st(0)
fstp st(1)
fstp st(0)
fldz
jmp 0x54af3b
fxch st(2)
fsubrp st(1)
fdivrp st(1)
fld dword [esi + 0x10]
movsx ecx, word [ebx - 0xe]
fsub dword [esi - 8]
push ecx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x48]
fmul st(1)
fadd dword [esi - 8]
fstp dword [esp + 0x30]
fld dword [esi + 0x14]
fsub dword [esi - 4]
fmul st(1)
fadd dword [esi - 4]
fstp dword [esp + 0x34]
fld dword [esi + 0x18]
fsub dword [esi]
fmulp st(1)
fadd dword [esi]
fstp dword [esp + 0x38]
call fcn.0054a540
test eax, eax
je 0x54b01c
mov edx, dword [esp + 0x78]
fld dword [esp + 0x2c]
mov dword [edx], 0x10
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x28], edx
mov dword [esi + 0x1c], ebp
xor ecx, ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edi
mov edx, dword [ebx - 0xc]
mov edx, dword [edx + 0x38]
fst dword [esi + 0x4c]
fld dword [esp + 0x30]
lea eax, [esi + 0x1c]
fst dword [esi + 0x50]
mov dword [esi + 0x2c], edx
fld dword [esp + 0x34]
mov edx, dword [esp + 0x10]
fst dword [esi + 0x54]
mov dword [esi + 0x34], edx
fld dword [esp + 0x38]
mov edx, dword [esp + 0x14]
fstp dword [esi + 0x40]
mov dword [esi + 0x38], ecx
fld dword [esp + 0x3c]
mov dword [esi + 0x30], edx
fstp dword [esi + 0x44]
add dword [esp + 0x18], 1
fld dword [esp + 0x40]
push eax
fstp dword [esi + 0x48]
mov ecx, ebp
fld dword [esi + 0x10]
fsubrp st(3)
fld dword [esi + 0x14]
fsubrp st(2)
fsubr dword [esi + 0x18]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fsqrt
fstp dword [esi + 0x58]
call fcn.00557100
jmp 0x54b01c
fstp st(2)
fstp st(3)
fstp st(1)
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
mov edx, dword [ebp + 0x1d8]
add eax, 1
add ecx, 0x74
add esi, 0x74
cmp eax, dword [edx + 8]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x14], eax
jl 0x54ada0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x7c]
add eax, 1
add ecx, 0x20
add ebx, 0x20
cmp eax, dword [esi + 0x178]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
jl 0x54ab10
mov eax, dword [esp + 0x18]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x64
ret 0xc