Function at 0x4cc91c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, 0x4fa8c4
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not eax
jmp 0x4cc94b
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ecx + ebx*4]
xor ebx, eax
dec dword [ebp + 0x10]
mov eax, ebx
cmp dword [ebp + 0x10], 0
je 0x4cc956
test dl, 3
jne 0x4cc931
cmp dword [ebp + 0x10], 0x20
jb 0x4ccb9e
xor eax, dword [edx]
lea esi, [ecx + 0xc00]
mov ebx, eax
lea edi, [ecx + 0x800]
and ebx, 0xff
add edx, 4
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
ret 0x8b04
fadd dword [ecx + 0xffe3]
add byte [ebx - 0xf7461e4], cl
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
xor ebx, dword [ecx + eax*4]
sub dword [ebp + 0x10], 0x20
cmp dword [ebp + 0x10], 0x20
mov eax, ebx
jae 0x4cc960
cmp dword [ebp + 0x10], 4
jb 0x4ccbf4
xor eax, dword [edx]
lea esi, [ecx + 0xc00]
mov ebx, eax
lea edi, [ecx + 0x800]
and ebx, 0xff
add edx, 4
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
xor ebx, dword [ecx + eax*4]
sub dword [ebp + 0x10], 4
cmp dword [ebp + 0x10], 4
mov eax, ebx
jae 0x4ccba4
cmp dword [ebp + 0x10], 0
je 0x4ccc16
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ecx + ebx*4]
xor ebx, eax
dec dword [ebp + 0x10]
mov eax, ebx
jne 0x4ccbfa
not eax
pop edi
pop esi
pop ebx
pop ebp
ret