Function at 0x1defb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 8], 0
je 0x1df096
mov edx, dword [ecx]
test edx, edx
je 0x1df096
mov dword [esp + 4], 0x80878685
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x1df061
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
mov edi, eax
xor edi, 0xfa434561
mov ebx, eax
xor ebx, 0x5bcba9e
or eax, 0x7a434561
and eax, ebx
lea eax, [edi + eax*2]
lea edi, [eax + esi]
and eax, esi
mov esi, edi
not esi
and esi, eax
add esi, eax
not eax
and eax, edi
sub eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov esi, eax
xor esi, 0xe5
and eax, 0x1a
add eax, eax
sub eax, esi
mov esi, dword [esp]
mov byte [esp + esi + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x1df000
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 4]
mov ebx, dword [0x1f1ba0]
test ebx, ebx
je 0x1df125
xor edi, edi
mov esi, dword [0x1f1ba4]
nop
nop
cmp dword [esi + edi*8], 0xc766965c
je 0x1df101
inc edi
cmp ebx, edi
jne 0x1df080
mov edi, dword [ebp + 0x10]
jmp 0x1df125
mov dword [esp], 0xd91a1b14
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 3
ja 0x1df0f9
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx]
mov edx, eax
xor edx, 0x31793ebb
and eax, 0x31793ebb
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov ecx, eax
xor ecx, 0xa7
and eax, 0x58
add eax, eax
sub eax, ecx
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 4
jb 0x1df0b0
mov eax, dword [esp]
jmp 0x1df252
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x1df125
push dword [ebp + 8]
push edx
push 2
push dword [0x1f1ba8]
push esi
mov esi, ecx
call fcn.001e1c60
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x1df245
cmp eax, 0xc000010a
jne 0x1df245
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
imul esi, edi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov dword [esp + 4], 0x80878685
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 6
ja 0x1df1f4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0xc]
movzx esi, byte [esp + esi + 4]
mov edi, eax
xor edi, 0xfa434561
mov ebx, eax
xor ebx, 0x5bcba9e
or eax, 0x7a434561
and eax, ebx
lea eax, [edi + eax*2]
lea edi, [eax + esi]
and eax, esi
mov esi, edi
not esi
and esi, eax
add esi, eax
not eax
and eax, edi
sub eax, esi
mov dword [esp], eax
mov eax, dword [esp]
mov esi, eax
xor esi, 0xe5
and eax, 0x1a
add eax, eax
sub eax, esi
mov esi, dword [esp + 0xc]
mov byte [esp + esi + 4], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 7
jb 0x1df190
mov eax, dword [esp + 4]
mov esi, dword [0x1f1ba0]
test esi, esi
je 0x1df245
xor edi, edi
mov ebx, dword [0x1f1ba4]
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x7e28bda7
je 0x1df220
inc edi
cmp esi, edi
jne 0x1df210
jmp 0x1df245
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x1df245
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x1f1ba8]
push esi
mov esi, ecx
call fcn.001e1c60
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x1df252
mov esi, eax
call fcn.001deeb0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc