Function at 0x4eba80
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x4eba9b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x14
ret 8
mov ebx, dword [sym.imp.MSVCRT.dll__strnicmp]
push 3
push 0x624d84
push edi
call ebx
mov ebp, dword [esp + 0x38]
push 4
test eax, eax
sete al
push str.POST
push edi
mov byte [ebp], al
call ebx
mov cl, byte [ebp]
add esp, 0x18
test eax, eax
sete al
test cl, cl
mov byte [ebp + 1], al
jne 0x4ebae1
test al, al
jne 0x4ebae1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x2f
push edi
call esi
add esp, 8
test eax, eax
jne 0x4ebaff
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x14
ret 8
lea ebx, [eax + 1]
push 0x20
push ebx
call esi
add esp, 8
test eax, eax
je 0x4ebb11
mov byte [eax], 0
cmp byte [ebp], 0
je 0x4ebb51
push 0x3f
push ebx
call esi
mov edi, eax
add esp, 8
test edi, edi
jne 0x4ebb3d
push ebx
call fcn.004eb620
add esp, 4
mov dword [ebp + 4], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push ebx
mov byte [edi], 0
call fcn.004eb620
add esp, 4
mov dword [ebp + 4], eax
lea ebx, [edi + 1]
jmp 0x4ebb6d
push ebx
call fcn.004eb620
mov dword [ebp + 4], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ebx + ecx + 1]
mov al, byte [ebp + 1]
test al, al
je 0x4ebb9d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4ebb9d
mov al, 0xd
cmp byte [ecx + ebx - 1], al
jne 0x4ebb92
cmp byte [ecx + ebx], 0xa
je 0x4ebb99
dec ecx
test ecx, ecx
jg 0x4ebb86
jmp 0x4ebb9d
lea ebx, [ebx + ecx + 1]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], eax
test ecx, ecx
mov dword [esp + 0x20], ecx
jle 0x4ebdad
jmp 0x4ebbc1
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x3d
push ebx
call esi
mov edi, eax
xor esi, esi
add esp, 8
cmp edi, esi
je 0x4ebaf3
push 8
mov byte [edi], 0
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, esi
je 0x4ebbf3
mov dword [eax], esi
mov dword [eax + 4], esi
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x4ebbf7
mov dword [esp + 0x2c], esi
push ebx
call fcn.004eb620
inc edi
push 0x26
push edi
mov dword [esi], eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4ebd88
push edi
mov byte [eax], 0
call fcn.004eb620
mov dword [esi + 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, edx
add esp, 4
mov dword [esp + 0x18], ebx
inc ebx
xor edi, edi
cmp ebx, edi
jne 0x4ebc59
cmp eax, edi
je 0x4ebc4e
push eax
mov dword [esp + 0x2c], edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x10], edi
jmp 0x4ebd56
cmp eax, edi
jne 0x4ebc91
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 0xc], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], ebx
jmp 0x4ebd56
mov ecx, dword [ebp + 0x14]
cmp ebx, ecx
jg 0x4ebcc1
cmp edx, ebx
jge 0x4ebcb1
mov ecx, ebx
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp + 0x10], ebx
jmp 0x4ebd56
jle 0x4ebcb9
sub edx, ebx
mov dword [esp + 0x28], edx
mov dword [ebp + 0x10], ebx
jmp 0x4ebd56
mov eax, dword [ebp + 0x18]
cmp eax, edi
jne 0x4ebceb
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4ebcdf
mov eax, 4
jmp 0x4ebceb
cmp eax, 0x400
jle 0x4ebceb
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x28], eax
jl 0x4ebcf9
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x28]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x18], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x10]
mov ecx, ebx
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
add esp, 8
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
lea ebx, [edx + 1]
mov dword [esp + 0x10], eax
jl 0x4ebbbb
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 8
push edi
call fcn.004eb620
add ebp, 8
mov dword [esi + 4], eax
add esp, 4
mov ecx, ebp
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
lea eax, [edi + 1]
push eax
call fcn.0054c510
mov ecx, dword [ebp + 4]
mov dword [ecx + edi*4], esi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 8