Function at 0x14008f624
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
xor edi, edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x50], 0x32415352
mov dword [rsp + 0x54], 0x400
mov edx, dword [rcx]
bswap edx
mov edx, edx
add rdx, rcx
mov r9d, dword [rdx + 4]
bswap r9d
mov dword [r11 - 0x7c], r9d
add rdx, 8
mov qword [r11 - 0x70], rdx
mov r14d, r9d
add rdx, r14
mov r8d, dword [rdx]
bswap r8d
mov dword [r11 - 0x80], r8d
add rdx, 4
mov qword [r11 + 8], rdx
mov r15d, r8d
add rdx, r15
mov ecx, dword [rdx]
bswap ecx
mov ecx, ecx
add rcx, 4
add rcx, rdx
mov edx, dword [rcx]
bswap edx
mov edx, edx
add rdx, rcx
mov eax, dword [rdx + 4]
bswap eax
mov dword [rsp + 0x60], eax
add rdx, 8
mov qword [r11 - 0x68], rdx
mov r12d, eax
mov r13d, dword [rdx + r12]
bswap r13d
mov dword [r11 - 0x74], r13d
lea rcx, [rdx + 4]
add rcx, r12
mov qword [r11 - 0x60], rcx
lea ecx, [r8 + rax]
add r9d, 0x18
add ecx, r9d
add ecx, r13d
mov dword [r11 + 0x10], ecx
mov edx, ecx
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14008f98d
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax], xmm0
movsd xmm1, qword [rsp + 0x60]
movsd qword [rax + 0x10], xmm1
lea rbx, [rax + 0x18]
mov r8d, r15d
mov rdx, qword [rsp + 0xe0]
mov rcx, rbx
call fcn.1400c2830
add rbx, r15
mov r8d, r14d
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1400c2830
add rbx, r14
mov r8d, r12d
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.1400c2830
lea rcx, [r12 + rbx]
mov r8d, r13d
mov rdx, qword [rsp + 0x78]
call fcn.1400c2830
nop
xor r9d, r9d
lea r8, str.Microsoft_Primitive_Provider
lea rdx, [0x1400fe118]
lea rcx, [rsp + 0x48]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
xor r15d, r15d
test eax, eax
js 0x14008f96a
mov dword [rsp + 0x30], r15d
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0xf0]
lea r8, str.RSAPRIVATEBLOB
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.bcrypt.dll_BCryptImportKeyPair]
test eax, eax
js 0x14008f94f
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, str.RSAFULLPRIVATEBLOB
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.bcrypt.dll_BCryptExportKey]
test eax, eax
js 0x14008f931
mov edx, dword [rsp + 0xe8]
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14008f93f
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, str.RSAFULLPRIVATEBLOB
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.bcrypt.dll_BCryptExportKey]
test eax, eax
js 0x14008f918
lea r8, [rsp + 0x88]
mov rdx, rbx
lea ecx, [rdi + 0x53]
call fcn.140084958
test eax, eax
je 0x14008f926
mov edi, dword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
mov dword [rsp + 0xe0], r15d
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x80000001
mov edx, edi
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x14008f8da
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xf8]
mov r8d, edi
mov rdx, r14
lea rcx, str.RSA_PRIVATE_KEY
call fcn.140012e28
mov edi, eax
mov dword [rsp + 0x40], eax
jmp 0x14008f8e2
mov edi, r15d
mov dword [rsp + 0x40], r15d
test edi, edi
je 0x14008f908
mov rdx, qword [rsp + 0xf8]
lea rcx, [0x140115618]
call fcn.14000b8cc
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14008f926
mov edx, eax
lea rcx, str.ERROR_quhl_m_dpapi_ssh_getRSAfromRAW___BCryptExportKey_data_:_0x_08x_n
call fcn.14000b8cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14008f93f
mov edx, eax
lea rcx, str.ERROR_quhl_m_dpapi_ssh_getRSAfromRAW___BCryptExportKey_init_:_0x_08x_n
call fcn.14000b8cc
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.bcrypt.dll_BCryptDestroyKey]
jmp 0x14008f95d
mov edx, eax
lea rcx, str.ERROR_quhl_m_dpapi_ssh_getRSAfromRAW___BCryptImportKeyPair:_0x_08x_n
call fcn.14000b8cc
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
jmp 0x14008f984
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret