Function at 0x401a00
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403226
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x406040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x34], esi
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
mov ecx, edx
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0x28], 1
jbe 0x401a73
mov ecx, dword [edx]
mov eax, dword [edx + 0x10]
xor edi, edi
test eax, eax
je 0x401d58
dec eax
mov dword [ebp - 0x20], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + edi - 0x14], al
inc edi
mov ah, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x1a], dh
cmp edi, 3
jne 0x401bbe
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, dl
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
mov eax, dword fs:[0x2c]
mov byte [ebp - 0x16], cl
xor edi, edi
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
nop dword [eax]
mov eax, dword [0x406484]
cmp eax, dword [ecx + 4]
jle 0x401b44
push 0x406484
call fcn.00402222
add esp, 4
cmp dword [0x406484], 0xffffffff
jne 0x401b44
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov ecx, 0x406488
mov dword [ebp - 4], 1
call fcn.00401600
push 0x403330
call fcn.004026ef
push 0x406484
mov byte [ebp - 4], 0
call fcn.004021d1
add esp, 8
movzx ecx, byte [ebp + edi - 0x18]
cmp dword [0x406498], ecx
jbe 0x401d70
cmp dword [0x40649c], 0xf
mov eax, 0x406488
mov edx, dword [esi + 0x14]
cmova eax, dword [0x406488]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x401b94
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x401b87
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x401ba6
push dword [ebp - 0x10]
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00401db0
mov ecx, dword [ebp - 0x30]
inc edi
cmp edi, 4
jl 0x401af0
mov ecx, dword [ebp - 0x24]
xor edi, edi
mov dl, byte [ebp - 0x19]
mov dh, byte [ebp - 0x1a]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401a80
test edi, edi
je 0x401d58
mov eax, edi
cmp edi, 3
jge 0x401bf7
cmp eax, 3
jae 0x401d6b
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x401bdb
mov cl, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
jmp 0x401bfa
mov cl, byte [ebp - 0x1b]
mov al, dh
shr cl, 6
shr al, 2
and dh, 3
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
add dl, cl
mov byte [ebp - 0x17], dh
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], 0
test eax, eax
jle 0x401d0e
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
nop dword [eax]
mov eax, dword [0x406484]
cmp eax, dword [ecx + 4]
jle 0x401c94
push 0x406484
call fcn.00402222
add esp, 4
cmp dword [0x406484], 0xffffffff
jne 0x401c94
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov ecx, 0x406488
mov dword [ebp - 4], 2
call fcn.00401600
push 0x403330
call fcn.004026ef
push 0x406484
mov byte [ebp - 4], 0
call fcn.004021d1
add esp, 8
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ebp + eax - 0x18]
cmp dword [0x406498], ecx
jbe 0x401d70
cmp dword [0x40649c], 0xf
mov eax, 0x406488
mov edx, dword [esi + 0x14]
cmova eax, dword [0x406488]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x401ce7
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x401cda
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x401cf9
push dword [ebp - 0x10]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.00401db0
mov eax, dword [ebp - 0x14]
lea ecx, [edi + 1]
inc eax
cmp eax, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
jl 0x401c40
cmp edi, 3
jge 0x401d58
mov eax, 3
sub eax, edi
mov dword [ebp - 0x10], eax
nop dword [eax]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x401d41
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x401d39
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x401d52
push 0x3d
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.00401db0
sub dword [ebp - 0x10], 1
jne 0x401d20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004023a8
call fcn.00401940
int3