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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rsi, rdx
xor r14d, r14d
mov rcx, qword [0x18022ac40]
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, rcx
cmp rax, 0xa
jb 0x1801581cb
lea r12, [0x18022ac30]
mov r9, r12
cmp qword [0x18022ac48], 0x10
cmovae r9, qword [0x18022ac30]
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.1800f43f0
nop
lea r8d, [r14 + 1]
lea rdx, [0x1801f6cd0]
lea rcx, [rbp + 0x50]
call fcn.1800a1c40
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], 0x10
jb 0x180157b47
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x50]
call fcn.1800a1c40
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 + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str..vmt
lea rcx, [rbp - 0x70]
call fcn.1800a1c40
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
mov rdi, qword [rbp - 0x80]
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rbx, qword [rsp + 0x70]
call fcn.18017ee94
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp + 0x30]
call fcn.1800e4d00
nop
lea rcx, [rbp + 0x30]
call fcn.1800e55b0
test al, al
sete bl
lea rcx, [rbp + 0x30]
call fcn.1800f1bd0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180157c51
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180157c4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180157c4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017dba4
movdqa xmm0, xmmword [0x1802004b0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180157ca1
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180157c9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180157c9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017dba4
movdqa xmm0, xmmword [0x1802004b0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x180157cf0
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180157ceb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180157ceb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017dba4
movdqa xmm0, xmmword [0x1802004b0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
lea rcx, [rbp + 0x50]
call fcn.180090ae0
test bl, bl
jne 0x180158196
mov r8, qword [rsi + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x180157d23
mov rdx, qword [rsi]
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov rcx, r14
movabs r13, 0x100000001b3
test r8, r8
je 0x180157d55
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, r8
jb 0x180157d42
mov r8, rsi
lea rdx, [rsp + 0x60]
lea rcx, [0x18022a310]
call fcn.1800945f0
mov rcx, qword [rax + 8]
mov rdx, qword [0x18022a318]
mov rbx, rdx
test rcx, rcx
cmovne rbx, rcx
cmp rbx, rdx
je 0x180157e70
cmp byte [rbx + 0x58], 0
jne 0x180158196
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x180157dbc
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], 0
mov rdx, qword [0x18022a318]
mov r9, qword [rbx + 0x20]
lea r8, [rbx + 0x10]
cmp qword [rbx + 0x28], 0x10
jb 0x180157dcf
mov r8, qword [rbx + 0x10]
xor ecx, ecx
test r9, r9
je 0x180157df4
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdi, rax
imul rdi, r13
inc rcx
cmp rcx, r9
jb 0x180157de0
and rdi, qword [0x18022a340]
shl rdi, 4
mov rcx, qword [0x18022a328]
add rcx, rdi
mov rax, qword [rcx]
cmp qword [rcx + 8], rbx
jne 0x180157e2a
cmp rax, rbx
jne 0x180157e20
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
jmp 0x180157e35
mov rdx, qword [rbx + 8]
mov qword [rcx + 8], rdx
jmp 0x180157e35
cmp rax, rbx
jne 0x180157e35
mov rax, qword [rbx]
mov qword [rcx], rax
mov rdx, qword [rbx]
dec qword [0x18022a320]
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.180090ae0
lea rcx, [rbx + 0x10]
call fcn.180090ae0
mov edx, 0x60
mov rcx, rbx
call fcn.18017dba4
xor r14d, r14d
mov rax, qword [0x18022ac40]
sub r15, rax
cmp r15, 0xa
jb 0x1801581d1
cmp qword [0x18022ac48], 0x10
cmovae r12, qword [0x18022ac30]
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.1800f43f0
nop
mov r8d, 1
lea rdx, [0x1801f6cd0]
lea rcx, [rbp + 0x70]
call fcn.1800a1c40
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], 0x10
jb 0x180157f0b
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x10]
call fcn.1800a1c40
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 + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str..vmt
lea rcx, [rbp - 0x30]
call fcn.1800a1c40
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
mov rdi, qword [rsp + 0x50]
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rbx, qword [rsp + 0x40]
call fcn.18017ee94
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.1800e4d00
nop
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
call fcn.18017f5dc
shr rax, 0x20
test eax, eax
jne 0x1801581b8
lea rcx, [rbp + 0x10]
call fcn.1800f1bd0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18015802b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180158026
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180158026
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017dba4
movdqa xmm0, xmmword [0x1802004b0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18015807c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180158077
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180158077
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017dba4
movdqa xmm0, xmmword [0x1802004b0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x1801580cb
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801580c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801580c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017dba4
movdqa xmm0, xmmword [0x1802004b0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
lea rcx, [rbp + 0x70]
call fcn.180090ae0
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.180090750
lea rdx, [0x1802350a0]
lea rcx, [rsp + 0x40]
call fcn.1801581e0
lea rdx, [0x180234e00]
lea rcx, [rsp + 0x40]
call fcn.1801581e0
lea rdx, [0x180234220]
lea rcx, [rsp + 0x40]
call fcn.1801581e0
lea rdx, [0x180233f80]
lea rcx, [rsp + 0x40]
call fcn.1801581e0
lea rdx, [0x1802357a0]
lea rcx, [rsp + 0x40]
call fcn.1801581e0
lea rdx, [0x180235500]
lea rcx, [rsp + 0x40]
call fcn.1801581e0
lea rdx, [0x1802348a0]
lea rcx, [rsp + 0x40]
call fcn.1801581e0
lea rdx, [0x180235360]
lea rcx, [rsp + 0x40]
call fcn.1801581e0
lea rdx, [0x180234c60]
lea rcx, [rsp + 0x40]
call fcn.1801581e0
lea rcx, [rsp + 0x40]
call fcn.180090ae0
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.180090ae0
lea r8, [rbp + 0x10]
mov edx, eax
lea rcx, str.remove
call fcn.1800e54e0
nop
call fcn.18006b3b0
int3
call fcn.18006b3b0
int3