Function at 0x1001ea20
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
push ebp
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
push esi
push edi
jne 0x1001ea43
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1001ea34
sub eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffffc
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov ebp, ecx
mov dword [esp + 0x18], ebx
jle 0x1001ecc6
add eax, 0xffffffff
shr eax, 2
add eax, 1
lea ecx, [eax + eax*2]
lea edx, [eax*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov edx, dword [ebp]
or esi, 0xffffffff
cmp dl, 0x41
jl 0x1001ea9b
cmp dl, 0x5a
jg 0x1001ea9b
movsx esi, dl
sub esi, 0x41
jmp 0x1001ead5
cmp dl, 0x61
jl 0x1001eaad
cmp dl, 0x7a
jg 0x1001eaad
movsx esi, dl
sub esi, 0x47
jmp 0x1001ead5
cmp dl, 0x30
jl 0x1001eabf
cmp dl, 0x39
jg 0x1001eabf
movsx esi, dl
add esi, 4
jmp 0x1001ead5
cmp dl, 0x2b
jne 0x1001eacb
mov esi, 0x3e
jmp 0x1001ead5
cmp dl, 0x2f
jne 0x1001ead5
mov esi, 0x3f
mov eax, edx
shr eax, 8
mov bl, al
sub bl, 0x41
or ecx, 0xffffffff
cmp bl, 0x19
ja 0x1001eaef
movsx ecx, al
sub ecx, 0x41
jmp 0x1001eb27
mov bl, al
sub bl, 0x61
cmp bl, 0x19
ja 0x1001eb01
movsx ecx, al
sub ecx, 0x47
jmp 0x1001eb27
mov bl, al
sub bl, 0x30
cmp bl, 9
ja 0x1001eb13
movsx ecx, al
add ecx, 4
jmp 0x1001eb27
cmp al, 0x2b
jne 0x1001eb1e
mov ecx, 0x3e
jmp 0x1001eb27
cmp al, 0x2f
jne 0x1001eb27
mov ecx, 0x3f
lea edi, [ecx*4]
sar edi, 6
lea ecx, [esi*4]
or edi, ecx
mov bl, al
sub bl, 0x41
and edi, 0xff
or ecx, 0xffffffff
cmp bl, 0x19
ja 0x1001eb55
movsx ecx, al
sub ecx, 0x41
jmp 0x1001eb8d
mov bl, al
sub bl, 0x61
cmp bl, 0x19
ja 0x1001eb67
movsx ecx, al
sub ecx, 0x47
jmp 0x1001eb8d
mov bl, al
sub bl, 0x30
cmp bl, 9
ja 0x1001eb79
movsx ecx, al
add ecx, 4
jmp 0x1001eb8d
cmp al, 0x2b
jne 0x1001eb84
mov ecx, 0x3e
jmp 0x1001eb8d
cmp al, 0x2f
jne 0x1001eb8d
mov ecx, 0x3f
mov eax, edx
shr eax, 0x10
mov bl, al
sub bl, 0x41
or esi, 0xffffffff
cmp bl, 0x19
ja 0x1001eba7
movsx esi, al
sub esi, 0x41
jmp 0x1001ebdf
mov bl, al
sub bl, 0x61
cmp bl, 0x19
ja 0x1001ebb9
movsx esi, al
sub esi, 0x47
jmp 0x1001ebdf
mov bl, al
sub bl, 0x30
cmp bl, 9
ja 0x1001ebcb
movsx esi, al
add esi, 4
jmp 0x1001ebdf
cmp al, 0x2b
jne 0x1001ebd6
mov esi, 0x3e
jmp 0x1001ebdf
cmp al, 0x2f
jne 0x1001ebdf
mov esi, 0x3f
add esi, esi
add esi, esi
sar esi, 4
shl ecx, 4
or esi, ecx
mov bl, al
sub bl, 0x41
and esi, 0xff
or ecx, 0xffffffff
cmp bl, 0x19
ja 0x1001ec06
movsx ecx, al
sub ecx, 0x41
jmp 0x1001ec3e
mov bl, al
sub bl, 0x61
cmp bl, 0x19
ja 0x1001ec18
movsx ecx, al
sub ecx, 0x47
jmp 0x1001ec3e
mov bl, al
sub bl, 0x30
cmp bl, 9
ja 0x1001ec2a
movsx ecx, al
add ecx, 4
jmp 0x1001ec3e
cmp al, 0x2b
jne 0x1001ec35
mov ecx, 0x3e
jmp 0x1001ec3e
cmp al, 0x2f
jne 0x1001ec3e
mov ecx, 0x3f
shr edx, 0x18
mov bl, dl
sub bl, 0x41
or eax, 0xffffffff
cmp bl, 0x19
ja 0x1001ec56
movsx eax, dl
sub eax, 0x41
jmp 0x1001ec90
mov bl, dl
sub bl, 0x61
cmp bl, 0x19
ja 0x1001ec68
movsx eax, dl
sub eax, 0x47
jmp 0x1001ec90
mov bl, dl
sub bl, 0x30
cmp bl, 9
ja 0x1001ec7a
movsx eax, dl
add eax, 4
jmp 0x1001ec90
cmp dl, 0x2b
jne 0x1001ec86
mov eax, 0x3e
jmp 0x1001ec90
cmp dl, 0x2f
jne 0x1001ec90
mov eax, 0x3f
shl ecx, 6
lea edx, [eax*4]
mov eax, dword [esp + 0x20]
sar edx, 2
or edx, ecx
xor ecx, ecx
mov ch, dl
add eax, 3
add ebp, 4
mov dword [esp + 0x20], eax
or ecx, esi
shl ecx, 8
or ecx, edi
sub dword [esp + 0x14], 1
mov dword [eax - 3], ecx
jne 0x1001ea83
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jge 0x1001ef50
sub ecx, eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x24], eax
jle 0x1001ecf5
push ecx
lea edx, [esp + 0x28]
push ebp
push edx
call fcn.10079a90
mov eax, dword [esp + 0x30]
add esp, 0xc
or edx, 0xffffffff
cmp al, 0x41
jl 0x1001ed08
cmp al, 0x5a
jg 0x1001ed08
movsx edx, al
sub edx, 0x41
jmp 0x1001ed3c
cmp al, 0x61
jl 0x1001ed18
cmp al, 0x7a
jg 0x1001ed18
movsx edx, al
sub edx, 0x47
jmp 0x1001ed3c
cmp al, 0x30
jl 0x1001ed28
cmp al, 0x39
jg 0x1001ed28
movsx edx, al
add edx, 4
jmp 0x1001ed3c
cmp al, 0x2b
jne 0x1001ed33
mov edx, 0x3e
jmp 0x1001ed3c
cmp al, 0x2f
jne 0x1001ed3c
mov edx, 0x3f
shr eax, 8
mov bl, al
sub bl, 0x41
or ecx, 0xffffffff
cmp bl, 0x19
ja 0x1001ed54
movsx ecx, al
sub ecx, 0x41
jmp 0x1001ed8c
mov bl, al
sub bl, 0x61
cmp bl, 0x19
ja 0x1001ed66
movsx ecx, al
sub ecx, 0x47
jmp 0x1001ed8c
mov bl, al
sub bl, 0x30
cmp bl, 9
ja 0x1001ed78
movsx ecx, al
add ecx, 4
jmp 0x1001ed8c
cmp al, 0x2b
jne 0x1001ed83
mov ecx, 0x3e
jmp 0x1001ed8c
cmp al, 0x2f
jne 0x1001ed8c
mov ecx, 0x3f
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
add ecx, ecx
add ecx, ecx
add dl, dl
sar ecx, 6
add dl, dl
or cl, dl
mov byte [edi], cl
add edi, 1
add ebp, 1
cmp al, 0x3d
je 0x1001ee76
mov edx, esi
shr edx, 0x10
cmp dl, 0x3d
je 0x1001ee76
mov bl, al
sub bl, 0x41
or ecx, 0xffffffff
cmp bl, 0x19
ja 0x1001edd8
movsx ecx, al
sub ecx, 0x41
jmp 0x1001ee10
mov bl, al
sub bl, 0x61
cmp bl, 0x19
ja 0x1001edea
movsx ecx, al
sub ecx, 0x47
jmp 0x1001ee10
mov bl, al
sub bl, 0x30
cmp bl, 9
ja 0x1001edfc
movsx ecx, al
add ecx, 4
jmp 0x1001ee10
cmp al, 0x2b
jne 0x1001ee07
mov ecx, 0x3e
jmp 0x1001ee10
cmp al, 0x2f
jne 0x1001ee10
mov ecx, 0x3f
mov bl, dl
sub bl, 0x41
or eax, 0xffffffff
cmp bl, 0x19
ja 0x1001ee25
movsx eax, dl
sub eax, 0x41
jmp 0x1001ee5f
mov bl, dl
sub bl, 0x61
cmp bl, 0x19
ja 0x1001ee37
movsx eax, dl
sub eax, 0x47
jmp 0x1001ee5f
mov bl, dl
sub bl, 0x30
cmp bl, 9
ja 0x1001ee49
movsx eax, dl
add eax, 4
jmp 0x1001ee5f
cmp dl, 0x2b
jne 0x1001ee55
mov eax, 0x3e
jmp 0x1001ee5f
cmp dl, 0x2f
jne 0x1001ee5f
mov eax, 0x3f
lea edx, [eax*4]
sar edx, 4
shl cl, 4
or dl, cl
mov byte [edi], dl
add edi, 1
add ebp, 1
mov eax, esi
shr eax, 0x10
cmp al, 0x3d
je 0x1001ef41
mov edx, esi
shr edx, 0x18
cmp edx, 0x3d
je 0x1001ef41
mov bl, al
sub bl, 0x41
or ecx, 0xffffffff
cmp bl, 0x19
ja 0x1001eea6
movsx ecx, al
sub ecx, 0x41
jmp 0x1001eede
mov bl, al
sub bl, 0x61
cmp bl, 0x19
ja 0x1001eeb8
movsx ecx, al
sub ecx, 0x47
jmp 0x1001eede
mov bl, al
sub bl, 0x30
cmp bl, 9
ja 0x1001eeca
movsx ecx, al
add ecx, 4
jmp 0x1001eede
cmp al, 0x2b
jne 0x1001eed5
mov ecx, 0x3e
jmp 0x1001eede
cmp al, 0x2f
jne 0x1001eede
mov ecx, 0x3f
mov bl, dl
sub bl, 0x41
or eax, 0xffffffff
cmp bl, 0x19
ja 0x1001eef3
movsx eax, dl
sub eax, 0x41
jmp 0x1001ef2d
mov bl, dl
sub bl, 0x61
cmp bl, 0x19
ja 0x1001ef05
movsx eax, dl
sub eax, 0x47
jmp 0x1001ef2d
mov bl, dl
sub bl, 0x30
cmp bl, 9
ja 0x1001ef17
movsx eax, dl
add eax, 4
jmp 0x1001ef2d
cmp dl, 0x2b
jne 0x1001ef23
mov eax, 0x3e
jmp 0x1001ef2d
cmp dl, 0x2f
jne 0x1001ef2d
mov eax, 0x3f
add eax, eax
add eax, eax
sar eax, 2
shl cl, 6
or al, cl
mov byte [edi], al
add edi, 1
add ebp, 1
mov byte [edi], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov byte [ecx], 0
pop ebx
add esp, 0xc
ret 8