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 [0x1400e8040]
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
mov r8d, 1
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140002550
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.140005150
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140002549
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x140002544
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026f4
mov rcx, r8
call fcn.1400c3b4c
xor eax, eax
jmp 0x1400026c0
mov edx, dword [rsp + 0x58]
test rdx, rdx
je 0x140002568
lea rcx, [rsp + 0x60]
call fcn.1400067b0
mov rsi, qword [rsp + 0x70]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140002575
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
mov r8d, 1
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1400025f8
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.140005150
nop
test rdi, rdi
je 0x14000250f
sub rsi, rdi
cmp rsi, 0x1000
mov rax, rdi
jb 0x1400025e8
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002674
mov rdx, rsi
mov rcx, rdi
call fcn.1400c3b4c
jmp 0x14000250f
mov ecx, 0x10
call fcn.1400c3b10
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 0x14000264b
lea rdx, str.CryptUnprotectData__1__:_Failed_to_convert_BASE64_private_key.__n
jmp 0x1400025aa
test rdi, rdi
je 0x140002687
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x14000267b
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000267b
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.1400c3b4c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400026bd
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400026b8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026f4
mov rcx, r8
call fcn.1400c3b4c
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.1400c3af0
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