Function at 0x464d88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x464d91
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004048e4
xor eax, eax
push ebp
push 0x464fc9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.004044dc
mov eax, dword [ebp - 0xc]
call fcn.004046fc
and eax, 0x80000001
jns 0x464ddb
dec eax
or eax, 0xfffffffe
inc eax
dec eax
jne 0x464ded
mov eax, 0x464fe0
call fcn.0043420c
jmp 0x464f91
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0046496c
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.004044dc
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004044dc
mov eax, dword [ebp - 0x10]
call fcn.004046fc
mov esi, eax
sar esi, 1
jns 0x464e1f
adc esi, 0
cmp esi, 1
jl 0x464f86
mov eax, dword [ebp - 0x10]
call fcn.004046fc
sar eax, 1
jns 0x464e37
adc eax, 0
cmp esi, eax
je 0x464e46
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.004044dc
lea eax, [ebp - 0x18]
call fcn.00404444
mov eax, dword [ebp - 0x14]
call fcn.004046fc
mov edi, eax
sar edi, 1
jns 0x464e5f
adc edi, 0
test edi, edi
jle 0x464f7d
mov ebx, 1
mov edx, 0x464fec
lea eax, [ebp - 0x24]
call fcn.00402de4
lea eax, [ebp - 0x28]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
mov cl, 2
call fcn.00402db4
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x2c]
call fcn.00402de4
lea eax, [ebp - 0x28]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov cl, 3
call fcn.00402db4
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x20]
call fcn.004046a0
mov eax, dword [ebp - 0x20]
call fcn.004089d4
mov byte [ebp - 0x19], al
mov edx, 0x464fec
lea eax, [ebp - 0x24]
call fcn.00402de4
lea eax, [ebp - 0x28]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
mov cl, 2
call fcn.00402db4
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x2c]
call fcn.00402de4
lea eax, [ebp - 0x28]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov cl, 3
call fcn.00402db4
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
call fcn.004046a0
mov eax, dword [ebp - 0x30]
call fcn.004089d4
add eax, 0xae
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x38]
mov dl, byte [ebp - 0x1a]
call fcn.00404624
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0046496c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x18]
call fcn.00404704
inc ebx
dec edi
jne 0x464e6c
dec esi
test esi, esi
jne 0x464e28
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.00464a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464fd0
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404468
lea eax, [ebp - 0x20]
call fcn.00404444
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404468
lea eax, [ebp - 4]
call fcn.00404444
ret