Function at 0x10001f80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004fd49
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1006e090]
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 0x100024be
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 0x100021ab
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 0x1000208a
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x1000207d
mov eax, dword [edi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x1000218d
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x100024d7
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x100020af
mov ebx, 0x7fffffff
jmp 0x100020d0
mov esi, edx
mov eax, 0x7fffffff
shr esi, 1
sub eax, esi
cmp edx, eax
jbe 0x100020c5
mov ebx, 0x7fffffff
jmp 0x100020cd
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
or esi, 0xffffffff
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x10002102
lea eax, [edx + 0x23]
cmp eax, edx
cmovbe eax, esi
push eax
call fcn.1001645f
add esp, 4
test eax, eax
je 0x100024d2
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10002118
test edx, edx
je 0x10002116
push edx
call fcn.1001645f
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov esi, eax
jmp 0x10002118
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 0x10002170
mov ebx, dword [edi]
push ebx
push esi
call fcn.1002d660
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 0x10002164
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x100024d2
mov ebx, edx
push ecx
push ebx
call fcn.1001642e
add esp, 8
jmp 0x10002188
push edi
push esi
call fcn.1002d660
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 0x10002040
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 0x10001fd8
test ecx, ecx
je 0x100024be
mov eax, ecx
cmp ecx, 3
jge 0x100021e2
cmp eax, 3
jae 0x100024dc
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x100021c8
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 0x10002382
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 0x1000226d
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x10002260
mov eax, dword [edi]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x1000236f
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x100024d7
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x10002292
mov ebx, 0x7fffffff
jmp 0x100022b0
mov edx, esi
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x100022a8
mov ebx, 0x7fffffff
jmp 0x100022b0
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x100022e7
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.1001645f
add esp, 4
test eax, eax
je 0x100024d2
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x100022fd
test edx, edx
je 0x100022fb
push edx
call fcn.1001645f
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov esi, eax
jmp 0x100022fd
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 0x10002355
mov ebx, dword [edi]
push ebx
push esi
call fcn.1002d660
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 0x10002349
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x100024d2
mov ebx, edx
push ecx
push ebx
call fcn.1001642e
add esp, 8
jmp 0x1000236d
push edi
push esi
call fcn.1002d660
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 0x10002223
mov ecx, dword [ebp - 0x20]
cmp ecx, 3
jge 0x100024be
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 0x100023be
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x100023b3
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x100024b2
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x100024d7
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x100023e3
mov ebx, 0x7fffffff
jmp 0x10002401
mov edx, esi
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x100023f9
mov ebx, 0x7fffffff
jmp 0x10002401
lea eax, [esi + edx]
cmp ebx, eax
cmovb ebx, eax
lea edx, [ebx + 1]
cmp edx, 0x1000
jb 0x10002438
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.1001645f
add esp, 4
test eax, eax
je 0x100024d2
mov ecx, dword [ebp + 0x10]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000244e
test edx, edx
je 0x1000244c
push edx
call fcn.1001645f
mov ecx, dword [ebp + 0x10]
add esp, 4
mov esi, eax
jmp 0x1000244e
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 0x1000249d
mov ebx, dword [edi]
push ebx
push esi
call fcn.1002d660
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
inc ecx
mov word [esi + eax], 0x3d
cmp ecx, 0x1000
jb 0x10002491
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x100024d2
mov ebx, edx
push ecx
push ebx
call fcn.1001642e
add esp, 8
jmp 0x100024b0
push edi
push esi
call fcn.1002d660
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 0x10002390
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.10031d09
call fcn.10001e20
call fcn.10016913
int3