Function at 0x49d7a0
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.00424780
push 0x24
push 0
push esi
mov esi, dword [esp + 0x3c]
mov edx, 0x4d1aa0
push edi
mov ecx, esi
call fcn.00423be0
add esp, 0x20
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x49d7fd
mov eax, 9
jmp 0x49d81c
mov ecx, esi
call fcn.00422bf0
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x49d874
test eax, eax
mov ecx, 0xa
cmove eax, ecx
xor ecx, ecx
xorps xmm0, xmm0
mov dword [esp + 0x14], ecx
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0x18], ecx
cmp eax, 9
je 0x49d86a
mov eax, dword [esi + 0x80]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x49d847
push eax
call edi
mov eax, dword [esi + 0x44]
test eax, eax
je 0x49d851
push eax
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x49d85b
push eax
call edi
push esi
call edi
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov edi, dword [esp + 0x20]
jmp 0x49d8c3
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x49d8c3
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x80]
mov edi, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalFree]
test ecx, ecx
je 0x49d89c
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x49d8a6
push ecx
call eax
mov eax, dword [esi + 8]
test eax, eax
je 0x49d8b4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
test eax, eax
jb 0x49d8f3
mov eax, dword [ebp + 8]
ja 0x49d8d0
cmp edi, eax
jb 0x49d8f3
push ecx
mov edi, eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea eax, [esp + 0x10]
push eax
push 0
push 1
push edi
push ecx
call esi
mov eax, dword [esp + 0x10]
add eax, 0x10
push eax
call fcn.004b2c3e
add esp, 4
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
push ecx
push eax
push 1
push edi
push dword [esp + 0x24]
call esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x49d971
cmp dword [eax], 0
je 0x49d971
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov ecx, esi
push 0x100
push 1
push eax
lea edx, [edx + 1]
call fcn.0049d600
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x49d96d
push esi
call fcn.004b2343
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, esi
jmp 0x49d97f
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 0x3c], eax
mov eax, edi
cmovne eax, ecx
mov dword [esp + 0x40], ecx
push 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], edx
push ecx
push eax
push edx
mov dword [esp + 0x40], 0x4034b50
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], edi
call dword [sym.imp.SHLWAPI.dll_HashData]
mov eax, dword [esp + 0x10]
mov ecx, edi
test eax, eax
cmovne ecx, eax
lea eax, [ecx + 0x14]
push eax
call fcn.004b2c3e
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 + 0x10]
test ecx, ecx
cmovne edx, ecx
add eax, 0x14
push edx
push dword [esp + 0x24]
push eax
call fcn.004b19e0
add esp, 0xc
push esi
call fcn.004b2343
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, dword [esp + 0x28]
je 0x49da24
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
cmovne edi, eax
lea eax, [edi + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret