Function at 0x40c77e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
push ebx
push esi
xor eax, eax
xor ecx, ecx
inc eax
mov esi, 0x11b
push edi
mov edx, eax
and dl, 0x80
movsx edx, dl
mov byte [ebp + ecx - 0x304], al
mov byte [ebp + ecx - 0x205], al
mov byte [ebp + eax - 0x104], cl
inc ecx
neg edx
sbb edx, edx
and edx, esi
lea edi, [eax + eax]
xor edx, edi
xor eax, edx
cmp eax, 1
jne 0x40c794
xor ecx, ecx
pop edi
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov byte [ecx + 0x439760], al
and edx, esi
add eax, eax
xor eax, edx
inc ecx
cmp ecx, 0x1e
jb 0x40c7c7
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x40c7ef
mov ebx, dword [ebp - 4]
test bl, bl
je 0x40c80b
movzx eax, bl
movzx eax, byte [ebp + eax - 0x104]
lea ecx, [ebp - 0x205]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x40c80d
xor eax, eax
lea ecx, [eax + eax]
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor eax, ecx
mov ecx, eax
sar ecx, 8
xor cl, al
xor cl, 0x63
lea eax, [ebx*4]
lea edx, [eax + 0x438760]
mov byte [ebx + 0x439880], cl
mov byte [edx + 1], cl
mov byte [edx], cl
mov byte [eax + 0x438b63], cl
mov byte [eax + 0x438b60], cl
mov byte [eax + 0x438f63], cl
mov byte [eax + 0x438f62], cl
mov byte [eax + 0x439362], cl
mov byte [eax + 0x439361], cl
je 0x40c87b
movzx edx, cl
movzx edx, byte [ebp + edx - 0x104]
movzx edx, byte [ebp + edx - 0x2eb]
jmp 0x40c87d
xor edx, edx
mov byte [eax + 0x438763], dl
mov byte [eax + 0x438b62], dl
mov byte [eax + 0x438f61], dl
mov byte [eax + 0x439360], dl
test cl, cl
je 0x40c8ae
movzx ecx, cl
movzx ecx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp + ecx - 0x303]
jmp 0x40c8b0
xor ecx, ecx
mov byte [eax + 0x438762], cl
mov byte [eax + 0x438b61], cl
mov byte [eax + 0x438f60], cl
mov byte [eax + 0x439363], cl
movzx esi, bl
mov ecx, esi
shl ecx, 3
xor ecx, esi
shl ecx, 2
xor ecx, esi
add ecx, ecx
mov edx, ecx
sar edx, 8
xor dl, cl
xor dl, 5
je 0x40c917
mov ecx, esi
shl ecx, 3
xor ecx, esi
shl ecx, 2
xor ecx, esi
add ecx, ecx
mov edx, ecx
sar edx, 8
movzx edx, dl
movzx ecx, cl
xor edx, ecx
xor edx, 5
movzx ecx, byte [ebp + edx - 0x104]
lea edx, [ebp - 0x205]
sub edx, ecx
mov bl, byte [edx]
jmp 0x40c919
xor bl, bl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x439780], bl
test bl, bl
je 0x40c93b
movzx ecx, bl
movzx ecx, byte [ebp + ecx - 0x104]
movzx edx, byte [ebp + ecx - 0x29c]
jmp 0x40c93d
xor edx, edx
movzx esi, bl
mov ecx, esi
shl ecx, 2
mov byte [eax + 0x437762], dl
mov byte [eax + 0x437b61], dl
mov byte [eax + 0x437f60], dl
mov byte [eax + 0x438363], dl
mov byte [ecx + 0x436762], dl
mov byte [ecx + 0x436b61], dl
mov byte [ecx + 0x436f60], dl
mov byte [ecx + 0x437363], dl
test bl, bl
je 0x40c98b
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x23d]
jmp 0x40c98d
xor edx, edx
mov byte [eax + 0x437760], dl
mov byte [eax + 0x437b63], dl
mov byte [eax + 0x437f62], dl
mov byte [eax + 0x438361], dl
mov byte [ecx + 0x436760], dl
mov byte [ecx + 0x436b63], dl
mov byte [ecx + 0x436f62], dl
mov byte [ecx + 0x437361], dl
test bl, bl
je 0x40c9d3
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x216]
jmp 0x40c9d5
xor edx, edx
mov byte [eax + 0x437761], dl
mov byte [eax + 0x437b60], dl
mov byte [eax + 0x437f63], dl
mov byte [eax + 0x438362], dl
mov byte [ecx + 0x436761], dl
mov byte [ecx + 0x436b60], dl
mov byte [ecx + 0x436f63], dl
mov byte [ecx + 0x437362], dl
test bl, bl
je 0x40ca1b
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x225]
jmp 0x40ca1d
xor edx, edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x100
mov byte [eax + 0x437763], dl
mov byte [eax + 0x437b62], dl
mov byte [eax + 0x437f61], dl
mov byte [eax + 0x438360], dl
mov byte [ecx + 0x436763], dl
mov byte [ecx + 0x436b62], dl
mov byte [ecx + 0x436f61], dl
mov byte [ecx + 0x437360], dl
jl 0x40c7ec
pop esi
pop ebx
leave
ret