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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x60
mov rdi, qword [0x180066470]
xor ebp, ebp
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
cmp byte [rdi], bpl
jne 0x180016a78
call fcn.180013850
inc dword [rdi + 0x180c]
movss xmm0, dword [rdi + 0x10]
addss xmm0, dword [rdi + 0x1808]
mov dword [rdi + 0x29e0], ebp
mov dword [rdi + 0x1858], ebp
movss dword [rdi + 0x1808], xmm0
mov rax, qword [0x180066470]
mov rcx, qword [rax + 0xa8]
test rcx, rcx
jne 0x180016ac0
mov rax, qword [rax + 0x98]
mov rcx, qword [rax + 0x38]
mov rcx, qword [rcx]
call fcn.18001aa38
movss xmm2, dword [rdi + 8]
lea rbx, [rdi + 0x19c0]
movss xmm3, dword [rdi + 0xc]
mov rcx, rbx
mov qword [rdi + 0x1798], rbp
movss dword [rdi + 0x17a0], xmm2
movss dword [rdi + 0x17a4], xmm3
mov eax, dword [rdi + 0x14b8]
mov dword [rdi + 0x1794], eax
call fcn.180021480
mov rdx, qword [rdi + 0x98]
mov rcx, rbx
call fcn.18002326c
mov rcx, rbx
call fcn.18002323c
mov al, byte [rdi + 0x14b5]
neg al
mov byte [rdi + 0x1978], bpl
mov eax, ebp
mov qword [rdi + 0x1980], rbp
sbb ecx, ecx
mov qword [rdi + 0x198c], rbp
and ecx, 2
mov dword [rdi + 0x1988], ebp
cmp byte [rdi + 0x14b4], bpl
setne al
or ecx, eax
mov dword [rdi + 0x19f0], ecx
cmp dword [rdi + 0x1888], ebp
jne 0x180016b62
mov dword [rdi + 0x188c], ebp
mov eax, dword [rdi + 0x1880]
mov dword [rdi + 0x1888], eax
mov dword [rdi + 0x1880], ebp
mov byte [rdi + 0x1884], bpl
cmp byte [rdi + 0x189c], bpl
jne 0x180016b9f
mov eax, dword [rdi + 0x1890]
cmp dword [rdi + 0x1894], eax
jne 0x180016b9f
test eax, eax
je 0x180016b9f
xor edx, edx
xor ecx, ecx
call fcn.18001a82c
mov eax, dword [rdi + 0x1890]
test eax, eax
je 0x180016bbe
movss xmm0, dword [rdi + 0x1898]
addss xmm0, dword [rdi + 0x10]
movss dword [rdi + 0x1898], xmm0
mov ecx, dword [rdi + 0x29a8]
mov dword [rdi + 0x1894], eax
mov word [rdi + 0x189c], bp
test ecx, ecx
je 0x180016bdf
cmp eax, ecx
je 0x180016bdf
mov dword [rdi + 0x29a8], ebp
or r15, 0xffffffffffffffff
cmp byte [rdi + 0x1bd8], bpl
je 0x180016c48
mov eax, dword [rdi + 0x1bfc]
inc eax
cmp eax, dword [rdi + 0x180c]
jge 0x180016c48
call fcn.18000cf7c
mov rcx, qword [rdi + 0x1c40]
test rcx, rcx
je 0x180016c36
mov qword [rdi + 0x1c38], rbp
mov rax, qword [0x180066470]
add dword [rax + 0x354], r15d
mov rax, qword [0x180066470]
call qword [rax + 0xf8]
mov qword [rdi + 0x1c40], rbp
xor edx, edx
lea rcx, [rdi + 0x1c48]
lea r8d, [rdx + 8]
call fcn.180050450
mov eax, dword [rdi + 0x1c28]
lea rbx, [rdi + 0x428]
mov rdx, rbx
mov dword [rdi + 0x1c2c], eax
lea rcx, [rdi + 0xc28]
mov qword [rdi + 0x1c24], 0x7f7fffff
mov r8d, 0x800
call fcn.18004fdb0
movss xmm7, dword [0x180052d40]
lea rax, [rdi + 0x129]
mov ecx, 0x200
xorps xmm6, xmm6
cmp byte [rax], bpl
je 0x180016cac
movss xmm0, dword [rbx]
comiss xmm6, xmm0
jbe 0x180016ca5
movaps xmm0, xmm6
jmp 0x180016caf
addss xmm0, dword [rdi + 0x10]
jmp 0x180016caf
movaps xmm0, xmm7
movss dword [rbx], xmm0
inc rax
add rbx, 4
sub rcx, 1
jne 0x180016c92
lea rbx, [rdi + 0x110]
mov rcx, rbx
call fcn.180016288
test al, al
je 0x180016cfa
lea rsi, [rdi + 0x36c]
mov rcx, rsi
call fcn.180016288
test al, al
je 0x180016cfa
movss xmm0, dword [rbx]
movss xmm1, dword [rbx + 4]
subss xmm0, dword [rsi]
subss xmm1, dword [rsi + 4]
jmp 0x180016d1b
movaps xmm0, xmm6
unpcklps xmm0, xmm6
movsd qword [rsp + 0x80], xmm0
movss xmm1, dword [rsp + 0x84]
movss xmm0, dword [rsp + 0x80]
movss dword [rdi + 0x364], xmm0
lea rax, [rdi + 0x3b0]
movss dword [rdi + 0x368], xmm1
lea rdx, [rdi + 0x374]
movsd xmm0, qword [rbx]
lea rcx, [rdi + 0x3c4]
movss xmm4, dword [0x180053400]
mov r9d, 5
movss xmm5, dword [0x1800533a8]
movsd qword [rdi + 0x36c], xmm0
mov r8b, byte [rax - 0x298]
test r8b, r8b
je 0x180016d78
comiss xmm6, dword [rcx]
jbe 0x180016d78
mov byte [rax], 1
jmp 0x180016d8c
mov byte [rax], bpl
test r8b, r8b
jne 0x180016d8c
movss xmm0, dword [rcx]
mov r8b, 1
comiss xmm0, xmm6
jae 0x180016d8f
mov r8b, bpl
mov byte [rax + 0xa], r8b
movss xmm0, dword [rcx]
movss dword [rcx + 0x14], xmm0
cmp byte [rax - 0x298], bpl
je 0x180016db6
comiss xmm6, xmm0
jbe 0x180016daf
movaps xmm0, xmm6
jmp 0x180016db9
addss xmm0, dword [rdi + 0x10]
jmp 0x180016db9
movaps xmm0, xmm7
movss dword [rcx], xmm0
mov byte [rax + 5], bpl
cmp byte [rax], bpl
je 0x180016e29
movss xmm2, dword [rdi + 0x1808]
movss xmm0, dword [rdi + 0x28]
movaps xmm1, xmm2
subss xmm1, dword [rcx - 0x28]
comiss xmm0, xmm1
jbe 0x180016e13
movss xmm1, dword [rbx]
movss xmm2, dword [rbx + 4]
subss xmm2, dword [rdx + 4]
subss xmm1, dword [rdx]
movss xmm0, dword [rdi + 0x2c]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
comiss xmm0, xmm2
jbe 0x180016e10
mov byte [rax + 5], 1
movaps xmm2, xmm5
movss dword [rcx - 0x28], xmm2
movsd xmm0, qword [rbx]
movsd qword [rdx], xmm0
mov qword [rdx + 0x78], rbp
mov dword [rcx + 0x50], ebp
jmp 0x180016e86
cmp byte [rax - 0x298], bpl
je 0x180016e86
movss xmm3, dword [rbx]
subss xmm3, dword [rdx]
movss xmm2, dword [rbx + 4]
subss xmm2, dword [rdx + 4]
movss xmm0, dword [rdx + 0x78]
movaps xmm1, xmm3
mulss xmm3, xmm3
andps xmm1, xmm4
maxss xmm0, xmm1
movaps xmm1, xmm2
andps xmm1, xmm4
mulss xmm2, xmm2
movss dword [rdx + 0x78], xmm0
addss xmm3, xmm2
movss xmm0, dword [rdx + 0x7c]
maxss xmm0, xmm1
movss dword [rdx + 0x7c], xmm0
movss xmm0, dword [rcx + 0x50]
maxss xmm0, xmm3
movss dword [rcx + 0x50], xmm0
add rcx, 4
inc rax
add rdx, 8
sub r9, 1
jne 0x180016d62
movsxd rax, dword [rdi + 0x2c30]
movss xmm1, dword [rdi + 0x10]
movss xmm9, dword [0x180052cf0]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x2a50]
addss xmm0, dword [rdi + 0x2c34]
movss dword [rdi + 0x2c34], xmm0
movaps xmm0, xmm9
movss dword [rdi + rax*4 + 0x2a50], xmm1
mov eax, 0x88888889
movss xmm1, dword [rdi + 0x2c34]
divss xmm1, dword [0x180053374]
mov ecx, dword [rdi + 0x2c30]
inc ecx
imul ecx
divss xmm0, xmm1
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
movss dword [rdi + 0x350], xmm0
sub ecx, eax
mov dword [rdi + 0x2c30], ecx
mov ecx, dword [rdi + 0x18b8]
test ecx, ecx
je 0x180016fda
mov eax, dword [rdi + 0x1890]
cmp ecx, eax
jne 0x180016fda
mov rcx, qword [0x180066470]
cmp dword [rcx + 0x1890], eax
jne 0x180016f54
mov byte [rcx + 0x189c], 1
mov rcx, qword [0x180066470]
cmp byte [rdi + 0x118], bpl
je 0x180017010
mov rax, qword [rdi + 0x18b0]
movss xmm2, dword [rdi + 0x110]
subss xmm2, dword [rdi + 0x18a0]
movss xmm1, dword [rdi + 0x114]
mov rdx, qword [rax + 0x280]
subss xmm1, dword [rdi + 0x18a4]
movss xmm0, dword [rdx + 0x10]
ucomiss xmm0, xmm2
jp 0x180016fa7
jne 0x180016fa7
movss xmm0, dword [rdx + 0x14]
ucomiss xmm0, xmm1
jp 0x180016fa7
je 0x180016fcc
test dword [rdx + 0xc], 0x100
jne 0x180016fc2
comiss xmm6, dword [rcx + 0x2a08]
jb 0x180016fc2
mov eax, dword [rcx + 0x14]
mov dword [rcx + 0x2a08], eax
movss dword [rdx + 0x10], xmm2
movss dword [rdx + 0x14], xmm1
mov rcx, qword [rdi + 0x18b0]
call fcn.180012504
jmp 0x180017026
mov rax, qword [rdi + 0x18a8]
test rax, rax
je 0x180017019
mov ecx, dword [rdi + 0x1890]
cmp dword [rax + 0x68], ecx
jne 0x180017019
mov rax, qword [0x180066470]
cmp dword [rax + 0x1890], ecx
jne 0x180017007
mov byte [rax + 0x189c], 1
cmp byte [rdi + 0x118], bpl
jne 0x180017019
xor edx, edx
xor ecx, ecx
call fcn.18001a82c
mov dword [rdi + 0x18b8], ebp
mov qword [rdi + 0x18b0], rbp
movss xmm0, dword [rdi + 0x2a08]
comiss xmm0, xmm6
jbe 0x180017040
subss xmm0, dword [rdi + 0x10]
movss dword [rdi + 0x2a08], xmm0
mov rax, qword [rdi + 0x18b0]
test rax, rax
je 0x180017059
test dword [rax + 0xc], 0x200
je 0x180017104
mov rdx, qword [0x180066470]
movss xmm8, dword [rdi + 0x110]
movss xmm7, dword [rdi + 0x114]
mov eax, dword [rdx + 0x1818]
sub eax, 1
js 0x180017101
movsxd rcx, eax
mov rax, qword [rdx + 0x1820]
lea r8, [rax + rcx*8]
mov rax, qword [r8]
cmp byte [rax + 0x90], bpl
je 0x1800170f7
test dword [rax + 0xc], 0x200
jne 0x1800170f7
movss xmm2, dword [rdx + 0x147c]
movss xmm1, dword [rdx + 0x1480]
movaps xmm4, xmm2
movss xmm0, dword [rax + 0x1f0]
movaps xmm5, xmm1
movss xmm3, dword [rax + 0x1f4]
subss xmm0, xmm2
addss xmm4, dword [rax + 0x1f8]
addss xmm5, dword [rax + 0x1fc]
subss xmm3, xmm1
comiss xmm8, xmm0
jb 0x1800170f7
comiss xmm7, xmm3
jb 0x1800170f7
comiss xmm4, xmm8
jbe 0x1800170f7
comiss xmm5, xmm7
ja 0x180017104
sub r8, 8
sub rcx, 1
jns 0x18001708e
mov rax, rbp
mov qword [rdi + 0x1870], rax
test rax, rax
je 0x180017119
mov r9, qword [rax + 0x280]
jmp 0x18001711c
mov r9, rbp
mov qword [rdi + 0x1878], r9
call fcn.180012a58
mov r10, rax
test rax, rax
je 0x180017181
movss xmm0, dword [rdi + 0x10]
mulss xmm0, dword [0x180052d0c]
addss xmm0, dword [rdi + 0x19b8]
minss xmm0, xmm9
movss dword [rdi + 0x19b8], xmm0
test r9, r9
je 0x180017187
cmp qword [r9 + 0x280], rax
je 0x180017187
cmp r9, r10
je 0x180017187
mov r9, qword [r9 + 0x278]
test r9, r9
jne 0x180017160
mov qword [rdi + 0x1870], rbp
mov qword [rdi + 0x1878], rbp
jmp 0x180017187
mov dword [rdi + 0x19b8], ebp
mov rbx, 0xfffffffffffffc41
lea rcx, [rdi + 0x3bf]
sub rbx, rdi
mov r8d, r15d
mov sil, bpl
mov edx, ebp
mov r9, r15
mov r11, rbp
cmp byte [rcx - 0xf], bpl
je 0x1800171c4
cmp qword [rdi + 0x1870], rbp
jne 0x1800171c0
mov al, bpl
cmp dword [rdi + 0x18f0], ebp
je 0x1800171c2
mov al, 1
mov byte [rcx], al
mov al, byte [rcx - 0x2a7]
or sil, al
test al, al
je 0x1800171f2
cmp r9, r15
je 0x1800171eb
movss xmm0, dword [rdi + r9*4 + 0x39c]
comiss xmm0, dword [rdi + r11 + 0x39c]
jbe 0x1800171f2
mov r8d, edx
lea r9, [rbx + rcx]
inc edx
add r11, 4
inc rcx
cmp edx, 5
jl 0x1800171a6
cmp r8d, r15d
je 0x180017215
movsxd rax, r8d
mov cl, bpl
cmp byte [rax + rdi + 0x3bf], bpl
je 0x180017217
mov cl, 1
mov eax, dword [rdi + 0x2c38]
cmp eax, r15d
je 0x180017229
test eax, eax
setne al
jmp 0x180017248
test cl, cl
je 0x18001723b
cmp qword [rdi + 0x1870], rbp
jne 0x180017246
test sil, sil
jne 0x180017246
mov al, bpl
cmp dword [rdi + 0x18f0], ebp
je 0x180017248
mov al, 1
mov byte [rdi + 0x34c], al
mov eax, dword [rdi + 0x2c3c]
cmp eax, r15d
je 0x180017260
test eax, eax
setne al
jmp 0x180017272
cmp dword [rdi + 0x1890], ebp
jne 0x180017270
mov al, bpl
test r10, r10
je 0x180017272
mov al, 1
mov byte [rdi + 0x34d], al
mov edx, dword [rdi + 0x2c40]
cmp edx, r15d
je 0x18001728a
test edx, edx
setne al
jmp 0x18001728c
mov eax, ebp
mov byte [rdi + 0x34e], al
mov eax, 0x3f800000
mov dword [rdi + 0x29f8], eax
mov dword [rdi + 0x29fc], eax
mov dword [rdi + 0x1a68], ebp
mov dword [rdi + 0x2c40], r15d
mov dword [rdi + 0x2c3c], r15d
mov dword [rdi + 0x2c38], r15d
cmp byte [rdi + 0x1bd8], bpl
je 0x1800172d2
test byte [rdi + 0x1bdc], 0x10
mov al, 1
jne 0x1800172d5
mov al, bpl
test cl, cl
jne 0x1800172eb
test al, al
jne 0x1800172eb
mov qword [rdi + 0x1878], rbp
mov qword [rdi + 0x1870], rbp
mov rcx, qword [rdi + 0x1870]
mov r10d, 0x1000000
test rcx, rcx
je 0x1800174a7
movss xmm0, dword [rdi + 0x120]
ucomiss xmm0, xmm6
jp 0x180017314
je 0x1800174a7
cmp byte [rcx + 0x93], bpl
jne 0x1800174a7
cmp byte [rdi + 0x125], bpl
je 0x1800173fe
cmp byte [rdi + 0xa4], bpl
je 0x1800174a7
mulss xmm0, dword [0x180053304]
movss xmm2, dword [rcx + 0x268]
movss xmm1, dword [0x180052ce0]
addss xmm0, xmm2
comiss xmm1, xmm0
ja 0x180017368
movss xmm1, dword [0x180053358]
minss xmm1, xmm0
movss dword [rcx + 0x268], xmm1
movaps xmm4, xmm1
movss xmm3, dword [rdi + 0x110]
subss xmm3, dword [rcx + 0x18]
movss xmm0, dword [rcx + 0x20]
divss xmm4, xmm2
movss xmm2, dword [rdi + 0x114]
subss xmm2, dword [rcx + 0x1c]
shufps xmm4, xmm4, 0
subss xmm9, xmm4
mulss xmm0, xmm9
mulss xmm3, xmm0
movss xmm0, dword [rcx + 0x24]
mulss xmm0, xmm9
divss xmm3, dword [rcx + 0x20]
mulss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0x18]
divss xmm2, dword [rcx + 0x24]
addss xmm3, dword [rcx + 0x10]
movss dword [rcx + 0x18], xmm0
movaps xmm1, xmm2
movups xmm0, xmmword [rcx + 0x20]
addss xmm1, dword [rcx + 0x1c]
addss xmm2, dword [rcx + 0x14]
mulps xmm0, xmm4
movss dword [rcx + 0x10], xmm3
movss dword [rcx + 0x1c], xmm1
movss dword [rcx + 0x14], xmm2
movups xmmword [rcx + 0x20], xmm0
jmp 0x1800174a7
mov eax, dword [rcx + 0xc]
jmp 0x18001741f
and eax, 0x218
cmp eax, 0x10
jne 0x180017424
mov rax, qword [rcx + 0x278]
test rax, rax
je 0x180017424
mov rcx, rax
mov eax, dword [rax + 0xc]
test r10d, eax
jne 0x180017403
test dword [rcx + 0xc], 0x210
jne 0x1800174a7
movss xmm0, dword [rcx + 0x54]
subss xmm0, dword [rcx + 0x4c]
mov rax, qword [0x180066470]
movss xmm1, dword [rcx + 0x5c]
movss xmm3, dword [rcx + 0x70]
addss xmm1, xmm1
movss xmm2, dword [rcx + 0x268]
mulss xmm2, dword [rax + 0x177c]
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm2, dword [0x180052d08]
addss xmm3, dword [rcx + 0xfc]
mulss xmm0, dword [0x180053320]
minss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, dword [rdi + 0x120]
subss xmm1, xmm0
subss xmm3, xmm1
movss dword [rcx + 0x70], xmm1
movss dword [rcx + 0xfc], xmm3
cmp dword [rdi + 0x1890], ebp
jne 0x1800174ea
mov rcx, qword [rdi + 0x1868]
test rcx, rcx
je 0x1800174ea
cmp byte [rcx + 0x90], bpl
je 0x1800174ea
mov rdx, qword [0x180066470]
cmp dword [rdx + 0x34], ebp
jl 0x1800174ea
movsxd rax, dword [rdx + 0x34]
movss xmm0, dword [rdx + rax*4 + 0x428]
ucomiss xmm0, xmm6
jp 0x1800174ea
jne 0x1800174ea
mov dword [rcx + 0x2a4], ebp
mov r8d, ebp
cmp dword [rdi + 0x1818], ebp
je 0x18001752d
mov rdx, rbp
mov rax, qword [rdi + 0x1820]
inc r8d
mov rcx, qword [rdx + rax]
lea rdx, [rdx + 8]
mov al, byte [rcx + 0x90]
mov byte [rcx + 0x91], al
mov byte [rcx + 0x90], bpl
mov byte [rcx + 0x92], bpl
cmp r8d, dword [rdi + 0x1818]
jne 0x1800174f8
mov rax, qword [rdi + 0x1868]
test rax, rax
je 0x180017591
cmp byte [rax + 0x91], bpl
jne 0x180017591
mov r9, qword [0x180066470]
mov edx, dword [r9 + 0x1818]
sub edx, 1
js 0x180017591
mov rcx, qword [r9 + 0x1820]
movsxd rax, edx
lea r8, [rcx + rax*8]
mov rax, qword [r8]
test rax, rax
je 0x18001757a
cmp byte [rax + 0x91], bpl
je 0x18001757a
test dword [rax + 0xc], r10d
je 0x180017585
sub r8, 8
sub edx, 1
jns 0x180017563
jmp 0x180017591
movsxd rax, edx
mov rcx, qword [rcx + rax*8]
call fcn.180012504
lea rbx, [rdi + 0x1838]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x1800175b7
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.18001ce18
mov dword [rbx], ebp
lea rbx, [rdi + 0x1900]
mov r8d, dword [rbx + 4]
test r8d, r8d
jns 0x1800175e3
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.18001cfe4
mov dword [rbx], ebp
mov rcx, qword [rdi + 0x1868]
call fcn.18000d2e4
mov rax, qword [0x180066470]
mov ecx, 0x43c80000
xor r8d, r8d
xor edx, edx
mov dword [rax + 0x1938], ecx
mov dword [rax + 0x193c], ecx
lea rcx, [0x180052762]
mov dword [rax + 0x1914], 4
movaps xmm6, xmmword [rsp + 0x50]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm7, xmmword [rsp + 0x40]
mov rsp, r11
pop r15
pop rdi
pop rsi
jmp fcn.180008954