Function at 0x4df64c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
mov eax, dword [0x4e7fde0]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
je 0x4df6709
push ebx
push ebp
push edi
push 0x200
xor edi, edi
lea eax, [esp + 0x21]
push edi
push eax
mov byte [esp + 0x28], 0
call fcn.04df7dbc
mov ebp, dword [esi + 0xc]
add esp, 0xc
cmp ebp, 0x200
ja 0x4df65eb
push 0x200
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.04df7dbc
mov ebx, dword [esi]
mov dword [esp + 0x20], edi
mov edi, 2
lea ecx, [edi - 1]
lea eax, [esp + 0x28]
add esp, 0xc
sub eax, ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
xor edx, edx
div ebp
mov eax, dword [esp + 0x14]
and eax, 0xf
add dword [esp + 0x14], 4
movzx edx, byte [edx + ebx]
xor dl, byte [eax + esi + 0x1c]
mov eax, dword [esp + 0x18]
mov byte [eax + ecx], dl
xor edx, edx
mov eax, ecx
div ebp
mov eax, ecx
and eax, 0xf
add ecx, 4
movzx edx, byte [edx + ebx]
xor dl, byte [eax + esi + 0x1c]
mov eax, edi
mov byte [esp + ecx + 0x18], dl
xor edx, edx
div ebp
mov eax, edi
and eax, 0xf
add edi, 4
movzx edx, byte [edx + ebx]
xor dl, byte [eax + esi + 0x1c]
mov eax, dword [esp + 0x10]
mov byte [esp + edi + 0x18], dl
xor edx, edx
div ebp
mov eax, dword [esp + 0x10]
and eax, 0xf
movzx edx, byte [edx + ebx]
xor dl, byte [eax + esi + 0x1c]
mov eax, dword [esp + 0x10]
mov byte [esp + eax + 0x1c], dl
add eax, 4
cmp ecx, 0x201
mov dword [esp + 0x10], eax
jl 0x4df6540
mov eax, dword [esi + 0x14]
push eax
push ebp
lea ecx, [esp + 0x24]
push 1
push ecx
nop
call 0x7c226927
add esp, 0x10
mov edi, eax
cmp edi, dword [esi + 0xc]
pop edi
pop ebp
pop ebx
jmp 0x4df6722
lea eax, [esp + 0x1c]
sub eax, 1
mov dword [esp + 0x18], eax
jmp 0x4df6600
push 0x201
lea edx, [esp + 0x20]
push 0
push edx
call fcn.04df7dbc
add esp, 0xc
test edi, edi
je 0x4df6622
sub ebp, edi
cmp ebp, 0x200
jle 0x4df6627
mov ebp, 0x200
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call fcn.04df7dbc
mov ebx, 2
add esp, 0xc
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 3
lea ecx, [ebx - 1]
mov eax, dword [esp + 0x10]
cdq
idiv ebp
mov eax, dword [esp + 0x10]
and eax, 0xf
add dword [esp + 0x10], 4
add edx, dword [esi]
movzx edx, byte [edx + edi]
xor dl, byte [eax + esi + 0x1c]
mov eax, dword [esp + 0x18]
mov byte [ecx + eax], dl
mov eax, ecx
cdq
idiv ebp
mov eax, ecx
and eax, 0xf
add ecx, 4
add edx, dword [esi]
movzx edx, byte [edx + edi]
xor dl, byte [eax + esi + 0x1c]
mov eax, ebx
mov byte [esp + ecx + 0x18], dl
cdq
idiv ebp
mov eax, ebx
and eax, 0xf
add ebx, 4
add edx, dword [esi]
movzx edx, byte [edx + edi]
xor dl, byte [eax + esi + 0x1c]
mov eax, dword [esp + 0x14]
mov byte [esp + ebx + 0x18], dl
cdq
idiv ebp
mov eax, dword [esp + 0x14]
and eax, 0xf
add edx, dword [esi]
movzx edx, byte [edx + edi]
xor dl, byte [eax + esi + 0x1c]
mov eax, dword [esp + 0x14]
mov byte [esp + eax + 0x1c], dl
add eax, 4
cmp ecx, 0x201
mov dword [esp + 0x14], eax
jl 0x4df6653
mov eax, dword [esi + 0x14]
push eax
push ebp
lea ecx, [esp + 0x24]
push 1
push ecx
nop
call 0x7c226927
mov ebp, dword [esi + 0xc]
add edi, eax
add esp, 0x10
cmp edi, ebp
jb 0x4df6600
cmp edi, ebp
pop edi
pop ebp
pop ebx
jmp 0x4df6722
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push edx
push eax
push 1
push ecx
nop
call 0x7c226927
add esp, 0x10
cmp eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x214]
mov dword [esi + 0xc], 0
sete al
pop esi
xor ecx, esp
call fcn.04df7d7a
add esp, 0x214
ret