Function at 0x10002b00
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.100164c0
test al, al
je 0x10002b26
pop ebx
push ebp
push esp
pop edi
push ebp
pop eax
pop ebx
pop ecx
pop ebp
push eax
pop esp
pop ebp
pop ebx
push ecx
push ebx
pop esp
pop eax
pop ebp
pop eax
push ebx
push ebx
pop ecx
push esp
call fcn.10016370
test al, al
je 0x10002b46
push ebx
push ecx
push ecx
pop esp
push esi
pop edx
push esi
pop edx
pop ecx
pop ebp
push edx
pop ebx
pop ecx
pop esp
push ebx
push eax
pop esp
push ebx
push edx
push esp
pop ebp
push esp
push esi
call fcn.10016220
test al, al
je 0x10002b63
push ebx
push ebx
pop ecx
pop esp
pop ebx
pop ebp
push esi
push edi
pop ecx
push esp
pop esp
push ebp
push eax
pop edx
push ebp
pop ebx
push ebp
push eax
push edi
push eax
call fcn.10016290
test al, al
je 0x10002b82
push esp
pop ebp
push edi
pop ecx
push ebx
pop ecx
push eax
pop ebp
push ecx
push edi
pop edi
push ebp
push esp
push ebx
pop ebx
pop ebp
pop esi
push edi
pop edi
push edi
push esi
pop ecx
call fcn.10016b50
test al, al
je 0x10002ba2
pop esi
push ebx
push ebx
push esp
push ebx
push eax
push ebp
push esi
pop ebx
push edx
push eax
pop esp
pop ebx
pop eax
push ebp
push esp
pop edi
push ecx
pop ecx
push ebp
pop eax
push ecx
pop ecx
mov ebx, dword [ebp + 0xc]
xor edx, edx
xor ecx, ecx
xor esi, esi
test ebx, ebx
jle 0x10002ce6
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x10002bc3
inc ecx
cmp ecx, 2
jg 0x10002c0d
cmp al, 0x7f
ja 0x10002c0d
movzx eax, al
mov al, byte [eax + 0x10031330]
cmp al, 0x7f
je 0x10002c0d
cmp al, 0x40
jae 0x10002bdc
test ecx, ecx
jne 0x10002c0d
inc esi
inc edx
mov dword [ebp + 0xc], esi
cmp esi, ebx
jl 0x10002bb6
test edx, edx
je 0x10002ce6
mov ecx, dword [ebp + 0x14]
lea eax, [edx + edx*2]
lea eax, [eax*2 + 7]
sar eax, 3
cmp dword [ecx], eax
jge 0x10002c17
mov dword [ecx], eax
mov eax, 0xfffffff0
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, 0xffffffee
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10016a00
test al, al
je 0x10002c3c
pop ecx
pop esi
push edx
push ebx
push edx
pop ebp
push ecx
push eax
pop ebp
pop edx
push eax
push ebx
pop ebx
push esi
push ecx
push edx
pop edx
push ecx
push eax
push ecx
pop ecx
pop edx
push ebp
push eax
pop esi
mov esi, dword [ebp + 0xc]
call fcn.10016840
test al, al
je 0x10002c5f
push esp
push esp
push ecx
pop edi
push ebp
push edx
pop edx
push esp
push edi
push esp
pop ebp
pop ebx
pop ecx
pop edx
pop ebp
push eax
push edx
push esp
pop ecx
push esp
pop esp
push ecx
push esi
push esi
push esi
push ebx
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
mov edi, 3
mov eax, dword [ebp + 0x10]
mov edx, eax
test esi, esi
jle 0x10002cdf
mov eax, dword [ebp + 8]
nop word [eax + eax]
movzx eax, byte [eax]
mov cl, byte [eax + 0x10031330]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x10002cd0
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x10002cbb
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x10002cc8
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x10002cd0
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x10002c80
mov eax, dword [ebp + 0x10]
sub edx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret