Function at 0x14009ee40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1401150f0]
xor rax, rsp
mov qword [rbp + 0x58], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov dword [rbp + 0x48], 0x5767007a
mov dword [rbp + 0x4c], 0x34114758
mov dword [rbp + 0x50], 0x1003639
mov eax, ebx
nop word [rax + rax]
lea ecx, [rax + 0x39]
xor byte [rbp + rax + 0x48], cl
inc rax
cmp rax, 0xa
jb 0x14009ee90
mov byte [rbp + 0x53], bl
lea rax, [0x1401081b0]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
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 + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rsi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x2c], edx
lea rax, [rsp + 0x40]
mov qword [rbp + 0x40], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rdi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x40], rdi
mov byte [rbp - 0x44], 0
mov byte [rbp - 0x4f], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x40], rbx
mov rax, qword [0x140116e50]
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x58], rbx
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1400a5db0
test rax, rax
jne 0x14009ef84
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
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
cmp qword [rbp - 0x40], 0
je 0x14009efc6
lea rcx, [rsp + 0x30]
call fcn.1400a7430
lea rcx, [rsp + 0x40]
call fcn.1400a5d00
test rax, rax
jne 0x14009efc2
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
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]
mov bl, 1
jmp 0x14009efc8
xor bl, bl
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], rsi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x2c], edx
mov qword [rsp + 0x40], rdi
cmp qword [rbp - 0x40], 0
je 0x14009f01e
mov rax, qword [rsp + 0x58]
lea rcx, [rbp - 0x50]
cmp qword [rax], rcx
jne 0x14009f01e
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
mov qword [rax], rcx
mov rax, qword [rsp + 0x78]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x70]
mov dword [rax], edx
cmp byte [rbp - 0x44], 0
je 0x14009f02e
lea rcx, [rsp + 0x40]
call fcn.1400a5d00
lea rcx, [rsp + 0x40]
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, [rsp + 0x48]
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 - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1400f3620
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret