Function at 0x14008f2ac
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 0x14008f61d
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.1400c2660
add rbx, r15
mov r8d, r14d
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1400c2660
add rbx, r14
mov r8d, r12d
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.1400c2660
lea rcx, [r12 + rbx]
mov r8d, r13d
mov rdx, qword [rsp + 0x78]
call fcn.1400c2660
nop
xor r9d, r9d
lea r8, str.Microsoft_Primitive_Provider
lea rdx, [0x1400fd158]
lea rcx, [rsp + 0x48]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
xor r15d, r15d
test eax, eax
js 0x14008f5fa
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 0x14008f5e1
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 0x14008f5c5
mov edx, dword [rsp + 0xe8]
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14008f5d1
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 0x14008f5ae
lea r8, [rsp + 0x88]
mov rdx, rbx
lea ecx, [rdi + 0x53]
call fcn.14008457c
test eax, eax
je 0x14008f5ba
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 0x14008f562
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.1400129e0
mov edi, eax
mov dword [rsp + 0x40], eax
jmp 0x14008f56a
mov edi, r15d
mov dword [rsp + 0x40], r15d
test edi, edi
je 0x14008f592
mov rdx, qword [rsp + 0xf8]
lea rcx, [0x14010e318]
call fcn.14000b8b0
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14008f59e
lea rcx, str.ERROR_vwxeflvcdpapi_ssh_getRSAfromRAW___ERROR
call fcn.14000b8b0
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14008f5ba
lea rcx, str.ERROR_vwxeflvcdpapi_ssh_getRSAfromRAW___ERROR
call fcn.14000b8b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14008f5d1
lea rcx, str.ERROR_vwxeflvcdpapi_ssh_getRSAfromRAW___ERROR
call fcn.14000b8b0
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.bcrypt.dll_BCryptDestroyKey]
jmp 0x14008f5ed
lea rcx, str.ERROR_vwxeflvcdpapi_ssh_getRSAfromRAW___ERROR
call fcn.14000b8b0
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
jmp 0x14008f614
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