Function at 0x10001e60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x1001500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ecx + 0x10]
cmp esi, 1
je 0x10001e8b
test esi, esi
jne 0x10001e92
mov eax, dword [edx]
mov dword [edx + 4], eax
mov bl, 1
jmp 0x10002081
xor ebx, ebx
jmp 0x10002081
mov edi, ecx
cmp dword [ecx + 0x14], 0xf
jbe 0x10001e9c
mov edi, dword [edi]
cmp esi, 0xf
mov dword [ebp - 0x2c], edx
ja 0x10001f77
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
mov ebx, 0xf
lea eax, [ebp - 0x28]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ebx
xor edi, edi
mov ecx, eax
cmp ebx, 0xf
jbe 0x10001ec9
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx + edi]
mov dh, dl
add dh, 0xbf
cmp dh, 0x1a
jb 0x10001ef4
mov dh, dl
add dh, 0x9f
cmp dh, 0x19
ja 0x10001ee5
add dl, 0xb9
jmp 0x10001ef2
mov dh, dl
add dh, 0xd0
cmp dh, 9
ja 0x10001f08
add dl, 4
mov dh, dl
mov byte [ecx + edi], dh
inc edi
mov esi, dword [ebp - 0x18]
cmp edi, esi
jae 0x10001fe5
mov ebx, dword [ebp - 0x14]
jmp 0x10001ebf
cmp dl, 0x2e
jle 0x10001f1b
cmp dl, 0x2f
je 0x10001f17
cmp dl, 0x5f
jne 0x10001f29
mov dh, 0x3f
jmp 0x10001ef4
mov dh, 0x3e
cmp dl, 0x2b
je 0x10001ef4
cmp dl, 0x2d
je 0x10001ef4
jmp 0x10001f2e
cmp dl, 0x3d
je 0x10001f46
cmp esi, edi
jb 0x100020b1
mov dword [ebp - 0x18], edi
mov al, byte [ecx + esi]
mov byte [ecx + edi], al
xor ebx, ebx
jmp 0x10002061
mov byte [ecx + edi], 0
mov eax, dword [ebp - 0x18]
mov edx, edi
sub edx, eax
jbe 0x10001f6c
mov ecx, dword [ebp - 0x14]
mov esi, ecx
sub esi, eax
cmp esi, edx
jae 0x10001fc0
lea ecx, [ebp - 0x28]
push edx
call fcn.100011e0
add esp, 4
jmp 0x10001fe2
cmp dword [ebp - 0x14], 0xf
jbe 0x10001fb4
mov eax, dword [ebp - 0x28]
jmp 0x10001fb7
mov ebx, esi
or ebx, 0xf
mov eax, 0x7fffffff
cmp ebx, eax
cmovae ebx, eax
cmp ebx, 0xfff
jae 0x10002095
lea eax, [ebx + 1]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x28], eax
lea ecx, [esi + 1]
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x10001eb4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], edi
mov byte [eax + edi], 0
jmp 0x10001fe2
mov dword [ebp - 0x18], edi
cmp ecx, 0xf
jbe 0x10001fcd
mov esi, dword [ebp - 0x28]
jmp 0x10001fd0
lea esi, [ebp - 0x28]
add eax, esi
push edx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + edi], 0
mov esi, dword [ebp - 0x18]
lea edx, [esi + esi*2]
shr edx, 2
mov edi, dword [ebp - 0x2c]
mov ecx, edi
call fcn.10010af0
mov bl, 1
test esi, esi
je 0x10002061
mov edx, dword [edi]
xor esi, esi
lea edi, [ebp - 0x28]
xor eax, eax
cmp dword [ebp - 0x14], 0xf
mov ecx, edi
jbe 0x1000200f
mov ecx, dword [ebp - 0x28]
movsx ebx, byte [ecx + esi]
test eax, eax
je 0x10002042
mov cl, 6
sub cl, al
sar ebx, cl
or byte [edx], bl
inc edx
mov ecx, dword [ebp - 0x2c]
cmp edx, dword [ecx + 4]
je 0x1000205f
cmp dword [ebp - 0x14], 0xf
mov ecx, edi
jbe 0x10002033
mov ecx, dword [ebp - 0x28]
movsx ebx, byte [ecx + esi]
add eax, 2
mov ecx, eax
shl ebx, cl
mov byte [edx], bl
jmp 0x1000204c
shl bl, 2
mov byte [edx], bl
mov eax, 2
lea ecx, [eax + 7]
test eax, eax
cmovns ecx, eax
and ecx, 0xfffffff8
sub eax, ecx
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x10002004
mov bl, 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10002081
mov ecx, dword [ebp - 0x28]
lea esi, [eax + 1]
cmp esi, 0x1000
jae 0x100020b6
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f700
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + 0x24]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10001f9e
call fcn.10012200
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x100020cc
add eax, 0x24
mov esi, eax
mov ecx, edx
jmp 0x10002077
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3