Function at 0x4eab40
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 0x4eab5b
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 0x61fe14
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 0x4eaba1
test al, al
jne 0x4eaba1
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 0x4eabbf
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 0x4eabd1
mov byte [eax], 0
cmp byte [ebp], 0
je 0x4eac11
push 0x3f
push ebx
call esi
mov edi, eax
add esp, 8
test edi, edi
jne 0x4eabfd
push ebx
call fcn.004ea6e0
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.004ea6e0
add esp, 4
mov dword [ebp + 4], eax
lea ebx, [edi + 1]
jmp 0x4eac2d
push ebx
call fcn.004ea6e0
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 0x4eac5d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4eac5d
mov al, 0xd
cmp byte [ecx + ebx - 1], al
jne 0x4eac52
cmp byte [ecx + ebx], 0xa
je 0x4eac59
dec ecx
test ecx, ecx
jg 0x4eac46
jmp 0x4eac5d
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 0x4eae6d
jmp 0x4eac81
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 0x4eabb3
push 8
mov byte [edi], 0
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, esi
je 0x4eacb3
mov dword [eax], esi
mov dword [eax + 4], esi
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x4eacb7
mov dword [esp + 0x2c], esi
push ebx
call fcn.004ea6e0
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 0x4eae48
push edi
mov byte [eax], 0
call fcn.004ea6e0
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 0x4ead19
cmp eax, edi
je 0x4ead0e
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 0x4eae16
cmp eax, edi
jne 0x4ead51
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 0x4eae16
mov ecx, dword [ebp + 0x14]
cmp ebx, ecx
jg 0x4ead81
cmp edx, ebx
jge 0x4ead71
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 0x4eae16
jle 0x4ead79
sub edx, ebx
mov dword [esp + 0x28], edx
mov dword [ebp + 0x10], ebx
jmp 0x4eae16
mov eax, dword [ebp + 0x18]
cmp eax, edi
jne 0x4eadab
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4ead9f
mov eax, 4
jmp 0x4eadab
cmp eax, 0x400
jle 0x4eadab
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x28], eax
jl 0x4eadb9
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 0x4eac7b
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 8
push edi
call fcn.004ea6e0
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.00533060
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