Function at 0x100022a0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fb79
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100811d4]
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 0x100027ee
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 0x100024db
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 [0x10081020], 0x10
mov ecx, 0x1008100c
movzx eax, byte [ebp + eax - 0x18]
cmovae ecx, dword [0x1008100c]
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 0x100023ba
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x100023ad
mov eax, dword [edi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x100024bd
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x10002807
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x100023df
mov ebx, SysReAllocString
jmp 0x10002400
mov esi, edx
mov eax, SysReAllocString
shr esi, 1
sub eax, esi
cmp edx, eax
jbe 0x100023f5
mov ebx, SysReAllocString
jmp 0x100023fd
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
or esi, 0xffffffff
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x10002432
lea eax, [edx + 0x23]
cmp eax, edx
cmovbe eax, esi
push eax
call fcn.100244fd
add esp, 4
test eax, eax
je 0x10002802
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10002448
test edx, edx
je 0x10002446
push edx
call fcn.100244fd
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov esi, eax
jmp 0x10002448
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 0x100024a0
mov ebx, dword [edi]
push ebx
push esi
call fcn.1003b320
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 0x10002494
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x10002802
mov ebx, edx
push ecx
push ebx
call fcn.100244c7
add esp, 8
jmp 0x100024b8
push edi
push esi
call fcn.1003b320
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 0x10002370
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 0x10002301
test ecx, ecx
je 0x100027ee
mov eax, ecx
cmp ecx, 3
jge 0x10002512
cmp eax, 3
jae 0x1000280c
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x100024f8
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 0x100026b2
cmp dword [0x10081020], 0x10
mov ecx, 0x1008100c
movzx eax, byte [ebp + eax - 0x18]
cmovae ecx, dword [0x1008100c]
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 0x1000259d
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x10002590
mov eax, dword [edi]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x1000269f
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x10002807
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x100025c2
mov ebx, SysReAllocString
jmp 0x100025e0
mov edx, esi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x100025d8
mov ebx, SysReAllocString
jmp 0x100025e0
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x10002617
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.100244fd
add esp, 4
test eax, eax
je 0x10002802
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000262d
test edx, edx
je 0x1000262b
push edx
call fcn.100244fd
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov esi, eax
jmp 0x1000262d
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 0x10002685
mov ebx, dword [edi]
push ebx
push esi
call fcn.1003b320
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 0x10002679
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x10002802
mov ebx, edx
push ecx
push ebx
call fcn.100244c7
add esp, 8
jmp 0x1000269d
push edi
push esi
call fcn.1003b320
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 0x10002553
mov ecx, dword [ebp - 0x20]
cmp ecx, 3
jge 0x100027ee
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 0x100026ee
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x100026e3
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x100027e2
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x10002807
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x10002713
mov ebx, SysReAllocString
jmp 0x10002731
mov edx, esi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x10002729
mov ebx, SysReAllocString
jmp 0x10002731
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x10002768
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.100244fd
add esp, 4
test eax, eax
je 0x10002802
mov ecx, dword [ebp + 0x10]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000277e
test edx, edx
je 0x1000277c
push edx
call fcn.100244fd
mov ecx, dword [ebp + 0x10]
add esp, 4
mov esi, eax
jmp 0x1000277e
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 0x100027cd
mov ebx, dword [edi]
push ebx
push esi
call fcn.1003b320
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
inc ecx
mov word [esi + eax], 0x3d
cmp ecx, 0x1000
jb 0x100027c1
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x10002802
mov ebx, edx
push ecx
push ebx
call fcn.100244c7
add esp, 8
jmp 0x100027e0
push edi
push esi
call fcn.1003b320
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 0x100026c0
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.1003fc49
call fcn.10002100
call fcn.100249d0
int3