Function at 0x10001620
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003723e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1004e01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 1
test eax, eax
je 0x10001877
mov ecx, dword [ebp + 0xc]
nop word [eax + eax]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + esi - 0x10], al
inc esi
mov bl, byte [ebp - 0xe]
mov dl, byte [ebp - 0x10]
mov bh, byte [ebp - 0xf]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], dl
cmp esi, 3
jne 0x10001754
mov al, dl
mov cl, dl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, bh
shl cl, 4
shr al, 4
add cl, al
mov al, bl
mov byte [ebp - 0x17], cl
mov cl, bh
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, bl
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor esi, esi
nop dword [eax]
cmp dword [0x1004ea94], 0x10
mov ecx, 0x1004ea80
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x1004ea80]
mov edx, dword [edi + 0x14]
mov bl, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x14], bl
cmp ecx, edx
jae 0x10001731
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10001727
mov eax, dword [edi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x10001743
push dword [ebp - 0x14]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
mov ecx, edi
call fcn.10001a70
inc esi
cmp esi, 4
jl 0x100016f0
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov dl, byte [ebp - 0x19]
mov bl, byte [ebp - 0x1a]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10001690
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10001877
mov eax, esi
cmp esi, 3
jge 0x1000178e
cmp eax, 3
jae 0x1000188d
mov byte [ebp + eax - 0x10], 0
inc eax
cmp eax, 3
jl 0x10001774
mov bl, byte [ebp - 0xe]
mov bh, byte [ebp - 0xf]
mov dl, byte [ebp - 0x10]
mov al, dl
and dl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, bh
shr al, 4
and bh, 0xf
shl dl, 4
add dl, al
shl bh, 2
mov al, bl
mov byte [ebp - 0x17], dl
shr al, 6
and bl, 0x3f
add bh, al
mov byte [ebp - 0x15], bl
lea eax, [esi + 1]
mov byte [ebp - 0x16], bh
xor ebx, ebx
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x1000182e
mov esi, eax
nop word [eax + eax]
cmp dword [0x1004ea94], 0x10
mov ecx, 0x1004ea80
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x1004ea80]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x10001814
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10001807
mov eax, dword [edi]
mov dl, byte [ebp - 0x10]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x10001826
push dword [ebp - 0x10]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
mov ecx, edi
call fcn.10001a70
inc ebx
cmp ebx, esi
jl 0x100017d0
mov esi, dword [ebp - 0x14]
cmp esi, 3
jge 0x10001877
mov ebx, 3
sub ebx, esi
nop word [eax + eax]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x10001861
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10001859
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x10001872
push 0x3d
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
mov ecx, edi
call fcn.10001a70
sub ebx, 1
jne 0x10001840
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.10019aed
int3