Function at 0x4097c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47db9e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x49d140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
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 - 0x20], 1
jmp 0x409833
mov edx, dword [ebp - 0x24]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov dl, byte [ebp - 0x13]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x4098f7
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
and ch, 0x3f
mov cl, dl
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ch
shl cl, 2
add cl, al
xor esi, esi
mov byte [ebp - 0x16], cl
nop
cmp dword [0x4a2998], 0xf
mov ecx, 0x4a2984
movzx eax, byte [ebp + esi - 0x18]
cmova ecx, dword [0x4a2984]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x1c], al
cmp ecx, edx
jae 0x4098d4
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x4098c7
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x1c]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x4098e6
push dword [ebp - 0x1c]
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.00421560
inc esi
cmp esi, 4
jl 0x409890
mov dl, byte [ebp - 0xd]
xor esi, esi
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x409830
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x409a18
mov eax, esi
cmp esi, 3
jge 0x409931
cmp eax, 3
jae 0x409a2b
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x409917
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x4099cf
xor esi, esi
nop dword [eax + eax]
cmp dword [0x4a2998], 0xf
mov ecx, 0x4a2984
movzx eax, byte [ebp + esi - 0x18]
cmova ecx, dword [0x4a2984]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp + 8], al
cmp ecx, edx
jae 0x4099b4
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x4099a7
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp + 8]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x4099c6
push dword [ebp + 8]
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00421560
inc esi
cmp esi, dword [ebp - 0x28]
jl 0x409970
mov esi, dword [ebp - 0x1c]
cmp esi, 3
jge 0x409a18
mov eax, 3
sub eax, esi
mov dword [ebp + 8], eax
nop
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x409a01
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x4099f9
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x409a12
push 0x3d
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00421560
sub dword [ebp + 8], 1
jne 0x4099e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0045864b
int3