Function at 0x14008fb00
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 - 0x48], 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 - 0x70], 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 - 0x50], rcx
add eax, r13d
add eax, r8d
lea ecx, [r9 + 0x18]
add ecx, eax
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 + 0x70], rax
test rax, rax
je 0x14008fe77
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.1400c3ee0
add rbx, r15
mov r8d, r14d
mov rdx, qword [rsp + 0x90]
mov rcx, rbx
call fcn.1400c3ee0
add rbx, r14
mov r8d, r12d
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1400c3ee0
lea rcx, [r12 + rbx]
mov r8d, r13d
mov rdx, qword [rsp + 0x88]
call fcn.1400c3ee0
nop
xor r9d, r9d
lea r8, str.Microsoft_Primitive_Provider
lea rdx, [0x1400f3b18]
lea rcx, [rsp + 0x48]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
xor r15d, r15d
test eax, eax
js 0x14008fe57
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 0x14008fe3c
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 0x14008fe1e
mov edx, dword [rsp + 0xe8]
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14008fe2c
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 0x14008fe05
lea r8, [rsp + 0x78]
mov rdx, rbx
lea ecx, [rdi + 0x53]
call fcn.140084abc
test eax, eax
je 0x14008fe13
mov edi, dword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
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 0x14008fdb1
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.1400133e4
mov edi, eax
mov dword [rsp + 0x40], eax
jmp 0x14008fdb9
mov edi, r15d
mov dword [rsp + 0x40], r15d
test edi, edi
je 0x14008fde1
mov rdx, qword [rsp + 0xf8]
lea rcx, [0x14010fcf8]
call fcn.14000bce4
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14008fdf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_dpapi_ssh_getRSAfromRAW___kull_m_string_EncodeB64_headers__0x_08x__n
call fcn.14000bce4
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14008fe13
mov edx, eax
lea rcx, str.ERROR_kuhl_m_dpapi_ssh_getRSAfromRAW___BCryptExportKey_data_:_0x_08x_n
call fcn.14000bce4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14008fe2c
mov edx, eax
lea rcx, str.ERROR_kuhl_m_dpapi_ssh_getRSAfromRAW___BCryptExportKey_init_:_0x_08x_n
call fcn.14000bce4
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.bcrypt.dll_BCryptDestroyKey]
jmp 0x14008fe4a
mov edx, eax
lea rcx, str.ERROR_kuhl_m_dpapi_ssh_getRSAfromRAW___BCryptImportKeyPair:_0x_08x_n
call fcn.14000bce4
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
jmp 0x14008fe6e
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