Function at 0x464a88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x464a91
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004044e4
xor eax, eax
push ebp
push 0x464d14
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00404034
mov eax, dword [ebp - 4]
call fcn.004042f4
mov esi, eax
test esi, esi
jns 0x464ad3
add esi, 3
sar esi, 2
mov eax, dword [ebp - 4]
call fcn.004042f4
cmp eax, 3
jle 0x464bcb
dec esi
test si, si
jb 0x464bcb
inc esi
mov word [ebp - 0x16], si
xor esi, esi
movzx eax, si
mov edx, eax
shl edx, 2
mov eax, dword [ebp - 4]
mov al, byte [eax + edx]
sub al, 0x3b
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx + 1]
sub cl, 0x3b
mov byte [ebp - 0xb], cl
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx + 2]
sub cl, 0x3b
mov byte [ebp - 0xc], cl
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx + 3]
sub dl, 0x3b
mov byte [ebp - 0xd], dl
mov ebx, eax
and bl, 0xfc
shl ebx, 2
and al, 3
mov byte [ebp - 9], al
mov al, byte [ebp - 0xd]
and al, 0xc
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x1c]
mov dl, byte [ebp - 9]
or dl, bl
or dl, byte [ebp - 0xa]
xor dl, 0xeb
call fcn.0040421c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
call fcn.004042fc
mov bl, byte [ebp - 0xb]
and bl, 0xfc
shl ebx, 2
mov al, byte [ebp - 0xb]
and al, 3
mov byte [ebp - 9], al
mov al, byte [ebp - 0xd]
and al, 3
shl eax, 2
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x20]
mov dl, byte [ebp - 9]
or dl, bl
or dl, byte [ebp - 0xa]
xor dl, 0xeb
call fcn.0040421c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
call fcn.004042fc
mov bl, byte [ebp - 0xd]
and bl, 0x30
shl ebx, 2
lea eax, [ebp - 0x24]
mov dl, byte [ebp - 0xc]
or dl, bl
xor dl, 0xeb
call fcn.0040421c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.004042fc
inc esi
dec word [ebp - 0x16]
jne 0x464af8
mov eax, dword [ebp - 4]
call fcn.004042f4
mov esi, eax
and esi, 0x80000003
jns 0x464be2
dec esi
or esi, 0xfffffffc
inc esi
cmp si, 2
jne 0x464c3c
movzx eax, word [ebp - 0x10]
mov edx, eax
shl edx, 2
mov eax, dword [ebp - 4]
mov al, byte [eax + edx]
sub al, 0x3b
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx + 1]
sub dl, 0x3b
mov byte [ebp - 0xb], dl
mov ebx, eax
and bl, 0xfc
shl ebx, 2
and al, 3
mov byte [ebp - 9], al
mov al, byte [ebp - 0xb]
and al, 3
shl eax, 2
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 9]
or dl, bl
or dl, byte [ebp - 0xa]
xor dl, 0xeb
call fcn.0040421c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
call fcn.004042fc
cmp si, 3
jne 0x464cde
movzx eax, word [ebp - 0x10]
mov edx, eax
shl edx, 2
mov eax, dword [ebp - 4]
mov al, byte [eax + edx]
sub al, 0x3b
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx + 1]
sub cl, 0x3b
mov byte [ebp - 0xb], cl
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx + 2]
sub dl, 0x3b
mov byte [ebp - 0xd], dl
mov ebx, eax
and bl, 0xfc
shl ebx, 2
and al, 3
mov byte [ebp - 9], al
mov al, byte [ebp - 0xd]
and al, 0xc
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x2c]
mov dl, byte [ebp - 9]
or dl, bl
or dl, byte [ebp - 0xa]
xor dl, 0xeb
call fcn.0040421c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.004042fc
mov bl, byte [ebp - 0xb]
and bl, 0xfc
shl ebx, 2
mov al, byte [ebp - 0xb]
and al, 3
mov byte [ebp - 9], al
mov al, byte [ebp - 0xd]
and al, 3
shl eax, 2
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x30]
mov dl, byte [ebp - 9]
or dl, bl
or dl, byte [ebp - 0xa]
xor dl, 0xeb
call fcn.0040421c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
call fcn.004042fc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00404088
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464d1b
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00404058
lea eax, [ebp - 0x14]
call fcn.00404034
lea eax, [ebp - 4]
call fcn.00404034
ret