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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [0x180099040]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r11d, edx
mov dword [rsp + 0x40], edx
mov r12, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0xa0], rcx
lea rax, [rcx + 8]
mov qword [rsp + 0x80], rax
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
cmp rdx, rcx
je 0x180051de5
cmp r11d, r8d
jge 0x180051de5
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
xor r14d, r14d
mov qword [rsp + 0x108], r14
mov qword [rsp + 0x110], 0xf
mov byte [rsp + 0xf8], r14b
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x150], xmm0
movups xmmword [rsp + 0x170], xmm0
movups xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x120], r14
mov byte [rsp + 0x128], r14b
movdqa xmmword [rsp + 0x130], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x140], xmm1
mov qword [rsp + 0x150], r14
mov byte [rsp + 0x158], r14b
movdqa xmmword [rsp + 0x160], xmm0
mov byte [rsp + 0x170], r14b
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x180], r14
mov byte [rsp + 0x188], r14b
movups xmmword [rsp + 0xd8], xmm0
mov qword [rsp + 0xe8], r14
mov r13d, 0xf
mov qword [rsp + 0xf0], r13
mov byte [rsp + 0xd8], r14b
sub rcx, rdx
movabs rax, 0x2aaaaaaaaaaaaaab
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 + 0x68], eax
mov r15, qword [rsp + 0xd8]
mov dword [rsp + 0x50], r11d
cmp r11d, dword [rsp + 0x68]
jge 0x180051d3b
mov rdx, qword [rsp + 0x80]
movsxd rax, r11d
lea rcx, [rax + rax*2]
mov rax, qword [rdx]
lea rbx, [rax + rcx*8]
mov qword [rsp + 0x48], rbx
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
cmp rax, rcx
je 0x180051d2e
sub rcx, rax
movabs r11, 0x2aaaaaaaaaaaaaab
mov rax, r11
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [rsp + 0x108]
ja 0x180051794
mov qword [rsp + 0x108], rdx
lea rax, [rsp + 0xf8]
cmp qword [rsp + 0x110], 0xf
cmova rax, qword [rsp + 0xf8]
mov byte [rax + rdx], 0
jmp 0x18005180a
mov rdi, rdx
mov rcx, qword [rsp + 0x108]
sub rdi, rcx
mov r8, qword [rsp + 0x110]
mov rax, r8
sub rax, rcx
cmp rdi, rax
ja 0x1800517ed
mov qword [rsp + 0x108], rdx
lea rbx, [rsp + 0xf8]
cmp r8, 0xf
cmova rbx, qword [rsp + 0xf8]
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
mov rbx, qword [rsp + 0x48]
jmp 0x180051800
mov r9, rdi
mov rdx, rdi
lea rcx, [rsp + 0xf8]
call fcn.180056650
movabs r11, 0x2aaaaaaaaaaaaaab
mov r8, r14
mov r10, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r10
mov rax, r11
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180051881
mov r9, r14
nop
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0x110], 0xf
cmova rcx, qword [rsp + 0xf8]
movzx eax, byte [r10 + r9]
mov byte [rcx + r8], al
mov dword [r10 + r9 + 4], r14d
inc r8
lea r9, [r9 + 0xc]
mov r10, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r10
mov rax, r11
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jb 0x180051830
lea rdx, [rsp + 0xf8]
cmp qword [rsp + 0x110], 0xf
cmova rdx, qword [rsp + 0xf8]
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
mov rcx, qword [rsp + 0x108]
add rcx, rdx
mov qword [rsp + 0x60], rcx
mov rdi, rdx
mov qword [rsp + 0x38], rdx
mov r15, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xf0]
nop dword [rax]
cmp rdi, rcx
je 0x180051d29
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], r14
mov dword [rsp + 0xd0], r14d
xor sil, sil
mov byte [rsp + 0x30], sil
mov rax, qword [r12 + 0x270]
test rax, rax
je 0x180051938
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0xc0]
mov rdx, rcx
mov rcx, rdi
call rax
test al, al
jne 0x1800519e8
mov rcx, qword [rsp + 0x60]
mov rbx, qword [r12 + 0x298]
mov r14, qword [r12 + 0x2a0]
cmp rbx, r14
je 0x18005199d
mov qword [rsp + 0x28], rdi
mov r9, rbx
lea r8, [rsp + 0x120]
mov rdx, rcx
mov rcx, rdi
call fcn.1800577b0
test al, al
je 0x18005199f
mov sil, 1
mov byte [rsp + 0x30], sil
mov rcx, qword [rsp + 0x130]
mov rax, qword [rcx]
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0xc8], rax
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0xd0], eax
jmp 0x1800519c9
add rbx, 0x30
mov rcx, qword [rsp + 0x60]
jmp 0x180051948
xor r14d, r14d
mov rbx, qword [rsp + 0x48]
test sil, sil
jne 0x1800519e8
inc rdi
mov qword [rsp + 0x38], rdi
mov rcx, qword [rsp + 0x60]
jmp 0x1800518bd
mov r14, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xc0]
sub r14, rdx
mov qword [rsp + 0x38], r14
cmp dword [rsp + 0xd0], 7
jne 0x180051cb5
mov rax, qword [rsp + 0xf0]
cmp r14, rax
ja 0x180051a4a
lea rbx, [rsp + 0xd8]
cmp rax, 0xf
cmova rbx, qword [rsp + 0xd8]
mov qword [rsp + 0xe8], r14
mov r8, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x180051a62
mov r9, qword [rsp + 0xc0]
mov rdx, r14
lea rcx, [rsp + 0xd8]
call fcn.180056510
mov r15, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe8]
cmp byte [r12 + 0x290], 0
jne 0x180051af7
lea r14, [rsp + 0xd8]
cmp r13, 0xf
cmova r14, r15
lea r12, [rsp + 0xd8]
cmova r12, r15
add r12, rsi
lea rbx, [rsp + 0xd8]
cmp r13, 0xf
cmova rbx, r15
cmp rbx, r12
je 0x180051aed
sub r14, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [r14 + rbx], al
inc rbx
cmp rbx, r12
jne 0x180051ac0
mov r13, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xd8]
mov r12, qword [rsp + 0x58]
mov r14, qword [rsp + 0x38]
sub rdi, qword [rsp + 0x70]
lea rcx, [rdi + rdi*2]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
test byte [rax + rcx*4 + 8], 4
jne 0x180051be4
lea rdx, [rsp + 0xd8]
cmp r13, 0xf
cmova rdx, r15
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rsi, rsi
je 0x180051b58
movabs r14, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r14
inc rcx
cmp rcx, rsi
jb 0x180051b40
mov r14, qword [rsp + 0x38]
lea rcx, [r12 + 0x148]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xb0]
call fcn.180057950
cmp qword [rax + 8], 0
je 0x180051b8c
mov dword [rsp + 0xd0], 1
jmp 0x180051cc5
lea rcx, [r12 + 0x188]
lea rdx, [rsp + 0xd8]
call fcn.1800556f0
test rax, rax
je 0x180051bb6
mov dword [rsp + 0xd0], 8
jmp 0x180051cc5
lea rcx, [r12 + 0x1c8]
lea rdx, [rsp + 0xd8]
call fcn.1800556f0
test rax, rax
je 0x180051cc5
mov dword [rsp + 0xd0], 9
jmp 0x180051cc5
lea r8, [rsp + 0xd8]
cmp r13, 0xf
cmova r8, r15
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test rsi, rsi
je 0x180051c29
movabs r14, 0x100000001b3
nop
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r14
inc rcx
cmp rcx, rsi
jb 0x180051c10
mov r14, qword [rsp + 0x38]
mov r8, qword [rsp + 0xa0]
mov rcx, qword [r8 + 0x1f8]
and rcx, rdx
add rcx, rcx
mov rax, qword [r8 + 0x1e0]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r8 + 0x1d0]
je 0x180051c9c
mov rdi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x180051c6f
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0xd8]
cmp r13, 0xf
cmova rcx, r15
cmp rsi, qword [rbx + 0x20]
jne 0x180051c91
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180051c9e
cmp rbx, rdi
je 0x180051c9c
mov rbx, qword [rbx + 8]
jmp 0x180051c60
xor ebx, ebx
test rbx, rbx
mov rbx, qword [rsp + 0x48]
je 0x180051cc5
mov dword [rsp + 0xd0], 9
jmp 0x180051cc5
mov r13, qword [rsp + 0xf0]
mov r15, qword [rsp + 0xd8]
xor r8d, r8d
test r14, r14
je 0x180051d0f
mov r12, qword [rsp + 0x78]
mov rax, r8
sub rax, r12
add rax, qword [rsp + 0xc0]
lea rdx, [rax + rax*2]
mov rcx, qword [rbx]
mov eax, dword [rsp + 0xd0]
mov dword [rcx + rdx*4 + 4], eax
inc r8
cmp r8, r14
jb 0x180051cd2
mov r13, qword [rsp + 0xf0]
mov r15, qword [rsp + 0xd8]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rdi
xor r14d, r14d
mov rcx, qword [rsp + 0x60]
jmp 0x1800518d0
mov r11d, dword [rsp + 0x40]
inc r11d
mov dword [rsp + 0x40], r11d
jmp 0x180051707
cmp r13, 0xf
jbe 0x180051d75
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x180051d6d
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051d6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.18005fc54
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xf0], 0xf
mov byte [rsp + 0xd8], 0
lea rcx, [rsp + 0x130]
call fcn.1800533e0
nop
mov rdx, qword [rsp + 0x110]
cmp rdx, 0xf
jbe 0x180051de5
inc rdx
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051de0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051de0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005fc54
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.18005f740
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret