Function at 0x1400495e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x50]
call main
lea rbx, [0x140069670]
cmp qword [0x140069688], 0x10
cmovae rbx, qword [0x140069670]
lea rax, [0x14005b810]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r12d, 1
mov dword [rsp + 0x40], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
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 [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rdi
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x40], rax
mov byte [rbp + 0x3c], r13b
mov byte [rbp + 0x31], r13b
lea rcx, [rbp - 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], r13
mov rax, qword [0x140069690]
mov qword [rbp + 0x34], rax
mov qword [rbp + 0x28], r13
mov r8d, r12d
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400502c0
test rax, rax
jne 0x140049719
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r13 + 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 - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], rdi
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
cmp qword [rbp + 0x40], 0
je 0x140049a7f
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
mov dl, 0xa
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.140051c10
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140049a13
lea rdi, [rsp + 0x48]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 0x10
cmovae rdi, r14
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x1400497d4
mov r8, rsi
mov edx, 0x3d
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400497d4
sub rbx, rdi
jmp 0x1400497db
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14004975b
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov r8, rbx
cmp rsi, rbx
cmovb r8, rsi
lea rdx, [rsp + 0x48]
cmp r15, 0x10
cmovae rdx, r14
lea rcx, [rbp - 0x78]
call fcn.1400506b0
or r12d, 2
inc rbx
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov rax, qword [rsp + 0x58]
cmp rax, rbx
jb 0x140049ab8
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
add rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1400506b0
or r12d, 4
mov dword [rsp + 0x20], 0xc7d1c0e7
mov dword [rsp + 0x24], 0xdcd5d6d8
mov word [rsp + 0x28], 0x100
mov rax, r13
nop dword [rax]
lea ecx, [rax - 0x4e]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 8
jb 0x140049890
mov byte [rsp + 0x29], 0
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400498b1
lea rcx, [rbp - 0x78]
mov rbx, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x60]
cmp rsi, 0x10
cmovae rcx, rbx
mov rdi, qword [rbp - 0x68]
cmp rdi, rax
jne 0x1400498f1
mov r8, rdi
lea rdx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400498f1
lea rcx, [0x1400695e0]
jmp 0x140049963
mov dword [rsp + 0x30], 0xc6c7d2e2
mov dword [rsp + 0x34], 0xddcad8c1
mov word [rsp + 0x38], 0x100
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x140049910
mov byte [rsp + 0x39], 0
lea rcx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140049931
lea rcx, [rbp - 0x78]
cmp rsi, 0x10
cmovae rcx, rbx
cmp rdi, rax
jne 0x14004997f
mov r8, rdi
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14004997f
lea rcx, [0x1400695c0]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
mov r8d, 0x14
cmovae rdx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400499b7
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400499b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049a05
call fcn.140052b18
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
cmp rsi, 0x10
jb 0x14004975b
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400499f8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049a0c
mov rcx, rbx
call fcn.140052b18
jmp 0x14004975b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, [rbp - 0x40]
call fcn.140050210
test rax, rax
jne 0x140049a3e
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
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 rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140049a7f
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049a79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049a79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
nop
lea rcx, [rbp - 0x50]
call fcn.140049ac0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140052570
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400508a0
nop
int3