Function at 0x42e932
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.0042c0de
test al, al
je 0x42e961
pop ecx
push ebx
pop eax
push esp
push edx
push esp
pop eax
pop esp
pop ebp
push esi
pop edi
push eax
pop edi
push eax
pop esi
push ebp
push ebx
push eax
pop esi
push edx
pop ebx
pop ecx
push ebx
push esi
pop ebx
pop edx
push edx
push ebp
push eax
push ebx
push esp
call fcn.0042c099
test al, al
je 0x42e988
pop eax
push edi
pop ebx
push esp
pop edi
push esp
pop ebp
push ecx
pop ecx
push edi
push ecx
pop edi
push eax
pop esp
push edx
push ecx
pop esi
push eax
pop ecx
push ebx
pop edi
push ebp
push ecx
push ecx
push eax
pop esp
pop esp
pop esp
push eax
push ebx
call fcn.0042c642
test al, al
je 0x42e9ac
push ebp
pop ebx
push esi
pop edx
pop eax
push esp
push edx
pop edx
push ebp
push eax
pop ecx
push edi
pop esp
pop edx
pop esp
pop edi
push ebx
pop edi
pop edx
pop ebx
push ebx
pop eax
push ebx
push edx
push edi
push esp
push edx
xor ecx, ecx
xor edx, edx
xor esi, esi
cmp dword [ebp + 0xc], ecx
jle 0x42eaef
mov edi, dword [ebp + 8]
mov al, byte [ecx + edi]
cmp al, 0x3d
jne 0x42e9cb
inc esi
cmp esi, 2
jg 0x42ea0c
cmp al, 0x7f
ja 0x42ea0c
movzx eax, al
mov al, byte [eax + 0x59fae8]
cmp al, 0x7f
je 0x42ea0c
cmp al, 0x40
jae 0x42e9e4
test esi, esi
jne 0x42ea0c
inc edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0xc]
jl 0x42e9be
test edx, edx
je 0x42eaef
mov ecx, dword [ebp + 0x14]
imul eax, edx, 6
add eax, 7
sar eax, 3
cmp dword [ecx], eax
jge 0x42ea14
mov dword [ecx], eax
push 0xfffffffffffffff0
jmp 0x42ea0e
push 0xffffffffffffffee
pop eax
jmp 0x42eaf1
call fcn.0042c825
test al, al
je 0x42ea32
pop eax
push ebx
pop ecx
push ebx
pop ebp
push edx
pop ebp
pop edx
pop edi
pop eax
pop esp
push edi
push ecx
push edx
push ebx
push eax
push esp
pop esi
pop ecx
push edx
push esp
call fcn.0042c0de
test al, al
je 0x42ea4d
pop edi
push ebp
push edx
pop esp
push esp
pop esi
pop ebx
pop ebp
pop eax
pop ebx
pop esp
pop edi
pop edx
pop edx
pop ebx
pop ebx
push ebx
push ebp
call fcn.0042c86a
test al, al
je 0x42ea74
pop esi
push edi
pop edi
pop edi
pop ebx
push eax
push ebx
pop edi
push edi
push esi
push eax
pop ebx
push ebp
push ecx
push ebp
push ebp
push ecx
pop ecx
pop edx
pop ebp
pop eax
pop eax
pop edx
push edi
push ebx
push eax
push edx
push ecx
pop esp
push edi
mov esi, dword [ebp - 4]
xor eax, eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp + 0xc], eax
push 3
pop edi
test esi, esi
jle 0x42eae7
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov cl, byte [eax + 0x59fae8]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x42eadb
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x42eac6
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x42ead3
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x42eadb
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x42ea8b
mov eax, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret