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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x470
movaps xmmword [rax - 0x48], xmm6
mov qword [rbp - 0x40], r9
mov r14, r8
mov qword [rbp - 0x60], r8
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call fcn.180183a20
mov r15d, eax
lea rax, [rbp]
mov qword [rbp - 0x58], rax
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x18017f83f
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 0x68]
mov esi, dword [rsp + 0x30]
movdqa xmm6, xmmword [rbp - 0x70]
movdqa xmmword [rbp], xmm6
lea rdx, [rbp]
lea rcx, [rbp - 0x50]
call fcn.180175e30
nop
lea rax, [rbp + 0x10]
mov qword [rbp - 0x58], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
test rbx, rbx
je 0x18017f879
lock inc dword [rbx + 8]
movdqa xmm6, xmmword [rbp - 0x70]
mov esi, dword [rsp + 0x30]
movdqa xmmword [rbp + 0x10], xmm6
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x80]
call fcn.180175ec0
nop
mov edi, 0xffffffff
mov rbx, qword [rbp - 0x50]
cmp rbx, qword [rbp + 0x80]
je 0x18018001e
test r15d, r15d
jne 0x18018001e
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.1801758f0
mov r15d, dword [rbp - 0x10]
mov dword [rsp + 0x34], r15d
cmp dword [rbp - 0x18], 2
jne 0x18017ff37
test r15d, r15d
jne 0x18017ff37
lea r14, [rbx + 0x20]
mov qword [rbp - 0x80], r14
lea rdx, [rbp + 0xd0]
mov rcx, r14
call fcn.1801756d0
nop
mov r12, rax
cmp qword [rax + 0x18], 8
jb 0x18017f8fb
mov r12, qword [rax]
mov r15, qword [rax + 0x10]
call fcn.180276c60
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 0x18017fa2b
cmp r15, 0x7fffffff
ja 0x18018011b
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov ecx, eax
call fcn.180276cd0
mov rbx, rax
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x180180111
movsxd rcx, ebx
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
ja 0x18017f99b
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov byte [rax + rcx], 0
jmp 0x18017f9f5
mov r14, rcx
sub r14, rdx
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, rdx
cmp r14, rax
ja 0x18017f9dc
mov qword [rsp + 0x50], rcx
lea rdi, [rsp + 0x40]
cmp r8, 0x10
cmovae 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 0x18017f9f1
mov byte [rsp + 0x20], 0
mov r9, r14
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.18011f540
mov r14, qword [rbp - 0x80]
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r9, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, r15d
mov rdx, r12
mov ecx, r13d
call fcn.180276cd0
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x180180107
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], 0x10
cmovae rdx, qword [rsp + 0x40]
movabs r9, 0xcbf29ce484222325
mov rcx, rbx
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x18017faa5
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, rbx
inc rcx
cmp rcx, r8
jb 0x18017fa90
xor ebx, ebx
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp - 0x40]
call fcn.18016d3c0
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, 0x10
jb 0x18017fb07
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017fb02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180180002
call fcn.180277944
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rcx, [rbp + 0xd0]
call fcn.18011d490
lea rdx, [rbp + 0xf0]
mov rcx, r14
call fcn.180175620
nop
mov r12, rax
cmp qword [rax + 0x18], 8
jb 0x18017fb43
mov r12, qword [rax]
mov r15, qword [rax + 0x10]
call fcn.180276c60
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 0x18017fc75
cmp r15, 0x7fffffff
ja 0x180180139
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov ecx, eax
call fcn.180276cd0
mov rbx, rax
mov qword [rbp - 0x58], rax
shr rax, 0x20
test eax, eax
jne 0x180180130
movsxd rcx, ebx
mov rdx, qword [rsp + 0x70]
cmp rcx, rdx
ja 0x18017fbe2
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov byte [rax + rcx], 0
jmp 0x18017fc41
mov r14, rcx
sub r14, rdx
mov r8, qword [rsp + 0x78]
mov rax, r8
sub rax, rdx
cmp r14, rax
ja 0x18017fc28
mov qword [rsp + 0x70], rcx
lea rdi, [rsp + 0x60]
cmp r8, 0x10
cmovae rdi, qword [rsp + 0x60]
add rdi, rdx
mov r8, r14
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + r14], 0
mov rdi, qword [rsp + 0x38]
jmp 0x18017fc3d
mov byte [rsp + 0x20], 0
mov r9, r14
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.18011f540
mov r14, qword [rbp - 0x80]
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae r9, qword [rsp + 0x60]
mov dword [rsp + 0x20], ebx
mov r8d, r15d
mov rdx, r12
mov ecx, r13d
call fcn.180276cd0
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x180180126
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], 0x10
cmovae rax, qword [rsp + 0x60]
cmp qword [rsp + 0x70], 2
jae 0x18017fcc1
xor bl, bl
jmp 0x18017fcc9
cmp word [rax], 0x5f5f
sete bl
and esi, 0xffffffbf
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18017fd0d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017fd08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180180009
call fcn.180277944
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r12b
lea rcx, [rbp + 0xf0]
call fcn.18011d490
test rdi, rdi
je 0x18017ff29
test bl, bl
jne 0x18017ff29
mov rdx, r14
lea rcx, [rbp + 0x50]
call fcn.1800d7b00
nop
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rcx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x60]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.1800d7600
cmp rax, r11
je 0x18017fdab
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18017fd82
cmp cx, 0x2f
jne 0x18017fd8b
add rax, 2
cmp rax, r11
jne 0x18017fd73
cmp rax, r11
je 0x18017fdab
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18017fdab
cmp cx, 0x2f
je 0x18017fdab
mov r10, rdx
cmp rax, rdx
jne 0x18017fd90
mov qword [rbp + 0x70], r10
sub r11, r10
sar r11, 1
mov qword [rbp + 0x78], r11
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.180183920
bts esi, 0xa
mov dword [rsp + 0x30], esi
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x90]
call fcn.180183760
bts esi, 0xb
mov dword [rsp + 0x30], esi
mov r14, qword [rbp - 0x60]
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18017fdfa
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp + 0x30]
call fcn.18006e120
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts esi, 0xc
mov dword [rsp + 0x30], esi
lea r8, [rbp - 0x38]
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbp + 0x3b0]
call fcn.180193800
mov rcx, qword [rax]
add rcx, 0x40
lea rdx, [rbp + 0x50]
call fcn.1800d79a0
btr esi, 0xc
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18017fea6
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017fea1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180180010
call fcn.180277944
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
btr esi, 0xb
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x18017fef9
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017fef4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180180017
call fcn.180277944
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
btr esi, 0xa
mov dword [rsp + 0x30], esi
lea rcx, [rbp + 0x90]
call fcn.18011d490
nop
lea rcx, [rbp + 0x50]
call fcn.18011d490
jmp 0x18017ff2d
mov r14, qword [rbp - 0x60]
mov edi, 0xffffffff
mov r15d, dword [rsp + 0x34]
mov rbx, qword [rbp - 0x50]
nop dword [rax + rax]
lea rdx, [rbp + 0x110]
mov rcx, qword [rbx + 0x40]
call fcn.180276f38
cmp eax, 0x12
je 0x18017ff97
test eax, eax
jne 0x1801800ff
cmp word [rbp + 0x13c], 0x2e
jne 0x18017ff83
movzx eax, word [rbp + 0x13e]
test ax, ax
je 0x18017ff40
cmp ax, 0x2e
jne 0x18017ff83
cmp word [rbp + 0x140], 0
je 0x18017ff40
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.180175bf0
jmp 0x18017f894
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x50], r12
mov rbx, qword [rbp - 0x48]
mov qword [rbp + 0x28], rbx
mov qword [rbp - 0x48], r12
test rbx, rbx
je 0x18017f894
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18017ffe7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x18017fff0
mov esi, dword [rsp + 0x30]
jmp 0x18017f894
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov esi, dword [rsp + 0x30]
jmp 0x18017f894
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 + 0x88]
test rbx, rbx
je 0x180180054
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180180054
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180180054
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x180180087
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180180087
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180180087
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1801800bd
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1801800bd
mov rbx, qword [rbp - 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1801800bd
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, r14
call fcn.180055930
nop
mov rbx, qword [rbp - 0x40]
lea rcx, [rbx + 0x18]
call fcn.180054e80
nop
lea rcx, [rbx + 8]
mov rbx, qword [rsp + 0x4b8]
movaps xmm6, xmmword [rsp + 0x460]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp 0x180182740
mov edx, eax
call fcn.180175890
nop
mov ecx, dword [rsp + 0x3c]
call fcn.1800d5be0
int3
mov ecx, dword [rsp + 0x3c]
call fcn.1800d5be0
int3
mov ecx, 0x16
call fcn.1800d58b0
nop
mov ecx, dword [rsp + 0x3c]
call fcn.1800d5be0
int3
mov ecx, dword [rbp - 0x54]
call fcn.1800d5be0
int3
mov ecx, 0x16
call fcn.1800d58b0
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 0x180182791
nop dword [rax + rax]
mov rdi, qword [rbx]
lea rcx, [rbx + 0x10]
call fcn.180055930
mov edx, 0x30
mov rcx, rbx
call fcn.180277944
mov rbx, rdi
test rdi, rdi
jne 0x180182770
mov edx, 0x30
mov rcx, qword [rsi]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180277944