Function at 0x42e710
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x124], ebx
test esi, esi
je 0x42e9b3
test ecx, ecx
je 0x42e9b3
lea ecx, [esi*4 + 8]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
xor edx, edx
shr ecx, 1
lea eax, [ecx + ecx]
add ecx, 3
div esi
add eax, ecx
mov ecx, ebx
push eax
call fcn.00423600
test al, al
jne 0x42e78d
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
mov eax, 0xaaaaaaab
xor ecx, ecx
mul esi
push edi
mov eax, edx
mov dword [ebp - 0x110], ecx
xor edi, edi
mov dword [ebp - 0x114], ecx
shr eax, 1
mov dword [ebp - 0x11c], eax
je 0x42e8bb
nop word [eax + eax]
mov esi, dword [ebp - 0x110]
mov ebx, dword [ebp - 0x120]
movsx eax, byte [ebx + esi]
movzx ecx, al
movsx eax, byte [ebx + esi + 1]
add esi, 2
movzx edx, al
mov dword [ebp - 0x110], esi
inc dword [ebp - 0x110]
movsx eax, byte [ebx + esi]
mov ebx, dword [ebp - 0x118]
movzx esi, al
mov eax, ecx
shr eax, 2
and ecx, 3
shl ecx, 4
mov al, byte [eax + ebx]
mov byte [ebp + edi - 0x10c], al
mov eax, edx
shr eax, 4
and edx, 0xf
or eax, ecx
shl edx, 2
mov ecx, ebx
mov ebx, dword [ebp - 0x124]
mov al, byte [eax + ecx]
mov byte [ebp + edi - 0x10b], al
mov eax, esi
shr eax, 6
and esi, 0x3f
or edx, eax
mov al, byte [edx + ecx]
mov byte [ebp + edi - 0x10a], al
mov al, byte [esi + ecx]
mov byte [ebp + edi - 0x109], al
add edi, 4
cmp edi, 0x100
jl 0x42e869
push edi
lea eax, [ebp - 0x10c]
mov ecx, ebx
push eax
call fcn.00421840
test al, al
je 0x42e899
xor edi, edi
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp eax, dword [ebp - 0x11c]
jb 0x42e7c0
test edi, edi
je 0x42e8ac
push edi
lea eax, [ebp - 0x10c]
mov ecx, ebx
push eax
call fcn.00421840
test al, al
jne 0x42e8ac
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x110]
mov esi, dword [ebp + 0xc]
lea eax, [eax + eax*2]
mov dl, 1
sub esi, eax
sub esi, 1
je 0x42e935
sub esi, 1
jne 0x42e9a0
mov eax, dword [ebp - 0x120]
mov esi, dword [ebp - 0x118]
movzx edi, byte [eax + ecx]
movzx eax, byte [eax + ecx + 1]
mov ecx, ebx
mov dword [ebp - 0x114], eax
mov eax, edi
shr eax, 2
movzx eax, byte [eax + esi]
push eax
call fcn.00421320
test al, al
je 0x42e99e
mov eax, dword [ebp - 0x114]
and edi, 3
shr eax, 4
mov ecx, ebx
shl edi, 4
or eax, edi
movzx eax, byte [eax + esi]
push eax
call fcn.00421320
test al, al
je 0x42e99e
mov eax, dword [ebp - 0x114]
and eax, 0xf
movzx eax, byte [esi + eax*4]
push eax
jmp 0x42e971
mov eax, dword [ebp - 0x120]
mov esi, dword [ebp - 0x118]
movzx edi, byte [eax + ecx]
mov ecx, ebx
mov eax, edi
shr eax, 2
movzx eax, byte [eax + esi]
push eax
call fcn.00421320
test al, al
je 0x42e99e
and edi, 3
mov ecx, ebx
add edi, edi
movzx eax, byte [esi + edi*8]
push eax
call fcn.00421320
test al, al
je 0x42e99e
push 0x3d
mov ecx, ebx
call fcn.00421320
test al, al
je 0x42e99e
push 0x3d
mov ecx, ebx
call fcn.00421320
test al, al
je 0x42e99e
pop edi
mov dl, 1
pop esi
mov al, dl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
xor dl, dl
pop edi
pop esi
mov al, dl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.005ebe04
mov esp, ebp
pop ebp
ret