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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13d, r8d
xor edx, edx
mov r15, r9
mov qword [rax - 0x68], 0
mov r12, rcx
lea rcx, [rax + 0x20]
lea r8d, [r13 + 0x2800]
lea r9d, [rdx + 4]
call fcn.140025c90
mov rbx, qword [rsp + 0xa8]
lea rdx, [0x14010fbc0]
mov rcx, rbx
mov dword [rsp + 0x20], 0x24
mov r9d, r13d
mov r8, r12
call fcn.140024dd0
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1400c5942
mov rcx, rbx
call fcn.140023e40
mov rbp, qword [rbx + 0x30]
mov eax, dword [rbx + 0x28]
test rbp, rbp
jne 0x1400c5a03
test eax, eax
je 0x1400c5909
cmp eax, 9
je 0x1400c5942
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x1400c591b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400c592a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400c5939
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
xor edi, edi
xor ebp, ebp
cmp rdi, r13
jb 0x1400c5965
mov rcx, rsi
mov rdi, r13
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, r12
xor r9d, r9d
lea rax, [rsp + 0xa0]
mov edx, edi
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r8d, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov ecx, dword [rsp + 0xa0]
add ecx, 0x10
call fcn.1400e5e30
mov rbx, rax
mov r8d, 1
lea rax, [rsp + 0xa0]
mov r9, rbx
mov edx, edi
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test r15, r15
je 0x1400c5a4e
cmp qword [r15], 0
je 0x1400c5a4e
mov edx, dword [rsp + 0xa0]
mov r9b, 1
inc edx
mov dword [rsp + 0x20], 0x100
mov r8, r15
mov rcx, rbx
call fcn.1400c5660
mov dword [rsp + 0xa0], eax
test eax, eax
jne 0x1400c5a49
mov rcx, rbx
call fcn.1400e89fc
xor eax, eax
jmp 0x1400c5b0b
mov rcx, qword [rbx + 0xa8]
mov rsi, qword [rbx + 8]
mov rdi, qword [rbx + 0x18]
test rcx, rcx
je 0x1400c5a1d
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400c5a2c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400c5a3b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400c5948
mov r14, rbx
jmp 0x1400c5a5a
xor eax, eax
mov r14, rsi
mov dword [rsp + 0xa0], eax
test eax, eax
mov qword [rsp + 0x30], 0x4034b50
mov edx, edi
mov dword [rsp + 0x38], edi
cmovne edx, eax
mov dword [rsp + 0x3c], r13d
mov r9d, 4
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x34]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_HashData]
mov eax, dword [rsp + 0xa0]
mov ecx, edi
test eax, eax
cmovne ecx, eax
add rcx, 0x14
call fcn.1400e5e30
mov rcx, qword [rsp + 0x98]
mov r9d, edi
movups xmm0, xmmword [rsp + 0x30]
mov rdx, r14
movups xmmword [rax], xmm0
mov qword [rcx], rax
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x10], ecx
lea rcx, [rax + 0x14]
mov r8d, dword [rsp + 0xa0]
test r8d, r8d
cmovne r9d, r8d
mov r8d, r9d
call fcn.1400e1c80
mov rcx, rbx
call fcn.1400e89fc
cmp rsi, r12
je 0x1400c5afc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0xa0]
test ecx, ecx
cmovne edi, ecx
lea eax, [rdi + 0x14]
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret