Function at 0x40c1d7
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 0x40c1ed
xor ecx, ecx
pop edi
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov byte [ecx + 0x436a98], al
and edx, esi
add eax, eax
xor eax, edx
inc ecx
cmp ecx, 0x1e
jb 0x40c220
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x40c248
mov ebx, dword [ebp - 4]
test bl, bl
je 0x40c264
movzx eax, bl
movzx eax, byte [ebp + eax - 0x104]
lea ecx, [ebp - 0x205]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x40c266
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 + 0x435a98]
mov byte [ebx + 0x436bb8], cl
mov byte [edx + 1], cl
mov byte [edx], cl
mov byte [eax + 0x435e9b], cl
mov byte [eax + 0x435e98], cl
mov byte [eax + 0x43629b], cl
mov byte [eax + 0x43629a], cl
mov byte [eax + 0x43669a], cl
mov byte [eax + 0x436699], cl
je 0x40c2d4
movzx edx, cl
movzx edx, byte [ebp + edx - 0x104]
movzx edx, byte [ebp + edx - 0x2eb]
jmp 0x40c2d6
xor edx, edx
mov byte [eax + 0x435a9b], dl
mov byte [eax + 0x435e9a], dl
mov byte [eax + 0x436299], dl
mov byte [eax + 0x436698], dl
test cl, cl
je 0x40c307
movzx ecx, cl
movzx ecx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp + ecx - 0x303]
jmp 0x40c309
xor ecx, ecx
mov byte [eax + 0x435a9a], cl
mov byte [eax + 0x435e99], cl
mov byte [eax + 0x436298], cl
mov byte [eax + 0x43669b], 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 0x40c370
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 0x40c372
xor bl, bl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x436ab8], bl
test bl, bl
je 0x40c394
movzx ecx, bl
movzx ecx, byte [ebp + ecx - 0x104]
movzx edx, byte [ebp + ecx - 0x29c]
jmp 0x40c396
xor edx, edx
movzx esi, bl
mov ecx, esi
shl ecx, 2
mov byte [eax + 0x434a9a], dl
mov byte [eax + 0x434e99], dl
mov byte [eax + 0x435298], dl
mov byte [eax + 0x43569b], dl
mov byte [ecx + 0x433a9a], dl
mov byte [ecx + 0x433e99], dl
mov byte [ecx + 0x434298], dl
mov byte [ecx + 0x43469b], dl
test bl, bl
je 0x40c3e4
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x23d]
jmp 0x40c3e6
xor edx, edx
mov byte [eax + 0x434a98], dl
mov byte [eax + 0x434e9b], dl
mov byte [eax + 0x43529a], dl
mov byte [eax + 0x435699], dl
mov byte [ecx + 0x433a98], dl
mov byte [ecx + 0x433e9b], dl
mov byte [ecx + 0x43429a], dl
mov byte [ecx + 0x434699], dl
test bl, bl
je 0x40c42c
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x216]
jmp 0x40c42e
xor edx, edx
mov byte [eax + 0x434a99], dl
mov byte [eax + 0x434e98], dl
mov byte [eax + 0x43529b], dl
mov byte [eax + 0x43569a], dl
mov byte [ecx + 0x433a99], dl
mov byte [ecx + 0x433e98], dl
mov byte [ecx + 0x43429b], dl
mov byte [ecx + 0x43469a], dl
test bl, bl
je 0x40c474
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x225]
jmp 0x40c476
xor edx, edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x100
mov byte [eax + 0x434a9b], dl
mov byte [eax + 0x434e9a], dl
mov byte [eax + 0x435299], dl
mov byte [eax + 0x435698], dl
mov byte [ecx + 0x433a9b], dl
mov byte [ecx + 0x433e9a], dl
mov byte [ecx + 0x434299], dl
mov byte [ecx + 0x434698], dl
jl 0x40c245
pop esi
pop ebx
leave
ret