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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1e0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov r13, rdx
xor esi, esi
mov rdi, qword [0x180228718]
mov rbx, qword [0x180228710]
cmp rbx, rdi
je 0x18015d8f8
nop dword [rax]
lea rcx, [rbx + 0x20]
call fcn.1800f13b0
mov rcx, rbx
call fcn.1800f13b0
add rbx, 0x50
cmp rbx, rdi
jne 0x18015d8d0
mov rax, qword [0x180228710]
mov qword [0x180228718], rax
mov dword [rbp + 0x120], 2
lea r8, [rbp + 0x120]
lea rdx, [rbp - 0x30]
lea rcx, [0x180226880]
call fcn.1800b0c50
mov rcx, qword [rax]
mov r15, qword [rcx + 0x18]
mov r12, qword [rcx + 0x20]
cmp r15, r12
je 0x18015dff2
mov r14d, dword [0x18022b1cc]
mov qword [rbp - 0x30], r14
movabs rbx, 0x100000001b3
xorps xmm7, xmm7
movss xmm8, dword [0x1802034b8]
nop
mov rdi, qword [r15]
mov rcx, rdi
call fcn.1800a57e0
cmp byte [rax], 0
je 0x18015e02d
mov rcx, rdi
call fcn.18015d780
mov rcx, qword [0x18022caf8]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
mov eax, dword [rax]
mov dword [rbp + 0x120], eax
lea rdx, [rbp + 0x120]
call r8
cmp rax, r13
jne 0x18015e02d
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
mov rcx, rdi
call fcn.18015d680
mov edx, dword [rax]
sub edx, 4
je 0x18015da5a
cmp edx, 1
je 0x18015da13
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x18015dfe5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015da09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18015e16a
call fcn.18017f7ac
jmp 0x18015dfe5
mov rax, qword [rsp + 0x48]
cmp rax, 3
jb 0x18015da51
lea rbx, [rsp + 0x30]
cmp rax, 7
cmova rbx, qword [rsp + 0x30]
mov qword [rsp + 0x40], 3
mov r8d, 6
lea rdx, [0x1801ff2e8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 6], si
jmp 0x18015daae
lea r9, [0x1801ff2e8]
jmp 0x18015da9f
mov rax, qword [rsp + 0x48]
cmp rax, 3
jb 0x18015da98
lea rbx, [rsp + 0x30]
cmp rax, 7
cmova rbx, qword [rsp + 0x30]
mov qword [rsp + 0x40], 3
mov r8d, 6
lea rdx, [0x1801ff290]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 6], si
jmp 0x18015daae
lea r9, [0x1801ff290]
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.180126980
movaps xmm6, xmm7
mov rbx, qword [0x180226870]
test rbx, rbx
je 0x18015dbc7
lea rcx, [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov esi, eax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax + r14*8]
mov edx, dword [rdx + rcx]
cmp dword [0x18022d128], edx
jle 0x18015db92
lea rcx, [0x18022d128]
call fcn.18017f85c
cmp dword [0x18022d128], 0xffffffff
jne 0x18015db92
mov rcx, qword [0x18022cad0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x18015db7d
nop
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], r11b
jne 0x18015db31
mov rdx, r11
test rcx, rcx
je 0x18015db74
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r9 + rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x18015db50
cmp r8d, 0x3369e751
je 0x18015dc61
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x18015db20
mov eax, r11d
mov dword [0x18022d134], eax
lea rcx, [0x18022d128]
call fcn.18017f7f0
lea eax, [rsi*4]
cdqe
movsxd rdx, dword [0x18022d134]
add rax, rbx
movss xmm6, dword [rdx + rax]
movaps xmm0, xmm6
mov rax, qword [0x18022cb50]
subss xmm0, dword [rax + 0xc]
cvttss2si esi, xmm0
test esi, esi
mov ebx, 0
cmovs esi, ebx
xor r14b, r14b
lea rcx, [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov r8d, eax
shr eax, 8
movzx edx, al
movzx eax, r8b
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs r9, 0x100000001b3
imul rax, r9
xor rdx, rax
imul rdx, r9
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r9
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, r9
and rdx, qword [0x180228758]
add rdx, rdx
mov rcx, qword [0x180228740]
mov rax, qword [rcx + rdx*8 + 8]
cmp rax, qword [0x180228730]
je 0x18015dc76
mov rcx, qword [rcx + rdx*8]
cmp r8d, dword [rax + 0x10]
je 0x18015dc79
nop word [rax + rax]
cmp rax, rcx
je 0x18015dc76
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x18015dc50
jmp 0x18015dc79
lea r8, str.m_flNextRespawnTime
mov rdx, qword [r10 + 0x18]
call fcn.18017f3f0
jmp 0x18015db80
mov rax, rbx
test rax, rax
jne 0x18015dcae
mov rax, qword [rdi + 0x10]
lea rcx, [rdi + 0x10]
call qword [rax + 0x48]
mov dword [rbp + 0x130], eax
lea r8, [rbp + 0x130]
lea rdx, [rbp + 0x70]
lea rcx, [0x180228728]
call fcn.18013ddd0
mov rcx, qword [rax]
movss dword [rcx + 0x14], xmm6
mov rax, qword [rdi + 0x10]
lea rcx, [rdi + 0x10]
call qword [rax + 0x48]
mov dword [rbp + 0x138], eax
lea r8, [rbp + 0x138]
lea rdx, [rbp + 0x80]
lea rcx, [0x180228728]
call fcn.18013ddd0
mov rcx, qword [rax]
movss xmm0, dword [rcx + 0x14]
addss xmm0, xmm8
comiss xmm6, xmm0
jbe 0x18015dd1f
mov r14b, 1
mov rax, qword [rdi + 0x10]
lea rcx, [rdi + 0x10]
call qword [rax + 0x48]
mov dword [rsp + 0x50], eax
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x90]
lea rcx, [0x180228728]
call fcn.18013ddd0
mov rcx, qword [rax]
mov dword [rcx + 0x14], 0xbf800000
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x60], eax
mov rax, qword [0x18022cb10]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x40]
mov rax, qword [rdi + 0x10]
lea rcx, [rdi + 0x10]
call qword [rax + 0x48]
lea r8, [rbp - 0x20]
mov edx, eax
mov rcx, qword [0x18022cb10]
call rbx
test al, al
je 0x18015df93
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xor ebx, ebx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x18015dd93
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.1800916b0
nop
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r8, qword [rbp - 0x50]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0xfde9
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor r11d, r11d
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x78], r11
mov r8, rbx
lea rcx, [rsp + 0x60]
call fcn.18017d5f0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r8, qword [rbp - 0x50]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.1800f0fb0
nop
mov dword [rbp - 0x60], esi
mov byte [rbp - 0x5c], r14b
mov rax, qword [rdi + 0x10]
lea rcx, [rdi + 0x10]
call qword [rax + 0x48]
mov dword [rsp + 0x58], eax
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0xa0]
lea rcx, [0x180226900]
call fcn.1800d4c80
mov rax, qword [rax]
movzx eax, byte [rax + 0x14]
mov byte [rbp - 0x5b], al
mov rcx, rdi
call fcn.1800a6680
mov ecx, dword [rax]
mov dword [rbp - 0x58], ecx
mov rax, qword [rdi + 0x10]
lea rcx, [rdi + 0x10]
call qword [rax + 0x48]
mov dword [rbp - 0x54], eax
mov rdx, qword [0x180228718]
cmp rdx, qword [0x180228720]
je 0x18015df38
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor eax, eax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], ax
xorps xmm0, xmm0
movups xmmword [rdx + 0x20], xmm0
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x38], rax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x30], xmm1
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], ax
mov eax, dword [rbp - 0x60]
mov dword [rdx + 0x40], eax
movzx eax, byte [rbp - 0x5c]
mov byte [rdx + 0x44], al
movzx eax, byte [rbp - 0x5b]
mov byte [rdx + 0x45], al
mov eax, dword [rbp - 0x58]
mov dword [rdx + 0x48], eax
mov eax, dword [rbp - 0x54]
mov dword [rdx + 0x4c], eax
add qword [0x180228718], 0x50
jmp 0x18015df43
lea r8, [rsp + 0x60]
call fcn.18015e5d0
nop
lea rcx, [rbp - 0x80]
call fcn.1800f13b0
lea rcx, [rsp + 0x60]
call fcn.1800f13b0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x18015df93
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015df8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18015e163
call fcn.18017f7ac
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x18015dfd5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015dfd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18015e16a
call fcn.18017f7ac
movabs rbx, 0x100000001b3
xor esi, esi
mov r14, qword [rbp - 0x30]
add r15, 8
cmp r15, r12
jne 0x18015d950
mov rax, qword [0x180228718]
cmp qword [0x180228710], rax
setne al
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov r8d, eax
shr eax, 8
movzx edx, al
movzx eax, r8b
movabs rdi, 0xcbf29ce484222325
xor rax, rdi
imul rax, rbx
xor rdx, rax
imul rdx, rbx
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, rbx
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, rbx
mov r11, qword [0x180228758]
mov rcx, r11
and rcx, rdx
add rcx, rcx
mov r9, qword [0x180228740]
mov rax, qword [r9 + rcx*8 + 8]
mov r10, qword [0x180228730]
cmp rax, r10
je 0x18015e0c1
mov rcx, qword [r9 + rcx*8]
cmp r8d, dword [rax + 0x10]
je 0x18015e0c4
nop dword [rax]
cmp rax, rcx
je 0x18015e0c1
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x18015e0b0
jmp 0x18015e0c4
mov rax, rsi
mov rcx, r10
test rax, rax
cmovne rcx, rax
cmp rcx, r10
je 0x18015dfe5
movzx edx, byte [rcx + 0x10]
xor rdx, rdi
imul rdx, rbx
movzx eax, byte [rcx + 0x11]
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rcx + 0x12]
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rcx + 0x13]
xor rdx, rax
imul rdx, rbx
and rdx, r11
add rdx, rdx
mov rax, qword [r9 + rdx*8]
cmp qword [r9 + rdx*8 + 8], rcx
jne 0x18015e12f
cmp rax, rcx
jne 0x18015e124
mov qword [r9 + rdx*8], r10
mov qword [r9 + rdx*8 + 8], r10
jmp 0x18015e13b
mov r10, qword [rcx + 8]
mov qword [r9 + rdx*8 + 8], r10
jmp 0x18015e13b
cmp rax, rcx
jne 0x18015e13b
mov rax, qword [rcx]
mov qword [r9 + rdx*8], rax
mov rdx, qword [rcx]
dec qword [0x180228738]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x18
call fcn.18017f7ac
jmp 0x18015dfe5
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