Function at 0x409d9c
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 0x409db2
xor ecx, ecx
pop edi
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov byte [ecx + 0x418ca8], al
and edx, esi
add eax, eax
xor eax, edx
inc ecx
cmp ecx, 0x1e
jb 0x409de5
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x409e0d
mov ebx, dword [ebp - 4]
test bl, bl
je 0x409e29
movzx eax, bl
movzx eax, byte [ebp + eax - 0x104]
lea ecx, [ebp - 0x205]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x409e2b
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 + 0x417ca8]
mov byte [ebx + 0x418dc8], cl
mov byte [edx + 1], cl
mov byte [edx], cl
mov byte [eax + 0x4180ab], cl
mov byte [eax + 0x4180a8], cl
mov byte [eax + 0x4184ab], cl
mov byte [eax + 0x4184aa], cl
mov byte [eax + 0x4188aa], cl
mov byte [eax + 0x4188a9], cl
je 0x409e99
movzx edx, cl
movzx edx, byte [ebp + edx - 0x104]
movzx edx, byte [ebp + edx - 0x2eb]
jmp 0x409e9b
xor edx, edx
mov byte [eax + 0x417cab], dl
mov byte [eax + 0x4180aa], dl
mov byte [eax + 0x4184a9], dl
mov byte [eax + 0x4188a8], dl
test cl, cl
je 0x409ecc
movzx ecx, cl
movzx ecx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp + ecx - 0x303]
jmp 0x409ece
xor ecx, ecx
mov byte [eax + 0x417caa], cl
mov byte [eax + 0x4180a9], cl
mov byte [eax + 0x4184a8], cl
mov byte [eax + 0x4188ab], 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 0x409f35
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 0x409f37
xor bl, bl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x418cc8], bl
test bl, bl
je 0x409f59
movzx ecx, bl
movzx ecx, byte [ebp + ecx - 0x104]
movzx edx, byte [ebp + ecx - 0x29c]
jmp 0x409f5b
xor edx, edx
movzx esi, bl
mov ecx, esi
shl ecx, 2
mov byte [eax + 0x416caa], dl
mov byte [eax + 0x4170a9], dl
mov byte [eax + 0x4174a8], dl
mov byte [eax + 0x4178ab], dl
mov byte [ecx + 0x415caa], dl
mov byte [ecx + 0x4160a9], dl
mov byte [ecx + 0x4164a8], dl
mov byte [ecx + 0x4168ab], dl
test bl, bl
je 0x409fa9
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x23d]
jmp 0x409fab
xor edx, edx
mov byte [eax + 0x416ca8], dl
mov byte [eax + 0x4170ab], dl
mov byte [eax + 0x4174aa], dl
mov byte [eax + 0x4178a9], dl
mov byte [ecx + 0x415ca8], dl
mov byte [ecx + 0x4160ab], dl
mov byte [ecx + 0x4164aa], dl
mov byte [ecx + 0x4168a9], dl
test bl, bl
je 0x409ff1
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x216]
jmp 0x409ff3
xor edx, edx
mov byte [eax + 0x416ca9], dl
mov byte [eax + 0x4170a8], dl
mov byte [eax + 0x4174ab], dl
mov byte [eax + 0x4178aa], dl
mov byte [ecx + 0x415ca9], dl
mov byte [ecx + 0x4160a8], dl
mov byte [ecx + 0x4164ab], dl
mov byte [ecx + 0x4168aa], dl
test bl, bl
je 0x40a039
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x225]
jmp 0x40a03b
xor edx, edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x100
mov byte [eax + 0x416cab], dl
mov byte [eax + 0x4170aa], dl
mov byte [eax + 0x4174a9], dl
mov byte [eax + 0x4178a8], dl
mov byte [ecx + 0x415cab], dl
mov byte [ecx + 0x4160aa], dl
mov byte [ecx + 0x4164a9], dl
mov byte [ecx + 0x4168a8], dl
jl 0x409e0a
pop esi
pop ebx
leave
ret