Function at 0x41b2c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b18d9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
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 - 4], eax
mov dword [ebp - 0x20], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
mov byte [esi], al
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], 1
cmp edx, eax
jle 0x41b5d4
jmp 0x41b319
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
mov cl, byte [eax + edi]
inc eax
cmp eax, edx
je 0x41b584
mov bl, byte [eax + edi]
inc eax
mov byte [ebp - 0x14], bl
cmp eax, edx
je 0x41b5e8
mov dl, byte [eax + edi]
inc eax
movzx edi, cl
mov dword [ebp - 0x1c], eax
mov eax, edi
shr eax, 2
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esi + 0x10]
mov byte [ebp - 0x18], dl
or edx, 0xffffffff
sub edx, eax
mov byte [ebp - 0x10], cl
cmp edx, 1
jbe 0x41b644
lea ebx, [eax + 1]
cmp ebx, 0xfffffffe
ja 0x41b644
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jae 0x41b381
push eax
push ebx
mov ecx, esi
call fcn.0040e9e0
jmp 0x41b396
test ebx, ebx
jne 0x41b398
mov dword [esi + 0x10], ebx
cmp ecx, 0x10
jb 0x41b391
mov eax, dword [esi]
jmp 0x41b393
mov eax, esi
mov byte [eax], 0
test ebx, ebx
setne al
test al, al
je 0x41b3c7
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x41b3ac
mov eax, dword [esi]
jmp 0x41b3ae
mov eax, esi
mov dl, byte [ebp - 0x10]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x41b3c1
mov eax, dword [esi]
jmp 0x41b3c3
mov eax, esi
mov byte [eax + ebx], 0
movzx ebx, byte [ebp - 0x14]
and edi, 3
mov eax, ebx
shr eax, 4
shl edi, 4
or eax, edi
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esi + 0x10]
or edx, 0xffffffff
sub edx, eax
mov byte [ebp - 0x14], cl
cmp edx, 1
jbe 0x41b644
lea edi, [eax + 1]
cmp edi, 0xfffffffe
ja 0x41b644
mov ecx, dword [esi + 0x14]
cmp ecx, edi
jae 0x41b410
push eax
push edi
mov ecx, esi
call fcn.0040e9e0
jmp 0x41b425
test edi, edi
jne 0x41b427
mov dword [esi + 0x10], edi
cmp ecx, 0x10
jb 0x41b420
mov eax, dword [esi]
jmp 0x41b422
mov eax, esi
mov byte [eax], 0
test edi, edi
setne al
test al, al
je 0x41b456
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x41b43b
mov eax, dword [esi]
jmp 0x41b43d
mov eax, esi
mov dl, byte [ebp - 0x14]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x41b450
mov eax, dword [esi]
jmp 0x41b452
mov eax, esi
mov byte [eax + edi], 0
movzx edi, byte [ebp - 0x18]
and ebx, 0xf
add ebx, ebx
mov eax, edi
shr eax, 6
add ebx, ebx
or eax, ebx
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esi + 0x10]
or edx, 0xffffffff
sub edx, eax
mov byte [ebp - 0x18], cl
cmp edx, 1
jbe 0x41b644
lea ebx, [eax + 1]
cmp ebx, 0xfffffffe
ja 0x41b644
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jae 0x41b4a0
push eax
push ebx
mov ecx, esi
call fcn.0040e9e0
jmp 0x41b4b5
test ebx, ebx
jne 0x41b4b7
mov dword [esi + 0x10], ebx
cmp ecx, 0x10
jb 0x41b4b0
mov eax, dword [esi]
jmp 0x41b4b2
mov eax, esi
mov byte [eax], 0
test ebx, ebx
setne al
test al, al
je 0x41b4e6
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x41b4cb
mov eax, dword [esi]
jmp 0x41b4cd
mov eax, esi
mov dl, byte [ebp - 0x18]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x41b4e0
mov eax, dword [esi]
jmp 0x41b4e2
mov eax, esi
mov byte [eax + ebx], 0
mov eax, dword [esi + 0x10]
or ecx, 0xffffffff
and edi, 0x3f
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
sub ecx, eax
cmp ecx, 1
jbe 0x41b644
lea edi, [eax + 1]
cmp edi, 0xfffffffe
ja 0x41b644
mov ecx, dword [esi + 0x14]
cmp ecx, edi
jae 0x41b51e
push eax
push edi
mov ecx, esi
call fcn.0040e9e0
jmp 0x41b533
test edi, edi
jne 0x41b535
mov dword [esi + 0x10], edi
cmp ecx, 0x10
jb 0x41b52e
mov eax, dword [esi]
jmp 0x41b530
mov eax, esi
mov byte [eax], 0
test edi, edi
setne al
test al, al
je 0x41b564
mov ecx, dword [esi + 0x10]
mov edx, 0x10
cmp dword [esi + 0x14], edx
jb 0x41b54d
mov eax, dword [esi]
jmp 0x41b54f
mov eax, esi
mov byte [ecx + eax], bl
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], edx
jb 0x41b55e
mov eax, dword [esi]
jmp 0x41b560
mov eax, esi
mov byte [edi + eax], 0
mov edx, dword [ebp + 0x10]
cmp dword [ebp - 0x1c], edx
jl 0x41b316
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
movzx edi, cl
mov eax, edi
shr eax, 2
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], cl
mov edx, dword [ebp + 0x10]
push edx
push 1
mov ecx, esi
call fcn.00405e70
and edi, 3
shl edi, 4
mov al, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], al
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, esi
call fcn.00405e70
push 0x3d
push 1
mov ecx, esi
call fcn.00405e70
push 0x3d
push 1
mov ecx, esi
call fcn.00405e70
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
movzx edi, cl
mov edx, edi
shr edx, 2
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], al
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, esi
call fcn.00405e70
movzx ebx, bl
mov edx, ebx
and edi, 3
shr edx, 4
shl edi, 4
or edx, edi
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], al
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, esi
call fcn.00405e70
and ebx, 0xf
mov dl, byte [ebx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], dl
mov eax, dword [ebp + 0x10]
push eax
jmp 0x41b5c0
push str.string_too_long
call fcn.0048f3a2
int3