Function at 0x41b220
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae276
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], 0
push 0x40
mov dword [ebp - 0x34], 0
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.00404570
mov dword [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp + 8]
xor edi, edi
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x44], 1
test eax, eax
je 0x41b49b
dec eax
mov dword [ebp + 8], eax
mov al, byte [ebx]
inc ebx
mov byte [ebp + edi - 0x18], al
inc edi
mov ah, byte [ebp - 0x16]
mov ch, byte [ebp - 0x17]
mov cl, byte [ebp - 0x18]
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x3f], ah
mov byte [ebp - 0x3d], ch
mov byte [ebp - 0x3e], cl
cmp edi, 3
jne 0x41b37e
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x38], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x37], cl
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x35], ah
shl cl, 2
add cl, al
xor edi, edi
mov byte [ebp - 0x36], cl
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
movzx eax, byte [ebp + edi - 0x38]
cmovae ecx, edx
mov edx, dword [esi + 0x14]
mov bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x1c], bl
cmp ecx, edx
jae 0x41b358
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x41b34e
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x41b36a
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], 0
push dword [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.0041bec0
mov edx, dword [ebp - 0x34]
inc edi
cmp edi, 4
jl 0x41b320
mov ebx, dword [ebp - 0x3c]
xor edi, edi
mov ch, byte [ebp - 0x3d]
mov cl, byte [ebp - 0x3e]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x41b2c0
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x41b49b
mov eax, edi
cmp edi, 3
jge 0x41b3ba
cmp eax, 3
jae 0x41b4eb
mov byte [ebp + eax - 0x18], 0
inc eax
cmp eax, 3
jl 0x41b39e
mov bl, byte [ebp - 0x16]
mov ch, byte [ebp - 0x17]
mov cl, byte [ebp - 0x18]
jmp 0x41b3bd
mov bl, byte [ebp - 0x3f]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x38], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, bl
mov byte [ebp - 0x37], cl
shr al, 6
and bl, 0x3f
add ch, al
mov byte [ebp - 0x35], bl
lea eax, [edi + 1]
mov byte [ebp - 0x36], ch
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x41b458
mov edi, eax
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
movzx eax, byte [ebp + ebx - 0x38]
cmovae ecx, edx
mov edx, dword [esi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x18], al
cmp ecx, edx
jae 0x41b43b
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x41b42e
mov eax, dword [esi]
mov dl, byte [ebp - 0x18]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x41b44d
push dword [ebp - 0x18]
mov byte [ebp - 0x3c], 0
push dword [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.0041bec0
mov edx, dword [ebp - 0x34]
inc ebx
cmp ebx, edi
jl 0x41b400
mov edi, dword [ebp - 0x1c]
cmp edi, 3
jge 0x41b49b
mov ebx, 3
sub ebx, edi
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x41b485
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x41b47d
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x41b496
push 0x3d
mov byte [ebp - 0x3c], 0
push dword [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.0041bec0
sub ebx, 1
jne 0x41b464
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x41b4cd
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41b4c3
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b4f0
push ecx
push edx
call fcn.0044b3bd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
call fcn.0044b510
call fcn.0047aa50
int3