Function at 0x40c435
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 0x40c44b
xor ecx, ecx
pop edi
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov byte [ecx + 0x4375e0], al
and edx, esi
add eax, eax
xor eax, edx
inc ecx
cmp ecx, 0x1e
jb 0x40c47e
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x40c4a6
mov ebx, dword [ebp - 4]
test bl, bl
je 0x40c4c2
movzx eax, bl
movzx eax, byte [ebp + eax - 0x104]
lea ecx, [ebp - 0x205]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x40c4c4
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 + 0x4365e0]
mov byte [ebx + 0x437700], cl
mov byte [edx + 1], cl
mov byte [edx], cl
mov byte [eax + 0x4369e3], cl
mov byte [eax + 0x4369e0], cl
mov byte [eax + 0x436de3], cl
mov byte [eax + 0x436de2], cl
mov byte [eax + 0x4371e2], cl
mov byte [eax + 0x4371e1], cl
je 0x40c532
movzx edx, cl
movzx edx, byte [ebp + edx - 0x104]
movzx edx, byte [ebp + edx - 0x2eb]
jmp 0x40c534
xor edx, edx
mov byte [eax + 0x4365e3], dl
mov byte [eax + 0x4369e2], dl
mov byte [eax + 0x436de1], dl
mov byte [eax + 0x4371e0], dl
test cl, cl
je 0x40c565
movzx ecx, cl
movzx ecx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp + ecx - 0x303]
jmp 0x40c567
xor ecx, ecx
mov byte [eax + 0x4365e2], cl
mov byte [eax + 0x4369e1], cl
mov byte [eax + 0x436de0], cl
mov byte [eax + 0x4371e3], 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 0x40c5ce
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 0x40c5d0
xor bl, bl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x437600], bl
test bl, bl
je 0x40c5f2
movzx ecx, bl
movzx ecx, byte [ebp + ecx - 0x104]
movzx edx, byte [ebp + ecx - 0x29c]
jmp 0x40c5f4
xor edx, edx
movzx esi, bl
mov ecx, esi
shl ecx, 2
mov byte [eax + 0x4355e2], dl
mov byte [eax + 0x4359e1], dl
mov byte [eax + 0x435de0], dl
mov byte [eax + 0x4361e3], dl
mov byte [ecx + 0x4345e2], dl
mov byte [ecx + 0x4349e1], dl
mov byte [ecx + 0x434de0], dl
mov byte [ecx + 0x4351e3], dl
test bl, bl
je 0x40c642
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x23d]
jmp 0x40c644
xor edx, edx
mov byte [eax + 0x4355e0], dl
mov byte [eax + 0x4359e3], dl
mov byte [eax + 0x435de2], dl
mov byte [eax + 0x4361e1], dl
mov byte [ecx + 0x4345e0], dl
mov byte [ecx + 0x4349e3], dl
mov byte [ecx + 0x434de2], dl
mov byte [ecx + 0x4351e1], dl
test bl, bl
je 0x40c68a
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x216]
jmp 0x40c68c
xor edx, edx
mov byte [eax + 0x4355e1], dl
mov byte [eax + 0x4359e0], dl
mov byte [eax + 0x435de3], dl
mov byte [eax + 0x4361e2], dl
mov byte [ecx + 0x4345e1], dl
mov byte [ecx + 0x4349e0], dl
mov byte [ecx + 0x434de3], dl
mov byte [ecx + 0x4351e2], dl
test bl, bl
je 0x40c6d2
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x225]
jmp 0x40c6d4
xor edx, edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x100
mov byte [eax + 0x4355e3], dl
mov byte [eax + 0x4359e2], dl
mov byte [eax + 0x435de1], dl
mov byte [eax + 0x4361e0], dl
mov byte [ecx + 0x4345e3], dl
mov byte [ecx + 0x4349e2], dl
mov byte [ecx + 0x434de1], dl
mov byte [ecx + 0x4351e0], dl
jl 0x40c4a3
pop esi
pop ebx
leave
ret