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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov edi, ecx
mov dword [esp + 0x34], edx
lea eax, [esi + 0x2800]
mov dword [esp + 0x30], edi
push 0
push eax
xor edx, edx
lea ecx, [esp + 0x30]
call fcn.00427be0
push 0x24
push 0
push esi
mov esi, dword [esp + 0x3c]
mov edx, 0x4d07c0
push edi
mov ecx, esi
call fcn.00426f50
add esp, 0x20
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x4b3d14
xor eax, eax
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
xor esi, esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
jmp 0x4b3dd6
mov ecx, esi
call fcn.00425ec0
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4b3d87
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
test ecx, ecx
je 0x4b3d43
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
cmp ecx, 9
je 0x4b3d7f
mov eax, dword [esi + 0x80]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x4b3d56
push eax
call edi
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4b3d60
push eax
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4b3d6a
push eax
call edi
push esi
call edi
mov edi, dword [esp + 0x20]
xor eax, eax
xor esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jmp 0x4b3dd6
mov edi, dword [esp + 0x20]
mov esi, eax
jmp 0x4b3dd6
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x80]
mov edi, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalFree]
test ecx, ecx
je 0x4b3daf
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4b3db9
push ecx
call eax
mov eax, dword [esi + 8]
test eax, eax
je 0x4b3dc7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x24], 0
jb 0x4b3e06
mov ecx, dword [ebp + 8]
ja 0x4b3de6
cmp edi, ecx
jb 0x4b3e06
push eax
mov edi, ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea ecx, [esp + 0x14]
push ecx
push 0
push 1
push edi
push eax
call esi
mov eax, dword [esp + 0x14]
add eax, 0x10
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x14]
push ecx
push eax
push 1
push edi
push dword [esp + 0x20]
call esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4b3e88
cmp dword [eax], 0
je 0x4b3e88
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov ecx, esi
push 0x100
push 1
push eax
lea edx, [edx + 1]
call fcn.004b3ab0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4b3e80
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x1c], esi
mov edx, eax
jmp 0x4b3e9c
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor edx, edx
mov ecx, dword [ebp + 8]
test edx, edx
push 4
mov dword [esp + 0x44], eax
cmove edx, edi
lea eax, [esp + 0x38]
mov dword [esp + 0x34], 0x4034b50
push eax
push edx
push dword [esp + 0x28]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ecx
call dword [sym.imp.SHLWAPI.dll_HashData]
mov eax, dword [esp + 0x14]
mov ecx, edi
test eax, eax
cmovne ecx, eax
lea eax, [ecx + 0x14]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x30]
add esp, 4
movups xmm0, xmmword [esp + 0x30]
mov edx, edi
movups xmmword [eax], xmm0
mov dword [ecx], eax
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
cmovne edx, ecx
add eax, 0x14
push edx
push dword [esp + 0x20]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, dword [esp + 0x28]
je 0x4b3f40
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
cmovne edi, eax
lea eax, [edi + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret