Function at 0x140007c60
Capabilities:
Decode data using base64 via winapi
Encrypt data using dpapi

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140141fc0]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp qword [rdx + 0x10], 0
mov rsi, rdx
mov rdi, rcx
jne 0x140007c96
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
jmp 0x140007dd1
mov qword [rsp + 0xc8], r15
mov rcx, rsi
xor r15d, r15d
cmp qword [rdx + 0x18], 0xf
mov dword [rbp + 0x17], r15d
jbe 0x140007cb2
mov rcx, qword [rdx]
mov qword [rsp + 0x30], r15
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 1
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xorps xmm0, xmm0
test eax, eax
jne 0x140007ce5
movups xmmword [rdi], xmm0
jmp 0x140007dc9
mov eax, dword [rbp + 0x17]
test eax, eax
je 0x140007cdd
mov qword [rsp + 0xb0], rbx
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0xc0], r14
mov edx, eax
mov r14d, eax
mov qword [rbp + 0x2f], r15
movdqu xmmword [rbp + 0x1f], xmm0
call fcn.14000e860
mov rbx, qword [rbp + 0x1f]
mov r8d, r14d
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
cmp qword [rsi + 0x18], 0xf
lea rax, [rbx + r14]
mov r14, qword [rsp + 0xc0]
mov qword [rbp + 0x27], rax
jbe 0x140007d3e
mov rsi, qword [rsi]
mov r9, qword [rbp + 0x1f]
lea rax, [rbp + 0x17]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x28], r15
mov r8d, 1
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x140007e4c
mov rsi, qword [rbp + 0x27]
mov rbx, qword [rbp + 0x1f]
mov rax, rsi
sub rax, rbx
cmp rax, 5
jae 0x140007deb
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
test rbx, rbx
je 0x140007dc1
mov rdx, qword [rbp + 0x2f]
mov rax, rbx
sub rdx, rbx
cmp rdx, 0x1000
jb 0x140007db9
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007ed4
mov rcx, rbx
call fcn.14010e470
mov rbx, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xc8]
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14010e450
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbx + 5]
cmp rbx, rdx
je 0x140007e10
sub rsi, rdx
mov rcx, rbx
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov rbx, qword [rbp + 0x1f]
mov qword [rbp + 0x27], rax
mov esi, eax
lea rax, [rbp + 7]
mov qword [rbp - 1], rbx
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 9]
sub esi, ebx
mov dword [rsp + 0x28], r15d
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov dword [rbp - 9], esi
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x140007e90
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x1f]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
test rcx, rcx
je 0x140007dc1
mov rdx, qword [rbp + 0x2f]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140007dbc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007ed4
jmp 0x140007dbc
movups xmm0, xmmword [rbp + 7]
mov rcx, qword [rbp + 0x1f]
movups xmmword [rdi], xmm0
test rcx, rcx
je 0x140007dc1
mov rdx, qword [rbp + 0x2f]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140007dbc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007dbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3