Function at 0x1001d190
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc3f9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100fc03c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], 1
test eax, eax
je 0x1001d3e8
nop word [eax + eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0x10], al
inc esi
mov bl, byte [ebp - 0xe]
mov cl, byte [ebp - 0x10]
mov bh, byte [ebp - 0xf]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1d], cl
cmp esi, 3
jne 0x1001d2c5
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, bh
shl cl, 4
shr al, 4
add cl, al
mov al, bl
mov byte [ebp - 0x17], cl
mov cl, bh
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, bl
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor esi, esi
nop word [eax + eax]
cmp dword [0x100fc9b0], 0x10
mov ecx, 0x100fc99c
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x100fc99c]
mov edx, dword [edi + 0x14]
mov bl, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x14], bl
cmp ecx, edx
jae 0x1001d2a1
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x1001d297
mov eax, dword [edi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x1001d2b4
push dword [ebp - 0x14]
mov byte [ebp - 0x28], 0
mov ecx, edi
push dword [ebp - 0x28]
push 1
call fcn.10016c10
inc esi
cmp esi, 4
jl 0x1001d260
mov edx, dword [ebp - 0x1c]
xor esi, esi
mov cl, byte [ebp - 0x1d]
mov bl, byte [ebp - 0x1e]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1001d200
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1001d3e8
mov eax, esi
cmp esi, 3
jge 0x1001d2ff
cmp eax, 3
jae 0x1001d3fc
mov byte [ebp + eax - 0x10], 0
inc eax
cmp eax, 3
jl 0x1001d2e5
mov bl, byte [ebp - 0xe]
mov bh, byte [ebp - 0xf]
mov cl, byte [ebp - 0x10]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, bh
shr al, 4
and bh, 0xf
shl cl, 4
add cl, al
shl bh, 2
mov al, bl
mov byte [ebp - 0x17], cl
shr al, 6
and bl, 0x3f
add bh, al
mov byte [ebp - 0x15], bl
lea eax, [esi + 1]
mov byte [ebp - 0x16], bh
xor ebx, ebx
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x1001d39f
mov esi, eax
nop dword [eax + eax]
cmp dword [0x100fc9b0], 0x10
mov ecx, 0x100fc99c
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x100fc99c]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x1001d384
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x1001d377
mov eax, dword [edi]
mov dl, byte [ebp - 0x10]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x1001d397
push dword [ebp - 0x10]
mov byte [ebp - 0x1c], 0
mov ecx, edi
push dword [ebp - 0x1c]
push 1
call fcn.10016c10
inc ebx
cmp ebx, esi
jl 0x1001d340
mov esi, dword [ebp - 0x14]
cmp esi, 3
jge 0x1001d3e8
mov ebx, 3
sub ebx, esi
nop dword [eax + eax]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x1001d3d1
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x1001d3c9
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x1001d3e3
push 0x3d
mov byte [ebp - 0x1c], 0
mov ecx, edi
push dword [ebp - 0x1c]
push 1
call fcn.10016c10
sub ebx, 1
jne 0x1001d3b0
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.100897bc
int3