Function at 0x10010fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 8], ebx
lea ecx, [eax + edi]
cmp ecx, esi
jle 0x1001100d
pop edi
pop esi
mov byte [ebx + 0x10], 1
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
test dl, 3
je 0x100110c1
mov ecx, eax
nop dword [eax + eax]
mov eax, ecx
cmp edi, 8
jl 0x100110c1
movzx eax, byte [edx]
mov dword [ebp - 4], eax
mov eax, esi
sub eax, ecx
cmp eax, 8
jge 0x10011045
mov dword [ebx + 0xc], esi
mov eax, esi
mov byte [ebx + 0x10], 1
jmp 0x100110ac
lea eax, [ecx + 8]
mov edx, ecx
mov dword [ebx + 0xc], eax
and edx, 0x1f
mov eax, dword [ebx]
sar ecx, 5
lea ebx, [eax + ecx*4]
mov cl, dl
mov edi, dword [ebx]
mov eax, 0x1f
rol dword [ebp - 4], cl
sub eax, edx
mov ecx, 0x7f
mov dword [ebp - 0xc], edx
shrx esi, ecx, eax
mov eax, esi
and eax, 1
mov ecx, dword [ebx + eax*4]
lea edx, [ebx + eax*4]
xor ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
and ecx, esi
xor dword [edx], ecx
mov ecx, edi
xor ecx, dword [ebp - 4]
mov edx, 0xff
shlx eax, edx, eax
mov edx, dword [ebp + 8]
and ecx, eax
xor ecx, edi
mov edi, dword [ebp + 0xc]
mov dword [ebx], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
inc edx
sub edi, 8
mov dword [ebp + 8], edx
mov ecx, eax
mov dword [ebp + 0xc], edi
test dl, 3
jne 0x10011020
mov esi, eax
cmp edi, 0x20
jl 0x100111d5
test al, 7
jne 0x10011138
sar eax, 3
mov esi, edi
add eax, dword [ebx]
sar esi, 3
mov ecx, eax
or ecx, esi
mov dword [ebp + 8], esi
or ecx, edx
test cl, 3
jne 0x10011106
sar esi, 2
test esi, esi
jle 0x10011121
mov ebx, edx
sub ebx, eax
mov ecx, dword [eax + ebx]
lea eax, [eax + 4]
mov dword [eax - 4], ecx
sub esi, 1
jne 0x100110f3
mov ebx, dword [ebp - 8]
jmp 0x10011121
test esi, esi
jle 0x10011124
mov edi, edx
sub edi, eax
nop
mov cl, byte [edi + eax]
lea eax, [eax + 1]
mov byte [eax - 1], cl
sub esi, 1
jne 0x10011110
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea eax, [esi*8]
add edx, esi
sub edi, eax
mov dword [ebp + 8], edx
add dword [ebx + 0xc], eax
mov esi, dword [ebx + 0xc]
cmp edi, 0x20
jl 0x100111d5
mov ecx, esi
mov eax, 0x20
and ecx, 0x1f
sar esi, 5
sub eax, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
imul eax, ecx, 0x84
mov eax, dword [eax + 0x10055630]
mov dword [ebp - 4], eax
mov eax, dword [ecx*4 + 0x100555b0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
lea eax, [eax + esi*4]
mov dword [ebp - 0xc], eax
mov eax, edi
shr eax, 5
mov dword [ebp + 8], eax
neg eax
shl eax, 5
add edi, eax
mov dword [ebp + 0xc], edi
mov edi, dword [ebp - 0xc]
nop dword [eax]
mov ecx, dword [edi]
lea edi, [edi + 4]
mov esi, dword [edx]
add edx, 4
mov eax, dword [ebp - 0x10]
and ecx, dword [ebp - 4]
shlx eax, esi, eax
or ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [edi - 4], ecx
cmp eax, 0x20
jae 0x100111c0
mov ecx, dword [edi]
and ecx, dword [ebp - 0x18]
shrx eax, esi, eax
or ecx, eax
mov dword [edi], ecx
mov esi, dword [ebx + 0xc]
add esi, 0x20
sub dword [ebp + 8], 1
mov dword [ebx + 0xc], esi
jne 0x10011190
mov edi, dword [ebp + 0xc]
mov dword [ebp + 8], edx
cmp edi, 8
jl 0x1001127e
mov eax, edi
shr eax, 3
mov dword [ebp - 0xc], eax
neg eax
lea edi, [edi + eax*8]
mov dword [ebp + 0xc], edi
nop
mov ecx, dword [ebx + 8]
mov eax, ecx
movzx edi, byte [edx]
sub eax, esi
cmp eax, 8
jge 0x1001120a
mov dword [ebx + 0xc], ecx
mov esi, ecx
mov byte [ebx + 0x10], 1
jmp 0x1001126d
lea eax, [esi + 8]
mov edx, esi
mov dword [ebx + 0xc], eax
and edx, 0x1f
mov eax, dword [ebx]
mov cl, dl
sar esi, 5
lea ebx, [eax + esi*4]
rol edi, cl
mov eax, 0x1f
mov dword [ebp - 0x18], edx
sub eax, edx
mov dword [ebp - 4], edi
mov edi, dword [ebx]
mov ecx, 0x7f
shrx esi, ecx, eax
mov eax, esi
and eax, 1
mov ecx, dword [ebx + eax*4]
lea edx, [ebx + eax*4]
xor ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
and ecx, esi
xor dword [edx], ecx
mov edx, 0xff
mov ecx, edi
xor ecx, dword [ebp - 4]
shlx eax, edx, eax
mov edx, dword [ebp + 8]
and ecx, eax
xor ecx, edi
mov dword [ebx], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebx + 0xc]
inc edx
sub dword [ebp - 0xc], 1
mov dword [ebp + 8], edx
jne 0x100111f0
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1001131b
movzx eax, byte [edx]
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], eax
mov eax, ecx
sub eax, esi
cmp eax, edi
jge 0x100112b1
mov eax, dword [ebp - 8]
mov byte [ebx + 0x10], 1
pop edi
pop esi
cmp byte [eax + 0x10], 0
mov dword [ebx + 0xc], ecx
sete al
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esi + edi]
mov ecx, esi
mov dword [ebx + 0xc], eax
and ecx, 0x1f
rol dword [ebp + 0xc], cl
mov eax, dword [ebx]
mov dword [ebp + 8], ecx
mov ecx, 1
sar esi, 5
lea edx, [eax + esi*4]
lea eax, [edi - 1]
mov dword [ebp - 0x18], edx
mov edi, dword [edx]
shlx ebx, ecx, eax
mov ecx, 0x1f
sub ecx, dword [ebp + 8]
lea eax, [ebx - 1]
shrx esi, eax, ecx
mov eax, esi
and eax, 1
mov ecx, dword [edx + eax*4]
lea edx, [edx + eax*4]
xor ecx, dword [ebp + 0xc]
lea eax, [ebx*2 - 1]
and ecx, esi
xor dword [edx], ecx
mov ecx, dword [ebp + 8]
shlx ecx, eax, ecx
mov eax, edi
xor eax, dword [ebp + 0xc]
and ecx, eax
mov eax, dword [ebp - 0x18]
xor ecx, edi
mov dword [eax], ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
cmp byte [eax + 0x10], 0
sete al
mov esp, ebp
pop ebp
ret 8