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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x1800ca040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r11d, edx
mov dword [rsp + 0x38], edx
mov r9, qword [0x1800cb9d8]
mov rcx, qword [0x1800cb9e0]
cmp r9, rcx
je 0x18005d79c
cmp edx, r8d
jge 0x18005d79c
xorps xmm0, xmm0
movups xmmword [rsp + 0x130], xmm0
xor r14d, r14d
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x148], 0xf
mov byte [rsp + 0x130], r14b
mov qword [rsp + 0x90], r14
mov byte [rsp + 0x98], r14b
movdqa xmmword [rsp + 0xa0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xb0], xmm1
mov qword [rsp + 0xc0], r14
mov byte [rsp + 0xc8], r14b
movdqa xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xe0], r14b
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xf0], r14
mov byte [rsp + 0xf8], r14b
movups xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], r14
mov r13d, 0xf
mov qword [rsp + 0x128], r13
mov byte [rsp + 0x110], r14b
sub rcx, r9
movabs rbx, 0x2aaaaaaaaaaaaaab
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8d, edx
cmovl edx, r8d
mov eax, r14d
test edx, edx
cmovg eax, edx
mov dword [rsp + 0x70], eax
mov r12, qword [rsp + 0x110]
mov dword [rsp + 0x48], r11d
cmp r11d, dword [rsp + 0x70]
jge 0x18005d6f1
movsxd rax, r11d
lea rcx, [rax + rax*2]
lea r15, [r9 + rcx*8]
mov qword [rsp + 0x50], r15
mov rcx, qword [r15 + 8]
mov rax, qword [r15]
cmp rax, rcx
je 0x18005d6e4
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [rsp + 0x140]
ja 0x18005d1d5
lea rax, [rsp + 0x130]
cmp qword [rsp + 0x148], 0xf
cmova rax, qword [rsp + 0x130]
mov qword [rsp + 0x140], rdx
mov byte [rax + rdx], 0
jmp 0x18005d246
mov rdi, rdx
mov rcx, qword [rsp + 0x140]
sub rdi, rcx
mov r8, qword [rsp + 0x148]
mov rax, r8
sub rax, rcx
cmp rdi, rax
ja 0x18005d233
mov qword [rsp + 0x140], rdx
lea rbx, [rsp + 0x130]
cmp r8, 0xf
cmova rbx, qword [rsp + 0x130]
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
movabs rbx, 0x2aaaaaaaaaaaaaab
jmp 0x18005d246
mov r9, rdi
mov rdx, rdi
lea rcx, [rsp + 0x130]
call fcn.1800624d0
mov r8, r14
mov r10, qword [r15]
mov rcx, qword [r15 + 8]
sub rcx, r10
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x18005d2c1
mov r9, r14
nop dword [rax + rax]
movzx ecx, byte [r10 + r9]
lea rax, [rsp + 0x130]
cmp qword [rsp + 0x148], 0xf
cmova rax, qword [rsp + 0x130]
mov byte [rax + r8], cl
mov dword [r10 + r9 + 4], r14d
inc r8
lea r9, [r9 + 0xc]
mov r10, qword [r15]
mov rcx, qword [r15 + 8]
sub rcx, r10
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jb 0x18005d270
lea rdx, [rsp + 0x130]
cmp qword [rsp + 0x148], 0xf
cmova rdx, qword [rsp + 0x130]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], rdx
mov rcx, qword [rsp + 0x140]
add rcx, rdx
mov qword [rsp + 0x68], rcx
mov rdi, rdx
mov qword [rsp + 0x40], rdx
mov r12, qword [rsp + 0x110]
mov r13, qword [rsp + 0x128]
cmp rdi, rcx
je 0x18005d6ce
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x34], r14d
xor sil, sil
mov byte [rsp + 0x30], sil
mov rax, qword [0x1800cbc40]
test rax, rax
je 0x18005d365
lea rdx, [rsp + 0x34]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x58]
mov rdx, rcx
mov rcx, rdi
call rax
test al, al
jne 0x18005d3fd
mov rcx, qword [rsp + 0x68]
mov rbx, qword [0x1800cbc68]
mov r14, qword [0x1800cbc70]
cmp rbx, r14
je 0x18005d3bf
mov qword [rsp + 0x28], rdi
mov r9, rbx
lea r8, [rsp + 0x90]
mov rdx, rcx
mov rcx, rdi
call fcn.180063580
test al, al
je 0x18005d3c1
mov sil, 1
mov byte [rsp + 0x30], sil
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
mov qword [rsp + 0x58], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x60], rax
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x34], eax
jmp 0x18005d3e3
add rbx, 0x30
mov rcx, qword [rsp + 0x68]
jmp 0x18005d373
xor r14d, r14d
test sil, sil
jne 0x18005d3fd
inc rdi
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x68]
jmp 0x18005d300
mov r14, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub r14, rdx
mov qword [rsp + 0x40], r14
cmp dword [rsp + 0x34], 7
jne 0x18005d65f
mov r8, r14
lea rcx, [rsp + 0x110]
call fcn.180009470
mov r12, qword [rsp + 0x110]
mov r13, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x120]
cmp byte [0x1800cbc60], 0
jne 0x18005d4b9
lea r14, [rsp + 0x110]
cmp r13, 0xf
cmova r14, r12
lea r15, [rsp + 0x110]
cmova r15, r12
add r15, rsi
lea rbx, [rsp + 0x110]
cmp r13, 0xf
cmova rbx, r12
cmp rbx, r15
je 0x18005d4af
sub r14, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rbx + r14], al
inc rbx
cmp rbx, r15
jne 0x18005d482
mov r13, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x120]
mov r12, qword [rsp + 0x110]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x40]
sub rdi, qword [rsp + 0x78]
lea rcx, [rdi + rdi*2]
mov rax, qword [r15]
test byte [rax + rcx*4 + 8], 4
jne 0x18005d598
lea rdx, [rsp + 0x110]
cmp r13, 0xf
cmova rdx, r12
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rsi, rsi
je 0x18005d518
movabs r15, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, rsi
jb 0x18005d500
mov r15, qword [rsp + 0x50]
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x100]
lea rcx, [0x1800cbb18]
call fcn.18000c5e0
cmp qword [rax + 8], 0
je 0x18005d548
mov dword [rsp + 0x34], 1
jmp 0x18005d66f
lea rdx, [rsp + 0x110]
lea rcx, [0x1800cbb58]
call fcn.1800615b0
test rax, rax
je 0x18005d56e
mov dword [rsp + 0x34], 8
jmp 0x18005d66f
lea rdx, [rsp + 0x110]
lea rcx, [0x1800cbb98]
call fcn.1800615b0
test rax, rax
je 0x18005d66f
mov dword [rsp + 0x34], 9
jmp 0x18005d66f
lea r8, [rsp + 0x110]
cmp r13, 0xf
cmova r8, r12
movabs rcx, 0xcbf29ce484222325
xor edx, edx
test rsi, rsi
je 0x18005d5e9
movabs r14, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r14
inc rdx
cmp rdx, rsi
jb 0x18005d5d0
mov r14, qword [rsp + 0x40]
and rcx, qword [0x1800cbbc8]
add rcx, rcx
mov rax, qword [0x1800cbbb0]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x1800cbba0]
je 0x18005d64e
mov rdi, qword [rax + rcx*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18005d622
mov rdx, qword [rdx]
lea rcx, [rsp + 0x110]
cmp r13, 0xf
cmova rcx, r12
cmp rsi, rax
jne 0x18005d643
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005d650
cmp rbx, rdi
je 0x18005d64e
mov rbx, qword [rbx + 8]
jmp 0x18005d610
xor ebx, ebx
test rbx, rbx
je 0x18005d66f
mov dword [rsp + 0x34], 9
jmp 0x18005d66f
mov r13, qword [rsp + 0x128]
mov r12, qword [rsp + 0x110]
xor r8d, r8d
test r14, r14
je 0x18005d6b7
nop word [rax + rax]
mov rax, r8
sub rax, qword [rsp + 0x80]
add rax, qword [rsp + 0x58]
lea rdx, [rax + rax*2]
mov rcx, qword [r15]
mov eax, dword [rsp + 0x34]
mov dword [rcx + rdx*4 + 4], eax
inc r8
cmp r8, r14
jb 0x18005d680
mov r13, qword [rsp + 0x128]
mov r12, qword [rsp + 0x110]
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x40], rdi
xor r14d, r14d
mov rcx, qword [rsp + 0x68]
jmp 0x18005d310
mov r9, qword [0x1800cb9d8]
mov r11d, dword [rsp + 0x38]
movabs rbx, 0x2aaaaaaaaaaaaaab
inc r11d
mov dword [rsp + 0x38], r11d
jmp 0x18005d15d
cmp r13, 0xf
jbe 0x18005d72c
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x18005d724
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005d724
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.18006ae8c
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x128], 0xf
mov byte [rsp + 0x110], 0
lea rcx, [rsp + 0xa0]
call fcn.18005f960
nop
mov rdx, qword [rsp + 0x148]
cmp rdx, 0xf
jbe 0x18005d79c
inc rdx
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005d797
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005d797
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006ae8c
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18006aac0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret