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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400e5040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov qword [rsp + 0x50], rdx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
xor r14d, r14d
mov esi, r14d
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x58], r14d
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400024d2
mov rcx, qword [rdx]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14000254e
lea rdx, str.CryptStringToBinaryA__1__:_Failed_to_convert_BASE64_private_key.__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005170
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140002547
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x140002542
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026f0
mov rcx, r8
call fcn.1400c28dc
xor eax, eax
jmp 0x1400026bc
mov edx, dword [rsp + 0x58]
test rdx, rdx
je 0x140002566
lea rcx, [rsp + 0x60]
call fcn.1400067b0
mov rsi, qword [rsp + 0x70]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140002573
mov rcx, qword [rbx]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x60]
mov r9, rdi
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1400025f4
lea rdx, str.CryptStringToBinaryA__2__:_Failed_to_convert_BASE64_private_key.__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005170
nop
test rdi, rdi
je 0x14000250d
sub rsi, rdi
cmp rsi, 0x1000
mov rax, rdi
jb 0x1400025e4
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002670
mov rdx, rsi
mov rcx, rdi
call fcn.1400c28dc
jmp 0x14000250d
mov ecx, 0x10
call fcn.1400c28a0
mov rbp, rax
lea rcx, [rdi + 5]
mov qword [rsp + 0x48], rcx
mov ecx, dword [rsp + 0x58]
add ecx, 0xfffffffb
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x140002647
lea rdx, str.CryptUnprotectData__1__:_Failed_to_convert_BASE64_private_key.__n
jmp 0x1400025a6
test rdi, rdi
je 0x140002683
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x140002677
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002677
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, rdi
call fcn.1400c28dc
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400026b9
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400026b4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026f0
mov rcx, r8
call fcn.1400c28dc
mov rax, rbp
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r14
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c2880
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3