Function at 0x140012040
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdx
xor r14d, r14d
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov esi, r14d
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x50], r14d
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14001209a
mov rcx, qword [rdx]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x50]
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 0x140012176
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
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], 0
jne 0x1400120f0
xor edx, edx
mov rcx, rbp
call fcn.140005820
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14001213f
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001213a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140012289
mov rcx, r8
call fcn.1400c3b4c
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r14
mov rax, rbp
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400c3af0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov edx, dword [rsp + 0x50]
test rdx, rdx
je 0x14001218e
lea rcx, [rsp + 0x58]
call fcn.1400067b0
mov rsi, qword [rsp + 0x68]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14001219b
mov rcx, qword [rbx]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x58]
mov r9, rdi
xor edx, edx
mov r8d, 1
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140012244
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
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], 0
jne 0x1400121f2
xor edx, edx
mov rcx, rbp
call fcn.140005820
nop
test rdi, rdi
je 0x140012105
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x140012234
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012282
mov rdx, rsi
mov rcx, rdi
call fcn.1400c3b4c
jmp 0x140012105
mov r8, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, rbp
call fcn.140005370
nop
test rdi, rdi
je 0x140012105
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x140012234
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012234
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3