Function at 0x41b63c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x18
test edx, edx
je 0x41b964
cmp dword [ebp + 0x10], 0
je 0x41b964
cmp dword [ebp + 0x18], 0
je 0x41b964
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + 3]
shr eax, 2
imul eax, eax, 3
cmp dword [ebp + 0x14], eax
jb 0x41b964
push ebx
push esi
xor esi, esi
xor ebx, ebx
and dword [ebp - 0x18], esi
push edi
xor edi, edi
mov dword [ebp - 0x14], ebx
test ecx, ecx
je 0x41b954
and dword [ebp - 0x10], 0
xor eax, eax
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
mov dword [ebp - 4], eax
cmp edi, ecx
jae 0x41b7d8
movzx eax, byte [edi + edx]
inc edi
push eax
mov dword [ebp - 4], eax
call fcn.0041bb2b
pop ecx
test eax, eax
jne 0x41b6eb
mov eax, dword [ebp - 4]
cmp eax, 0x3d
je 0x41b6e5
cmp eax, 0xd
je 0x41b6d9
cmp eax, 0xa
je 0x41b6d9
cmp eax, 0x20
je 0x41b6d9
cmp eax, 9
push 1
pop eax
cmovne esi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp edi, eax
jb 0x41b6a6
jmp 0x41b6ee
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
cmp edi, eax
jae 0x41b7d5
mov eax, dword [ebp + 8]
movzx eax, byte [edi + eax]
inc edi
push eax
mov dword [ebp - 0xc], eax
call fcn.0041bb2b
pop ecx
test eax, eax
jne 0x41b73b
mov eax, dword [ebp - 0xc]
cmp eax, 0x3d
je 0x41b735
cmp eax, 0xd
je 0x41b72c
cmp eax, 0xa
je 0x41b72c
cmp eax, 0x20
je 0x41b72c
cmp eax, 9
push 1
pop eax
cmovne esi, eax
mov eax, dword [ebp + 0xc]
cmp edi, eax
jb 0x41b6f6
jmp 0x41b73e
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
cmp edi, eax
jae 0x41b7d5
mov eax, dword [ebp + 8]
movzx eax, byte [edi + eax]
inc edi
push eax
mov dword [ebp - 8], eax
call fcn.0041bb2b
pop ecx
test eax, eax
jne 0x41b78b
mov eax, dword [ebp - 8]
cmp eax, 0x3d
je 0x41b785
cmp eax, 0xd
je 0x41b77c
cmp eax, 0xa
je 0x41b77c
cmp eax, 0x20
je 0x41b77c
cmp eax, 9
push 1
pop eax
cmovne esi, eax
mov eax, dword [ebp + 0xc]
cmp edi, eax
jb 0x41b746
jmp 0x41b78e
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
cmp edi, eax
jae 0x41b7d5
mov eax, dword [ebp + 8]
movzx eax, byte [edi + eax]
inc edi
push eax
mov dword [ebp - 0x10], eax
call fcn.0041bb2b
pop ecx
test eax, eax
jne 0x41b7d5
mov eax, dword [ebp - 0x10]
cmp eax, 0x3d
je 0x41b7cf
cmp eax, 0xd
je 0x41b7c8
cmp eax, 0xa
je 0x41b7c8
cmp eax, 0x20
je 0x41b7c8
cmp eax, 9
push 1
pop eax
cmovne esi, eax
cmp edi, dword [ebp + 0xc]
jb 0x41b792
jmp 0x41b7d5
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push eax
call fcn.0041bb2b
pop ecx
test eax, eax
je 0x41b8a4
push dword [ebp - 0xc]
call fcn.0041bb2b
pop ecx
test eax, eax
je 0x41b8a4
push dword [ebp - 8]
call fcn.0041bb2b
pop ecx
test eax, eax
je 0x41b8a4
push dword [ebp - 0x10]
call fcn.0041bb2b
pop ecx
test eax, eax
je 0x41b8a4
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + 0x7260c8]
mov eax, dword [ebp - 8]
mov ecx, edx
sar ecx, 4
and cl, 3
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0x10]
movzx ebx, byte [eax + 0x7260c8]
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x7260c8]
shl al, 2
or cl, al
mov eax, dword [ebp - 0x14]
mov byte [eax + edx], cl
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
sar eax, 2
and al, 0xf
shl dl, 4
or al, dl
shl bl, 6
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx + 1], al
add ecx, 2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov al, byte [eax + 0x7260c8]
and al, 0x3f
or al, bl
mov ebx, ecx
mov byte [ebx + edx], al
inc ebx
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x14], ebx
jne 0x41b954
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp edi, ecx
jb 0x41b68d
jmp 0x41b954
push dword [ebp - 4]
call fcn.0041bb2b
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
mov edi, dword [ebp - 0xc]
pop ecx
je 0x41b916
push edi
call fcn.0041bb2b
pop ecx
test eax, eax
je 0x41b916
push dword [ebp - 8]
call fcn.0041bb2b
pop ecx
test eax, eax
je 0x41b916
cmp dword [ebp - 0x10], 0x3d
jne 0x41b916
movzx edx, byte [edi + 0x7260c8]
mov eax, dword [ebp - 4]
mov ecx, edx
mov edi, dword [ebp + 0x10]
sar ecx, 4
and cl, 3
shl dl, 4
mov al, byte [eax + 0x7260c8]
shl al, 2
or cl, al
mov eax, dword [ebp - 8]
mov byte [ebx + edi], cl
mov al, byte [eax + 0x7260c8]
shr al, 2
and al, 0xf
or al, dl
mov byte [ebx + edi + 1], al
add ebx, 2
jmp 0x41b954
cmp dword [ebp + 8], 0
je 0x41b954
push edi
call fcn.0041bb2b
pop ecx
test eax, eax
je 0x41b954
cmp dword [ebp - 8], 0x3d
jne 0x41b954
cmp dword [ebp - 0x10], 0x3d
jne 0x41b954
mov eax, dword [ebp - 4]
mov dl, byte [edi + 0x7260c8]
shr dl, 4
and dl, 3
mov cl, byte [eax + 0x7260c8]
mov eax, dword [ebp + 0x10]
shl cl, 2
or dl, cl
mov byte [ebx + eax], dl
inc ebx
mov eax, dword [ebp + 0x18]
neg esi
pop edi
sbb esi, esi
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
jmp 0x41b967
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret