Function at 0x40c5f9
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 0x40c60f
xor ecx, ecx
pop edi
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov byte [ecx + 0x437ac0], al
and edx, esi
add eax, eax
xor eax, edx
inc ecx
cmp ecx, 0x1e
jb 0x40c642
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x40c66a
mov ebx, dword [ebp - 4]
test bl, bl
je 0x40c686
movzx eax, bl
movzx eax, byte [ebp + eax - 0x104]
lea ecx, [ebp - 0x205]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x40c688
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 + 0x436ac0]
mov byte [ebx + 0x437be0], cl
mov byte [edx + 1], cl
mov byte [edx], cl
mov byte [eax + 0x436ec3], cl
mov byte [eax + 0x436ec0], cl
mov byte [eax + 0x4372c3], cl
mov byte [eax + 0x4372c2], cl
mov byte [eax + 0x4376c2], cl
mov byte [eax + 0x4376c1], cl
je 0x40c6f6
movzx edx, cl
movzx edx, byte [ebp + edx - 0x104]
movzx edx, byte [ebp + edx - 0x2eb]
jmp 0x40c6f8
xor edx, edx
mov byte [eax + 0x436ac3], dl
mov byte [eax + 0x436ec2], dl
mov byte [eax + 0x4372c1], dl
mov byte [eax + 0x4376c0], dl
test cl, cl
je 0x40c729
movzx ecx, cl
movzx ecx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp + ecx - 0x303]
jmp 0x40c72b
xor ecx, ecx
mov byte [eax + 0x436ac2], cl
mov byte [eax + 0x436ec1], cl
mov byte [eax + 0x4372c0], cl
mov byte [eax + 0x4376c3], 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 0x40c792
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 0x40c794
xor bl, bl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x437ae0], bl
test bl, bl
je 0x40c7b6
movzx ecx, bl
movzx ecx, byte [ebp + ecx - 0x104]
movzx edx, byte [ebp + ecx - 0x29c]
jmp 0x40c7b8
xor edx, edx
movzx esi, bl
mov ecx, esi
shl ecx, 2
mov byte [eax + 0x435ac2], dl
mov byte [eax + 0x435ec1], dl
mov byte [eax + 0x4362c0], dl
mov byte [eax + 0x4366c3], dl
mov byte [ecx + 0x434ac2], dl
mov byte [ecx + 0x434ec1], dl
mov byte [ecx + 0x4352c0], dl
mov byte [ecx + 0x4356c3], dl
test bl, bl
je 0x40c806
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x23d]
jmp 0x40c808
xor edx, edx
mov byte [eax + 0x435ac0], dl
mov byte [eax + 0x435ec3], dl
mov byte [eax + 0x4362c2], dl
mov byte [eax + 0x4366c1], dl
mov byte [ecx + 0x434ac0], dl
mov byte [ecx + 0x434ec3], dl
mov byte [ecx + 0x4352c2], dl
mov byte [ecx + 0x4356c1], dl
test bl, bl
je 0x40c84e
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x216]
jmp 0x40c850
xor edx, edx
mov byte [eax + 0x435ac1], dl
mov byte [eax + 0x435ec0], dl
mov byte [eax + 0x4362c3], dl
mov byte [eax + 0x4366c2], dl
mov byte [ecx + 0x434ac1], dl
mov byte [ecx + 0x434ec0], dl
mov byte [ecx + 0x4352c3], dl
mov byte [ecx + 0x4356c2], dl
test bl, bl
je 0x40c896
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x225]
jmp 0x40c898
xor edx, edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x100
mov byte [eax + 0x435ac3], dl
mov byte [eax + 0x435ec2], dl
mov byte [eax + 0x4362c1], dl
mov byte [eax + 0x4366c0], dl
mov byte [ecx + 0x434ac3], dl
mov byte [ecx + 0x434ec2], dl
mov byte [ecx + 0x4352c1], dl
mov byte [ecx + 0x4356c0], dl
jl 0x40c667
pop esi
pop ebx
leave
ret