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

Disassembly:
mov rax, rsp
movss dword [rax + 0x20], xmm3
movss dword [rax + 0x18], xmm2
movss dword [rax + 0x10], xmm1
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d8
mov qword [rax - 0xf0], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
movaps xmm8, xmm2
mov rax, qword [0x180108778]
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov qword [rsp + 0x110], r8
mov r13d, dword [rax + 0xc]
test r13d, r13d
jle 0x18001756a
xorps xmm11, xmm11
comiss xmm11, xmm1
jae 0x18001756a
comiss xmm11, xmm2
jae 0x18001756a
mov rcx, qword [0x180108788]
movss xmm0, dword [rcx + 0x2c]
movss xmm13, dword [0x1800e02b0]
divss xmm0, xmm13
movss dword [rsp + 0xc0], xmm0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x180108e70], xmm0
movups xmmword [0x180108e80], xmm0
movups xmmword [0x180108e90], xmm0
mov qword [0x180108ea0], rax
mov dword [0x180108ea8], eax
mov byte [0x180108e8a], 2
mov rax, r8
cmp byte [rcx + 0x21], 2
cmovne rax, rdx
mov qword [rsp + 0x118], rax
movss xmm0, dword [rcx + 0x54]
divss xmm0, xmm13
movss xmm1, dword [0x1800e0298]
subss xmm1, xmm0
movss dword [rsp + 0xb0], xmm1
movzx eax, byte [rcx + 0x50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [rsp + 0xbc], xmm1
movzx eax, byte [rcx + 0x51]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [rsp + 0xb4], xmm1
movzx eax, byte [rcx + 0x52]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [rsp + 0xb8], xmm1
movss xmm9, dword [rcx + 0x48]
divss xmm9, xmm13
movss dword [rsp + 0xc4], xmm9
movss xmm0, dword [rcx + 0x4c]
divss xmm0, xmm13
movss dword [rsp + 0x90], xmm0
movzx eax, byte [rcx + 0x59]
mov byte [rsp + 0x70], al
movss xmm0, dword [rcx + 0x44]
divss xmm0, dword [0x1800e0d5c]
movss dword [rsp + 0xd4], xmm0
mov rax, qword [0x180108770]
cmp byte [rax + 0x71], 0
je 0x18001680a
cmp qword [rax + 0x7c], 0
je 0x18001680a
mov dil, 1
mov r10, qword [0x180108720]
jmp 0x18001685c
xor dil, dil
mov r10, qword [0x180108720]
test r10, r10
jne 0x18001685c
mov eax, dword [0x1801086f4]
imul eax, dword [0x1801086f0]
movsxd rdx, eax
xor ecx, ecx
lea r9d, [r10 + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r10, rax
mov qword [0x180108720], rax
test rax, rax
je 0x18001756a
mov rcx, qword [0x180108788]
mov rax, qword [0x180108770]
cmp qword [0x180108728], 0
jne 0x1800168b7
mov eax, dword [0x1801086f4]
imul eax, dword [0x1801086f0]
movsxd rdx, eax
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x180108728], rax
mov dl, 1
mov byte [0x18010731f], dl
test rax, rax
je 0x18001756a
mov rcx, qword [0x180108788]
mov rax, qword [0x180108770]
mov r10, qword [0x180108720]
jmp 0x1800168be
movzx edx, byte [0x18010731f]
movss xmm0, dword [rcx + 0x1f4]
mulss xmm0, dword [0x1800e0cd8]
movaps xmm7, xmm13
subss xmm7, xmm0
movaps xmm1, xmm7
addss xmm1, dword [0x1800e0d30]
movss xmm0, dword [0x1800e0d54]
maxss xmm0, xmm1
cvttss2si ebx, xmm0
mov esi, 1
xor r14d, r14d
movss xmm10, dword [0x1800e0294]
movss xmm12, dword [0x1800e0cd0]
test dl, dl
je 0x180016ce1
mov rcx, qword [0x180108e50]
test rcx, rcx
je 0x180016934
mov edx, esi
call fcn.180013610
mov rax, qword [0x180108770]
mov r10, qword [0x180108720]
mov qword [0x180108e50], r14
test dil, dil
je 0x1800169cc
mov rsi, qword [rax + 0x7c]
mov ebx, r14d
mov r11d, r14d
mov ecx, dword [0x1801086f4]
test ecx, ecx
jle 0x180016b3b
movsxd rdi, dword [rax + 0x84]
mov r10, r14
mov eax, dword [0x1801086f0]
nop dword [rax]
mov r8d, r14d
test eax, eax
jle 0x1800169bb
movsxd rdx, r11d
mov r9, r10
sub r9, rdx
add r9, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r9]
neg al
sbb cl, cl
mov rax, qword [0x180108728]
mov byte [rdx + rax], cl
inc r8d
lea rdx, [rdx + 1]
mov eax, dword [0x1801086f0]
cmp r8d, eax
jl 0x180016990
mov ecx, dword [0x1801086f4]
inc ebx
add r11d, eax
add r10, rdi
cmp ebx, ecx
jl 0x180016970
jmp 0x180016b3b
mov r9d, dword [0x1801086f4]
mov eax, r9d
mov r8d, dword [0x1801086f0]
imul eax, r8d
movsxd r11, eax
add r11, r10
mov rax, qword [0x180108718]
cmp r10, r11
jae 0x180016a88
movss xmm4, dword [0x1800e02b4]
movss xmm5, dword [0x1800e0cd4]
movss xmm6, dword [0x1800e0ccc]
nop
movzx edx, byte [rax]
movzx r8d, byte [rax + 1]
movzx r9d, byte [rax + 2]
movzx ecx, byte [rax + 3]
lea rax, [rax + 4]
test ecx, ecx
je 0x180016a68
xorps xmm3, xmm3
cvtsi2ss xmm3, ecx
divss xmm3, xmm4
xorps xmm2, xmm2
cvtsi2ss xmm2, r8d
mulss xmm2, xmm5
xorps xmm0, xmm0
cvtsi2ss xmm0, edx
mulss xmm0, xmm10
addss xmm2, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm1, r9d
mulss xmm1, xmm6
addss xmm2, xmm1
mulss xmm2, xmm3
cvttss2si ecx, xmm2
mov byte [r10], cl
inc r10
cmp r10, r11
jb 0x180016a10
mov r10, qword [0x180108720]
mov r8d, dword [0x1801086f0]
mov r9d, dword [0x1801086f4]
cvttss2si ecx, xmm7
mov eax, 0x78787879
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x40], 0x80000
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r8d
mov rdx, qword [0x180108728]
mov rcx, r10
call fcn.18001fe90
movss xmm1, dword [0x180108eac]
subss xmm1, dword [0x180108e64]
mulss xmm1, xmm12
addss xmm1, dword [0x180108e64]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm13
call fcn.180012b40
mov eax, dword [0x1801086f4]
imul eax, dword [0x1801086f0]
movsxd r9, eax
mov r8, qword [0x180108728]
add r9, r8
cmp r8, r9
jae 0x180016b3b
nop word [rax + rax]
movzx eax, byte [r8]
cdq
idiv ebx
movzx ecx, bl
movzx edx, al
imul edx, ecx
mov byte [r8], dl
inc r8
cmp r8, r9
jb 0x180016b20
mov byte [0x18010731f], r14b
mov ecx, 0x60
call fcn.18007bb4c
mov rsi, rax
mov qword [rsp + 0xf8], rax
test rax, rax
je 0x180016c00
lea rcx, [rax + 8]
mov qword [rsp + 0xa8], rcx
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov edx, 0x64
call fcn.18001e670
nop
lea rax, vtable.TCRaster_unsigned_char_.0
mov qword [rsi + 0x20], rax
mov byte [rsi + 0x38], 0
mov qword [rsi + 0x3c], 0xffffffffffffffff
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
lea rdi, [rsi + 0x48]
mov qword [rsp + 0xa8], rdi
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov ecx, 0x28
call fcn.18007bb4c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
mov byte [rsi + 0x38], 0x79
mov rbx, qword [rdi]
mov r8, qword [rbx + 8]
mov rdx, rdi
mov rcx, rdi
call fcn.180005fe0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rdi + 8], r14
mov qword [rsi + 0x58], r14
mov dword [rsi], r14d
jmp 0x180016c03
mov rsi, r14
mov qword [0x180108e50], rsi
test rsi, rsi
je 0x18001756a
movss xmm1, dword [0x180108eac]
subss xmm1, dword [0x180108e64]
mulss xmm1, xmm10
addss xmm1, dword [0x180108e64]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm13
call fcn.180012b40
movss xmm0, dword [0x1800e0d58]
divss xmm0, dword [0x180107320]
cvttss2si ecx, xmm0
mov rax, qword [0x180108788]
movss xmm1, dword [rax + 0x1f4]
divss xmm1, dword [0x1800e0d60]
addss xmm1, dword [0x1800e0bc8]
lea rax, [0x180108e28]
mov qword [rsp + 0x50], rax
lea rax, [0x180108e20]
mov qword [rsp + 0x48], rax
lea rax, [0x180108eb4]
mov qword [rsp + 0x40], rax
lea rax, [0x180108eb0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
movss dword [rsp + 0x28], xmm1
mov rax, qword [0x180108728]
mov qword [rsp + 0x20], rax
mov edx, dword [0x1801086f0]
mov r9d, edx
mov r8d, dword [0x1801086f4]
mov rcx, qword [0x180108e50]
call fcn.180025d30
test al, al
je 0x18001756a
mov rcx, qword [0x180108e50]
test rcx, rcx
je 0x18001756a
mov rsi, r14
mov qword [rsp + 0x100], r14
mov rdi, r14
mov qword [rsp + 0x108], r14
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx + 8]
sar rax, 3
test eax, eax
jne 0x180016d1c
jmp 0x18001756a
movss xmm3, dword [0x180108eac]
movaps xmm2, xmm3
subss xmm2, dword [0x180108e64]
mulss xmm2, dword [0x1800e0cdc]
addss xmm2, dword [0x180108e64]
movss dword [rsp + 0xd0], xmm2
subss xmm3, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm3, xmm0
movss dword [rsp + 0xa4], xmm3
mov ebp, r14d
mov dword [rsp + 0x88], r14d
mov ebx, r14d
mov dword [rsp + 0x8c], ebx
movsxd r12, eax
mov qword [rsp + 0xf8], r12
test eax, eax
jle 0x18001754f
mov qword [rsp + 0xe8], r14
movsd xmm10, qword [0x1800e0cf0]
mov r15d, dword [rsp + 0xa4]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm13
call fcn.180012b40
mov rax, qword [0x180108e50]
mov rax, qword [rax + 8]
mov rcx, qword [rax + r14*8]
mov qword [rsp + 0xe0], rcx
test rcx, rcx
je 0x180017520
cmp byte [rcx + 0x20], 0x79
je 0x180017520
cmp byte [rcx + 0x21], 0x79
je 0x180017520
mov rax, qword [rcx + 8]
mov qword [rsp + 0xf0], rax
cmp eax, 1
jle 0x180017517
xor r12b, r12b
mov dword [rsp + 0x7c], 0
mov byte [rcx + 0x18], 1
cmp rax, 0
jne 0x180016e2b
xor ebx, ebx
xor r14d, r14d
xor ebp, ebp
jmp 0x180016e47
mov rax, qword [rcx]
mov rax, qword [rax]
mov qword [rcx + 0x10], rax
mov rbx, qword [rax + 0x10]
mov rbp, rbx
mov r14, rbx
test rbx, rbx
je 0x180016e47
inc dword [rbx + 0x30]
test rsi, rsi
je 0x180016e54
mov rcx, rsi
call fcn.180008b60
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x100], rbx
test rbp, rbp
je 0x180016e6c
inc dword [rbx + 0x30]
test r14, r14
je 0x180016e79
mov rcx, rbx
call fcn.180008b60
cvttss2si eax, dword [rbx + 4]
mov dword [rsp + 0x84], eax
cvttss2si eax, dword [rbx + 8]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0xf0]
cdq
sub eax, edx
sar eax, 1
test eax, eax
mov ecx, 1
cmovle eax, ecx
mov dword [rsp + 0xd8], eax
movaps xmm12, xmm11
movaps xmm7, xmm11
movaps xmm13, xmm8
movss dword [rsp + 0x9c], xmm11
movss dword [rsp + 0x94], xmm11
mov ecx, eax
neg ecx
mov dword [rsp + 0x80], ecx
mov rsi, qword [rsp + 0xe0]
nop
mov rax, qword [rsi + 0x10]
cmp byte [rsi + 0x18], 0
je 0x180016f0a
mov rbx, qword [rax]
mov qword [rsi + 0x10], rbx
cmp rbx, qword [rsi]
je 0x180016f12
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x180016f02
inc dword [rbx + 0x30]
mov r14, rbx
mov rbp, rbx
jmp 0x180016f51
mov rcx, qword [rsi]
cmp rax, rcx
jne 0x180016f1b
xor ebx, ebx
xor r14d, r14d
xor ebp, ebp
jmp 0x180016f51
mov rbx, qword [rax + 0x10]
mov rbp, rbx
mov r14, rbx
test rbx, rbx
je 0x180016f34
inc dword [rbx + 0x30]
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x10]
cmp rax, qword [rcx]
je 0x180016f3d
mov rcx, qword [rax + 8]
mov qword [rsi + 0x10], rcx
test rbx, rbx
je 0x180016f51
inc dword [rbx + 0x30]
mov rcx, rbx
call fcn.180008b60
test rdi, rdi
je 0x180016f5e
mov rcx, rdi
call fcn.180008b60
mov rdi, rbx
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x108], rbx
test rbp, rbp
je 0x180016f79
inc dword [rbx + 0x30]
test r14, r14
je 0x180016f86
mov rcx, rbx
call fcn.180008b60
test rbp, rbp
je 0x1800174e8
mov ebp, dword [rsp + 0x80]
inc ebp
mov dword [rsp + 0x80], ebp
cvttss2si eax, dword [rbx + 4]
mov dword [rsp + 0xc8], eax
cvttss2si ecx, dword [rbx + 8]
mov dword [rsp + 0xcc], ecx
sub eax, dword [rsp + 0x84]
movd xmm14, eax
cvtdq2ps xmm14, xmm14
mov eax, ecx
mov ebx, dword [rsp + 0x74]
sub eax, ebx
movd xmm15, eax
cvtdq2ps xmm15, xmm15
movaps xmm0, xmm15
mulss xmm0, xmm15
movaps xmm1, xmm14
mulss xmm1, xmm14
addss xmm0, xmm1
call fcn.1800b25e8
movaps xmm6, xmm0
comiss xmm11, xmm6
jae 0x180016ee0
cmp dword [rsp + 0xf0], 2
jg 0x18001701b
movzx r12d, r12b
comiss xmm8, xmm6
mov eax, 1
cmovae r12d, eax
addss xmm12, xmm6
movss dword [rsp + 0xa0], xmm12
movaps xmm1, xmm14
movaps xmm0, xmm15
call fcn.1800b030c
movaps xmm12, xmm0
cmp byte [rsp + 0x70], 0
je 0x18001706e
movss xmm1, dword [rsp + 0x90]
cvtps2pd xmm1, xmm1
mulsd xmm1, qword [0x1800e0d08]
mulsd xmm1, xmm10
xorps xmm0, xmm0
cvtss2sd xmm0, xmm12
addsd xmm1, xmm0
cvtpd2ps xmm12, xmm1
jmp 0x180017078
mulss xmm12, dword [rsp + 0x90]
mov eax, dword [rsp + 0x7c]
test eax, eax
jle 0x1800170a6
movss xmm1, dword [rsp + 0x94]
mulss xmm1, dword [0x1800e0cd0]
movaps xmm0, xmm12
mulss xmm0, dword [0x1800e0cdc]
movaps xmm12, xmm1
addss xmm12, xmm0
movss dword [rsp + 0x94], xmm12
divss xmm14, xmm6
divss xmm15, xmm6
mov r14d, dword [rsp + 0x88]
add r14d, eax
mov esi, dword [rsp + 0x84]
mov rdi, qword [rsp + 0x110]
movaps xmm10, xmm7
addss xmm10, xmm8
movss xmm0, dword [rsp + 0xa0]
comiss xmm0, xmm10
jae 0x1800170f5
test r12b, r12b
je 0x1800174a1
movaps xmm6, xmm14
mulss xmm6, xmm13
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
movaps xmm7, xmm15
mulss xmm7, xmm13
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
addss xmm7, xmm0
mov rax, qword [0x180108788]
cmp dword [rax + 0x1c0], 1
jle 0x18001715d
subss xmm6, dword [0x180108e40]
mulss xmm6, dword [0x180108e48]
addss xmm6, dword [0x180108e40]
subss xmm7, dword [0x180108e44]
mulss xmm7, dword [0x180108e48]
addss xmm7, dword [0x180108e44]
addss xmm7, dword [0x1800e0294]
addss xmm6, dword [0x1800e0294]
cvttss2si eax, xmm8
cvttss2si ecx, dword [rsp + 0x228]
cvttss2si r9d, xmm7
cvttss2si r8d, xmm6
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor edx, edx
xor ecx, ecx
call fcn.180015380
movaps xmm8, xmm0
comiss xmm11, xmm8
jbe 0x1800171d3
movaps xmm7, xmm10
movss xmm8, dword [rsp + 0x230]
test r12b, r12b
jne 0x1800174a1
jmp 0x1800170d4
ucomiss xmm9, xmm11
jp 0x1800171ec
jne 0x1800171ec
movss xmm2, dword [0x1800e0298]
movaps xmm9, xmm2
jmp 0x18001726c
xorps xmm3, xmm3
cvtss2sd xmm3, xmm9
comiss xmm9, xmm11
jbe 0x180017227
subss xmm0, dword [0x1800e0294]
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
mulsd xmm2, qword [0x1800e0058]
addsd xmm2, qword [0x1800e0cf0]
mulsd xmm2, xmm3
addsd xmm2, qword [0x1800e0050]
jmp 0x180017257
xorps xmm0, xmm0
cvtss2sd xmm0, xmm8
movsd xmm1, qword [0x1800e0cf0]
subsd xmm1, xmm0
addsd xmm1, xmm1
addsd xmm1, qword [0x1800e0cf0]
mulsd xmm1, xmm3
movsd xmm2, qword [0x1800e0050]
subsd xmm2, xmm1
cvtpd2ps xmm0, xmm2
movaps xmm9, xmm11
maxss xmm9, xmm0
movss xmm2, dword [0x1800e0298]
movss xmm3, dword [rsp + 0xd4]
ucomiss xmm3, xmm11
jp 0x18001727d
je 0x1800172c6
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movd xmm0, dword [rsp + 0xd8]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm3, xmm11
jbe 0x1800172ab
movaps xmm0, xmm2
subss xmm0, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
andps xmm0, xmmword [0x1800e0d90]
subss xmm1, dword [0x1800e0cd0]
mulss xmm0, xmm1
addss xmm9, xmm0
movss xmm1, dword [rsp + 0xb0]
ucomiss xmm1, xmm2
jp 0x1800172e2
jne 0x1800172e2
mov ebp, dword [rsp + 0x98]
jmp 0x18001736d
ucomiss xmm1, xmm11
jp 0x1800172f6
jne 0x1800172f6
mov rax, qword [0x180108788]
mov ebp, dword [rax + 0x50]
jmp 0x18001736d
mov edx, dword [rsp + 0x98]
movzx eax, dx
shr ax, 8
movzx eax, ax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, dword [rsp + 0xb4]
cvttss2si eax, xmm0
movzx ebp, al
shl ebp, 8
mov eax, edx
shr eax, 0x10
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, dword [rsp + 0xb8]
cvttss2si eax, xmm0
movzx ecx, al
shl ecx, 0x10
or ebp, ecx
movzx eax, dl
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, dword [rsp + 0xbc]
cvttss2si eax, xmm0
movzx ecx, al
or ebp, ecx
mov rcx, qword [0x180108788]
movzx eax, byte [rcx + 0x21]
cmp al, 2
jne 0x1800173cb
addss xmm8, dword [rsp + 0xc0]
movzx ebx, byte [rcx + 0x58]
test bl, bl
je 0x180017398
addss xmm8, dword [rsp + 0x9c]
mov r8d, r13d
movaps xmm1, xmm8
mov rcx, rdi
call fcn.180019260
movsxd r15, eax
test bl, bl
mov ebx, dword [rsp + 0x74]
je 0x1800173fe
imul rdx, r15, 0x2c
movaps xmm0, xmm8
subss xmm0, dword [rdx + rdi + 0x24]
movss dword [rsp + 0x9c], xmm0
jmp 0x1800173fe
test al, al
jne 0x1800173e1
mov eax, r14d
cdq
idiv r13d
xor r15d, r15d
test edx, edx
cmovns r15d, edx
jmp 0x1800173fe
cmp al, 1
jne 0x1800173ee
mov eax, dword [rsp + 0x8c]
jmp 0x1800173f7
cmp al, 3
jne 0x1800173fe
call fcn.1800a5640
cdq
idiv r13d
mov r15d, edx
mulss xmm9, dword [rsp + 0x238]
movss dword [rsp + 0x60], xmm12
movss xmm0, dword [rsp + 0x240]
movss dword [rsp + 0x58], xmm0
mov dword [rsp + 0x50], ebp
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x48], rax
movss xmm8, dword [rsp + 0x230]
movss dword [rsp + 0x40], xmm8
movss xmm0, dword [rsp + 0x228]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x30], xmm7
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
movaps xmm1, xmm9
mov rcx, qword [rsp + 0x220]
call fcn.180040230
inc dword [rsp + 0x7c]
inc r14d
movaps xmm7, xmm10
addss xmm13, xmm8
test r12b, r12b
movss xmm9, dword [rsp + 0xc4]
mov ebp, dword [rsp + 0x80]
je 0x1800170d4
movaps xmm13, xmm7
addss xmm13, xmm8
movss xmm12, dword [rsp + 0xa0]
subss xmm13, xmm12
mov ecx, dword [rsp + 0xc8]
mov dword [rsp + 0x84], ecx
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x74], eax
movsd xmm10, qword [0x1800e0cf0]
mov rdi, qword [rsp + 0x120]
jmp 0x180016ed6
mov rsi, qword [rsp + 0xa8]
movss xmm13, dword [0x1800e02b0]
mov ebx, dword [rsp + 0x8c]
mov ebp, dword [rsp + 0x88]
mov r14, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xf8]
inc ebp
mov dword [rsp + 0x88], ebp
inc ebx
mov dword [rsp + 0x8c], ebx
inc r14
mov qword [rsp + 0xe8], r14
cmp r14, r12
movss xmm2, dword [rsp + 0xd0]
movss xmm3, dword [rsp + 0xa4]
jl 0x180016da1
test rdi, rdi
je 0x18001755d
mov rcx, rdi
call fcn.180008b60
nop
test rsi, rsi
je 0x18001756a
mov rcx, rsi
call fcn.180008b60
lea r11, [rsp + 0x1d8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret