Function at 0x10001290
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10020004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x24], eax
test edi, edi
jne 0x100012ce
mov edi, ebx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x100012c0
sub edi, ecx
mov dword [ebp - 8], edi
test edi, edi
jg 0x100012e8
pop edi
pop esi
mov eax, 0x1001dd65
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003eae
mov esp, ebp
pop ebp
ret 0xc
push edi
call fcn.10003f22
mov ecx, dword [esi + 4]
add esp, 4
mov dword [ebp - 0x14], eax
cmp ecx, dword [esi + 8]
je 0x10001304
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x10001313
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esi
call fcn.10001770
mov eax, dword [ebp - 0x14]
mov esi, eax
xor ecx, ecx
lea eax, [edi - 4]
mov dword [ebp - 0x18], esi
test eax, eax
jle 0x10001556
lea ecx, [eax - 1]
mov edi, ebx
shr ecx, 2
inc ecx
mov dword [ebp - 0x1c], ecx
lea eax, [ecx*4]
mov dword [ebp - 0x20], eax
nop dword [eax + eax]
mov ebx, dword [edi]
or edx, 0xffffffff
lea eax, [ebx - 0x41]
cmp al, 0x19
ja 0x10001354
movsx edx, bl
sub edx, 0x41
jmp 0x10001389
lea eax, [ebx - 0x61]
cmp al, 0x19
ja 0x10001363
movsx edx, bl
sub edx, 0x47
jmp 0x10001389
lea eax, [ebx - 0x30]
cmp al, 9
ja 0x10001372
movsx edx, bl
add edx, 4
jmp 0x10001389
cmp bl, 0x2b
jne 0x1000137e
mov edx, 0x3e
jmp 0x10001389
cmp bl, 0x2f
mov eax, 0x3f
cmove edx, eax
mov ecx, ebx
shr ecx, 8
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x100013b2
movsx esi, cl
lea eax, [edx*4]
movsx ecx, cl
sub esi, 0x41
sub ecx, 0x41
sar ecx, 4
or ecx, eax
movzx edx, cl
jmp 0x1000142b
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x100013d6
movsx esi, cl
lea eax, [edx*4]
movsx ecx, cl
sub esi, 0x47
sub ecx, 0x47
sar ecx, 4
or ecx, eax
movzx edx, cl
jmp 0x1000142b
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x100013fa
movsx esi, cl
lea eax, [edx*4]
movsx ecx, cl
add esi, 4
add ecx, 4
sar ecx, 4
or ecx, eax
movzx edx, cl
jmp 0x1000142b
cmp cl, 0x2b
jne 0x1000140f
and edx, 0x3f
mov esi, 0x3e
shl edx, 2
or edx, 3
jmp 0x1000142b
cmp cl, 0x2f
jne 0x10001423
mov esi, 0x3f
and edx, esi
shl edx, 2
or edx, 3
jmp 0x1000142b
or esi, 0xffffffff
mov edx, 0xff
mov ecx, ebx
shr ecx, 0x10
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x10001453
movsx eax, cl
sub eax, 0x41
shl esi, 4
mov dword [ebp - 0xc], eax
movsx eax, cl
sub eax, 0x41
sar eax, 2
or eax, esi
movzx esi, al
jmp 0x100014cb
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x10001476
movsx eax, cl
sub eax, 0x47
shl esi, 4
mov dword [ebp - 0xc], eax
movsx eax, cl
sub eax, 0x47
sar eax, 2
or eax, esi
movzx esi, al
jmp 0x100014cb
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x10001496
movsx eax, cl
mov dword [ebp - 0xc], eax
movsx eax, cl
add eax, 4
shl esi, 4
sar eax, 2
or eax, esi
movzx esi, al
jmp 0x100014cb
cmp cl, 0x2b
jne 0x100014ab
and esi, 0xf
mov eax, 0x3e
shl esi, 4
or esi, 0xf
jmp 0x100014c8
cmp cl, 0x2f
jne 0x100014c0
and esi, 0xf
mov eax, 0x3f
shl esi, 4
or esi, 0xf
jmp 0x100014c8
or eax, 0xffffffff
mov esi, 0xff
mov dword [ebp - 0xc], eax
shr ebx, 0x18
or ecx, 0xffffffff
lea eax, [ebx - 0x41]
cmp al, 0x19
ja 0x100014e0
movsx ecx, bl
sub ecx, 0x41
jmp 0x10001515
lea eax, [ebx - 0x61]
cmp al, 0x19
ja 0x100014ef
movsx ecx, bl
sub ecx, 0x47
jmp 0x10001515
lea eax, [ebx - 0x30]
cmp al, 9
ja 0x100014fe
movsx ecx, bl
add ecx, 4
jmp 0x10001515
cmp bl, 0x2b
jne 0x1000150a
mov ecx, 0x3e
jmp 0x10001515
cmp bl, 0x2f
mov eax, 0x3f
cmove ecx, eax
mov eax, dword [ebp - 0xc]
add edi, 4
shl eax, 6
or eax, ecx
movzx eax, al
shl eax, 8
or eax, esi
mov esi, dword [ebp - 0x18]
shl eax, 8
or eax, edx
mov dword [esi], eax
add esi, 3
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], esi
jne 0x10001340
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 8]
cmp ecx, edi
jge 0x10001744
mov ebx, dword [ebp - 0xc]
sub edi, ecx
xor ecx, ecx
mov dword [ebp - 8], ecx
test edi, edi
jle 0x10001572
push edi
lea eax, [ebp - 8]
push ebx
push eax
call fcn.10006cb0
mov ecx, dword [ebp - 8]
add esp, 0xc
or ebx, 0xffffffff
lea eax, [ecx - 0x41]
lea edi, [ebx + 0x40]
cmp al, 0x19
ja 0x10001587
movsx ebx, cl
sub ebx, 0x41
jmp 0x100015b7
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x10001596
movsx ebx, cl
sub ebx, 0x47
jmp 0x100015b7
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x100015a5
movsx ebx, cl
add ebx, 4
jmp 0x100015b7
cmp cl, 0x2b
jne 0x100015b1
mov ebx, 0x3e
jmp 0x100015b7
cmp cl, 0x2f
cmove ebx, edi
mov edx, ecx
shr edx, 8
lea eax, [edx - 0x41]
mov byte [ebp - 0xd], al
cmp al, 0x19
ja 0x100015ce
movsx eax, dl
sub eax, 0x41
jmp 0x10001603
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x100015dd
movsx eax, dl
sub eax, 0x47
jmp 0x10001603
lea eax, [edx - 0x30]
cmp al, 9
ja 0x100015ec
movsx eax, dl
add eax, 4
jmp 0x10001603
cmp dl, 0x2b
jne 0x100015f8
mov eax, 0x3e
jmp 0x10001603
cmp dl, 0x2f
mov eax, 0xffffffff
cmove eax, edi
sar eax, 4
shl bl, 2
or al, bl
mov byte [esi], al
inc esi
cmp dl, 0x3d
je 0x100016bb
mov ebx, ecx
shr ebx, 0x10
mov dword [ebp - 0xc], ebx
cmp bl, 0x3d
je 0x100016bb
cmp byte [ebp - 0xd], 0x19
ja 0x10001633
sub dl, 0x41
jmp 0x10001661
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x1000163f
sub dl, 0x47
jmp 0x10001661
lea eax, [edx - 0x30]
cmp al, 9
ja 0x1000164b
add dl, 4
jmp 0x10001661
cmp dl, 0x2b
jne 0x10001654
mov dl, 0x3e
jmp 0x10001661
or al, 0xff
cmp dl, 0x2f
movzx eax, al
cmove eax, edi
mov dl, al
mov al, byte [ebp - 0xc]
or ebx, 0xffffffff
sub al, 0x41
cmp al, 0x19
ja 0x10001678
mov eax, dword [ebp - 0xc]
movsx ebx, al
sub ebx, 0x41
jmp 0x100016b0
mov al, byte [ebp - 0xc]
sub al, 0x61
cmp al, 0x19
ja 0x1000168c
mov eax, dword [ebp - 0xc]
movsx ebx, al
sub ebx, 0x47
jmp 0x100016b0
mov al, byte [ebp - 0xc]
sub al, 0x30
cmp al, 9
mov eax, dword [ebp - 0xc]
ja 0x100016a0
movsx ebx, al
add ebx, 4
jmp 0x100016b0
cmp al, 0x2b
jne 0x100016ab
mov ebx, 0x3e
jmp 0x100016b0
cmp al, 0x2f
cmove ebx, edi
sar ebx, 2
shl dl, 4
or bl, dl
mov byte [esi], bl
inc esi
mov edx, ecx
shr edx, 0x10
cmp dl, 0x3d
je 0x10001744
shr ecx, 0x18
cmp ecx, 0x3d
je 0x10001744
lea eax, [edx - 0x41]
cmp al, 0x19
ja 0x100016d9
sub dl, 0x41
jmp 0x10001702
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x100016e5
sub dl, 0x47
jmp 0x10001702
lea eax, [edx - 0x30]
cmp al, 9
jbe 0x10001702
cmp dl, 0x2b
jne 0x100016f5
mov dl, 0x3e
jmp 0x10001702
or al, 0xff
cmp dl, 0x2f
movzx eax, al
cmove eax, edi
mov dl, al
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x1000170e
sub cl, 0x41
jmp 0x1000173c
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x1000171a
sub cl, 0x47
jmp 0x1000173c
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x10001726
add cl, 4
jmp 0x1000173c
cmp cl, 0x2b
jne 0x1000172f
mov cl, 0x3e
jmp 0x1000173c
or al, 0xff
cmp cl, 0x2f
movzx eax, al
cmove eax, edi
mov cl, al
shl dl, 6
or dl, cl
mov byte [esi], dl
inc esi
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov byte [esi], 0
test ecx, ecx
je 0x10001755
sub esi, eax
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003eae
mov esp, ebp
pop ebp
ret 0xc