Function at 0x4ead80
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 0x4ead9b
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 0x61fe24
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 0x4eade1
test al, al
jne 0x4eade1
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 0x4eadff
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 0x4eae11
mov byte [eax], 0
cmp byte [ebp], 0
je 0x4eae51
push 0x3f
push ebx
call esi
mov edi, eax
add esp, 8
test edi, edi
jne 0x4eae3d
push ebx
call fcn.004ea920
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.004ea920
add esp, 4
mov dword [ebp + 4], eax
lea ebx, [edi + 1]
jmp 0x4eae6d
push ebx
call fcn.004ea920
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 0x4eae9d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4eae9d
mov al, 0xd
cmp byte [ecx + ebx - 1], al
jne 0x4eae92
cmp byte [ecx + ebx], 0xa
je 0x4eae99
dec ecx
test ecx, ecx
jg 0x4eae86
jmp 0x4eae9d
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 0x4eb0ad
jmp 0x4eaec1
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 0x4eadf3
push 8
mov byte [edi], 0
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, esi
je 0x4eaef3
mov dword [eax], esi
mov dword [eax + 4], esi
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x4eaef7
mov dword [esp + 0x2c], esi
push ebx
call fcn.004ea920
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 0x4eb088
push edi
mov byte [eax], 0
call fcn.004ea920
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 0x4eaf59
cmp eax, edi
je 0x4eaf4e
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 0x4eb056
cmp eax, edi
jne 0x4eaf91
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 0x4eb056
mov ecx, dword [ebp + 0x14]
cmp ebx, ecx
jg 0x4eafc1
cmp edx, ebx
jge 0x4eafb1
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 0x4eb056
jle 0x4eafb9
sub edx, ebx
mov dword [esp + 0x28], edx
mov dword [ebp + 0x10], ebx
jmp 0x4eb056
mov eax, dword [ebp + 0x18]
cmp eax, edi
jne 0x4eafeb
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4eafdf
mov eax, 4
jmp 0x4eafeb
cmp eax, 0x400
jle 0x4eafeb
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x28], eax
jl 0x4eaff9
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 0x4eaebb
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 8
push edi
call fcn.004ea920
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.0056a200
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