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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13, rdx
mov qword [rsp + 0x20], 0
xor edx, edx
mov r15, r9
mov r14d, r8d
mov r12, rcx
add r8d, 0x2800
lea rcx, [rsp + 0xa8]
lea r9d, [rdx + 4]
call fcn.14001ccc0
mov rbx, qword [rsp + 0xa8]
lea rdx, [0x1400f97f0]
mov rcx, rbx
mov dword [rsp + 0x20], 0x24
mov r9d, r14d
mov r8, r12
call fcn.14001c370
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1400aa091
mov eax, 9
jmp 0x1400aa0af
mov rcx, rbx
call fcn.14001b820
mov rbp, qword [rbx + 0x28]
mov eax, dword [rbx + 0x20]
test rbp, rbp
jne 0x1400aa0f5
test eax, eax
mov ecx, 0xa
cmove eax, ecx
xor esi, esi
xor edi, edi
xor ebp, ebp
cmp eax, 9
je 0x1400aa104
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x1400aa0cc
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400aa0db
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400aa0ea
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400aa104
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x18]
call fcn.14001cbc0
cmp edi, r14d
jb 0x1400aa121
mov rcx, rsi
mov edi, r14d
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 edx, dword [rsp + 0xa0]
xor ecx, ecx
add edx, 0x10
mov r8d, 0x1000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, 1
mov edx, edi
mov rbx, rax
mov rcx, rsi
lea rax, [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test r15, r15
je 0x1400aa1d2
cmp qword [r15], 0
je 0x1400aa1d2
mov edx, dword [rsp + 0xa0]
mov r9b, 1
inc edx
mov dword [rsp + 0x20], 0x100
mov r8, r15
mov rcx, rbx
call fcn.1400a9d40
mov dword [rsp + 0xa0], eax
test eax, eax
jne 0x1400aa1cd
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400aa299
mov r15, rbx
jmp 0x1400aa1de
xor eax, eax
mov r15, 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], r14d
mov r9d, 4
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x34]
mov rcx, r15
call qword [sym.imp.SHLWAPI.dll_HashData]
mov eax, dword [rsp + 0xa0]
mov edx, edi
test eax, eax
mov r8d, 0x1000
cmovne edx, eax
xor ecx, ecx
add rdx, 0x14
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movups xmm0, xmmword [rsp + 0x30]
mov r8d, edi
mov qword [r13], rax
mov rdx, r15
movups xmmword [rax], xmm0
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0xa0]
test ecx, ecx
cmovne r8d, ecx
lea rcx, [rax + 0x14]
call fcn.1400c64d0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp rsi, r12
je 0x1400aa28a
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