Function at 0x10001fa0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050419
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1006e098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 0xf
mov byte [edi], cl
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], 1
test eax, eax
je 0x100024de
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 0x100021cb
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
cmp dword [0x1006e020], 0x10
mov ecx, 0x1006e00c
movzx eax, byte [ebp + eax - 0x18]
cmovae ecx, dword [0x1006e00c]
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 0x100020aa
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x1000209d
mov eax, dword [edi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x100021ad
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x100024f7
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x100020cf
mov ebx, 0x7fffffff
jmp 0x100020f0
mov esi, edx
mov eax, 0x7fffffff
shr esi, 1
sub eax, esi
cmp edx, eax
jbe 0x100020e5
mov ebx, 0x7fffffff
jmp 0x100020ed
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
or esi, 0xffffffff
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x10002122
lea eax, [edx + 0x23]
cmp eax, edx
cmovbe eax, esi
push eax
call fcn.10016ea2
add esp, 4
test eax, eax
je 0x100024f2
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10002138
test edx, edx
je 0x10002136
push edx
call fcn.10016ea2
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov esi, eax
jmp 0x10002138
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 0x10002190
mov ebx, dword [edi]
push ebx
push esi
call fcn.1002dd30
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 0x10002184
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x100024f2
mov ebx, edx
push ecx
push ebx
call fcn.10016b0e
add esp, 8
jmp 0x100021a8
push edi
push esi
call fcn.1002dd30
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 0x10002060
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 0x10001ff8
test ecx, ecx
je 0x100024de
mov eax, ecx
cmp ecx, 3
jge 0x10002202
cmp eax, 3
jae 0x100024fc
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x100021e8
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 0x100023a2
cmp dword [0x1006e020], 0x10
mov ecx, 0x1006e00c
movzx eax, byte [ebp + eax - 0x18]
cmovae ecx, dword [0x1006e00c]
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 0x1000228d
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x10002280
mov eax, dword [edi]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x1000238f
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x100024f7
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x100022b2
mov ebx, 0x7fffffff
jmp 0x100022d0
mov edx, esi
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x100022c8
mov ebx, 0x7fffffff
jmp 0x100022d0
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x10002307
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.10016ea2
add esp, 4
test eax, eax
je 0x100024f2
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000231d
test edx, edx
je 0x1000231b
push edx
call fcn.10016ea2
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov esi, eax
jmp 0x1000231d
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 0x10002375
mov ebx, dword [edi]
push ebx
push esi
call fcn.1002dd30
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 0x10002369
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x100024f2
mov ebx, edx
push ecx
push ebx
call fcn.10016b0e
add esp, 8
jmp 0x1000238d
push edi
push esi
call fcn.1002dd30
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 0x10002243
mov ecx, dword [ebp - 0x20]
cmp ecx, 3
jge 0x100024de
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 0x100023de
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x100023d3
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x100024d2
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x100024f7
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x10002403
mov ebx, 0x7fffffff
jmp 0x10002421
mov edx, esi
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x10002419
mov ebx, 0x7fffffff
jmp 0x10002421
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x10002458
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.10016ea2
add esp, 4
test eax, eax
je 0x100024f2
mov ecx, dword [ebp + 0x10]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000246e
test edx, edx
je 0x1000246c
push edx
call fcn.10016ea2
mov ecx, dword [ebp + 0x10]
add esp, 4
mov esi, eax
jmp 0x1000246e
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 0x100024bd
mov ebx, dword [edi]
push ebx
push esi
call fcn.1002dd30
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
inc ecx
mov word [esi + eax], 0x3d
cmp ecx, 0x1000
jb 0x100024b1
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x100024f2
mov ebx, edx
push ecx
push ebx
call fcn.10016b0e
add esp, 8
jmp 0x100024d0
push edi
push esi
call fcn.1002dd30
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 0x100023b0
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.100323d9
call fcn.10001e40
call fcn.10016ff3
int3