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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and dword [rbp - 0x20], 0
lea rax, [rbp - 0x18]
and dword [rbp - 0x14], 0
mov r15, r9
mov qword [r11 - 0x58], rax
mov r12, r8
mov ebx, edx
mov r14, rcx
call fcn.18009875c
cmp dword [rbp - 0x18], 0
mov esi, eax
jne 0x180098c6c
xor r9d, r9d
lea rax, [rbp - 0x14]
mov qword [rsp + 0x30], rax
mov edx, ebx
and qword [rsp + 0x28], 0
lea rax, [rbp - 0x20]
mov rcx, r14
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 7]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x180098c58
mov edx, dword [rbp - 0x20]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x180098c6c
and qword [rsp + 0x30], 0
lea rax, [rbp - 0x20]
and qword [rsp + 0x28], 0
mov r9, rdi
mov r8d, 7
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x180098c39
mov r9d, dword [rbp - 0x20]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x38], rax
mov r14d, 0x10001
lea rax, [rbp - 0x10]
mov ebx, 0x8000
mov qword [rsp + 0x30], rax
mov r8, rdi
and qword [rsp + 0x28], 0
mov edx, reloc.ODBC32.dll_SQLGetData
mov ecx, r14d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x180098acb
mov edx, dword [rbp - 0x1c]
lea r8, str.CAPIPRIVATEBLOB
mov rcx, qword [rbp - 0x10]
jmp 0x180098c10
mov r9d, dword [rbp - 0x20]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x38], rax
mov r8, rdi
lea rax, [rbp - 0x10]
mov edx, 0x52
mov qword [rsp + 0x30], rax
mov ecx, r14d
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x180098bce
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 0x180098c1f
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx + 8]
mov dword [rbx + 4], eax
cmp eax, 0x20
je 0x180098b58
cmp eax, 0x2a
je 0x180098b50
cmp eax, 0x42
jne 0x180098b5e
mov dword [rbx], 0x36534345
jmp 0x180098b63
mov dword [rbx], 0x34534345
jmp 0x180098b63
mov dword [rbx], 0x32534345
cmp dword [rbx], 0
je 0x180098bb7
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.1800c4b10
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.1800c4b10
mov r9, r12
mov qword [rsp + 0x20], r15
lea r8, str.ECCPRIVATEBLOB
mov edx, r14d
mov rcx, rbx
call fcn.180005384
mov esi, eax
jmp 0x180098bc3
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.18000bdb4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x180098c1f
mov r9d, dword [rbp - 0x20]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x38], rax
mov r8, rdi
lea rax, [rbp - 0x10]
mov edx, 0x2c
mov qword [rsp + 0x30], rax
mov ecx, r14d
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x180098c2b
mov edx, dword [rbp - 0x20]
lea r8, str.PKCS8_PRIVATEKEY
mov rcx, rdi
mov r9, r12
mov qword [rsp + 0x20], r15
call fcn.180005384
mov esi, eax
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x180098c4d
lea rcx, str.ERROR_kuhl_m_crypto_NCrypt_AutoKey___Unable_to_decode_format_n
call fcn.18000bdb4
jmp 0x180098c4d
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.18000bdb4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x180098c6c
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.18000bdb4
lea r11, [rsp + 0x60]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret