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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
movsd xmm0, qword [0x5fc888]
mov eax, dword [0x618ad8]
push ebx
movsd qword [esp + 0x10], xmm0
xorps xmm0, xmm0
shl eax, 4
movsd xmm1, qword [eax + 0x618b08]
subsd xmm1, qword [eax + 0x618ae8]
push esi
movsd qword [esp + 0x54], xmm0
movsd qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm0
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [eax + 0x618b00]
subsd xmm0, qword [eax + 0x618ae0]
push edi
mov edi, ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x13], 0
movq qword [esp + 0x60], xmm0
movq qword [esp + 0x68], xmm1
call fcn.004a7bc0
fld qword [edi + 0x20]
fcompi st(1)
fstp st(0)
jbe 0x5b7170
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsd xmm0, qword [0x5fb9d0]
mov ebx, 1
cmp dword [edi + 4], ebx
movsd qword [esp + 0x20], xmm0
jle 0x5b765e
mov dword [esp + 0x14], 0x50
jmp 0x5b71a0
mov esi, dword [edi + 0x1bc]
add esi, dword [esp + 0x14]
cmp byte [esi + 0x40], 0
jne 0x5b754c
mov ecx, dword [0x618ad8]
mov eax, ecx
add ecx, 2
shl ecx, 4
movsd xmm0, qword [ecx + esi]
movsd xmm1, qword [ecx + esi + 8]
add ecx, esi
shl eax, 4
subsd xmm0, qword [eax + esi]
subsd xmm1, qword [eax + esi + 8]
add eax, esi
lea ecx, [esp + 0x50]
movq qword [esp + 0x50], xmm0
movq qword [esp + 0x58], xmm1
call fcn.004a7bc0
fld qword [edi + 0x20]
fcompi st(1)
fstp st(0)
jbe 0x5b7206
mov byte [esi + 0x40], 1
jmp 0x5b754c
mov eax, dword [0x618ad8]
shl eax, 4
movsd xmm0, qword [eax + esi]
movsd xmm1, qword [eax + esi + 8]
subsd xmm0, qword [eax + 0x618b00]
subsd xmm1, qword [eax + 0x618b08]
lea ecx, [esp + 0x40]
movq qword [esp + 0x40], xmm0
movq qword [esp + 0x48], xmm1
call fcn.004a7500
fstp qword [esp + 0x30]
mov ecx, dword [0x618ad8]
mov eax, ecx
add ecx, 2
shl ecx, 4
movsd xmm0, qword [ecx + esi]
movsd xmm1, qword [ecx + esi + 8]
add ecx, esi
shl eax, 4
add eax, 0x618ae0
subsd xmm0, qword [eax]
subsd xmm1, qword [eax + 8]
lea ecx, [esp + 0x40]
movq qword [esp + 0x40], xmm0
movq qword [esp + 0x48], xmm1
call fcn.004a7500
fstp qword [esp + 0x28]
movsd xmm0, qword [edi + 0x20]
movsd xmm3, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movapd xmm2, xmm0
addsd xmm2, xmm3
comisd xmm2, xmm1
jbe 0x5b7398
movsd xmm2, qword [esp + 0x20]
movapd xmm4, xmm0
addsd xmm4, xmm2
comisd xmm4, xmm1
jbe 0x5b7398
subsd xmm2, xmm0
comisd xmm2, xmm1
jbe 0x5b72da
movsd xmm2, qword [0x5fc888]
movsd qword [esp + 0x18], xmm2
comisd xmm0, xmm3
jbe 0x5b72e9
mov byte [esi + 0x40], 1
jmp 0x5b7398
movsd xmm0, qword [esp + 0x68]
mulsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x20], xmm1
movsd xmm1, qword [esp + 0x50]
mulsd xmm1, qword [esp + 0x60]
addsd xmm0, xmm1
comisd xmm0, xmmword [esp + 0x18]
movsd qword [esp + 0x38], xmm0
jbe 0x5b7398
cmp byte [edi + 0x66], 0
jne 0x5b7382
mov ecx, dword [0x618ad8]
xorps xmm0, xmm0
shl ecx, 4
mov eax, esi
sub eax, ecx
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [eax + 0x10]
add eax, 0x10
mov edx, 0x618b10
sub edx, ecx
subsd xmm0, qword [edx]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [edx + 8]
lea ecx, [esp + 0x70]
movsd qword [esp + 0x78], xmm0
call fcn.004a7500
fld qword [edi + 0x20]
fadd qword [0x5fb9d0]
fcompi st(1)
fstp st(0)
jbe 0x5b7398
movsd xmm0, qword [esp + 0x38]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov byte [eax], 1
movsd qword [esp + 0x18], xmm0
mov dword [ecx], ebx
mov byte [esp + 0x13], 1
mov ecx, dword [0x618ad8]
mov eax, ecx
add ecx, 2
shl ecx, 4
movsd xmm0, qword [ecx + esi]
movsd xmm1, qword [ecx + esi + 8]
add ecx, esi
shl eax, 4
add eax, 0x618b00
subsd xmm0, qword [eax]
subsd xmm1, qword [eax + 8]
lea ecx, [esp + 0x40]
movq qword [esp + 0x40], xmm0
movq qword [esp + 0x48], xmm1
call fcn.004a7500
fstp qword [esp + 0x30]
mov eax, dword [0x618ad8]
shl eax, 4
movsd xmm0, qword [eax + esi]
movsd xmm1, qword [eax + esi + 8]
subsd xmm0, qword [eax + 0x618ae0]
subsd xmm1, qword [eax + 0x618ae8]
lea ecx, [esp + 0x40]
movq qword [esp + 0x40], xmm0
movq qword [esp + 0x48], xmm1
call fcn.004a7500
fstp qword [esp + 0x28]
movsd xmm0, qword [edi + 0x20]
movsd xmm3, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movapd xmm2, xmm0
addsd xmm2, xmm3
comisd xmm2, xmm1
jbe 0x5b754c
movsd xmm2, qword [esp + 0x20]
movapd xmm4, xmm0
addsd xmm4, xmm2
comisd xmm4, xmm1
jbe 0x5b754c
subsd xmm2, xmm0
comisd xmm2, xmm1
jbe 0x5b746c
movsd xmm2, qword [0x5fc888]
movsd qword [esp + 0x18], xmm2
comisd xmm0, xmm3
jbe 0x5b747b
mov byte [esi + 0x40], 1
jmp 0x5b754c
movsd xmm0, qword [esp + 0x68]
mulsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x20], xmm1
movsd xmm1, qword [esp + 0x50]
mulsd xmm1, qword [esp + 0x60]
addsd xmm0, xmm1
xorpd xmm0, xmmword [0x5fc740]
comisd xmm0, xmmword [esp + 0x18]
movsd qword [esp + 0x38], xmm0
jbe 0x5b754c
cmp byte [edi + 0x66], 0
jne 0x5b7536
mov edx, dword [0x618ad8]
xorps xmm0, xmm0
mov eax, edx
shl eax, 4
mov ecx, 0x618b10
sub ecx, eax
mov eax, 3
sub eax, edx
movsd qword [esp + 0x88], xmm0
movsd qword [esp + 0x80], xmm0
shl eax, 4
movsd xmm0, qword [eax + esi]
subsd xmm0, qword [ecx]
add eax, esi
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [ecx + 8]
lea ecx, [esp + 0x80]
movsd qword [esp + 0x88], xmm0
call fcn.004a7500
fld qword [edi + 0x20]
fadd qword [0x5fb9d0]
fcompi st(1)
fstp st(0)
jbe 0x5b754c
movsd xmm0, qword [esp + 0x38]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov byte [ecx], 0
movsd qword [esp + 0x18], xmm0
mov dword [edx], ebx
mov byte [esp + 0x13], 1
add dword [esp + 0x14], 0x50
inc ebx
cmp ebx, dword [edi + 4]
jl 0x5b71a0
cmp byte [esp + 0x13], 0
je 0x5b765e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [edi + 0x1bc]
mov byte [eax + 0x40], 1
cmp byte [ecx], 0
je 0x5b75f7
movq xmm0, qword [eax + 0x20]
movq qword [0x618b00], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [0x618b08], xmm0
movq xmm0, qword [eax]
movq qword [0x618ae0], xmm0
movq xmm0, qword [eax + 8]
movq qword [0x618ae8], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [0x618b10], xmm0
movq xmm0, qword [eax + 0x38]
movq qword [0x618b18], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [0x618af0], xmm0
movq xmm0, qword [eax + 0x18]
mov al, byte [esp + 0x13]
movq qword [0x618af8], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movq xmm0, qword [eax]
movq qword [0x618b00], xmm0
movq xmm0, qword [eax + 8]
movq qword [0x618b08], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [0x618ae0], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [0x618ae8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [0x618b10], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [0x618b18], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [0x618af0], xmm0
movq xmm0, qword [eax + 0x38]
movq qword [0x618af8], xmm0
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8