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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x174
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x130]
mov dword [esp + 0x44], edi
xor esi, esi
call fcn.004ac260
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movsd qword [esp + 0xb8], xmm0
movsd qword [esp + 0xb0], xmm0
movsd qword [esp + 0x18], xmm0
movsd qword [esp + 0x10], xmm0
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x88], xmm0
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x100], xmm0
movsd qword [esp + 0xf8], xmm0
movsd qword [esp + 0x110], xmm0
movsd qword [esp + 0x108], xmm0
movsd qword [esp + 0xd8], xmm0
movsd qword [esp + 0xd0], xmm0
movsd qword [esp + 0xf0], xmm0
movsd qword [esp + 0xe8], xmm0
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [ebp + 0x1c]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [ebp + 0x24]
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [0x5ff710]
movsd qword [eax], xmm0
movsd xmm1, qword [0x5ff788]
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [edi]
comisd xmm1, xmm0
movsd qword [esp + 0xc8], xmm1
jbe 0x551bdf
movsd qword [esp + 0xc8], xmm0
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0xfc]
push edx
lea edx, [esp + 0x90]
push edx
lea edx, [esp + 0x1c]
push edx
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x60]
mov bl, al
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10c]
push ecx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call edx
test bl, bl
je 0x551c31
mov bl, al
test esi, esi
jne 0x551c83
movq xmm0, qword [esp + 0x10]
movsd qword [esp + 0x58], xmm0
movq xmm0, qword [esp + 0x18]
movsd qword [esp + 0x60], xmm0
movq xmm0, qword [esp + 0x30]
movsd qword [esp + 0x68], xmm0
movq xmm0, qword [esp + 0x38]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 0xa8], xmm0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x8c]
call fcn.004a74a0
fabs
fst qword [esp + 0xe0]
fld qword [0x5fa918]
movsd xmm4, qword [esp + 0xe0]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x55206a
test esi, esi
je 0x551dda
movsd xmm0, qword [esp + 0xa0]
movsd xmm1, qword [esp + 0x10]
movsd xmm2, qword [esp + 0x38]
movsd xmm3, qword [esp + 0x30]
comisd xmm0, xmm4
movsd xmm0, qword [esp + 0x18]
jbe 0x551d36
movdqa xmm5, xmm1
movsd qword [esp + 0x58], xmm5
movdqa xmm5, xmm0
movsd qword [esp + 0x60], xmm5
movdqa xmm5, xmm3
movsd qword [esp + 0x68], xmm5
movdqa xmm5, xmm2
movsd qword [esp + 0x70], xmm5
movsd xmm5, qword [esp + 0x28]
movsd qword [esp + 0x98], xmm5
movsd xmm5, qword [esp + 0x20]
movsd qword [esp + 0xa8], xmm5
movsd qword [esp + 0xa0], xmm4
subsd xmm3, qword [esp + 0xe8]
subsd xmm2, qword [esp + 0xf0]
subsd xmm1, qword [esp + 0xd0]
subsd xmm0, qword [esp + 0xd8]
lea ecx, [esp + 0x160]
movsd qword [esp + 0x150], xmm3
movsd qword [esp + 0x158], xmm2
movsd qword [esp + 0x160], xmm1
movsd qword [esp + 0x168], xmm0
call fcn.004a7500
fstp qword [esp + 0xc0]
lea ecx, [esp + 0x150]
call fcn.004a7500
fst qword [esp + 0x128]
fld qword [esp + 0xc0]
fcompi st(1)
fstp st(0)
jbe 0x551dbc
movsd xmm0, qword [esp + 0xc0]
jmp 0x551dc5
movsd xmm0, qword [esp + 0x128]
movsd xmm1, qword [esp + 0xc8]
comisd xmm1, xmm0
ja 0x552086
jmp 0x551e31
movq xmm0, qword [esp + 0x10]
movsd qword [esp + 0x58], xmm0
movq xmm0, qword [esp + 0x18]
movsd qword [esp + 0x60], xmm0
movq xmm0, qword [esp + 0x30]
movsd qword [esp + 0x68], xmm0
movq xmm0, qword [esp + 0x38]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0xa0], xmm4
mov ecx, dword [esp + 0x44]
add ecx, 0x20
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x3c]
call fcn.004a7cb0
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
subsd xmm0, qword [esp + 0x170]
subsd xmm1, qword [esp + 0x178]
lea ecx, [esp + 0x48]
movq qword [esp + 0x48], xmm0
movq qword [esp + 0x50], xmm1
call fcn.004a7500
fld qword [0x5ff758]
fcompi st(1)
fstp st(0)
jbe 0x551efa
lea ecx, [esp + 0x118]
push ecx
lea ecx, [esp + 0x8c]
call fcn.004a7a60
lea ecx, [esp + 0x118]
call fcn.004a7bc0
fstp st(0)
movsd xmm0, qword [esp + 0x118]
movapd xmm1, xmm0
addsd xmm1, qword [esp + 0x10]
addsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x10], xmm1
movsd xmm1, qword [esp + 0x120]
movapd xmm2, xmm1
addsd xmm2, qword [esp + 0x18]
addsd xmm1, qword [esp + 0x50]
movsd qword [esp + 0x18], xmm2
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x50], xmm1
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x8c]
call fcn.004a74a0
fstp qword [esp + 0xb8]
movsd xmm0, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x50]
movsd xmm3, qword [esp + 0x48]
mulsd xmm2, xmm0
mulsd xmm0, qword [esp + 0x90]
mulsd xmm3, xmm1
mulsd xmm1, qword [esp + 0x88]
lea eax, [esp + 0x78]
addsd xmm2, xmm3
addsd xmm0, xmm1
push eax
lea ecx, [esp + 0xfc]
movsd qword [esp + 0xb4], xmm2
movsd qword [esp + 0x134], xmm0
call fcn.004a74a0
fstp qword [esp + 0x138]
movsd xmm0, qword [esp + 0x80]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, qword [esp + 0x78]
movapd xmm2, xmm0
lea ecx, [esp + 0x108]
mulsd xmm2, xmm0
addsd xmm1, xmm2
xorpd xmm1, xmmword [0x5fc740]
push ecx
lea ecx, [esp + 0x8c]
movsd qword [esp + 0x144], xmm1
call fcn.004a74a0
fstp qword [esp + 0x148]
lea ecx, [esp + 0x130]
call fcn.004ac3f0
fabs
fld qword [0x5ff778]
fcompi st(1)
fstp st(0)
ja 0x552086
lea edx, [esp + 0x130]
push edx
lea ecx, [esp + 0xb4]
call fcn.004a7750
movsd xmm0, qword [esp + 0x28]
subsd xmm0, qword [esp + 0xb0]
movsd xmm4, qword [esp + 0xe0]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x20]
subsd xmm0, qword [esp + 0xb8]
movsd qword [esp + 0x20], xmm0
movq xmm0, qword [esp + 0x10]
movsd qword [esp + 0xd0], xmm0
movq xmm0, qword [esp + 0x18]
movsd qword [esp + 0xd8], xmm0
movq xmm0, qword [esp + 0x30]
movsd qword [esp + 0xe8], xmm0
movq xmm0, qword [esp + 0x38]
movsd qword [esp + 0xf0], xmm0
inc esi
test bl, bl
je 0x552086
cmp esi, 0x14
jge 0x552086
comisd xmm4, xmmword [0x5fa918]
ja 0x551be2
cmp esi, 0x14
jl 0x5520d4
movq xmm0, qword [esp + 0x58]
movq qword [esp + 0x10], xmm0
movq xmm0, qword [esp + 0x60]
movq qword [esp + 0x18], xmm0
movq xmm0, qword [esp + 0x68]
movq qword [esp + 0x30], xmm0
movq xmm0, qword [esp + 0x70]
movq qword [esp + 0x38], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0xa8]
movsd qword [esp + 0x20], xmm0
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00551920
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
fstp qword [ecx]
movsd xmm0, qword [esp + 0x28]
movsd qword [eax], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [esi]
comisd xmm0, xmmword [ecx]
mov eax, dword [ebp + 0xc]
jbe 0x55213d
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
movq qword [eax], xmm0
movq qword [eax + 0x10], xmm0
movq qword [eax + 8], xmm1
movq qword [eax + 0x18], xmm1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
movq xmm0, qword [esp + 0x10]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x18]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x38]
pop edi
pop esi
movq qword [eax + 0x18], xmm0
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x24