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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x48], xmm6
mov rsi, rdx
xor r14d, r14d
mov rcx, qword [0x18022dcf0]
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, rcx
cmp rax, 0xa
jb 0x180159cac
lea r12, [0x18022dce0]
mov r9, r12
cmp qword [0x18022dcf8], 0xf
cmova r9, qword [0x18022dce0]
mov qword [rsp + 0x30], 0xa
lea rax, str.Materials
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x50]
call fcn.1800f3b00
nop
mov r8d, 1
lea rdx, [0x1801fa0bc]
lea rcx, [rbp + 0x50]
call fcn.1800a0bd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x18015963d
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x50]
call fcn.1800a0bd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r14
mov byte [rax], 0
mov r8d, 4
lea rdx, str..vmt
lea rcx, [rbp - 0x70]
call fcn.1800a0bd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x68], rax
call fcn.180180a14
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp + 0x30]
call fcn.1800e39d0
nop
lea rcx, [rbp + 0x30]
call fcn.1800e4290
movzx ebx, al
lea rcx, [rbp + 0x30]
call fcn.1800f13b0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180159750
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015974b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18015974b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f7ac
movdqa xmm6, xmmword [0x180203890]
movdqu xmmword [rbp - 0x80], xmm6
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1801597a0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015979b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18015979b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f7ac
movdqu xmmword [rbp - 0x60], xmm6
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1801597e7
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801597e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801597e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f7ac
movdqu xmmword [rbp - 0x40], xmm6
mov byte [rbp - 0x50], 0
lea rcx, [rbp + 0x50]
call fcn.18008f640
test bl, bl
je 0x180159c6d
mov r8, qword [rsi + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180159812
mov rdx, qword [rsi]
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov rcx, r14
movabs r13, 0x100000001b3
test r8, r8
je 0x180159844
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, r8
jb 0x180159831
mov r8, rsi
lea rdx, [rsp + 0x60]
lea rcx, [0x18022d3c0]
call fcn.180092ff0
mov rcx, qword [rax + 8]
mov rdx, qword [0x18022d3c8]
mov rbx, rdx
test rcx, rcx
cmovne rbx, rcx
cmp rbx, rdx
je 0x180159951
cmp byte [rbx + 0x58], 0
jne 0x180159c6d
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1801598a7
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov qword [rbx + 0x30], r14
mov rdx, qword [0x18022d3c8]
mov r9, qword [rbx + 0x20]
lea r8, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x1801598ba
mov r8, qword [rbx + 0x10]
xor ecx, ecx
test r9, r9
je 0x1801598d5
movzx eax, byte [r8 + rcx]
xor rdi, rax
imul rdi, r13
inc rcx
cmp rcx, r9
jb 0x1801598c1
and rdi, qword [0x18022d3f0]
shl rdi, 4
mov rcx, qword [0x18022d3d8]
add rcx, rdi
mov rax, qword [rcx]
cmp qword [rcx + 8], rbx
jne 0x18015990b
cmp rax, rbx
jne 0x180159901
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
jmp 0x180159916
mov rdx, qword [rbx + 8]
mov qword [rcx + 8], rdx
jmp 0x180159916
cmp rax, rbx
jne 0x180159916
mov rax, qword [rbx]
mov qword [rcx], rax
mov rdx, qword [rbx]
dec qword [0x18022d3d0]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
lea rcx, [rbx + 0x38]
call fcn.18008f640
lea rcx, [rbx + 0x10]
call fcn.18008f640
mov edx, 0x60
mov rcx, rbx
call fcn.18017f7ac
xor r14d, r14d
mov rax, qword [0x18022dcf0]
sub r15, rax
cmp r15, 0xa
jb 0x180159cb2
cmp qword [0x18022dcf8], 0xf
cmova r12, qword [0x18022dce0]
mov qword [rsp + 0x30], 0xa
lea rcx, str.Materials
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9, r12
lea rcx, [rbp + 0x70]
call fcn.1800f3b00
nop
mov r8d, 1
lea rdx, [0x1801fa0bc]
lea rcx, [rbp + 0x70]
call fcn.1800a0bd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1801599ec
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x10]
call fcn.1800a0bd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r14
mov byte [rax], 0
mov r8d, 4
lea rdx, str..vmt
lea rcx, [rbp - 0x30]
call fcn.1800a0bd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
call fcn.180180a14
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.1800e39d0
nop
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rcx, qword [rbp + 0x10]
call fcn.18018115c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180159c97
lea rcx, [rbp + 0x10]
call fcn.1800f13b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180159b1a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180159b15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180159b15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f7ac
movdqu xmmword [rsp + 0x50], xmm6
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x180159b63
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180159b5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180159b5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f7ac
movdqu xmmword [rbp - 0x20], xmm6
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x180159baa
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180159ba5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180159ba5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f7ac
movdqu xmmword [rbp], xmm6
mov byte [rbp - 0x10], 0
lea rcx, [rbp + 0x70]
call fcn.18008f640
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.18008f2b0
lea rdx, [0x1802382d0]
lea rcx, [rsp + 0x40]
call fcn.180159cc0
lea rdx, [0x180238030]
lea rcx, [rsp + 0x40]
call fcn.180159cc0
lea rdx, [0x180237450]
lea rcx, [rsp + 0x40]
call fcn.180159cc0
lea rdx, [0x1802371b0]
lea rcx, [rsp + 0x40]
call fcn.180159cc0
lea rdx, [0x1802389d0]
lea rcx, [rsp + 0x40]
call fcn.180159cc0
lea rdx, [0x180238730]
lea rcx, [rsp + 0x40]
call fcn.180159cc0
lea rdx, [0x180237ad0]
lea rcx, [rsp + 0x40]
call fcn.180159cc0
lea rdx, [0x180238590]
lea rcx, [rsp + 0x40]
call fcn.180159cc0
lea rdx, [0x180237e90]
lea rcx, [rsp + 0x40]
call fcn.180159cc0
lea rcx, [rsp + 0x40]
call fcn.18008f640
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x1f0]
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.18008f640
shr rdx, 0x20
lea r8, [rbp + 0x10]
lea rcx, str.remove
call fcn.1800e4160
nop
call fcn.18006a690
int3
call fcn.18006a690
int3