Function at 0x10002210
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a5a9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100691d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 1
test eax, eax
je 0x1000275e
or esi, 0xffffffff
mov edx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [edx]
inc edx
mov byte [ebp + ecx - 0x14], al
inc ecx
mov bl, byte [ebp - 0x14]
mov dword [ebp + 0xc], edx
mov dh, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x10], dh
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xf], bl
cmp ecx, 3
jne 0x1000244b
mov al, bl
mov cl, bl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, dh
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, dh
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor eax, eax
mov dword [ebp - 0x24], eax
nop dword [eax]
cmp dword [0x10069020], 0x10
mov ecx, 0x1006900c
movzx eax, byte [ebp + eax - 0x18]
cmovae ecx, dword [0x1006900c]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x20], edx
mov bl, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
jae 0x1000232a
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x1000231d
mov eax, dword [edi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x1000242d
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x10002777
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x1000234f
mov ebx, SysReAllocString
jmp 0x10002370
mov esi, edx
mov eax, SysReAllocString
shr esi, 1
sub eax, esi
cmp edx, eax
jbe 0x10002365
mov ebx, SysReAllocString
jmp 0x1000236d
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
or esi, 0xffffffff
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x100023a2
lea eax, [edx + 0x23]
cmp eax, edx
cmovbe eax, esi
push eax
call fcn.10018466
add esp, 4
test eax, eax
je 0x10002772
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x100023b8
test edx, edx
je 0x100023b6
push edx
call fcn.10018466
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov esi, eax
jmp 0x100023b8
xor esi, esi
cmp dword [ebp - 0x20], 0x10
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
push ecx
jb 0x10002410
mov ebx, dword [edi]
push ebx
push esi
call fcn.1002f280
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [esi + eax], cl
mov ecx, dword [ebp - 0x20]
inc ecx
mov byte [esi + eax + 1], 0
cmp ecx, 0x1000
jb 0x10002404
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x10002772
mov ebx, edx
push ecx
push ebx
call fcn.10018430
add esp, 8
jmp 0x10002428
push edi
push esi
call fcn.1002f280
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [esi + eax], cl
mov byte [esi + eax + 1], 0
mov dword [edi], esi
or esi, 0xffffffff
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 4
jl 0x100022e0
mov dl, byte [ebp - 0xe]
xor ecx, ecx
mov bl, byte [ebp - 0xf]
mov dh, byte [ebp - 0x10]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10002271
test ecx, ecx
je 0x1000275e
mov eax, ecx
cmp ecx, 3
jge 0x10002482
cmp eax, 3
jae 0x1000277c
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x10002468
mov dh, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov bl, byte [ebp - 0x14]
mov al, bl
and bl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl bl, 4
add bl, al
shl dl, 2
mov al, dh
mov byte [ebp - 0x17], bl
shr al, 6
and dh, 0x3f
add dl, al
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x16], dl
xor eax, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], edx
test edx, edx
jle 0x10002622
cmp dword [0x10069020], 0x10
mov ecx, 0x1006900c
movzx eax, byte [ebp + eax - 0x18]
cmovae ecx, dword [0x1006900c]
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x24], esi
mov dl, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp + 0x13], dl
mov dword [ebp - 0x1c], ecx
cmp ecx, esi
jae 0x1000250d
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x10002500
mov eax, dword [edi]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x1000260f
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x10002777
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x10002532
mov ebx, SysReAllocString
jmp 0x10002550
mov edx, esi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x10002548
mov ebx, SysReAllocString
jmp 0x10002550
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x10002587
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.10018466
add esp, 4
test eax, eax
je 0x10002772
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000259d
test edx, edx
je 0x1000259b
push edx
call fcn.10018466
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov esi, eax
jmp 0x1000259d
xor esi, esi
cmp dword [ebp - 0x24], 0x10
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
push ecx
jb 0x100025f5
mov ebx, dword [edi]
push ebx
push esi
call fcn.1002f280
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp + 0x13]
mov byte [esi + eax], cl
mov ecx, dword [ebp - 0x24]
inc ecx
mov byte [esi + eax + 1], 0
cmp ecx, 0x1000
jb 0x100025e9
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x10002772
mov ebx, edx
push ecx
push ebx
call fcn.10018430
add esp, 8
jmp 0x1000260d
push edi
push esi
call fcn.1002f280
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp + 0x13]
mov byte [esi + eax], cl
mov byte [esi + eax + 1], 0
mov dword [edi], esi
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x2c]
jl 0x100024c3
mov ecx, dword [ebp - 0x20]
cmp ecx, 3
jge 0x1000275e
nop dword [eax + eax]
mov esi, dword [edi + 0x14]
inc ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 0x10]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x24], esi
cmp ecx, esi
jae 0x1000265e
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x10002653
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x10002752
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x10002777
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x10002683
mov ebx, SysReAllocString
jmp 0x100026a1
mov edx, esi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x10002699
mov ebx, SysReAllocString
jmp 0x100026a1
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x100026d8
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.10018466
add esp, 4
test eax, eax
je 0x10002772
mov ecx, dword [ebp + 0x10]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x100026ee
test edx, edx
je 0x100026ec
push edx
call fcn.10018466
mov ecx, dword [ebp + 0x10]
add esp, 4
mov esi, eax
jmp 0x100026ee
xor esi, esi
cmp dword [ebp - 0x24], 0x10
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
push ecx
jb 0x1000273d
mov ebx, dword [edi]
push ebx
push esi
call fcn.1002f280
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
inc ecx
mov word [esi + eax], 0x3d
cmp ecx, 0x1000
jb 0x10002731
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x10002772
mov ebx, edx
push ecx
push ebx
call fcn.10018430
add esp, 8
jmp 0x10002750
push edi
push esi
call fcn.1002f280
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov word [esi + eax], 0x3d
mov dword [edi], esi
mov ecx, dword [ebp - 0x20]
cmp ecx, 3
jl 0x10002630
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
call fcn.10033b09
call fcn.10002070
call fcn.10018939
int3