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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor r13d, r13d
lea rax, [rbp - 0x18]
mov dword [rbp - 0x20], r13d
mov r15, r9
mov dword [rbp - 0x14], r13d
mov r12, r8
mov qword [rsp + 0x20], rax
mov ebx, edx
mov r14, rcx
call fcn.1400df3c0
mov edi, eax
cmp dword [rbp - 0x18], r13d
jne 0x1400df951
lea rax, [rbp - 0x14]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea r8d, [r13 + 7]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], r13
mov edx, ebx
mov qword [rsp + 0x20], rax
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x1400df96b
mov edx, dword [rbp - 0x20]
lea ecx, [r13 + 0x40]
mov qword [rsp + 0x90], rsi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400df947
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], r13
lea r8d, [r13 + 7]
mov r9, rsi
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x1400df92a
mov r9d, dword [rbp - 0x20]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x38], rax
lea edx, [r13 + 0x2b]
lea rax, [rbp - 0x10]
mov r8, rsi
mov qword [rsp + 0x30], rax
mov ecx, 0x10001
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x8000
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x1400df7a5
mov edx, dword [rbp - 0x1c]
lea r8, str.CAPIPRIVATEBLOB
mov rcx, qword [rbp - 0x10]
jmp 0x1400df901
mov r9d, dword [rbp - 0x20]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x38], rax
mov r8, rsi
lea rax, [rbp - 0x10]
mov edx, 0x52
mov qword [rsp + 0x30], rax
mov ecx, 0x10001
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x8000
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x1400df8ba
mov rax, qword [rbp - 0x10]
mov ecx, 0x40
mov edx, dword [rax + 0x20]
mov r14d, dword [rax + 8]
add edx, 7
add r14d, edx
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400df8ab
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx + 8]
mov dword [rbx + 4], eax
cmp eax, 0x20
je 0x1400df84a
cmp eax, 0x2a
je 0x1400df842
cmp eax, 0x42
jne 0x1400df82f
mov dword [rbx], 0x36534345
jmp 0x1400df850
cmp dword [rbx], r13d
jne 0x1400df850
lea rcx, str.ERROR_kuhl_m_crypto_NCrypt_AutoKey___Not_a_PEM_with_256__384_or_521_bits_curve__try_generic_PRIVATE_KEY_or_PKCS8__n
call fcn.14000afb0
jmp 0x1400df8a2
mov dword [rbx], 0x34534345
jmp 0x1400df850
mov dword [rbx], 0x32534345
mov rdx, qword [rbp - 0x10]
lea rcx, [rbx + 8]
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 0x28]
dec r8d
inc rdx
call fcn.14011b4a0
mov rdx, qword [rbp - 0x10]
mov ecx, dword [rdx + 0x20]
mov r8d, dword [rdx + 8]
add rcx, 7
mov rdx, qword [rdx + 0x10]
add rcx, rbx
call fcn.14011b4a0
mov r9, r12
mov qword [rsp + 0x20], r15
lea r8, str.ECCPRIVATEBLOB
mov edx, r14d
mov rcx, rbx
call fcn.140004bf0
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400df93e
mov r9d, dword [rbp - 0x20]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x38], rax
mov r8, rsi
lea rax, [rbp - 0x10]
mov edx, 0x2c
mov qword [rsp + 0x30], rax
mov ecx, 0x10001
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x8000
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x1400df91c
mov edx, dword [rbp - 0x20]
lea r8, str.PKCS8_PRIVATEKEY
mov rcx, rsi
mov r9, r12
mov qword [rsp + 0x20], r15
call fcn.140004bf0
mov rcx, qword [rbp - 0x10]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400df93e
lea rcx, str.ERROR_kuhl_m_crypto_NCrypt_AutoKey___Unable_to_decode_format_n
call fcn.14000afb0
jmp 0x1400df93e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_crypto_NCrypt_AutoKey___CryptStringToBinaryA_data___0x_08x__n
call fcn.14000afb0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rsp + 0x90]
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_crypto_NCrypt_AutoKey___CryptStringToBinaryA_init___0x_08x__n
call fcn.14000afb0
mov eax, edi
jmp 0x1400df951