Function at 0x4dee90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10b0]
sub ecx, 2
push edi
je 0x4df0d7
sub ecx, 1
je 0x4defe0
sub ecx, 1
jne 0x4df18a
xor edx, edx
lea ecx, [esi + 0xb8]
mov edi, edi
movzx edi, byte [eax + 0xc]
movzx esi, dl
movzx ebx, byte [esi + 0x523ef8]
xor edi, ebx
movzx edi, byte [edi + 0x523ef8]
movzx ebx, byte [eax + 8]
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
movzx ebx, byte [eax + 4]
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
movzx ebx, byte [eax]
xor edi, ebx
mov edi, dword [edi*4 + 0x522df8]
mov dword [ecx - 8], edi
mov ebx, dword [eax + 0xc]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [esi + 0x523df8]
xor edi, ebx
movzx edi, byte [edi + 0x523ef8]
mov ebx, dword [eax + 8]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
movzx edi, byte [edi + 0x523ef8]
mov ebx, dword [eax + 4]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
mov ebx, dword [eax]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
mov edi, dword [edi*4 + 0x5231f8]
mov dword [ecx - 4], edi
movzx ebx, byte [esi + 0x523df8]
movzx edi, byte [eax + 0xe]
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
movzx ebx, byte [eax + 0xa]
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
movzx ebx, byte [eax + 6]
xor edi, ebx
movzx edi, byte [edi + 0x523ef8]
movzx ebx, byte [eax + 2]
xor edi, ebx
mov edi, dword [edi*4 + 0x5235f8]
mov dword [ecx], edi
movzx esi, byte [esi + 0x523ef8]
movzx edi, byte [eax + 0xf]
xor edi, esi
movzx esi, byte [edi + 0x523df8]
movzx edi, byte [eax + 0xb]
xor esi, edi
movzx esi, byte [esi + 0x523ef8]
movzx edi, byte [eax + 7]
xor esi, edi
movzx esi, byte [esi + 0x523ef8]
movzx edi, byte [eax + 3]
xor esi, edi
mov esi, dword [esi*4 + 0x5239f8]
mov dword [ecx + 4], esi
inc edx
add ecx, 0x10
cmp edx, 0x100
jb 0x4deec0
pop edi
pop esi
pop ebx
ret
xor edx, edx
lea ecx, [esi + 0xb8]
jmp 0x4deff0
movzx edi, byte [eax + 8]
movzx esi, dl
movzx ebx, byte [esi + 0x523ef8]
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
movzx ebx, byte [eax + 4]
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
movzx ebx, byte [eax]
xor edi, ebx
mov edi, dword [edi*4 + 0x522df8]
mov dword [ecx - 8], edi
mov ebx, dword [eax + 8]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [esi + 0x523ef8]
xor edi, ebx
movzx edi, byte [edi + 0x523ef8]
mov ebx, dword [eax + 4]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
mov ebx, dword [eax]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
mov edi, dword [edi*4 + 0x5231f8]
mov dword [ecx - 4], edi
movzx ebx, byte [esi + 0x523df8]
movzx edi, byte [eax + 0xa]
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
movzx ebx, byte [eax + 6]
xor edi, ebx
movzx edi, byte [edi + 0x523ef8]
movzx ebx, byte [eax + 2]
xor edi, ebx
mov edi, dword [edi*4 + 0x5235f8]
mov dword [ecx], edi
movzx esi, byte [esi + 0x523df8]
movzx edi, byte [eax + 0xb]
xor edi, esi
movzx esi, byte [edi + 0x523ef8]
movzx edi, byte [eax + 7]
xor esi, edi
movzx esi, byte [esi + 0x523ef8]
movzx edi, byte [eax + 3]
xor esi, edi
mov esi, dword [esi*4 + 0x5239f8]
mov dword [ecx + 4], esi
inc edx
add ecx, 0x10
cmp edx, 0x100
jb 0x4deff0
pop edi
pop esi
pop ebx
ret
xor edx, edx
lea ecx, [esi + 0xb8]
nop
movzx ebx, byte [eax + 4]
movzx esi, dl
movzx edi, byte [esi + 0x523df8]
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
movzx ebx, byte [eax]
xor edi, ebx
mov edi, dword [edi*4 + 0x522df8]
mov dword [ecx - 8], edi
mov ebx, dword [eax + 4]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [esi + 0x523ef8]
xor edi, ebx
movzx edi, byte [edi + 0x523df8]
mov ebx, dword [eax]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
mov edi, dword [edi*4 + 0x5231f8]
mov dword [ecx - 4], edi
movzx ebx, byte [esi + 0x523df8]
movzx edi, byte [eax + 6]
xor edi, ebx
movzx edi, byte [edi + 0x523ef8]
movzx ebx, byte [eax + 2]
xor edi, ebx
mov edi, dword [edi*4 + 0x5235f8]
mov dword [ecx], edi
movzx esi, byte [esi + 0x523ef8]
movzx edi, byte [eax + 7]
xor edi, esi
movzx esi, byte [edi + 0x523ef8]
movzx edi, byte [eax + 3]
xor esi, edi
mov esi, dword [esi*4 + 0x5239f8]
mov dword [ecx + 4], esi
inc edx
add ecx, 0x10
cmp edx, 0x100
jb 0x4df0e0
pop edi
pop esi
pop ebx
ret