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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x460
mov eax, dword [0x1025f074]
xor eax, esp
mov dword [esp + 0x45c], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
push 0xc0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x104]
push 0
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], esi
mov byte [esp + 0x2b5], 0
call fcn.101b5530
add esp, 0xc
lea eax, [esp + 0x1e0]
xorps xmm0, xmm0
movups xmmword [esp + 0x1c0], xmm0
push 0xc0
push 0
push eax
movups xmmword [esp + 0x1dc], xmm0
call fcn.101b5530
add esp, 0xc
mov word [esp + 0x2a7], 0x100
xor eax, eax
mov word [esp + 0x2a4], ax
mov byte [esp + 0x2a6], al
push 0xc0
push eax
mov dword [esp + 0x2a8], eax
mov byte [esp + 0x461], al
lea eax, [esp + 0x2b8]
push eax
call fcn.101b5530
add esp, 0xc
lea eax, [esp + 0x390]
xorps xmm0, xmm0
movups xmmword [esp + 0x370], xmm0
push 0xc0
push 0
push eax
movups xmmword [esp + 0x38c], xmm0
call fcn.101b5530
movups xmm0, xmmword [edi]
xor eax, eax
mov word [esp + 0x463], 0x100
mov word [esp + 0x460], ax
lea ecx, [esp + 0x10c]
mov byte [esp + 0x462], al
add esp, 0xc
mov dword [esp + 0x450], eax
lea eax, [edi + 0x30]
movups xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xc], eax
movups xmm0, xmmword [eax]
lea eax, [esp + 0xe0]
push eax
mov eax, dword [esp + 0x2c]
movups xmmword [esp + 0xf4], xmm0
movups xmm0, xmmword [esi]
push dword [eax]
movups xmmword [esp + 0xc8], xmm0
movups xmm0, xmmword [esi + 0x20]
xor esi, esi
mov dword [esp + 0x48], esi
movups xmmword [esp + 0xd8], xmm0
movsd xmm0, qword [0x10226570]
movsd qword [esp + 0x88], xmm0
call fcn.10178780
test eax, eax
je 0x1018eaac
lea eax, [esp + 0xc0]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2b4]
push dword [eax]
call fcn.10106d80
test eax, eax
je 0x1018eaac
nop
movsd xmm7, qword [0x10226570]
xor eax, eax
mov dword [esp + 0x34], eax
xor edi, edi
movzx eax, byte [esp + 0x456]
movaps xmm5, xmm7
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x1018e2c5
mov eax, dword [esp + 0x48]
lea esi, [esp + 0x100]
movsd xmm3, qword [eax + 0xb8]
movsd xmm6, qword [eax + 0xb0]
movsd qword [esp + 0x50], xmm3
nop dword [eax]
nop dword [eax + eax]
comisd xmm3, xmm6
movsd xmm1, qword [esp + edi*8 + 0x390]
movsd xmm2, qword [0x10226248]
jb 0x1018dc9e
movaps xmm0, xmm6
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1018dcbf
subsd xmm1, xmm3
comisd xmm2, xmm1
jmp 0x1018dcb6
movaps xmm0, xmm1
subsd xmm0, xmm6
comisd xmm2, xmm0
jbe 0x1018dcbf
movaps xmm0, xmm3
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1018dcbf
mov eax, 1
jmp 0x1018dcc1
xor eax, eax
test al, al
je 0x1018dd90
movzx eax, byte [esp + 0x2a6]
xor ecx, ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x1018dd90
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x2b0]
movsd xmm3, qword [eax + 0xa8]
movsd xmm4, qword [eax + 0xb0]
nop word [eax + eax]
comisd xmm4, xmm3
movsd xmm1, qword [esp + ecx*8 + 0x1e0]
jb 0x1018dd26
movaps xmm0, xmm3
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1018dd47
subsd xmm1, xmm4
comisd xmm2, xmm1
jmp 0x1018dd3e
movaps xmm0, xmm1
subsd xmm0, xmm3
comisd xmm2, xmm0
jbe 0x1018dd47
movaps xmm0, xmm4
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1018dd47
mov eax, 1
jmp 0x1018dd49
xor eax, eax
test al, al
je 0x1018dd7c
movsd xmm1, qword [esi]
movsd xmm0, qword [esi + 8]
subsd xmm1, qword [edx]
subsd xmm0, qword [edx + 8]
mulsd xmm1, xmm1
mulsd xmm0, xmm0
addsd xmm1, xmm0
comisd xmm5, xmm1
jbe 0x1018dd7c
movaps xmm5, xmm1
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ecx
inc ecx
add edx, 0x10
cmp ecx, dword [esp + 0x30]
jl 0x1018dd00
movsd xmm3, qword [esp + 0x50]
inc edi
add esi, 0x10
cmp edi, dword [esp + 0x18]
jl 0x1018dc70
ucomisd xmm5, xmm7
lahf
test ah, 0x44
jnp 0x1018e2c5
mov ecx, dword [esp + 0x38]
lea esi, [esp + 0x100]
mov edx, dword [esp + 0x34]
lea edi, [esp + 0x2b0]
mov eax, edx
shl eax, 4
movsd xmm7, qword [esp + ecx*8 + 0x390]
add esi, eax
subsd xmm3, xmm7
movsd qword [esp + 0x50], xmm7
subsd xmm6, xmm7
mov eax, ecx
shl eax, 4
add edi, eax
mulsd xmm6, xmm3
xorps xmm3, xmm3
comisd xmm3, xmm6
jb 0x1018df7d
mov eax, dword [esp + 0x3c]
movsd xmm2, qword [esp + edx*8 + 0x1e0]
movsd xmm1, qword [eax + 0xb0]
movsd xmm0, qword [eax + 0xa8]
subsd xmm1, xmm2
subsd xmm0, xmm2
mulsd xmm1, xmm0
comisd xmm3, xmm1
jb 0x1018df7d
movsd xmm2, qword [esi]
movsd xmm6, qword [edi]
movaps xmm5, xmm2
movsd xmm1, qword [0x10226a50]
subsd xmm5, xmm6
movsd xmm3, qword [0x10226220]
movaps xmm0, xmm5
andps xmm0, xmm1
comisd xmm3, xmm0
jbe 0x1018de6d
movsd xmm0, qword [esi + 8]
subsd xmm0, qword [edi + 8]
andps xmm0, xmm1
comisd xmm3, xmm0
ja 0x1018e257
cvtpd2ps xmm1, xmm6
mov edx, 0x400
mov ecx, 0x100
cvtpd2ps xmm0, xmm2
call fcn.10141160
test al, al
je 0x1018df7a
movsd xmm1, qword [edi + 8]
lea eax, [edi + 8]
movsd xmm0, qword [esi + 8]
mov edx, 0x400
mov dword [esp + 0x30], eax
mov ecx, 0x100
lea eax, [esi + 8]
cvtpd2ps xmm1, xmm1
mov dword [esp + 0x18], eax
cvtpd2ps xmm0, xmm0
call fcn.10141160
test al, al
je 0x1018df7a
movsd xmm0, qword [esi]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov ecx, edx
comisd xmm6, xmm0
movsd xmm3, qword [eax]
mov eax, edi
movsd xmm1, qword [edx]
cmova eax, esi
mulsd xmm5, xmm5
movaps xmm2, xmm1
subsd xmm2, xmm3
comisd xmm1, xmmword [eax]
mulsd xmm2, xmm2
cmova ecx, eax
mov eax, edi
comisd xmm0, xmm6
addsd xmm5, xmm2
cmova eax, esi
movsd xmm0, qword [eax]
comisd xmm0, xmm1
cmova edx, eax
mov eax, dword [esp + 0x30]
movsd xmm0, qword [edx]
comisd xmm0, xmm3
cmova eax, edx
mov edx, dword [esp + 0x30]
comisd xmm3, xmmword [ecx]
movsd xmm0, qword [eax]
cmova edx, ecx
movsd xmm1, qword [edx]
xorps xmm1, xmmword [0x10226a60]
maxsd xmm0, xmm1
movsd qword [esp + 0x18], xmm0
movaps xmm0, xmm5
call fcn.101d93f0
movsd xmm2, qword [esp + 0x18]
xorps xmm1, xmm1
addsd xmm0, xmm2
mov edx, 8
mov ecx, edx
cvtsd2ss xmm1, xmm0
cvtpd2ps xmm0, xmm2
call fcn.10141160
movsd xmm7, qword [esp + 0x50]
test al, al
jne 0x1018e24f
xorps xmm3, xmm3
movsd xmm1, qword [esi]
movsd xmm0, qword [esi + 8]
subsd xmm1, qword [edi]
subsd xmm0, qword [edi + 8]
mulsd xmm1, xmm1
mulsd xmm0, xmm0
addsd xmm1, xmm0
comisd xmm1, xmmword [esp + 0x80]
ja 0x1018eaac
mov esi, dword [esp + 0x40]
inc esi
cmp dword [esp + 0x10], 5
mov dword [esp + 0x40], esi
jge 0x1018eaac
mov edi, dword [esp + 0x24]
ucomisd xmm3, xmm7
mov ecx, dword [edi]
movsd qword [esp + 0x80], xmm1
lahf
test ah, 0x44
jp 0x1018dfe5
movsd xmm5, qword [ecx]
movsd xmm6, qword [ecx + 8]
jmp 0x1018e09d
movsd xmm0, qword [0x10226358]
ucomisd xmm0, xmm7
lahf
test ah, 0x44
jp 0x1018e006
movsd xmm5, qword [ecx + 0x30]
movsd xmm6, qword [ecx + 0x38]
jmp 0x1018e09d
movaps xmm4, xmm0
movsd xmm5, qword [ecx + 0x10]
movsd xmm0, qword [ecx]
subsd xmm4, xmm7
movsd xmm6, qword [ecx + 0x18]
movaps xmm1, xmm7
mulsd xmm1, xmm7
movaps xmm3, xmm4
movaps xmm2, xmm4
mulsd xmm3, xmm4
mulsd xmm4, qword [0x10226390]
mulsd xmm2, xmm3
mulsd xmm3, qword [0x10226390]
mulsd xmm4, xmm1
mulsd xmm0, xmm2
mulsd xmm3, xmm7
mulsd xmm1, xmm7
mulsd xmm5, xmm3
mulsd xmm6, xmm3
addsd xmm5, xmm0
movsd xmm0, qword [ecx + 0x20]
mulsd xmm0, xmm4
addsd xmm5, xmm0
movsd xmm0, qword [ecx + 0x30]
mulsd xmm0, xmm1
addsd xmm5, xmm0
movsd xmm0, qword [ecx + 8]
mulsd xmm0, xmm2
addsd xmm6, xmm0
movsd xmm0, qword [ecx + 0x28]
mulsd xmm0, xmm4
addsd xmm6, xmm0
movsd xmm0, qword [ecx + 0x38]
mulsd xmm0, xmm1
addsd xmm6, xmm0
lea eax, [esp + 0xa0]
movsd qword [esp + 0x10], xmm5
push eax
movaps xmm2, xmm7
movsd qword [esp + 0x1c], xmm6
movsd qword [esp + 0xe4], xmm5
movsd qword [esp + 0xec], xmm6
call fcn.10108710
lea ecx, [esp + 0x100]
movsd xmm1, qword [eax]
movsd xmm0, qword [eax + 8]
lea eax, [esp + 0xe0]
addsd xmm1, qword [esp + 0x10]
addsd xmm0, qword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
movsd qword [esp + 0xf4], xmm1
movsd qword [esp + 0xfc], xmm0
push dword [eax]
call fcn.10178780
test eax, eax
je 0x1018e2c9
mov eax, dword [esp + 0x34]
movsd xmm7, qword [esp + eax*8 + 0x1e0]
mov eax, dword [esp + 0x28]
movaps xmm2, xmm7
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
call fcn.10149660
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xc0], xmm0
movss xmm3, dword [ecx + 0x30]
movsd xmm1, qword [ecx + 0x10]
subsd xmm1, qword [ecx]
movsd xmm6, qword [ecx + 0x20]
subsd xmm6, qword [ecx]
cvtps2pd xmm3, xmm3
movsd xmm2, qword [ecx + 0x18]
movaps xmm5, xmm6
mulsd xmm1, xmm3
subsd xmm2, qword [ecx + 8]
movaps xmm0, xmm1
addsd xmm0, xmm1
mulsd xmm2, xmm3
subsd xmm5, xmm0
movaps xmm0, xmm6
mulsd xmm0, xmm3
subsd xmm0, xmm6
mulsd xmm0, xmm7
addsd xmm5, xmm0
movaps xmm0, xmm2
addsd xmm0, xmm2
mulsd xmm5, xmm7
addsd xmm5, xmm1
movsd xmm1, qword [ecx + 0x28]
subsd xmm1, qword [ecx + 8]
movaps xmm4, xmm1
subsd xmm4, xmm0
movaps xmm0, xmm1
mulsd xmm0, xmm3
subsd xmm0, xmm1
mulsd xmm0, xmm7
addsd xmm4, xmm0
xorps xmm0, xmm0
ucomisd xmm5, xmm0
mulsd xmm4, xmm7
lahf
addsd xmm4, xmm2
test ah, 0x44
jp 0x1018e203
ucomisd xmm4, xmm0
lahf
test ah, 0x44
jp 0x1018e203
ucomisd xmm7, xmm0
lahf
test ah, 0x44
jnp 0x1018e1f6
ucomisd xmm7, qword [0x10226358]
lahf
test ah, 0x44
jp 0x1018e203
movsd xmm4, qword [ecx + 0x28]
movaps xmm5, xmm6
subsd xmm4, qword [ecx + 8]
movsd xmm1, qword [esp + 0xc0]
lea eax, [esp + 0xc0]
movsd xmm0, qword [esp + 0xc8]
addsd xmm1, xmm5
addsd xmm0, xmm4
push eax
push dword [edi]
lea ecx, [esp + 0x2b8]
movsd qword [esp + 0xd8], xmm1
movsd qword [esp + 0xe0], xmm0
call fcn.10106d80
test eax, eax
jne 0x1018dc10
jmp 0x1018e2c9
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x5c]
add ecx, ecx
movsd xmm0, qword [esp + edx*8 + 0x1e0]
add edx, edx
mov byte [eax + 0x1a8], 1
mov dword [eax + 0x1a0], 0
movsd qword [eax + 0x140], xmm0
movups xmm0, xmmword [esp + ecx*8 + 0x2b0]
movsd qword [eax + 0xe0], xmm7
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + edx*8 + 0x100]
movups xmmword [eax + 0xc0], xmm0
mov byte [eax + 0x1a6], 1
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.101b3122
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [esp + 0x24]
movaps xmm0, xmmword [0x10226a40]
lea ecx, [esp + 0x60]
mov esi, dword [esp + 0x3c]
sub esp, 8
mov eax, dword [esp + 0x30]
movsd xmm1, qword [0x102265b8]
movups xmmword [esp + 0x68], xmm0
mov byte [esp + 0x80], 0
movups xmmword [esp + 0xa8], xmm0
mov byte [esp + 0xc0], 0
movsd xmm0, qword [esi + 0xa8]
movsd qword [esp], xmm0
push dword [edi]
movsd qword [esp + 0x7c], xmm1
push esi
push dword [eax]
movsd qword [esp + 0xc4], xmm1
call fcn.10190d50
movsd xmm0, qword [esi + 0xb0]
lea eax, [esi + 0x20]
sub esp, 8
lea ecx, [esp + 0xa8]
movsd qword [esp], xmm0
push dword [edi]
push eax
mov eax, dword [esp + 0x38]
push dword [eax]
call fcn.10190d50
movsd xmm1, qword [esp + 0x70]
movsd xmm2, qword [esp + 0xb0]
movaps xmm0, xmm1
comisd xmm1, xmm2
seta al
mov byte [esp + 0x2f], al
test al, al
je 0x1018e379
movaps xmm0, xmm2
movaps xmm2, xmm1
mov edi, dword [esp + 0x48]
movsd xmm4, qword [edi + 0xb0]
comisd xmm0, xmm4
ja 0x1018e391
movsd xmm0, xmm4
jmp 0x1018e395
movsd xmm0, xmm0
movsd xmm1, qword [edi + 0xb8]
movsd qword [esp + 0x10], xmm0
comisd xmm1, xmm2
ja 0x1018e3af
movsd xmm2, xmm1
jmp 0x1018e3b3
movsd xmm2, xmm2
comisd xmm0, xmm2
movsd qword [esp + 0x18], xmm2
ja 0x1018eaac
movsd xmm3, qword [esp + 0x68]
movsd xmm5, qword [esp + 0xa8]
movsd xmm6, qword [esp + 0xa0]
ucomisd xmm0, xmm4
movsd xmm0, qword [esp + 0x60]
lahf
test ah, 0x44
jp 0x1018e48b
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x80]
movsd xmm0, qword [0x102265b8]
sub esp, 8
movsd qword [esp + 0x98], xmm0
movaps xmm0, xmmword [0x10226a40]
mov byte [esp + 0xa0], 0
movsd qword [esp], xmm4
push dword [eax]
mov eax, dword [esp + 0x30]
push edi
movups xmmword [esp + 0x90], xmm0
push dword [eax]
call fcn.10185990
movsd xmm4, qword [edi]
subsd xmm4, qword [esp + 0x80]
movsd xmm1, qword [edi + 0xb8]
movsd xmm2, qword [esp + 0x18]
movsd xmm0, qword [esp + 0x60]
movsd xmm3, qword [esp + 0x68]
movsd xmm5, qword [esp + 0xa8]
movsd xmm6, qword [esp + 0xa0]
mov al, byte [esp + 0x2f]
movsd qword [esp + 0x48], xmm4
movsd xmm4, qword [edi + 8]
subsd xmm4, qword [esp + 0x88]
jmp 0x1018e4be
test al, al
je 0x1018e4a9
movaps xmm4, xmm6
lea ecx, [esi + 0x20]
subsd xmm4, qword [ecx]
movsd qword [esp + 0x48], xmm4
movaps xmm4, xmm5
subsd xmm4, qword [ecx + 8]
jmp 0x1018e4c1
movaps xmm4, xmm0
subsd xmm4, qword [esi]
movsd qword [esp + 0x48], xmm4
movaps xmm4, xmm3
subsd xmm4, qword [esi + 8]
lea ecx, [esi + 0x20]
ucomisd xmm2, xmm1
movsd qword [esp + 0x40], xmm4
lahf
test ah, 0x44
jp 0x1018e532
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x60]
movsd xmm0, qword [0x102265b8]
sub esp, 8
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
movsd qword [esp + 0x78], xmm0
movaps xmm0, xmmword [0x10226a40]
movsd qword [esp], xmm1
push dword [eax]
mov byte [esp + 0x84], 0
push edi
push dword [esi]
movups xmmword [esp + 0x74], xmm0
call fcn.10185990
movsd xmm0, qword [edi]
movsd xmm3, qword [edi + 8]
subsd xmm0, qword [esp + 0x60]
subsd xmm3, qword [esp + 0x68]
movsd xmm2, qword [esp + 0x18]
jmp 0x1018e554
test al, al
je 0x1018e541
subsd xmm0, qword [esi]
subsd xmm3, qword [esi + 8]
jmp 0x1018e550
movaps xmm0, xmm6
movaps xmm3, xmm5
subsd xmm0, qword [ecx]
subsd xmm3, qword [ecx + 8]
mov esi, dword [esp + 0x24]
movsd xmm1, qword [esp + 0x48]
mulsd xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, xmm3
xorps xmm3, xmm3
addsd xmm1, xmm0
comisd xmm1, xmm3
jae 0x1018eaac
movsd xmm0, qword [0x102265b8]
movsd xmm7, qword [esp + 0x10]
mov edi, dword [esp + 0x28]
subsd xmm2, xmm7
movsd qword [esp + 0x70], xmm0
movaps xmm0, xmmword [0x10226a40]
mov byte [esp + 0x78], 0
movups xmmword [esp + 0x60], xmm0
jmp 0x1018e5ab
xorps xmm3, xmm3
mulsd xmm2, qword [0x10226328]
movsd xmm1, qword [0x102261d0]
movaps xmm0, xmm2
movsd qword [esp + 0x18], xmm2
andps xmm0, xmmword [0x10226a50]
comisd xmm1, xmm0
ja 0x1018eaac
mov ecx, dword [esi]
movaps xmm0, xmm2
addsd xmm7, xmm0
ucomisd xmm3, xmm7
movsd qword [esp + 0x10], xmm7
lahf
test ah, 0x44
jp 0x1018e5fe
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0xa0], xmm0
jmp 0x1018e6c8
movsd xmm0, qword [0x10226358]
ucomisd xmm0, xmm7
lahf
test ah, 0x44
jp 0x1018e621
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esp + 0xa0], xmm0
jmp 0x1018e6c8
movaps xmm6, xmm0
movsd xmm2, qword [ecx + 0x10]
subsd xmm6, xmm7
movsd xmm1, qword [ecx + 0x18]
movaps xmm3, xmm7
mulsd xmm3, xmm7
movaps xmm5, xmm6
mulsd xmm5, xmm6
movaps xmm4, xmm5
mulsd xmm5, qword [0x10226390]
mulsd xmm4, xmm6
mulsd xmm6, qword [0x10226390]
mulsd xmm5, xmm7
movaps xmm0, xmm4
mulsd xmm0, qword [ecx]
mulsd xmm2, xmm5
mulsd xmm6, xmm3
mulsd xmm3, xmm7
addsd xmm2, xmm0
mulsd xmm1, xmm5
movsd xmm0, qword [ecx + 0x20]
mulsd xmm0, xmm6
addsd xmm2, xmm0
movaps xmm0, xmm3
mulsd xmm0, qword [ecx + 0x30]
addsd xmm2, xmm0
movsd xmm0, qword [ecx + 8]
mulsd xmm0, xmm4
movsd qword [esp + 0xa0], xmm2
addsd xmm1, xmm0
movsd xmm0, qword [ecx + 0x28]
mulsd xmm0, xmm6
addsd xmm1, xmm0
movsd xmm0, qword [ecx + 0x38]
mulsd xmm0, xmm3
addsd xmm1, xmm0
movsd qword [esp + 0xa8], xmm1
movups xmm0, xmmword [esp + 0xa0]
sub esp, 8
lea eax, [esp + 0x88]
movups xmmword [esp + 0x88], xmm0
movsd qword [esp], xmm7
push dword [edi]
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.10185990
movsd xmm5, qword [esp + 0x80]
xor ecx, ecx
movsd xmm6, qword [esp + 0x60]
movaps xmm3, xmm5
movsd xmm4, qword [esp + 0x88]
subsd xmm3, xmm6
subsd xmm4, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x48]
xorps xmm7, xmm7
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x18]
mulsd xmm1, xmm3
mulsd xmm0, xmm4
addsd xmm1, xmm0
comisd xmm1, xmm7
setae cl
xor eax, eax
comisd xmm7, xmm2
seta al
cmp ecx, eax
jne 0x1018e75d
xorps xmm2, xmmword [0x10226a60]
movsd qword [esp + 0x18], xmm2
movsd xmm1, qword [0x10226a50]
movaps xmm0, xmm3
movsd xmm2, qword [0x10226220]
andps xmm0, xmm1
comisd xmm2, xmm0
movsd xmm2, qword [esp + 0x18]
jbe 0x1018e797
movaps xmm0, xmm4
andps xmm0, xmm1
movsd xmm1, qword [0x10226220]
comisd xmm1, xmm0
ja 0x1018ea68
movsd xmm7, qword [esp + 0x10]
cvtpd2ps xmm5, xmm5
cvtpd2ps xmm1, xmm6
movaps xmm0, xmm5
xorps xmm6, xmm6
mulss xmm0, xmm6
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x1018e5a8
movaps xmm0, xmm1
mulss xmm0, xmm6
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x1018e5a8
movaps xmm0, xmm5
call fcn.1005f380
movss xmm7, dword [0x10226190]
comiss xmm7, xmm0
jb 0x1018e7f2
movaps xmm0, xmm1
call fcn.1005f380
comiss xmm7, xmm0
jae 0x1018e840
movss dword [esp + 0xc], xmm5
mov edx, dword [esp + 0xc]
test edx, edx
jns 0x1018e808
and edx, 0x7fffffff
neg edx
movss dword [esp + 0xc], xmm1
mov ecx, dword [esp + 0xc]
test ecx, ecx
jns 0x1018e81e
and ecx, 0x7fffffff
neg ecx
movsd xmm7, qword [esp + 0x10]
lea eax, [ecx + 0x100]
cmp edx, eax
jge 0x1018e5a8
lea eax, [edx + 0x100]
cmp ecx, eax
jge 0x1018e5a8
movsd xmm5, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x68]
movsd xmm7, qword [esp + 0x10]
cvtpd2ps xmm5, xmm5
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm5
mulss xmm0, xmm6
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x1018e5a8
movaps xmm0, xmm1
mulss xmm0, xmm6
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x1018e5a8
movaps xmm0, xmm5
call fcn.1005f380
movss xmm6, dword [0x10226190]
comiss xmm6, xmm0
jb 0x1018e8a7
movaps xmm0, xmm1
call fcn.1005f380
comiss xmm6, xmm0
jae 0x1018e8f5
movss dword [esp + 0xc], xmm5
mov edx, dword [esp + 0xc]
test edx, edx
jns 0x1018e8bd
and edx, 0x7fffffff
neg edx
movss dword [esp + 0xc], xmm1
mov ecx, dword [esp + 0xc]
test ecx, ecx
jns 0x1018e8d3
and ecx, 0x7fffffff
neg ecx
movsd xmm7, qword [esp + 0x10]
lea eax, [ecx + 0x100]
cmp edx, eax
jge 0x1018e5a8
lea eax, [edx + 0x100]
cmp ecx, eax
jge 0x1018e5a8
movsd xmm1, qword [esp + 0x60]
lea ecx, [esp + 0x60]
movsd xmm0, qword [esp + 0x80]
lea eax, [esp + 0x80]
movsd xmm2, qword [esp + 0x88]
lea edx, [esp + 0x88]
comisd xmm1, xmm0
mulsd xmm3, xmm3
cmovbe eax, ecx
mulsd xmm4, xmm4
lea ecx, [esp + 0x80]
comisd xmm2, xmmword [eax]
addsd xmm3, xmm4
cmova edx, eax
lea eax, [esp + 0x60]
comisd xmm0, xmm1
movsd xmm1, qword [esp + 0x68]
cmovbe ecx, eax
lea eax, [esp + 0x88]
movsd xmm0, qword [ecx]
comisd xmm0, xmm2
cmova eax, ecx
lea ecx, [esp + 0x68]
movsd xmm0, qword [eax]
comisd xmm0, xmm1
cmova ecx, eax
lea eax, [esp + 0x68]
comisd xmm1, xmmword [edx]
movsd xmm1, qword [ecx]
cmova eax, edx
movsd xmm0, qword [eax]
xorps xmm0, xmmword [0x10226a60]
maxsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movsd qword [esp + 0x50], xmm1
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm3
call fcn.101d93f0
addsd xmm0, qword [esp + 0x50]
movss xmm3, dword [esp + 0xc]
xorps xmm1, xmm1
movsd xmm2, qword [esp + 0x18]
xorps xmm6, xmm6
movsd xmm7, qword [esp + 0x10]
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm6
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x1018e5a8
movaps xmm0, xmm1
mulss xmm0, xmm6
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x1018e5a8
movaps xmm0, xmm3
call fcn.1005f380
movss xmm2, dword [0x10226174]
comiss xmm2, xmm0
jb 0x1018ea14
movaps xmm0, xmm1
call fcn.1005f380
comiss xmm2, xmm0
jae 0x1018ea65
movss dword [esp + 0xc], xmm3
mov edx, dword [esp + 0xc]
test edx, edx
jns 0x1018ea2a
and edx, 0x7fffffff
neg edx
movss dword [esp + 0xc], xmm1
mov ecx, dword [esp + 0xc]
test ecx, ecx
jns 0x1018ea40
and ecx, 0x7fffffff
neg ecx
movsd xmm2, qword [esp + 0x18]
lea eax, [ecx + 8]
movsd xmm7, qword [esp + 0x10]
xorps xmm3, xmm3
cmp edx, eax
jge 0x1018e5ab
lea eax, [edx + 8]
cmp ecx, eax
jge 0x1018e5ab
xorps xmm7, xmm7
mov eax, dword [edi + 0x18]
movsd xmm2, qword [esp + 0x70]
nop dword [eax]
nop word [eax + eax]
movsd xmm1, qword [eax + 0xb0]
movsd xmm0, qword [eax + 0xa8]
subsd xmm1, xmm2
subsd xmm0, xmm2
mulsd xmm1, xmm0
comisd xmm7, xmm1
jae 0x1018eac4
mov eax, dword [eax + 0x80]
test eax, eax
jne 0x1018ea80
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.101b3122
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x80]
push ecx
movaps xmm3, xmm2
mov ecx, eax
movsd xmm2, qword [esp + 0x14]
mov byte [eax + 0x1a7], 1
call fcn.10141a50
mov ecx, dword [esp + 0x464]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.101b3122
mov esp, ebp
pop ebp
ret 0x10