Function at 0x460670
Capabilities:
Encode data using xor

Disassembly:
xor dx, dx
mov ecx, dword [esp + 0xc]
sub esp, 0xc90
push ebx
push esi
push edi
push ebp
movsx eax, dx
inc dx
mov dword [ecx + eax*4], 0
movsx ebx, dx
cmp ebx, 5
jb 0x460681
lea eax, [esp + 0x34]
mov edx, dword [esp + 0xca8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edx + 0x10], eax
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xca4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edx + 0x10], eax
mov si, 1
movsx eax, si
shl eax, 2
lea eax, [eax + eax*4]
lea edi, [esp + eax + 0x48]
lea edx, [esp + eax + 0x34]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edx + 0x10], eax
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
shr eax, 1
mov dword [ebx], eax
mov eax, dword [ebx + 4]
rcr eax, 1
mov dword [ebx + 4], eax
mov eax, dword [ebx + 8]
rcr eax, 1
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
rcr eax, 1
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
rcr eax, 1
mov dword [ebx + 0x10], eax
jae 0x46077f
or dword [ebx], 0x20000000
inc si
cmp si, 0x9e
jl 0x460707
mov ax, word [0x4c42b8]
movsx eax, ax
xor dx, dx
lea edi, [eax + eax*4]
movsx esi, dx
inc dx
lea eax, [edi + esi]
movsx ebx, dx
mov eax, dword [esp + eax*4 + 0x48]
and eax, dword [esp + esi*4 + 0x34]
cmp ebx, 5
mov dword [ecx + esi*4], eax
jb 0x46079b
mov word [esp + 0x12], 1
lea eax, [esp + 0x34]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx]
shr eax, 1
mov dword [ebx], eax
mov eax, dword [ebx + 4]
rcr eax, 1
mov dword [ebx + 4], eax
mov eax, dword [ebx + 8]
rcr eax, 1
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
rcr eax, 1
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
rcr eax, 1
mov dword [ebx + 0x10], eax
jae 0x4607fc
or dword [ebx], 0x20000000
movsx eax, word [esp + 0x12]
xor dx, dx
add eax, eax
mov si, word [eax + 0x4c42b8]
mov di, word [eax + 0x4c4532]
movsx eax, si
movsx ebx, di
lea esi, [eax + eax*4]
lea edi, [ebx + ebx*4]
movsx ebx, dx
inc dx
lea eax, [esi + ebx]
lea ebp, [edi + ebx]
mov eax, dword [esp + eax*4 + 0x48]
xor eax, dword [esp + ebp*4 + 0x48]
and eax, dword [esp + ebx*4 + 0x34]
xor dword [ecx + ebx*4], eax
movsx ebx, dx
cmp ebx, 5
jb 0x460820
inc word [esp + 0x12]
cmp word [esp + 0x12], 0x9e
jl 0x4607bd
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc90
ret