Function at 0x404b17
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
xor eax, eax
push ebx
xor ebx, ebx
inc ebx
push esi
mov edx, ebx
mov esi, 0x11b
mov byte [ebp + eax - 0x304], dl
mov byte [ebp + eax - 0x205], dl
mov byte [ebp + edx - 0x104], al
inc eax
mov dword [ebp - 4], eax
mov eax, edx
and al, 0x80
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
and ecx, esi
xor ecx, eax
mov eax, dword [ebp - 4]
xor edx, ecx
cmp edx, ebx
jne 0x404b2e
xor edx, edx
mov eax, ebx
mov byte [edx + 0x438fd0], bl
and al, 0x80
movzx ecx, al
neg ecx
sbb ecx, ecx
add ebx, ebx
and ecx, esi
xor ebx, ecx
inc edx
cmp edx, 0x1e
jb 0x404b64
xor ebx, ebx
test bl, bl
je 0x404b9f
movzx eax, bl
lea ecx, [ebp - 0x205]
movzx eax, byte [ebp + eax - 0x104]
sub ecx, eax
movzx edx, byte [ecx]
jmp 0x404ba1
xor edx, edx
lea eax, [edx + edx]
xor eax, edx
add eax, eax
xor eax, edx
add eax, eax
xor eax, edx
add eax, eax
xor edx, eax
mov ecx, edx
xor ecx, 0x6300
sar ecx, 8
xor ecx, edx
mov byte [ebx + 0x438dd0], cl
mov byte [ebx*4 + 0x439bf1], cl
mov byte [ebx*4 + 0x439bf0], cl
mov byte [ebx*4 + 0x4397f3], cl
mov byte [ebx*4 + 0x4397f0], cl
mov byte [ebx*4 + 0x4393f3], cl
mov byte [ebx*4 + 0x4393f2], cl
mov byte [ebx*4 + 0x438ff2], cl
mov byte [ebx*4 + 0x438ff1], cl
test cl, cl
je 0x404c16
movzx eax, cl
movzx eax, byte [ebp + eax - 0x104]
movzx eax, byte [ebp + eax - 0x2eb]
jmp 0x404c18
xor eax, eax
mov byte [ebx*4 + 0x439bf3], al
mov byte [ebx*4 + 0x4397f2], al
mov byte [ebx*4 + 0x4393f1], al
mov byte [ebx*4 + 0x438ff0], al
test cl, cl
je 0x404c4d
movzx eax, cl
movzx eax, byte [ebp + eax - 0x104]
movzx eax, byte [ebp + eax - 0x303]
jmp 0x404c4f
xor eax, eax
movzx esi, bl
mov ecx, esi
mov byte [ebx*4 + 0x439bf2], al
shl ecx, 3
xor ecx, esi
mov byte [ebx*4 + 0x4397f1], al
shl ecx, 2
xor ecx, esi
mov byte [ebx*4 + 0x4393f0], al
add ecx, ecx
mov byte [ebx*4 + 0x438ff3], al
mov eax, ecx
sar eax, 8
xor al, cl
cmp al, 5
je 0x404cb9
mov edx, esi
shl edx, 3
xor edx, esi
shl edx, 2
xor edx, esi
add edx, edx
mov eax, edx
sar eax, 8
movzx ecx, al
movzx eax, dl
xor ecx, eax
xor ecx, 5
movzx eax, byte [ebp + ecx - 0x104]
lea ecx, [ebp - 0x205]
sub ecx, eax
mov dl, byte [ecx]
jmp 0x404cbb
xor dl, dl
mov byte [ebx + 0x438ed0], dl
test dl, dl
je 0x404cda
movzx eax, dl
movzx eax, byte [ebp + eax - 0x104]
movzx eax, byte [ebp + eax - 0x29c]
jmp 0x404cdc
xor eax, eax
movzx ecx, dl
mov byte [ebx*4 + 0x43abf2], al
mov byte [ebx*4 + 0x43a7f1], al
mov byte [ebx*4 + 0x43a3f0], al
mov byte [ebx*4 + 0x439ff3], al
mov byte [ecx*4 + 0x43bbf2], al
mov byte [ecx*4 + 0x43b7f1], al
mov byte [ecx*4 + 0x43b3f0], al
mov byte [ecx*4 + 0x43aff3], al
test dl, dl
je 0x404d2d
movzx eax, byte [ebp + ecx - 0x104]
movzx eax, byte [ebp + eax - 0x23d]
jmp 0x404d2f
xor eax, eax
mov byte [ebx*4 + 0x43abf0], al
mov byte [ebx*4 + 0x43a7f3], al
mov byte [ebx*4 + 0x43a3f2], al
mov byte [ebx*4 + 0x439ff1], al
mov byte [ecx*4 + 0x43bbf0], al
mov byte [ecx*4 + 0x43b7f3], al
mov byte [ecx*4 + 0x43b3f2], al
mov byte [ecx*4 + 0x43aff1], al
test dl, dl
je 0x404d7d
movzx eax, byte [ebp + ecx - 0x104]
movzx eax, byte [ebp + eax - 0x216]
jmp 0x404d7f
xor eax, eax
mov byte [ebx*4 + 0x43abf1], al
mov byte [ebx*4 + 0x43a7f0], al
mov byte [ebx*4 + 0x43a3f3], al
mov byte [ebx*4 + 0x439ff2], al
mov byte [ecx*4 + 0x43bbf1], al
mov byte [ecx*4 + 0x43b7f0], al
mov byte [ecx*4 + 0x43b3f3], al
mov byte [ecx*4 + 0x43aff2], al
test dl, dl
je 0x404dcd
movzx eax, byte [ebp + ecx - 0x104]
movzx eax, byte [ebp + eax - 0x225]
jmp 0x404dcf
xor eax, eax
mov byte [ebx*4 + 0x43abf3], al
mov byte [ebx*4 + 0x43a7f2], al
mov byte [ebx*4 + 0x43a3f1], al
mov byte [ebx*4 + 0x439ff0], al
inc ebx
mov byte [ecx*4 + 0x43bbf3], al
mov byte [ecx*4 + 0x43b7f2], al
mov byte [ecx*4 + 0x43b3f1], al
mov byte [ecx*4 + 0x43aff0], al
cmp ebx, 0x100
jl 0x404b83
pop esi
pop ebx
mov esp, ebp
pop ebp
ret