Function at 0x42b9e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564189
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5c4920]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
mov byte [esi], al
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x28], 1
jb 0x42ba33
mov ecx, dword [edx]
jmp 0x42ba3d
mov ecx, edx
jmp 0x42ba3d
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov ebx, dword [edx + 0x14]
cmp ebx, 0x10
jb 0x42ba49
mov edi, dword [edx]
jmp 0x42ba4b
mov edi, edx
mov eax, dword [edx + 0x10]
add edi, eax
cmp ecx, edi
je 0x42bc25
cmp ebx, 0x10
jb 0x42ba5f
mov edx, dword [edx]
sub eax, ecx
add eax, edx
mov dword [ebp - 0x24], eax
cmp eax, 3
mov dword [ebp - 0x20], 3
lea eax, [ebp - 0x24]
jl 0x42ba78
lea eax, [ebp - 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x20], ebx
xor edx, edx
add ebx, ecx
mov word [ebp - 0x14], dx
mov byte [ebp - 0x12], dl
cmp ecx, ebx
je 0x42baa1
mov eax, ebx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x14]
push ecx
call fcn.0053b1b0
mov dl, byte [ebp - 0x12]
add esp, 0xc
mov al, byte [ebp - 0x14]
mov cl, al
shr cl, 2
mov byte [ebp - 0x18], cl
mov cl, byte [ebp - 0x13]
and al, 3
mov dword [ebp - 0x24], ebx
mov bl, cl
shl al, 4
shr bl, 4
or al, bl
and cl, 0xf
mov byte [ebp - 0x17], al
add cl, cl
mov al, dl
add cl, cl
shr al, 6
or cl, al
mov byte [ebp - 0x16], cl
mov ecx, dword [ebp - 0x20]
and dl, 0x3f
xor edi, edi
lea eax, [ecx + 1]
mov byte [ebp - 0x15], dl
mov dword [ebp - 0x1c], edi
test eax, eax
jle 0x42bb83
movzx ecx, byte [ebp + edi - 0x18]
mov dl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esi + 0x10]
or ecx, 0xffffffff
sub ecx, eax
mov byte [ebp - 0x10], dl
cmp ecx, 1
jbe 0x42bc1b
lea ebx, [eax + 1]
cmp ebx, 0xfffffffe
ja 0x42bc1b
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jae 0x42bb3b
push eax
push ebx
mov ecx, esi
call fcn.00406d20
test ebx, ebx
je 0x42bb71
mov edi, dword [esi + 0x10]
mov ecx, 0x10
cmp dword [esi + 0x14], ecx
jb 0x42bb54
mov eax, dword [esi]
jmp 0x42bb56
test ebx, ebx
jne 0x42bb2a
mov dword [esi + 0x10], ebx
cmp ecx, 0x10
jb 0x42bb4d
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x42bb71
mov eax, esi
mov byte [eax], 0
jmp 0x42bb71
mov eax, esi
mov dl, byte [ebp - 0x10]
mov byte [eax + edi], dl
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], ecx
jb 0x42bb68
mov eax, dword [esi]
jmp 0x42bb6a
mov eax, esi
mov edi, dword [ebp - 0x1c]
mov byte [eax + ebx], 0
mov ecx, dword [ebp - 0x20]
inc edi
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], edi
cmp edi, eax
jl 0x42baeb
mov edi, 3
sub edi, ecx
mov dword [ebp - 0x20], 0
test edi, edi
jle 0x42ba37
lea esp, [esp]
mov eax, dword [esi + 0x10]
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x42bc1b
lea ebx, [eax + 1]
cmp ebx, 0xfffffffe
ja 0x42bc1b
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jae 0x42bbda
push eax
push ebx
mov ecx, esi
call fcn.00406d20
test ebx, ebx
je 0x42bc0b
mov ecx, dword [esi + 0x10]
mov edx, 0x10
cmp dword [esi + 0x14], edx
jb 0x42bbf3
mov eax, dword [esi]
jmp 0x42bbf5
test ebx, ebx
jne 0x42bbc9
mov dword [esi + 0x10], ebx
cmp ecx, 0x10
jb 0x42bbec
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x42bc0b
mov eax, esi
mov byte [eax], 0
jmp 0x42bc0b
mov eax, esi
mov byte [eax + ecx], 0x3d
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], edx
jb 0x42bc05
mov eax, dword [esi]
jmp 0x42bc07
mov eax, esi
mov byte [eax + ebx], 0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, edi
jl 0x42bba0
jmp 0x42ba37
push str.string_too_long
call fcn.005521ce
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret