Function at 0x180001290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x180008040]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x60]
call fcn.180002330
nop
cmp qword [rbp - 0x10], 0
jne 0x18000131c
lea rdx, str.Failed_to_open_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180002880
mov rcx, rax
lea rdx, str.1.config
call fcn.180002880
mov rcx, rax
lea rdx, [0x180002a50]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edi, edi
jmp 0x180001510
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
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__::seekg_long_long___int64___int____ptr64]
xorps xmm0, xmm0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
lea r14, [rax + rcx]
movdqu xmmword [rsp + 0x30], xmm0
xor edi, edi
mov esi, edi
mov qword [rsp + 0x40], rdi
test r14, r14
je 0x1800013dd
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x18000154b
cmp r14, 0x1000
jb 0x1800013a6
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x180001545
call fcn.180002df4
test rax, rax
je 0x1800014fd
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1800013b1
mov rcx, r14
call fcn.180002df4
mov rbx, rax
mov qword [rsp + 0x30], rbx
lea rsi, [rbx + r14]
mov qword [rsp + 0x40], rsi
mov r8, r14
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
jmp 0x1800013e2
mov rbx, qword [rsp + 0x30]
lea r8, [rax + rcx]
mov rdx, rbx
lea rcx, [rsp + 0x60]
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__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x70]
call fcn.180002750
test rax, rax
jne 0x180001421
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
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 rdx, qword [rsp + 0x50]
add rdx, qword [rsp + 0x48]
test edx, edx
je 0x1800014cd
cmp edx, 0x40
jb 0x1800014ad
mov r8d, edx
and r8d, 0xffffffc0
movdqa xmm2, xmmword [0x180004580]
mov r9d, 0x20
nop dword [rax]
mov eax, edi
movdqu xmm0, xmmword [rax + rbx]
xorps xmm0, xmm2
movdqu xmmword [rax + rbx], xmm0
lea eax, [r9 - 0x10]
movdqu xmm0, xmmword [rax + rbx]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax + rbx], xmm1
mov eax, r9d
movdqu xmm0, xmmword [rax + rbx]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax + rbx], xmm1
lea eax, [r9 + 0x10]
movdqu xmm0, xmmword [rax + rbx]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax + rbx], xmm1
add edi, 0x40
add r9d, 0x40
cmp edi, r8d
jb 0x180001450
cmp edi, edx
jae 0x1800014cd
mov ecx, edi
add rcx, rbx
sub edx, edi
mov eax, edx
nop word [rax + rax]
xor byte [rcx], 0x7f
lea rcx, [rcx + 1]
sub rax, 1
jne 0x1800014c0
call rbx
mov edi, 1
test rbx, rbx
je 0x180001510
sub rsi, rbx
mov rax, rbx
cmp rsi, 0x1000
jb 0x180001504
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001504
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, rbx
call fcn.180002dc0
nop
lea rcx, [rsp + 0x60]
call fcn.180001560
mov eax, edi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180002da0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180001110
nop
call fcn.180002d20
int3