Function at 0x18012c620
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1b0
vmovaps xmmword [rax - 0x48], xmm6
vmovaps xmmword [rax - 0x58], xmm7
vmovaps xmmword [rax - 0x68], xmm8
vmovaps xmmword [rax - 0x78], xmm9
mov r13, rdx
mov r15, rcx
mov r8, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x18012c66b
mov r8, qword [rdx]
mov rcx, 0xffffffffffffffff
mov r12d, 0x811c9dc5
nop dword [rax + rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18012c680
xor edx, edx
test rcx, rcx
je 0x18012c6a8
movsx eax, byte [rdx + r8]
xor eax, r12d
imul r12d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x18012c691
mov r14, qword [0x18023f610]
mov rax, qword [0x18023f618]
mov qword [rbp - 0x30], rax
cmp r14, rax
je 0x18012d574
mov edi, 0xf
vxorps xmm6, xmm6, xmm6
vmovss xmm7, dword [0x180218d6c]
vmovss xmm8, dword [0x180218d34]
vmovss xmm9, dword [0x180218a48]
movabs rbx, 0x7fffffffffffffff
mov r8, r14
lea rdx, [rbp + 0x48]
lea rcx, [0x18023f5d0]
call fcn.1800ecac0
mov rsi, qword [rax]
lea r8, [rsi + 0x50]
cmp qword [r8 + 0x18], 0xf
jbe 0x18012c712
mov r8, qword [r8]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
nop
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18012c720
xor edx, edx
test rcx, rcx
je 0x18012c748
movsx eax, byte [r8 + rdx]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x18012c731
cmp r12d, r9d
jne 0x18012d566
cmp byte [rsi + 0x3e], 0
je 0x18012d521
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x60], 0
vmovups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x40], 0
mov ecx, dword [rsi + 0x30]
test ecx, ecx
je 0x18012cfd3
sub ecx, 1
je 0x18012cabb
cmp ecx, 1
jne case.default.0x18012cafc
mov qword [rsp + 0x70], 6
mov eax, dword [str.weapon]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1802115fc]
mov word [rsp + 0x64], ax
mov byte [rsp + 0x66], 0
mov ecx, dword [rsi + 0x34]
test ecx, ecx
je 0x18012c9c6
sub ecx, 1
je 0x18012c8d8
cmp ecx, 1
jne case.default.0x18012cafc
cmp rdi, 5
jb 0x18012c82b
lea rbx, [rsp + 0x40]
cmp rdi, 0xf
cmova rbx, qword [rsp + 0x40]
mov qword [rsp + 0x50], 5
mov r8d, 5
lea rdx, str.melee
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 5], 0
jmp case.default.0x18012cafc
mov rcx, rdi
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdi, rax
jbe 0x18012c84f
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18012c87e
lea rax, [rdi + rcx]
cmp rax, 0xf
cmova rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x18012c868
xor ebx, ebx
jmp 0x18012c8a5
cmp rcx, 0x1000
jb 0x18012c89d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18012d5d8
mov rcx, rax
call fcn.180190644
test rax, rax
je 0x18012d5ae
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18012c8a5
call fcn.180190644
mov rbx, rax
mov qword [rsp + 0x50], 5
mov qword [rsp + 0x58], rdi
mov ecx, dword [str.melee]
mov dword [rbx], ecx
movzx ecx, byte [0x18021161c]
mov byte [rbx + 4], cl
mov byte [rbx + 5], 0
mov edi, 0xf
mov qword [rsp + 0x40], rbx
jmp case.default.0x18012cafc
cmp rdi, 0xa
jb 0x18012c914
lea rbx, [rsp + 0x40]
cmp rdi, 0xf
cmova rbx, qword [rsp + 0x40]
mov qword [rsp + 0x50], 0xa
mov r8d, 0xa
lea rdx, str.projectile
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], 0
jmp case.default.0x18012cafc
mov rcx, rdi
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdi, rax
jbe 0x18012c938
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18012c967
lea rax, [rdi + rcx]
cmp rax, 0xf
cmova rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x18012c951
xor ebx, ebx
jmp 0x18012c98e
cmp rcx, 0x1000
jb 0x18012c986
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18012d5d8
mov rcx, rax
call fcn.180190644
test rax, rax
je 0x18012d5ae
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18012c98e
call fcn.180190644
mov rbx, rax
mov qword [rsp + 0x50], 0xa
mov qword [rsp + 0x58], rdi
vmovsd xmm0, qword [str.projectile]
vmovsd qword [rbx], xmm0
movzx ecx, word [0x1802115e8]
mov word [rbx + 8], cx
mov byte [rbx + 0xa], 0
mov edi, 0xf
mov qword [rsp + 0x40], rbx
jmp case.default.0x18012cafc
cmp rdi, 7
jb 0x18012ca02
lea rbx, [rsp + 0x40]
cmp rdi, 0xf
cmova rbx, qword [rsp + 0x40]
mov qword [rsp + 0x50], 7
mov r8d, 7
lea rdx, str.hitscan
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 7], 0
jmp case.default.0x18012cafc
mov rcx, rdi
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdi, rax
jbe 0x18012ca26
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18012ca55
lea rax, [rcx + rdi]
cmp rax, 0xf
cmova rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x18012ca3f
xor ebx, ebx
jmp 0x18012ca7c
cmp rcx, 0x1000
jb 0x18012ca74
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18012d5d8
mov rcx, rax
call fcn.180190644
test rax, rax
je 0x18012d5ae
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18012ca7c
call fcn.180190644
mov rbx, rax
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x58], rdi
mov rcx, qword [str.hitscan]
mov dword [rbx], ecx
movzx ecx, word [0x1802115f4]
mov word [rbx + 4], cx
movzx ecx, byte [0x1802115f6]
mov byte [rbx + 6], cl
mov byte [rbx + 7], 0
mov edi, 0xf
mov qword [rsp + 0x40], rbx
jmp case.default.0x18012cafc
mov qword [rsp + 0x70], 5
mov eax, dword [str.class]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x180202eb4]
mov byte [rsp + 0x64], al
mov byte [rsp + 0x65], 0
movsxd rax, dword [rsi + 0x34]
cmp eax, 8
ja case.default.0x18012cafc
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x12d5e0]
add rcx, rdx
jmp rcx
lea rdx, str.scout
lea rcx, [rsp + 0x40]
call fcn.180098980
jmp case.default.0x18012cafc
lea rdx, str.soldier
lea rcx, [rsp + 0x40]
call fcn.180098980
jmp case.default.0x18012cafc
lea rdx, str.pyro
lea rcx, [rsp + 0x40]
call fcn.180098980
jmp case.default.0x18012cafc
cmp rdi, 7
jb 0x18012cb7c
lea rbx, [rsp + 0x40]
cmp rdi, 0xf
cmova rbx, qword [rsp + 0x40]
mov qword [rsp + 0x50], 7
mov r8d, 7
lea rdx, str.demoman
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 7], 0
jmp case.default.0x18012cafc
mov rcx, rdi
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdi, rax
jbe 0x18012cba0
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18012cbcf
lea rax, [rcx + rdi]
cmp rax, 0xf
cmova rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x18012cbb9
xor ebx, ebx
jmp 0x18012cbf6
cmp rcx, 0x1000
jb 0x18012cbee
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18012d5d8
mov rcx, rax
call fcn.180190644
test rax, rax
je 0x18012d5ae
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18012cbf6
call fcn.180190644
mov rbx, rax
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x58], rdi
mov rcx, qword [str.demoman]
mov dword [rbx], ecx
movzx ecx, word [0x18021159c]
mov word [rbx + 4], cx
movzx ecx, byte [0x18021159e]
jmp 0x18012caa5
lea rdx, str.heavy
lea rcx, [rsp + 0x40]
call fcn.180098980
jmp case.default.0x18012cafc
cmp rdi, 8
jb 0x18012cc6e
lea rax, [rsp + 0x40]
cmp rdi, 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], 8
movabs rcx, 0x7265656e69676e65
mov qword [rax], rcx
mov byte [rax + 8], 0
jmp case.default.0x18012cafc
mov rcx, rdi
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdi, rax
jbe 0x18012cc92
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18012ccc1
lea rax, [rcx + rdi]
cmp rax, 0xf
cmova rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x18012ccab
xor ebx, ebx
jmp 0x18012cce8
cmp rcx, 0x1000
jb 0x18012cce0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18012d5d8
mov rcx, rax
call fcn.180190644
test rax, rax
je 0x18012d5ae
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18012cce8
call fcn.180190644
mov rbx, rax
mov qword [rsp + 0x50], 8
mov qword [rsp + 0x58], rdi
movabs rax, 0x7265656e69676e65
mov qword [rbx], rax
mov byte [rbx + 8], 0
mov edi, 0xf
mov qword [rsp + 0x40], rbx
jmp case.default.0x18012cafc
cmp rdi, 5
jb 0x18012cd52
lea rbx, [rsp + 0x40]
cmp rdi, 0xf
cmova rbx, qword [rsp + 0x40]
mov qword [rsp + 0x50], 5
mov r8d, 5
lea rdx, str.medic
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 5], 0
jmp case.default.0x18012cafc
mov rcx, rdi
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdi, rax
jbe 0x18012cd76
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18012cda5
lea rax, [rdi + rcx]
cmp rax, 0xf
cmova rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x18012cd8f
xor ebx, ebx
jmp 0x18012cdcc
cmp rcx, 0x1000
jb 0x18012cdc4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18012d5d8
mov rcx, rax
call fcn.180190644
test rax, rax
je 0x18012d5ae
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18012cdcc
call fcn.180190644
mov rbx, rax
mov qword [rsp + 0x50], 5
mov qword [rsp + 0x58], rdi
mov ecx, dword [str.medic]
mov dword [rbx], ecx
movzx ecx, byte [0x1802115c4]
mov byte [rbx + 4], cl
mov byte [rbx + 5], 0
mov edi, 0xf
mov qword [rsp + 0x40], rbx
jmp case.default.0x18012cafc
cmp rdi, 6
jb 0x18012ce3b
lea rbx, [rsp + 0x40]
cmp rdi, 0xf
cmova rbx, qword [rsp + 0x40]
mov qword [rsp + 0x50], 6
mov r8d, 6
lea rdx, str.sniper
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 6], 0
jmp case.default.0x18012cafc
mov rcx, rdi
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdi, rax
jbe 0x18012ce5f
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18012ce8e
lea rax, [rcx + rdi]
cmp rax, 0xf
cmova rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x18012ce78
xor ebx, ebx
jmp 0x18012ceb5
cmp rcx, 0x1000
jb 0x18012cead
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18012d5d8
mov rcx, rax
call fcn.180190644
test rax, rax
je 0x18012d5ae
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18012ceb5
call fcn.180190644
mov rbx, rax
mov qword [rsp + 0x50], 6
mov qword [rsp + 0x58], rdi
mov ecx, dword [str.sniper]
mov dword [rbx], ecx
movzx ecx, word [0x1802115bc]
mov word [rbx + 4], cx
mov byte [rbx + 6], 0
mov edi, 0xf
mov qword [rsp + 0x40], rbx
jmp case.default.0x18012cafc
cmp rdi, 3
jb 0x18012cf25
lea rbx, [rsp + 0x40]
cmp rdi, 0xf
cmova rbx, qword [rsp + 0x40]
mov qword [rsp + 0x50], 3
mov r8d, 3
lea rdx, [0x180211600]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
jmp case.default.0x18012cafc
mov rcx, rdi
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdi, rax
jbe 0x18012cf49
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18012cf78
lea rax, [rcx + rdi]
cmp rax, 0xf
cmova rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x18012cf62
xor ebx, ebx
jmp 0x18012cf9f
cmp rcx, 0x1000
jb 0x18012cf97
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18012d5d8
mov rcx, rax
call fcn.180190644
test rax, rax
je 0x18012d5ae
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18012cf9f
call fcn.180190644
mov rbx, rax
mov qword [rsp + 0x50], 3
mov qword [rsp + 0x58], rdi
mov ecx, dword [0x180211600]
mov word [rbx], cx
movzx ecx, byte [0x180211602]
mov byte [rbx + 2], cl
mov byte [rbx + 3], 0
mov edi, 0xf
mov qword [rsp + 0x40], rbx
jmp case.default.0x18012cafc
mov ecx, dword [rsi + 0x34]
test ecx, ecx
je 0x18012d030
sub ecx, 1
je 0x18012d00a
cmp ecx, 1
jne 0x18012d046
mov qword [rsp + 0x70], 6
mov eax, dword [str.double]
mov dword [rsp + 0x60], eax
movzx eax, word [0x180202a0c]
mov word [rsp + 0x64], ax
mov byte [rsp + 0x66], 0
jmp 0x18012d046
mov qword [rsp + 0x70], 6
mov eax, dword [str.toggle]
mov dword [rsp + 0x60], eax
movzx eax, word [0x180211574]
mov word [rsp + 0x64], ax
mov byte [rsp + 0x66], 0
jmp 0x18012d046
mov qword [rsp + 0x70], 4
mov dword [rsp + 0x60], 0x646c6f68
mov byte [rsp + 0x64], 0
movzx edx, word [rsi + 0x38]
lea rcx, [rbp - 0x50]
call fcn.180116b90
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x18012d0c1
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18012d09d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012d098
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18012d5b5
call fcn.18019051c
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x40], al
vmovups ymm0, ymmword [rbx]
vmovups ymmword [rsp + 0x40], ymm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rdi
mov byte [rbx], al
lea rcx, [rbp - 0x50]
vzeroupper
call fcn.180098e30
cmp byte [rsi + 0x3c], 0
je 0x18012d1b9
lea rax, str.not_
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 6
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x38], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x10], 1
lea rax, [rbp + 0x30]
mov qword [rbp + 0x18], rax
vmovups xmm0, xmmword [rbp + 0x10]
vmovdqa xmmword [rbp - 0x20], xmm0
vmovups xmm1, xmmword [rbp + 0x20]
vmovdqa xmmword [rbp - 0x10], xmm1
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x50]
call fcn.1800b12c0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18012d192
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012d18d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18012d5bc
call fcn.18019051c
vmovups ymm0, ymmword [rbp - 0x50]
vmovups ymmword [rsp + 0x60], ymm0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], rdi
mov byte [rbp - 0x50], 0
lea rcx, [rbp - 0x50]
vzeroupper
call fcn.180098e30
mov r10, qword [r15]
mov rdx, qword [r10]
mov rcx, qword [r10 + 0x18]
test rcx, rcx
jns 0x18012d1eb
mov rax, rcx
neg rax
je 0x18012d1eb
mov rax, rcx
not rax
shr rax, 5
lea rax, [rax*4 + 4]
sub rdx, rax
mov qword [rbp - 0x60], rdx
jmp 0x18012d1fa
mov rax, rcx
shr rax, 5
lea rax, [rdx + rax*4]
mov qword [rbp - 0x60], rax
and ecx, 0x1f
mov qword [rbp - 0x58], rcx
vmovups xmm0, xmmword [rbp - 0x60]
vmovdqa xmmword [rbp - 0x10], xmm0
lea r9, [rsi + 0x3d]
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x58]
mov rcx, r10
call fcn.18012eb10
mov rbx, qword [r15 + 8]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x18012d23f
mov rdx, r14
mov rcx, rax
call fcn.180098aa0
add qword [rbx + 8], 0x20
jmp 0x18012d24d
mov r8, r14
mov rdx, rax
mov rcx, rbx
call fcn.1800eec50
mov rbx, qword [r15 + 0x10]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x18012d26f
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.180098aa0
add qword [rbx + 8], 0x20
jmp 0x18012d27f
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rbx
call fcn.1800eec50
mov rbx, qword [r15 + 0x18]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x18012d2a1
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.180098aa0
add qword [rbx + 8], 0x20
jmp 0x18012d2b1
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, rbx
call fcn.1800eec50
mov rax, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x18012d2be
mov rax, qword [r14]
mov rbx, qword [0x180242b30]
vmovss xmm2, dword [rbx + 0x1048]
test rax, rax
jne 0x18012d2e8
vmovss dword [rbp + 0x100], xmm6
vmovss dword [rbp + 0x104], xmm2
vmovaps xmm1, xmm6
jmp 0x18012d33f
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
vmovss dword [rsp + 0x20], xmm7
vmovaps xmm3, xmm8
lea rdx, [rbp - 0x78]
mov rcx, qword [rbx + 0x1040]
call fcn.18006d2c0
vaddss xmm1, xmm9, dword [rbp - 0x78]
vcvttss2si eax, xmm1
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vmovss dword [rbp - 0x78], xmm1
vmovss dword [rbp + 0x100], xmm1
vmovss xmm0, dword [rbp - 0x74]
vmovss dword [rbp + 0x104], xmm0
lea rdx, [rbp + 0x100]
mov rcx, qword [r15 + 0x20]
mov rax, rcx
vcomiss xmm1, dword [rcx]
cmova rax, rdx
mov eax, dword [rax]
mov dword [rcx], eax
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
vmovss xmm2, dword [rbx + 0x1048]
test rax, rax
jne 0x18012d38d
vmovss dword [rbp + 0x108], xmm6
vmovss dword [rbp + 0x10c], xmm2
vmovaps xmm1, xmm6
jmp 0x18012d3e4
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
vmovss dword [rsp + 0x20], xmm7
vmovaps xmm3, xmm8
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0x1040]
call fcn.18006d2c0
vaddss xmm1, xmm9, dword [rbp - 0x70]
vcvttss2si eax, xmm1
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vmovss dword [rbp - 0x70], xmm1
vmovss dword [rbp + 0x108], xmm1
vmovss xmm0, dword [rbp - 0x6c]
vmovss dword [rbp + 0x10c], xmm0
lea rdx, [rbp + 0x108]
mov rcx, qword [r15 + 0x28]
mov rax, rcx
vcomiss xmm1, dword [rcx]
cmova rax, rdx
mov eax, dword [rax]
mov dword [rcx], eax
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
vmovss xmm2, dword [rbx + 0x1048]
test rax, rax
jne 0x18012d42c
vmovss dword [rbp - 0x80], xmm6
vmovss dword [rbp - 0x7c], xmm2
vmovaps xmm1, xmm6
jmp 0x18012d47d
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
vmovss dword [rsp + 0x20], xmm7
vmovaps xmm3, xmm8
lea rdx, [rbp - 0x68]
mov rcx, qword [rbx + 0x1040]
call fcn.18006d2c0
vaddss xmm1, xmm9, dword [rbp - 0x68]
vcvttss2si eax, xmm1
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vmovss dword [rbp - 0x68], xmm1
vmovss dword [rbp - 0x80], xmm1
vmovss xmm0, dword [rbp - 0x64]
vmovss dword [rbp - 0x7c], xmm0
lea rdx, [rbp - 0x80]
mov rcx, qword [r15 + 0x30]
mov rax, rcx
vcomiss xmm1, dword [rcx]
cmova rax, rdx
mov eax, dword [rax]
mov dword [rcx], eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18012d4d1
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012d4cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18012d5c3
call fcn.18019051c
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18012d521
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012d51c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18012d5ca
call fcn.18019051c
cmp byte [rsi + 0x3d], 0
je 0x18012d566
mov rbx, qword [r15 + 0x38]
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.180098aa0
mov rdi, rax
mov qword [rbp - 0x20], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x18012d5d1
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x10]
mov rdx, rax
call r8
nop
mov rcx, rdi
call fcn.180098e30
mov edi, 0xf
add r14, 0x20
cmp r14, qword [rbp - 0x30]
jne 0x18012c6e4
mov rcx, r13
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x40]
vmovaps xmm6, xmmword [r11 - 0x10]
vmovaps xmm7, xmmword [r11 - 0x20]
vmovaps xmm8, xmmword [r11 - 0x30]
vmovaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.180098e30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
nop
call fcn.180071f00
int3