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

Disassembly:
sub esp, 0x38
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
push ebx
mov ebx, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x48]
push edi
push 0
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x2800]
push 0
push eax
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x3c], esi
push eax
call fcn.0044c300
push 0
push ebx
push esi
push dword [esp + 0x2c]
call fcn.0044c1d0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x2c]
call fcn.0044c350
cmp dword [esp + 0x1c], 0
jb 0x4e28e9
ja 0x4e28c5
cmp dword [esp + 0x18], ebx
jb 0x4e28e9
push dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], esi
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea eax, [esp + 0x10]
push eax
push 0
push 1
push dword [esp + 0x24]
push dword [esp + 0x24]
call esi
mov eax, dword [esp + 0x10]
add eax, 0x11
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 1
push dword [esp + 0x24]
push dword [esp + 0x24]
call esi
test ebp, ebp
je 0x4e2973
cmp dword [ebp], 0
je 0x4e2973
mov eax, dword [esp + 0x10]
push 0x100
push 1
push ebp
inc eax
push eax
push edi
call fcn.004e2f90
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4e296f
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004ebadf
add esp, 0x38
ret
mov esi, edi
jmp 0x4e297d
mov esi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], 0x4034b50
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
test esi, esi
je 0x4e295a
test eax, eax
push 4
cmovne ecx, eax
lea eax, [esp + 0x38]
push eax
push ecx
push esi
call dword [sym.imp.SHLWAPI.dll_HashData]
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x18]
cmovne ecx, eax
lea eax, [ecx + 0x14]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [esp + 0x2c]
movups xmm0, xmmword [esp + 0x34]
mov dword [edx], eax
movups xmmword [eax], xmm0
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x1c]
cmovne ecx, eax
mov eax, dword [edx]
push ecx
add eax, 0x14
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, dword [esp + 0x2c]
je 0x4e2a20
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x18]
cmovne ecx, eax
pop edi
pop esi
pop ebp
lea eax, [ecx + 0x14]
mov ecx, dword [esp + 0x38]
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x38
ret