Function at 0x404ef0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448866
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x465124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], 0
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 + 0x1c]
lea ebx, [ebp + 8]
mov ecx, dword [ebp + 8]
cmp eax, 0x10
mov edx, dword [ebp + 0x18]
cmovae ebx, ecx
mov dword [ebp - 0x24], 1
xor edi, edi
test edx, edx
je 0x40514d
mov al, byte [ebx]
dec edx
mov byte [ebp + edi - 0x10], al
inc ebx
mov ah, byte [ebp - 0xe]
inc edi
mov ch, byte [ebp - 0xf]
mov cl, byte [ebp - 0x10]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x1f], ah
mov byte [ebp - 0x1d], ch
mov byte [ebp - 0x1e], cl
cmp edi, 3
jne 0x40502b
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor edi, edi
mov byte [ebp - 0x16], cl
cmp dword [0x465f50], 0x10
mov ecx, 0x465f3c
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x465f3c]
mov edx, dword [esi + 0x14]
mov bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x14], bl
cmp ecx, edx
jae 0x405005
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x404ffb
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x405017
push dword [ebp - 0x14]
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.00425000
inc edi
cmp edi, 4
jl 0x404fc4
mov edx, dword [ebp - 0x2c]
xor edi, edi
mov ebx, dword [ebp - 0x1c]
mov ch, byte [ebp - 0x1d]
mov cl, byte [ebp - 0x1e]
test edx, edx
jne 0x404f68
mov dword [ebp - 0x14], edi
test edi, edi
je 0x405147
mov eax, edi
cmp edi, 3
jge 0x405064
cmp eax, 3
jae 0x40518d
mov byte [ebp + eax - 0x10], 0
inc eax
cmp eax, 3
jl 0x405048
mov dl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov cl, byte [ebp - 0x10]
jmp 0x405067
mov dl, byte [ebp - 0x1f]
mov al, cl
shr dl, 6
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
xor ebx, ebx
mov al, ch
shl cl, 4
shr al, 4
and ch, 0xf
add cl, al
shl ch, 2
lea eax, [edi + 1]
mov byte [ebp - 0x17], cl
add ch, dl
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x16], ch
test eax, eax
jle 0x4050fe
mov edi, eax
nop dword [eax + eax]
cmp dword [0x465f50], 0x10
mov ecx, 0x465f3c
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x465f3c]
mov edx, dword [esi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x4050e4
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x4050d7
mov eax, dword [esi]
mov dl, byte [ebp - 0x10]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4050f6
push dword [ebp - 0x10]
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.00425000
inc ebx
cmp ebx, edi
jl 0x4050a0
mov edi, dword [ebp - 0x14]
cmp edi, 3
jge 0x405147
mov ebx, 3
sub ebx, edi
nop word [eax + eax]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x405131
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x405129
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x405142
push 0x3d
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.00425000
sub ebx, 1
jne 0x405110
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x405179
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x40516f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405192
push edx
push ecx
call fcn.00429e16
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 esp, ebp
pop ebp
ret
call fcn.00429aba
call fcn.0042eb25
int3