Function at 0x1400d4c90
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.14002eb00
mov rbx, qword [rsp + 0xa8]
lea rdx, [0x140122200]
mov rcx, rbx
mov dword [rsp + 0x20], 0x24
mov r9d, r13d
mov r8, r12
call fcn.14002dc40
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1400d4d62
mov rcx, rbx
call fcn.14002ccb0
mov rbp, qword [rbx + 0x30]
mov eax, dword [rbx + 0x28]
test rbp, rbp
jne 0x1400d4e23
test eax, eax
je 0x1400d4d29
cmp eax, 9
je 0x1400d4d62
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x1400d4d3b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400d4d4a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400d4d59
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 0x1400d4d85
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.1400f75c0
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 0x1400d4e6e
cmp qword [r15], 0
je 0x1400d4e6e
mov edx, dword [rsp + 0xa0]
mov r9b, 1
inc edx
mov dword [rsp + 0x20], 0x100
mov r8, r15
mov rcx, rbx
call fcn.1400d4a80
mov dword [rsp + 0xa0], eax
test eax, eax
jne 0x1400d4e69
mov rcx, rbx
call fcn.1400f75c8
xor eax, eax
jmp 0x1400d4f2b
mov rcx, qword [rbx + 0xa8]
mov rsi, qword [rbx + 8]
mov rdi, qword [rbx + 0x18]
test rcx, rcx
je 0x1400d4e3d
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400d4e4c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400d4e5b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400d4d68
mov r14, rbx
jmp 0x1400d4e7a
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.1400f75c0
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.1400f1320
mov rcx, rbx
call fcn.1400f75c8
cmp rsi, r12
je 0x1400d4f1c
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