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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rdi, r8
mov rbx, rdx
xor r13d, r13d
mov rcx, qword [0x18022cc80]
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, rcx
cmp rax, 0xa
jb 0x1801593ef
lea r15, [0x18022cc70]
mov r9, r15
cmp qword [0x18022cc88], 0xf
cmova r9, qword [0x18022cc70]
mov qword [rsp + 0x30], 0xa
lea rax, [0x1801f8f70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x40]
call fcn.1800f48f0
nop
lea r8d, [r13 + 1]
lea rdx, [0x1801f8fc8]
lea rcx, [rbp - 0x40]
call fcn.1800a12f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180158d59
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1800a12f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str..vmt
lea rcx, [rbp - 0x70]
call fcn.1800a12f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r13
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 [rbp - 0x80], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x78], rax
call fcn.1801808a4
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.1800e4960
nop
lea rcx, [rbp - 0x20]
call fcn.1800e5210
movzx esi, al
lea rcx, [rbp - 0x20]
call fcn.1800f21a0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180158e6e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180158e69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180158e69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f74c
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x180158ebf
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180158eba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180158eba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f74c
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180158f0f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180158f0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180158f0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f74c
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
lea rcx, [rbp - 0x40]
call fcn.18008fd00
test sil, sil
je 0x1801593bd
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180158f45
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r13
test r8, r8
je 0x180158f74
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180158f61
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [0x18022c350]
call fcn.180093740
mov rcx, qword [rax + 8]
mov rsi, qword [0x18022c358]
test rcx, rcx
cmovne rsi, rcx
cmp rsi, qword [0x18022c358]
je 0x1801593bd
cmp byte [rsi + 0x58], 0
jne 0x1801593bd
lea rcx, [rsi + 0x38]
cmp rcx, rdi
je 0x180158fcf
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180158fc6
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
call fcn.18008fd60
mov ecx, 0x40
call fcn.18017f874
mov r14, rax
mov qword [rbp + 0x1d0], rax
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180158ff0
mov r8, qword [rbx]
mov edx, 0x80
lea rcx, [rbp + 0x110]
call fcn.1800d33b0
lea rdx, [rbp + 0x110]
mov rcx, r14
call qword [0x1802283b0]
nop
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18015901f
mov r8, qword [rdi]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18015902c
mov rdx, qword [rbx]
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rcx, r14
call qword [0x1802283d8]
lea rax, str.m_pMat_s
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 8
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18015905d
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x48], xmm0
movabs rax, 0xc000000000000000
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x80], 1
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm1
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.1800cad30
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov rcx, qword [0x18022ba70]
mov rax, qword [rcx]
mov r8, r14
call qword [rax + 0x240]
mov qword [rbp + 0x1d0], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x50]
lea rcx, [0x18022c3d0]
call fcn.180159d50
mov rcx, qword [rax]
mov byte [rcx + 0x18], 1
mov rax, qword [rbp + 0x1d0]
mov qword [rsi + 0x30], rax
lea rcx, [rsp + 0x60]
call fcn.18008fd00
mov rax, qword [0x18022cc80]
sub r12, rax
cmp r12, 0xa
jb 0x1801593e9
cmp qword [0x18022cc88], 0xf
cmova r15, qword [0x18022cc70]
mov qword [rsp + 0x30], 0xa
lea rcx, [0x1801f8f70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9, r15
lea rcx, [rbp - 0x40]
call fcn.1800f48f0
nop
mov r8d, 1
lea rdx, [0x1801f8fc8]
lea rcx, [rbp - 0x40]
call fcn.1800a12f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1801591be
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1800a12f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str..vmt
lea rcx, [rsp + 0x60]
call fcn.1800a12f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
lea rcx, [rbp]
call fcn.1800f4630
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rsi
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp - 0x70]
call fcn.18008fd00
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1801592c9
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801592c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801592c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f74c
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18015931c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180159317
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180159317
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017f74c
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rcx, [rbp - 0x40]
call fcn.18008fd00
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180159345
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp]
call fcn.1800f5a50
lea rcx, [rbp + 8]
call fcn.1800f4c80
test rax, rax
jne 0x18015937d
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], rsi
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 8]
call fcn.1800f45c0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, rbx
call fcn.18008fd00
nop
mov rcx, rdi
call fcn.18008fd00
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18006a6a0
nop
call fcn.18006a6a0
int3