Function at 0x4024c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52abee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 1
test eax, eax
je 0x40271e
nop dword [eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0x14], al
inc esi
mov ah, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov byte [ebp - 0xf], ah
mov byte [ebp - 0xd], ch
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x4025f8
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 esi, esi
mov byte [ebp - 0x16], cl
nop dword [eax]
cmp dword [0x562ae0], 0x10
mov ecx, 0x562acc
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x562acc]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x1c], al
cmp ecx, edx
jae 0x4025d4
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4025c7
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x1c]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x4025e7
push dword [ebp - 0x1c]
mov byte [ebp - 0x20], 0
mov ecx, edi
push dword [ebp - 0x20]
push 1
call fcn.00402d20
inc esi
cmp esi, 4
jl 0x402590
mov edx, dword [ebp - 0x28]
xor esi, esi
mov ch, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x402530
mov dword [ebp - 0x20], esi
test esi, esi
je 0x40271e
mov eax, 3
sub eax, esi
mov dword [ebp + 8], eax
cmp esi, 3
jge 0x402639
push eax
lea eax, [ebp - 0x14]
add eax, esi
push 0
push eax
call fcn.00506f10
mov dl, byte [ebp - 0x12]
add esp, 0xc
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0x40263c
mov dl, byte [ebp - 0xf]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x17], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
lea eax, [esi + 1]
mov byte [ebp - 0x16], ch
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x4026e0
xor esi, esi
nop word [eax + eax]
cmp dword [0x562ae0], 0x10
mov ecx, 0x562acc
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x562acc]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x1c], al
cmp ecx, edx
jae 0x4026c4
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4026b7
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x1c]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x4026d7
push dword [ebp - 0x1c]
mov byte [ebp - 0x28], 0
mov ecx, edi
push dword [ebp - 0x28]
push 1
call fcn.00402d20
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x402680
mov esi, dword [ebp - 0x20]
cmp esi, 3
jge 0x40271e
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x402706
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4026fe
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x402718
push 0x3d
mov byte [ebp - 0x28], 0
mov ecx, edi
push dword [ebp - 0x28]
push 1
call fcn.00402d20
sub dword [ebp + 8], 1
jne 0x4026e5
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret