Function at 0x40930f
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 0x409325
xor ecx, ecx
pop edi
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov byte [ecx + 0x41cec0], al
and edx, esi
add eax, eax
xor eax, edx
inc ecx
cmp ecx, 0x1e
jb 0x409358
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x409380
mov ebx, dword [ebp - 4]
test bl, bl
je 0x40939c
movzx eax, bl
movzx eax, byte [ebp + eax - 0x104]
lea ecx, [ebp - 0x205]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x40939e
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 + 0x41bec0]
mov byte [ebx + 0x41cfe0], cl
mov byte [edx + 1], cl
mov byte [edx], cl
mov byte [eax + 0x41c2c3], cl
mov byte [eax + 0x41c2c0], cl
mov byte [eax + 0x41c6c3], cl
mov byte [eax + 0x41c6c2], cl
mov byte [eax + 0x41cac2], cl
mov byte [eax + 0x41cac1], cl
je 0x40940c
movzx edx, cl
movzx edx, byte [ebp + edx - 0x104]
movzx edx, byte [ebp + edx - 0x2eb]
jmp 0x40940e
xor edx, edx
mov byte [eax + 0x41bec3], dl
mov byte [eax + 0x41c2c2], dl
mov byte [eax + 0x41c6c1], dl
mov byte [eax + 0x41cac0], dl
test cl, cl
je 0x40943f
movzx ecx, cl
movzx ecx, byte [ebp + ecx - 0x104]
movzx ecx, byte [ebp + ecx - 0x303]
jmp 0x409441
xor ecx, ecx
mov byte [eax + 0x41bec2], cl
mov byte [eax + 0x41c2c1], cl
mov byte [eax + 0x41c6c0], cl
mov byte [eax + 0x41cac3], 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 0x4094a8
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 0x4094aa
xor bl, bl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x41cee0], bl
test bl, bl
je 0x4094cc
movzx ecx, bl
movzx ecx, byte [ebp + ecx - 0x104]
movzx edx, byte [ebp + ecx - 0x29c]
jmp 0x4094ce
xor edx, edx
movzx esi, bl
mov ecx, esi
shl ecx, 2
mov byte [eax + 0x41aec2], dl
mov byte [eax + 0x41b2c1], dl
mov byte [eax + 0x41b6c0], dl
mov byte [eax + 0x41bac3], dl
mov byte [ecx + 0x419ec2], dl
mov byte [ecx + 0x41a2c1], dl
mov byte [ecx + 0x41a6c0], dl
mov byte [ecx + 0x41aac3], dl
test bl, bl
je 0x40951c
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x23d]
jmp 0x40951e
xor edx, edx
mov byte [eax + 0x41aec0], dl
mov byte [eax + 0x41b2c3], dl
mov byte [eax + 0x41b6c2], dl
mov byte [eax + 0x41bac1], dl
mov byte [ecx + 0x419ec0], dl
mov byte [ecx + 0x41a2c3], dl
mov byte [ecx + 0x41a6c2], dl
mov byte [ecx + 0x41aac1], dl
test bl, bl
je 0x409564
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x216]
jmp 0x409566
xor edx, edx
mov byte [eax + 0x41aec1], dl
mov byte [eax + 0x41b2c0], dl
mov byte [eax + 0x41b6c3], dl
mov byte [eax + 0x41bac2], dl
mov byte [ecx + 0x419ec1], dl
mov byte [ecx + 0x41a2c0], dl
mov byte [ecx + 0x41a6c3], dl
mov byte [ecx + 0x41aac2], dl
test bl, bl
je 0x4095ac
movzx edx, byte [ebp + esi - 0x104]
movzx edx, byte [ebp + edx - 0x225]
jmp 0x4095ae
xor edx, edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x100
mov byte [eax + 0x41aec3], dl
mov byte [eax + 0x41b2c2], dl
mov byte [eax + 0x41b6c1], dl
mov byte [eax + 0x41bac0], dl
mov byte [ecx + 0x419ec3], dl
mov byte [ecx + 0x41a2c2], dl
mov byte [ecx + 0x41a6c1], dl
mov byte [ecx + 0x41aac0], dl
jl 0x40937d
pop esi
pop ebx
leave
ret