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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140017048]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rcx
mov qword [rbp + 0xa0], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
lea rdx, [0x1400118dc]
call fcn.14000aff0
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], r12
mov rax, qword [rdi + 0x10]
cmp rax, rcx
jb 0x140005a75
sub rax, rcx
mov rbx, 0xffffffffffffffff
mov r8, rbx
cmp rax, rbx
cmovb r8, rax
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400052f0
mov rax, qword [rdi]
lea rdx, [rax + rcx]
lea rcx, [rbp + 0xb0]
call fcn.14000cd80
nop
lea rsi, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rsi, qword [rbp + 0xb0]
mov r15, qword [rbp + 0xc0]
cmp r15, 1
jb 0x140005372
lea r14, [r15 + rsi]
mov r8, r15
mov edx, 0x2e
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140005372
nop
cmp byte [rax], 0x2e
jne 0x14000534a
mov ecx, r12d
jmp 0x14000534f
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140005521
inc rax
mov r8, r14
sub r8, rax
mov edx, 0x2e
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140005340
mov rax, rbx
mov qword [rsp + 0x20], r12
mov r8, r15
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.14000c100
lea rdx, [0x14001187c]
mov rcx, rdi
call fcn.14000aff0
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
mov rax, qword [rdi + 0x10]
cmp rax, rcx
jb 0x140005a7b
sub rax, rcx
cmp rax, 0xffffffffffffffff
cmovb rbx, rax
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400053dc
mov rax, qword [rdi]
lea rdx, [rax + rcx]
mov r8, rbx
lea rcx, [rbp + 0xd0]
call fcn.14000cd80
nop
mov rcx, qword [0x1400170a8]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x140005a6f
lea r9, [0x140017098]
cmp qword [0x1400170b0], 0x10
cmovae r9, qword [0x140017098]
mov qword [rsp + 0x30], 1
lea rax, [0x140011ad8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x68]
call fcn.14000dd30
nop
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
lea rcx, [rsp + 0x68]
call fcn.14000b180
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [0x1400170d0]
cmp rdx, 0x10
jb 0x1400054d9
mov rcx, qword [0x1400170b8]
inc rdx
cmp rdx, 0x1000
jb 0x1400054ca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005529
mov rcx, r8
call fcn.14000eda0
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [0x1400170b8], xmm0
movups xmmword [0x1400170c8], xmm1
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140005535
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005530
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005530
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rax, rsi
jmp 0x140005375
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000eda0
lea rdx, [rbp + 0xd0]
mov rsi, qword [rbp + 0xd0]
mov r14, qword [rbp + 0xe8]
cmp r14, 0x10
cmovae rdx, rsi
movabs r9, 0xcbf29ce484222325
mov rcx, r12
mov r8, qword [rbp + 0xe0]
test r8, r8
je 0x140005593
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140005580
lea r8, [rbp + 0xd0]
lea rdx, [rsp + 0x58]
call fcn.14000e7e0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400055b9
cmp rcx, qword [0x140017e58]
je 0x1400055b9
call qword [rcx + 0x30]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400055da
mov rdx, qword [rdi]
mov r8d, 0x20
lea rcx, [rbp + 0xf0]
call fcn.140009820
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xf0], rax
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xec], edx
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rbx, [0x1400170b8]
cmp qword [0x1400170d0], 0x10
cmovae rbx, qword [0x1400170b8]
lea rax, [0x140011c40]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 0x1f
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], r15
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r13, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x68], r13
mov byte [rbp + 0x14], 0
mov byte [rbp + 9], 0
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x18], r12
mov rax, qword [0x140017ea0]
mov qword [rbp + 0xc], rax
mov qword [rbp], r12
mov r8d, 0x22
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.14000bfc0
test rax, rax
jne 0x14000570d
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
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 - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r15
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x1400057d4
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_char____ptr64____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x1400057aa
movzx edx, byte [rbp + 0xa8]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::put_char____ptr64]
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_char____ptr64____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x140005771
lea rcx, [rbp - 0x68]
call fcn.14000bf00
test rax, rax
jne 0x1400057d4
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
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]
lea rcx, [rbp + 0x100]
call fcn.14000bf00
test rax, rax
jne 0x140005807
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xf0]
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]
lea rdx, [0x1400170b8]
lea rcx, [rsp + 0x68]
call fcn.14000b290
mov rcx, rax
call fcn.140004d40
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r15
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
mov qword [rbp - 0x68], r13
cmp qword [rbp + 0x18], 0
je 0x140005872
mov rax, qword [rbp - 0x50]
lea rcx, [rbp + 8]
cmp qword [rax], rcx
jne 0x140005872
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
mov qword [rax], rcx
mov rax, qword [rbp - 0x30]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x18]
mov dword [rax], edx
cmp byte [rbp + 0x14], 0
je 0x140005881
lea rcx, [rbp - 0x68]
call fcn.14000bf00
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x60]
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 + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xf0], rax
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xec], edx
mov qword [rbp + 0x100], r13
cmp qword [rbp + 0x180], 0
je 0x14000591d
mov rax, qword [rbp + 0x118]
lea rcx, [rbp + 0x170]
cmp qword [rax], rcx
jne 0x14000591d
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x188]
mov qword [rax], rcx
mov rax, qword [rbp + 0x138]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x150]
mov dword [rax], edx
cmp byte [rbp + 0x17c], 0
je 0x140005932
lea rcx, [rbp + 0x100]
call fcn.14000bf00
lea rcx, [rbp + 0x100]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp r14, 0x10
jb 0x140005996
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000598d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000598d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14000eda0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400059da
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000eda0
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140005a29
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140005a24
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005a68
mov rcx, r8
call fcn.14000eda0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14000ed80
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400016f0
nop
call fcn.14000c400
nop
call fcn.14000c400
int3