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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov qword [rbp - 0x58], r9
mov r14, r8
mov qword [rbp - 0x78], r8
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x30], r15d
mov dword [rbp + 0x30], r15d
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.180181b40
nop
lea rax, [rbp + 0x10]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x18018b7d7
lock inc dword [rax + 8]
mov esi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x68]
call fcn.180181cc0
nop
lea rax, [rbp + 0x20]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x18018b80f
lock inc dword [rax + 8]
mov esi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x90]
call fcn.180181d50
nop
lea r12, [0x180345bb8]
mov edi, 0xffffffff
mov rbx, qword [rbp - 0x68]
cmp rbx, qword [rbp + 0x90]
je 0x18018c01e
cmp dword [rbp + 0x30], 0
jne 0x18018c01e
lea rdx, [rbp]
mov rcx, rbx
call fcn.180181640
mov eax, dword [rbp + 8]
mov dword [rbp + 0x70], eax
mov qword [rbp + 0x78], r12
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x30], xmm0
cmp dword [rbp], 2
jne 0x18018bf2e
test eax, eax
jne 0x18018bf2e
lea r14, [rbx + 0x20]
mov qword [rbp - 0x80], r14
lea rdx, [rbp + 0xe0]
mov rcx, r14
call fcn.180181420
nop
mov r12, rax
cmp qword [rax + 0x18], 7
jbe 0x18018b8a6
mov r12, qword [rax]
mov r15, qword [rax + 0x10]
call fcn.180283f3c
mov r13d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], bl
or esi, 0x20
mov dword [rsp + 0x30], esi
test r15, r15
je 0x18018b9d6
cmp r15, 0x7fffffff
ja 0x18018c10e
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov ecx, eax
call fcn.180283fac
mov rbx, rax
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x18018c104
movsxd rcx, ebx
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
ja 0x18018b946
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov byte [rax + rcx], 0
jmp 0x18018b9a0
mov r14, rcx
sub r14, rdx
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, rdx
cmp r14, rax
ja 0x18018b987
mov qword [rsp + 0x50], rcx
lea rdi, [rsp + 0x40]
cmp r8, 0xf
cmova rdi, qword [rsp + 0x40]
add rdi, rdx
mov r8, r14
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + r14], 0
jmp 0x18018b99c
mov byte [rsp + 0x20], 0
mov r9, r14
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.180127120
mov r14, qword [rbp - 0x80]
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, r15d
mov rdx, r12
mov ecx, r13d
call fcn.180283fac
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x18018c0fa
xor ebx, ebx
and esi, 0xffffffdf
mov dword [rsp + 0x30], esi
or esi, 0x10
mov dword [rsp + 0x30], esi
and esi, 0xffffffef
mov dword [rsp + 0x30], esi
or esi, 8
mov dword [rsp + 0x30], esi
and esi, 0xfffffff7
mov dword [rsp + 0x30], esi
or esi, 4
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
movabs r9, 0xcbf29ce484222325
mov rcx, rbx
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x18018ba47
movabs rbx, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, rbx
inc rcx
cmp rcx, r8
jb 0x18018ba32
xor ebx, ebx
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbp - 0x58]
call fcn.1801791f0
mov rdi, qword [rax + 8]
mov qword [rsp + 0x38], rdi
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18018baa9
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18018baa4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18018c002
call fcn.180284a64
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rcx, [rbp + 0xe0]
call fcn.180124b00
lea rdx, [rbp + 0x100]
mov rcx, r14
call fcn.180181370
nop
mov r12, rax
cmp qword [rax + 0x18], 7
jbe 0x18018bae5
mov r12, qword [rax]
mov r15, qword [rax + 0x10]
call fcn.180283f3c
mov r13d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
bts esi, 9
mov dword [rsp + 0x30], esi
test r15, r15
je 0x18018bc17
cmp r15, 0x7fffffff
ja 0x18018c12c
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov ecx, eax
call fcn.180283fac
mov rbx, rax
mov qword [rbp - 0x70], rax
shr rax, 0x20
test eax, eax
jne 0x18018c123
movsxd rcx, ebx
mov rdx, qword [rsp + 0x70]
cmp rcx, rdx
ja 0x18018bb84
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov byte [rax + rcx], 0
jmp 0x18018bbe3
mov r14, rcx
sub r14, rdx
mov r8, qword [rsp + 0x78]
mov rax, r8
sub rax, rdx
cmp r14, rax
ja 0x18018bbca
mov qword [rsp + 0x70], rcx
lea rdi, [rsp + 0x60]
cmp r8, 0xf
cmova rdi, qword [rsp + 0x60]
add rdi, rdx
mov r8, r14
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov byte [r14 + rdi], 0
mov rdi, qword [rsp + 0x38]
jmp 0x18018bbdf
mov byte [rsp + 0x20], 0
mov r9, r14
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.180127120
mov r14, qword [rbp - 0x80]
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r9, qword [rsp + 0x60]
mov dword [rsp + 0x20], ebx
mov r8d, r15d
mov rdx, r12
mov ecx, r13d
call fcn.180283fac
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x18018c119
btr esi, 9
mov dword [rsp + 0x30], esi
bts esi, 8
mov dword [rsp + 0x30], esi
btr esi, 8
mov dword [rsp + 0x30], esi
bts esi, 7
mov dword [rsp + 0x30], esi
btr esi, 7
mov dword [rsp + 0x30], esi
or esi, 0x40
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
cmp qword [rsp + 0x70], 2
jae 0x18018bc63
xor bl, bl
jmp 0x18018bc6b
cmp word [rax], 0x5f5f
sete bl
and esi, 0xffffffbf
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18018bcaf
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18018bcaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18018c009
call fcn.180284a64
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r15b
lea rcx, [rbp + 0x100]
call fcn.180124b00
test rdi, rdi
je 0x18018bf1e
test bl, bl
jne 0x18018bf1e
mov rdx, r14
lea rcx, [rbp - 0x20]
call fcn.1800dea50
nop
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
lea rbx, [rcx + rax*2]
mov r11, rbx
mov rdx, rbx
call fcn.1800de5e0
cmp rax, rbx
je 0x18018bd4d
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18018bd24
cmp cx, 0x2f
jne 0x18018bd2d
add rax, 2
cmp rax, rbx
jne 0x18018bd15
cmp rax, rbx
je 0x18018bd4d
lea rdx, [r11 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18018bd4d
cmp cx, 0x2f
je 0x18018bd4d
mov r11, rdx
cmp rax, rdx
jne 0x18018bd32
mov qword [rbp + 0x80], r11
sub rbx, r11
sar rbx, 1
mov qword [rbp + 0x88], rbx
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xa0]
call fcn.1801a03b0
nop
bts esi, 0xa
mov dword [rsp + 0x30], esi
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xa0]
call fcn.18018f700
bts esi, 0xb
mov dword [rsp + 0x30], esi
mov r14, qword [rbp - 0x78]
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x18018bda6
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp + 0x50]
call fcn.180008c70
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts esi, 0xc
mov dword [rsp + 0x30], esi
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp + 0x3b0]
call fcn.18019f7d0
mov rcx, qword [rax]
add rcx, 0x40
lea rax, [rbp - 0x20]
cmp rcx, rax
je 0x18018be58
mov rdx, qword [rbp - 0x10]
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova r9, qword [rbp - 0x20]
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x18018be53
mov rdi, rcx
cmp rax, 7
jbe 0x18018be36
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r15w
jmp 0x18018be58
call fcn.180126aa0
btr esi, 0xc
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x18018be9b
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18018be96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18018c010
call fcn.180284a64
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
btr esi, 0xb
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x18018beee
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18018bee9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18018c017
call fcn.180284a64
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
btr esi, 0xa
mov dword [rsp + 0x30], esi
lea rcx, [rbp + 0xa0]
call fcn.180124b00
nop
lea rcx, [rbp - 0x20]
call fcn.180124b00
jmp 0x18018bf22
mov r14, qword [rbp - 0x78]
mov edi, 0xffffffff
lea r12, [0x180345bb8]
mov rbx, qword [rbp - 0x68]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp + 0x120]
mov rcx, qword [rbx + 0x40]
call fcn.180284214
cmp eax, 0x12
je 0x18018bf97
test eax, eax
jne 0x18018c0f2
cmp word [rbp + 0x14c], 0x2e
jne 0x18018bf83
movzx eax, word [rbp + 0x14e]
test ax, ax
je 0x18018bf40
cmp ax, 0x2e
jne 0x18018bf83
cmp word [rbp + 0x150], 0
je 0x18018bf40
lea rdx, [rbp + 0x120]
mov rcx, rbx
call fcn.180181900
jmp 0x18018b835
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov rax, qword [rbp - 0x68]
mov qword [rbp + 0x40], rax
mov qword [rbp - 0x68], r15
mov rbx, qword [rbp - 0x60]
mov qword [rbp + 0x48], rbx
mov qword [rbp - 0x60], r15
test rbx, rbx
je 0x18018b835
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18018bfe7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x18018bff0
mov esi, dword [rsp + 0x30]
jmp 0x18018b835
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov esi, dword [rsp + 0x30]
jmp 0x18018b835
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.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rbx, qword [rbp + 0x98]
test rbx, rbx
je 0x18018c054
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18018c054
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18018c054
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x18018c087
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18018c087
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18018c087
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x18018c0b8
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18018c0b8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18018c0b8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, r14
call fcn.180008a30
nop
mov rbx, qword [rbp - 0x58]
lea rcx, [rbx + 0x18]
call fcn.18005ba00
nop
lea rcx, [rbx + 8]
mov rbx, qword [rsp + 0x4b8]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp 0x18018e6e0
mov edx, eax
call fcn.1801815e0
nop
mov ecx, dword [rsp + 0x3c]
call fcn.1800dcc30
int3
mov ecx, dword [rsp + 0x3c]
call fcn.1800dcc30
int3
mov ecx, 0x16
call fcn.1800dc900
nop
mov ecx, dword [rsp + 0x3c]
call fcn.1800dcc30
int3
mov ecx, dword [rbp - 0x6c]
call fcn.1800dcc30
int3
mov ecx, 0x16
call fcn.1800dc900
int3
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, qword [rcx]
mov rax, qword [rbx + 8]
mov qword [rax], 0
mov rbx, qword [rbx]
test rbx, rbx
je 0x18018e731
nop dword [rax + rax]
mov rdi, qword [rbx]
lea rcx, [rbx + 0x10]
call fcn.180008a30
mov edx, 0x30
mov rcx, rbx
call fcn.180284a64
mov rbx, rdi
test rdi, rdi
jne 0x18018e710
mov edx, 0x30
mov rcx, qword [rsi]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180284a64