Function at 0x460b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
test esi, esi
js 0x460b1d
shr esi, 2
mov edi, dword [ebx + esi*4]
dec esi
push edi
jns 0x460b16
mov dword [ebp + 0x14], esp
mov ebx, ecx
imul ebx, ebx, 6
add ebx, 5
test ebx, ebx
js 0x460b36
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x460b2f
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec dword [ebp - 8]
jne 0x460b4a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004604c4
test bl, bl
jne 0x460c1c
mov dword [ebp - 8], 0x10
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x460b80
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x460b94
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004609d8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x460bc6
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x460b75
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x460be9
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x460bfa
mov eax, 4
lea ecx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
dec eax
jne 0x460c0e
jmp 0x460ce7
cmp bl, 1
jne 0x460ce7
mov dword [ebp - 8], 0xfffffff0
mov eax, dword [ebp - 4]
add eax, 0x5a
mov dword [ebp - 0x18], eax
mov eax, 4
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x460c40
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x460c54
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004609d8
mov eax, 4
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x10]
mov esi, dword [ebp + 0xc]
add esi, 4
mov bl, byte [edx]
xor bl, byte [ecx]
mov byte [esi], bl
inc esi
inc ecx
inc edx
dec eax
jne 0x460c86
sub dword [ebp - 0x18], 6
inc dword [ebp - 8]
jne 0x460c35
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx]
mov byte [edx], cl
inc edx
inc dword [ebp - 0x18]
dec eax
jne 0x460cac
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x460cc2
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
mov ebx, dword [ebp - 0x18]
mov byte [ebx], cl
inc dword [ebp - 0x18]
inc edx
dec eax
jne 0x460cd9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00460548
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 0x10