Function at 0x465db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
push 0
push 0x2f5
mov edi, edx
mov dword [esp + 0x24], ecx
push 0
push edi
mov ebx, ecx
call fcn.004a5d30
mov dword [esp + 0x20], 0
mov esi, dword [eax*8 + 0x4dc858]
mov ecx, dword [eax*8 + 0x4dc85c]
xor esi, 0x4190944b
mov eax, esi
mov dword [esp + 0x18], esi
xor eax, 0xcf82b318
xor ecx, 0x313b88a3
mov dword [esp + 0xc], eax
mov eax, edi
and edi, 0xfffffff8
mov dword [esp + 0x14], ecx
and eax, 7
xor ecx, 0xa0f643cc
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
xor ecx, ecx
lea eax, [edi + ebx]
shr edi, 3
cmp ebx, eax
cmova edi, ecx
mov dword [esp + 0x28], edi
test edi, edi
je 0x465ee3
nop word [eax + eax]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
xor eax, 0x57ff7a3a
push 0xda5174b5
push 0xa1d8414f
xor ecx, 0xd28cb573
push eax
push ecx
call fcn.00488190
mov ecx, dword [esp + 0x14]
mov edi, eax
mov ebx, edx
mov eax, esi
mov edx, dword [esp + 0x18]
xor esi, esi
shrd edx, ecx, 0x11
shl eax, 0xf
shr ecx, 0x11
or esi, edx
or eax, ecx
mov ecx, edi
xor ecx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, ebx
xor eax, dword [esp + 0x10]
push 0
push 0x2f5
push eax
push ecx
call fcn.004a5d30
mov ecx, dword [esp + 0x18]
xor esi, dword [eax*8 + 0x4dc858]
xor ecx, dword [eax*8 + 0x4dc85c]
xor esi, edi
mov eax, dword [esp + 0x20]
xor ecx, ebx
add dword [esp + 0xc], 0x17
mov ebx, dword [esp + 0x1c]
adc dword [esp + 0x10], 0
add ebx, 8
inc eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x28]
jb 0x465e40
mov eax, dword [esp + 0x24]
jmp dword [eax*4 + 0x466044]
mov eax, 0x88888888
mov ecx, eax
jmp 0x465fc7
mov al, byte [ebx]
mov ecx, 0x11111111
mov dword [esp + 0x28], 0x11111111
mov byte [esp + 0x28], al
jmp 0x465fc3
mov ax, word [ebx]
mov ecx, 0x22222222
mov dword [esp + 0x28], 0x22222222
mov word [esp + 0x28], ax
jmp 0x465fc3
mov ax, word [ebx]
mov ecx, 0x33333333
mov dword [esp + 0x28], 0x33333333
mov word [esp + 0x28], ax
mov al, byte [ebx + 2]
mov byte [esp + 0x2a], al
jmp 0x465fc3
mov eax, dword [ebx]
mov ecx, 0x44444444
mov dword [esp + 0x28], 0x44444444
jmp 0x465fc7
mov cl, byte [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x2c], 0x55555555
mov byte [esp + 0x2c], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], 0x55555555
jmp 0x465fc7
mov cx, word [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x2c], 0x66666666
mov word [esp + 0x2c], cx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], 0x66666666
jmp 0x465fc7
mov cx, word [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x2c], 0x77777777
mov word [esp + 0x2c], cx
mov cl, byte [ebx + 6]
mov byte [esp + 0x2e], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], 0x77777777
jmp 0x465fc7
mov eax, dword [esp + 0x28]
push 0xda5174b5
push 0xa1d8414f
xor ecx, 0x57ff7a3a
xor eax, 0xd28cb573
push ecx
push eax
call fcn.00488190
mov ecx, dword [esp + 0x14]
mov edi, eax
mov ebx, edx
mov eax, esi
mov edx, dword [esp + 0x18]
xor esi, esi
shrd edx, ecx, 0x11
shl eax, 0xf
shr ecx, 0x11
or esi, edx
or eax, ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0xc]
push 0
adc ecx, dword [esp + 0x14]
xor eax, edi
push 0x2f5
xor ecx, ebx
push ecx
push eax
call fcn.004a5d30
mov edx, dword [esp + 0x28]
xor esi, dword [eax*8 + 0x4dc858]
xor edx, dword [eax*8 + 0x4dc85c]
xor esi, edi
pop edi
mov eax, esi
xor edx, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret