Function at 0x180051ba0
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 [0x1800bb040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r11d, edx
mov dword [rsp + 0x34], edx
mov r9, qword [0x1800bc6f8]
mov rcx, qword [0x1800bc700]
cmp r9, rcx
je 0x180052362
cmp edx, r8d
jge 0x180052362
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
xor r14d, r14d
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], 0xf
mov byte [rsp + 0xc0], r14b
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x130], xmm0
movups xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0xe0], r14
mov byte [rsp + 0xe8], r14b
movdqa xmmword [rsp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x100], xmm1
mov qword [rsp + 0x110], r14
mov byte [rsp + 0x118], r14b
movdqa xmmword [rsp + 0x120], xmm0
mov byte [rsp + 0x130], r14b
mov qword [rsp + 0x138], r14
mov qword [rsp + 0x140], r14
mov byte [rsp + 0x148], r14b
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], r14
mov r13d, 0xf
mov qword [rsp + 0xb8], r13
mov byte [rsp + 0xa0], 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 + 0x58], eax
mov r15, qword [rsp + 0xa0]
mov dword [rsp + 0x40], r11d
cmp r11d, dword [rsp + 0x58]
jge 0x1800522b8
movsxd rax, r11d
lea rcx, [rax + rax*2]
lea r12, [r9 + rcx*8]
mov qword [rsp + 0x48], r12
mov rax, qword [r12]
mov rcx, qword [r12 + 8]
cmp rax, rcx
je 0x1800522ab
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [rsp + 0xd0]
ja 0x180051d77
mov qword [rsp + 0xd0], rdx
lea rax, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 0xf
cmova rax, qword [rsp + 0xc0]
mov byte [rax + rdx], 0
jmp 0x180051de8
mov rdi, rdx
mov rcx, qword [rsp + 0xd0]
sub rdi, rcx
mov r8, qword [rsp + 0xd8]
mov rax, r8
sub rax, rcx
cmp rdi, rax
ja 0x180051dd5
mov qword [rsp + 0xd0], rdx
lea rbx, [rsp + 0xc0]
cmp r8, 0xf
cmova rbx, qword [rsp + 0xc0]
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 0x180051de8
mov r9, rdi
mov rdx, rdi
lea rcx, [rsp + 0xc0]
call fcn.180056f40
mov r8, r14
mov r10, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r10
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180051e63
mov r9, r14
nop
lea rcx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 0xf
cmova rcx, qword [rsp + 0xc0]
movzx eax, byte [r9 + r10]
mov byte [rcx + r8], al
mov dword [r9 + r10 + 4], r14d
inc r8
lea r9, [r9 + 0xc]
mov r10, qword [r12]
mov rcx, qword [r12 + 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 0x180051e10
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 0xf
cmova rdx, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rdx
mov rcx, qword [rsp + 0xd0]
add rcx, rdx
mov qword [rsp + 0x50], rcx
mov rdi, rdx
mov qword [rsp + 0x38], rdx
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xb8]
nop
cmp rdi, rcx
je 0x180052295
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], r14
mov dword [rsp + 0x98], r14d
xor sil, sil
mov byte [rsp + 0x30], sil
mov rax, qword [0x1800bc960]
test rax, rax
je 0x180051f17
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x88]
mov rdx, rcx
mov rcx, rdi
call rax
test al, al
jne 0x180051fb8
mov rcx, qword [rsp + 0x50]
mov rbx, qword [0x1800bc988]
mov r14, qword [0x1800bc990]
cmp rbx, r14
je 0x180051f7a
mov qword [rsp + 0x28], rdi
mov r9, rbx
lea r8, [rsp + 0xe0]
mov rdx, rcx
mov rcx, rdi
call fcn.180057fc0
test al, al
je 0x180051f7c
mov sil, 1
mov byte [rsp + 0x30], sil
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rcx]
mov qword [rsp + 0x88], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x90], rax
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x98], eax
jmp 0x180051f9e
add rbx, 0x30
mov rcx, qword [rsp + 0x50]
jmp 0x180051f25
xor r14d, r14d
test sil, sil
jne 0x180051fb8
inc rdi
mov qword [rsp + 0x38], rdi
mov rcx, qword [rsp + 0x50]
jmp 0x180051e9f
mov r14, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
sub r14, rdx
mov qword [rsp + 0x38], r14
cmp dword [rsp + 0x98], 7
jne 0x180052220
mov r8, r14
lea rcx, [rsp + 0xa0]
call fcn.180009210
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
cmp byte [0x1800bc980], 0
jne 0x18005207d
lea r14, [rsp + 0xa0]
cmp r13, 0xf
cmova r14, r15
lea r12, [rsp + 0xa0]
cmova r12, r15
add r12, rsi
lea rbx, [rsp + 0xa0]
cmp r13, 0xf
cmova rbx, r15
cmp rbx, r12
je 0x180052073
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, r12
jne 0x180052046
mov r13, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x48]
mov r14, qword [rsp + 0x38]
sub rdi, qword [rsp + 0x60]
lea rcx, [rdi + rdi*2]
mov rax, qword [r12]
test byte [rax + rcx*4 + 8], 4
jne 0x18005215e
lea rdx, [rsp + 0xa0]
cmp r13, 0xf
cmova rdx, r15
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rsi, rsi
je 0x1800520d8
movabs r12, 0x100000001b3
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, rsi
jb 0x1800520c0
mov r12, qword [rsp + 0x48]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x78]
lea rcx, [0x1800bc838]
call fcn.18000c070
cmp qword [rax + 8], 0
je 0x180052108
mov dword [rsp + 0x98], 1
jmp 0x180052230
lea rdx, [rsp + 0xa0]
lea rcx, [0x1800bc878]
call fcn.180056150
test rax, rax
je 0x180052131
mov dword [rsp + 0x98], 8
jmp 0x180052230
lea rdx, [rsp + 0xa0]
lea rcx, [0x1800bc8b8]
call fcn.180056150
test rax, rax
je 0x180052230
mov dword [rsp + 0x98], 9
jmp 0x180052230
lea r8, [rsp + 0xa0]
cmp r13, 0xf
cmova r8, r15
movabs rcx, 0xcbf29ce484222325
xor edx, edx
test rsi, rsi
je 0x1800521a9
movabs r14, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r14
inc rdx
cmp rdx, rsi
jb 0x180052190
mov r14, qword [rsp + 0x38]
and rcx, qword [0x1800bc8e8]
add rcx, rcx
mov rax, qword [0x1800bc8d0]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x1800bc8c0]
je 0x18005220c
mov rdi, qword [rax + rcx*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x1800521df
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0xa0]
cmp r13, 0xf
cmova rcx, r15
cmp rsi, qword [rbx + 0x20]
jne 0x180052201
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005220e
cmp rbx, rdi
je 0x18005220c
mov rbx, qword [rbx + 8]
jmp 0x1800521d0
xor ebx, ebx
test rbx, rbx
je 0x180052230
mov dword [rsp + 0x98], 9
jmp 0x180052230
mov r13, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xa0]
xor r8d, r8d
test r14, r14
je 0x18005227b
nop dword [rax + rax]
mov rax, r8
sub rax, qword [rsp + 0x68]
add rax, qword [rsp + 0x88]
lea rdx, [rax + rax*2]
mov rcx, qword [r12]
mov eax, dword [rsp + 0x98]
mov dword [rcx + rdx*4 + 4], eax
inc r8
cmp r8, r14
jb 0x180052240
mov r13, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x38], rdi
xor r14d, r14d
mov rcx, qword [rsp + 0x50]
jmp 0x180051eb0
mov r9, qword [0x1800bc6f8]
mov r11d, dword [rsp + 0x34]
movabs rbx, 0x2aaaaaaaaaaaaaab
inc r11d
mov dword [rsp + 0x34], r11d
jmp 0x180051cfd
cmp r13, 0xf
jbe 0x1800522f2
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1800522ea
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800522ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.18005fefc
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], 0xf
mov byte [rsp + 0xa0], 0
lea rcx, [rsp + 0xf0]
call fcn.180054330
nop
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0xf
jbe 0x180052362
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005235d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005235d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005fefc
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18005fb30
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