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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x78], 0
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xb0]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.1400ffbb0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x74], 0
jne 0x140100383
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 7
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x14010036f
mov eax, dword [rsp + 0x40]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14010036d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8d, 7
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x14010034e
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x8000
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x68]
mov edx, reloc.ODBC32.dll_SQLGetData
mov ecx, 0x10001
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x140100119
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb0]
lea r8, str.CAPIPRIVATEBLOB
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x48]
call fcn.140008920
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14010034c
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x8000
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x68]
mov edx, 0x52
mov ecx, 0x10001
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x1401002c2
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 8]
lea rax, [rax + rcx + 7]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1401002b2
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x20
je 0x1401001ce
cmp dword [rsp + 0x60], 0x2a
je 0x1401001db
cmp dword [rsp + 0x60], 0x42
je 0x1401001e8
jmp 0x1401001f3
mov rax, qword [rsp + 0x58]
mov dword [rax], 0x32534345
jmp 0x1401001f3
mov rax, qword [rsp + 0x58]
mov dword [rax], 0x34534345
jmp 0x1401001f3
mov rax, qword [rsp + 0x58]
mov dword [rax], 0x36534345
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0
je 0x14010029b
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x20]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x28]
inc rcx
mov rdx, qword [rsp + 0x58]
add rdx, 8
mov qword [rsp + 0x80], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.140161160
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x20]
mov rdx, qword [rsp + 0x58]
lea rcx, [rdx + rcx + 7]
mov r8d, eax
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x10]
call fcn.140161160
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb0]
lea r8, str.ECCPRIVATEBLOB
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call fcn.140008920
mov dword [rsp + 0x50], eax
jmp 0x1401002a7
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.140013fd0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14010034c
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x8000
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x68]
mov edx, 0x2c
mov ecx, 0x10001
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x140100340
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb0]
lea r8, str.PKCS8_PRIVATEKEY
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.140008920
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14010034c
lea rcx, str.ERROR_kuhl_m_crypto_NCrypt_AutoKey___Unable_to_decode_format_n
call fcn.140013fd0
jmp 0x140100362
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.140013fd0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140100383
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.140013fd0
mov eax, dword [rsp + 0x50]
add rsp, 0x98
ret