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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x1800b53b0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, rdx
mov r12, rcx
xor ebx, ebx
lea rsi, str.ItemStack
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 9
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov ecx, ebx
movabs r13, 0x100000001b3
movzx eax, byte [rcx + rsi]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, 9
jb 0x1800506b0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x41]
call fcn.18005a660
cmp qword [rax + 8], rbx
jne 0x1800506ee
lea rdx, [0x1800a2afe]
lea rcx, [rsp + 0x30]
call fcn.180041460
jmp 0x180050789
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], bl
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 9
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x31]
call fcn.180059e80
mov rcx, qword [rax]
mov r9, qword [rcx + 0x20]
mov rsi, qword [rcx + 0x28]
mov rax, qword [rbp - 9]
cmp rsi, rax
ja 0x18005075b
lea rbx, [rbp - 0x21]
cmp rax, 0x10
cmovae rbx, qword [rbp - 0x21]
mov qword [rbp - 0x11], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
xor ebx, ebx
jmp 0x180050767
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.180042290
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rsp + 0x40], xmm1
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovb rcx, rax
call fcn.1800595f0
mov r15, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800507e2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800507dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050bda
call fcn.180076098
lea rsi, str.Item
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 4
mov r9, rdi
mov rcx, rbx
nop dword [rax]
movzx eax, byte [rcx + rsi]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, 4
jb 0x180050800
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x31]
call fcn.18005a660
cmp qword [rax + 8], 0
jne 0x18005083e
lea rdx, [0x1800a2afe]
lea rcx, [rbp - 0x61]
call fcn.180041460
jmp 0x1800508d8
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 4
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x41]
call fcn.180059e80
mov rcx, qword [rax]
mov r9, qword [rcx + 0x20]
mov rsi, qword [rcx + 0x28]
mov rax, qword [rbp - 9]
cmp rsi, rax
ja 0x1800508ac
lea rbx, [rbp - 0x21]
cmp rax, 0x10
cmovae rbx, qword [rbp - 0x21]
mov qword [rbp - 0x11], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
xor ebx, ebx
jmp 0x1800508b8
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.180042290
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 0x61], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rbp - 0x51], xmm1
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
mov r9d, 3
lea r8, [0x1800a466c]
lea rcx, [rbp - 0x61]
call fcn.180046840
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1800a4118]
lea rcx, [rsp + 0x30]
call fcn.1800418d0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800509a3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005099e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005099e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180076098
movdqa xmm0, xmmword [0x1800a5c00]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x1800509f4
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800509ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800509ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180076098
movdqa xmm0, xmmword [0x1800a5c00]
movdqu xmmword [rbp - 0x51], xmm0
mov byte [rbp - 0x61], 0
lea rsi, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rsi, qword [rbp - 1]
lea rax, str.getItem
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 7
mov rcx, rbx
lea rbx, str.getItem
movzx eax, byte [rcx + rbx]
xor rdi, rax
imul rdi, r13
inc rcx
cmp rcx, 7
jb 0x180050a32
mov r9, rdi
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x31]
call fcn.18005a660
cmp qword [rax + 8], 0
mov ebx, 0
jne 0x180050a79
lea rdx, [0x1800a2afe]
lea rcx, [rsp + 0x50]
call fcn.180041460
jmp 0x180050b1a
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], bl
lea rax, str.getItem
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 7
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x41]
call fcn.180059e80
mov rcx, qword [rax]
mov r9, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x28]
mov rax, qword [rbp - 9]
cmp rdi, rax
ja 0x180050aed
lea rbx, [rbp - 0x21]
cmp rax, 0x10
cmovae rbx, qword [rbp - 0x21]
mov qword [rbp - 0x11], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
xor ebx, ebx
jmp 0x180050af9
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.180042290
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rbp - 0x79], xmm1
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
mov rax, qword [r14]
mov r10, qword [rax + 0x108]
cmp qword [rbp - 0x71], 0x10
cmovb r8, rcx
mov r9, rsi
mov rdx, r15
mov rcx, r14
call r10
mov rbx, rax
mov rdx, qword [rbp - 0x71]
cmp rdx, 0x10
jb 0x180050b85
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050b80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050b80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180076098
movdqa xmm0, xmmword [0x1800a5c00]
movdqu xmmword [rbp - 0x79], xmm0
mov byte [rsp + 0x50], 0
mov r8, rbx
mov rdx, r12
mov rcx, r14
call fcn.180043e20
mov rbx, rax
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x180050be6
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050be1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050be1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180076098
mov rax, rbx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800759c0
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret