Function at 0x180006060
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp + 0x60], 0xfffffffffffffffe
lea rcx, [rsp + 0x50]
call fcn.18000db90
nop
mov byte [rbp + 0x80], 0
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
xor r8d, r8d
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.18000f150
nop
xor edx, edx
mov cl, 0x63
call fcn.180002fa0
mov byte [rsp + 0x20], al
mov edx, 1
mov cl, 0x6f
call fcn.180002fa0
mov byte [rsp + 0x21], al
mov edx, 2
mov cl, 0x6e
call fcn.180002fa0
mov byte [rsp + 0x22], al
mov edx, 3
mov cl, 0x66
call fcn.180002fa0
mov byte [rsp + 0x23], al
mov edx, 4
mov cl, 0x69
call fcn.180002fa0
mov byte [rsp + 0x24], al
mov edx, 5
mov cl, 0x67
call fcn.180002fa0
mov byte [rsp + 0x25], al
mov edx, 6
mov cl, 0x2e
call fcn.180002fa0
mov byte [rsp + 0x26], al
mov edx, 7
mov cl, 0x69
call fcn.180002fa0
mov byte [rsp + 0x27], al
mov edx, 8
mov cl, 0x6e
call fcn.180002fa0
mov byte [rsp + 0x28], al
mov edx, 9
mov cl, 0x69
call fcn.180002fa0
mov byte [rsp + 0x29], al
xor eax, eax
mov byte [rsp + 0x2a], al
xor edx, edx
nop dword [rax]
lea ecx, [rax + 0x13]
xor byte [rsp + rdx + 0x20], cl
inc eax
movsxd rdx, eax
cmp rdx, 0xa
jb 0x180006160
mov byte [rsp + 0x2a], 0
lea r8, [0x1800263f0]
mov edx, 0x200
lea rcx, [0x180026ab0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rsp + 0x20]
mov edx, 0x200
lea rcx, [0x180026ab0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8d, 1
lea rdx, [0x180026ab0]
lea rcx, [rsp + 0x60]
call fcn.18000f6c0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
jne 0x1800061e3
add rcx, rax
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]
jmp 0x1800061ee
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x18002639f]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x1800263cd]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x1800263cc]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x1800263dc]
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__::operator___int____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x1800263e0]
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__::operator___int____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180024034]
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__::operator___int____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x1800263d4]
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__::operator___int____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x1800263c8]
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__::operator___int____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x18002639b]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x18002639d]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180026397]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180026391]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180026394]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180026398]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180026392]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x18002639a]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180026395]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x18002639e]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x1800263a1]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180026390]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x18002639c]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180026393]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180026399]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x180026396]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x1800263a0]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x1800263ce]
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__::operator___bool____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010c10
mov rcx, rax
lea rdx, [0x1800263cf]
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__::operator___bool____ptr64____ptr64]
lea rcx, [rsp + 0x60]
call fcn.18000f640
test rax, rax
jne 0x1800065ac
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 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 rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x180006608
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x180006603
test cl, 0x1f
je 0x1800065d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800065e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800065f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x180006600
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.180015d28
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.18000e810
lea rcx, [rsp + 0x68]
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]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
add rsp, 0x170
pop rbp
ret