Function at 0x42e3f0
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
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, 0xaaaaaaab
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x118], ecx
push edi
mov edi, dword [ebp + 8]
lea edx, [esi*4 + 8]
mov dword [ebp - 0x114], edi
mul edx
mov eax, dword [ebp - 0x118]
mov ecx, edx
shr ecx, 1
cmp dword [eax + 4], 0
je 0x42e451
mov edi, dword [ebp - 0x118]
lea eax, [ecx + ecx]
xor edx, edx
div dword [edi + 4]
mov edi, dword [ebp - 0x114]
add eax, ecx
jmp 0x42e453
mov eax, ecx
add eax, 3
mov ecx, ebx
push eax
call fcn.00423600
test al, al
jne 0x42e477
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 0xc
test esi, esi
je 0x42e6da
test edi, edi
je 0x42e6da
xor edx, edx
mov eax, 0xaaaaaaab
mov dword [ebp - 0x11c], edx
xor edi, edi
mul esi
xor ecx, ecx
mov dword [ebp - 0x110], edi
mov eax, edx
mov dword [ebp - 0x124], ecx
shr eax, 1
mov dword [ebp - 0x120], eax
je 0x42e5cf
nop word [eax + eax]
mov eax, dword [ebp - 0x110]
mov edi, dword [ebp - 0x114]
movzx esi, byte [edi + eax]
movzx edx, byte [edi + eax + 1]
movzx edi, byte [edi + eax + 2]
add eax, 3
mov dword [ebp - 0x110], eax
mov eax, esi
shr eax, 2
and esi, 3
shl esi, 4
mov al, byte [eax + 0x606130]
mov byte [ebp + ecx - 0x10c], al
mov eax, edx
shr eax, 4
and edx, 0xf
or eax, esi
shl edx, 2
mov al, byte [eax + 0x606130]
mov byte [ebp + ecx - 0x10b], al
mov eax, edi
shr eax, 6
and edi, 0x3f
or eax, edx
mov edx, dword [ebp - 0x118]
mov al, byte [eax + 0x606130]
mov byte [ebp + ecx - 0x10a], al
mov al, byte [edi + 0x606130]
mov byte [ebp + ecx - 0x109], al
add ecx, 4
mov eax, dword [ebp - 0x11c]
add eax, 4
mov dword [ebp - 0x11c], eax
cmp eax, dword [edx + 4]
jb 0x42e56b
mov word [ebp + ecx - 0x10c], 0xa0d
add ecx, 2
xor edx, edx
mov dword [ebp - 0x11c], edx
cmp ecx, 0x100
jl 0x42e58c
push ecx
lea eax, [ebp - 0x10c]
mov ecx, ebx
push eax
call fcn.00421840
test al, al
je 0x42e462
xor ecx, ecx
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp eax, dword [ebp - 0x120]
jb 0x42e4c0
test ecx, ecx
je 0x42e5c0
push ecx
lea eax, [ebp - 0x10c]
mov ecx, ebx
push eax
call fcn.00421840
test al, al
je 0x42e462
mov eax, dword [ebp - 0x120]
mov edi, dword [ebp - 0x110]
mov esi, dword [ebp + 0xc]
lea eax, [eax + eax*2]
mov cl, 1
sub esi, eax
sub esi, 0
je 0x42e6ab
sub esi, 1
je 0x42e64e
sub esi, 1
jne 0x42e6c5
mov eax, dword [ebp - 0x114]
mov ecx, ebx
movzx esi, byte [eax + edi]
movzx edi, byte [eax + edi + 1]
mov eax, esi
shr eax, 2
movzx eax, byte [eax + 0x606130]
push eax
call fcn.00421320
mov cl, al
test cl, cl
je 0x42e6c5
mov eax, edi
and esi, 3
shr eax, 4
mov ecx, ebx
shl esi, 4
or eax, esi
movzx eax, byte [eax + 0x606130]
push eax
call fcn.00421320
mov cl, al
test cl, cl
je 0x42e6c5
and edi, 0xf
movzx eax, byte [edi*4 + 0x606130]
push eax
jmp 0x42e68f
mov eax, dword [ebp - 0x114]
mov ecx, ebx
movzx esi, byte [eax + edi]
mov eax, esi
shr eax, 2
movzx eax, byte [eax + 0x606130]
push eax
call fcn.00421320
mov cl, al
test cl, cl
je 0x42e6c5
and esi, 3
mov ecx, ebx
shl esi, 4
movzx eax, byte [esi + 0x606130]
push eax
call fcn.00421320
mov cl, al
test cl, cl
je 0x42e6c5
push 0x3d
mov ecx, ebx
call fcn.00421320
mov cl, al
test cl, cl
je 0x42e6c5
push 0x3d
mov ecx, ebx
call fcn.00421320
mov cl, al
test cl, cl
je 0x42e6c5
push 0xd
mov ecx, ebx
call fcn.00421320
mov cl, al
test cl, cl
je 0x42e6c5
push 0xa
mov ecx, ebx
call fcn.00421320
mov cl, al
pop edi
pop esi
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0xc