Function at 0x406460
Capabilities:
Encode data using xor

Disassembly:
push 0x4077a4
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add ch, cl
xchg esi, eax
arpl word [eax + 3], sp
inc ebx
push 0x72cd8148
inc esi
xchg edi, eax
jo 0x406489
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
je 0x40650d
sub dword [ecx], ebp
or eax, 0x6767760a
arpl word [eax + 0x65], si
imul esi, dword [eax], 0x45202020
outsb dx, byte [esi]
and byte fs:[eax], al
add byte [eax], al
add bh, bh
int3
push esp
add byte [eax], al
add byte [eax], al
or dword [eax], eax
jb 0x406584
push ebx
jo 0x406586
popal
jae 0x406585
add byte [0x52000d01], cl
insd dword es:[edi], dx
jae 0x406546
inc edi
jb 0x40658f
outsb dx, byte [esi]
arpl word [ecx + 0x61], bp
insb byte es:[edi], dx
add byte [ebx], al
add byte [eax], al
add byte [eax], al
sbb dword [ecx], eax
add byte [edx], al
and al, byte [eax]
and al, 5
add byte [esi + 0x6f], al
jb 0x4065b0
xor al, byte [eax]
add byte es:[edi], ah
add byte [edi], ah
add byte [eax], ch
add byte [ecx], dh
push dword [edx]
add byte [0x1374], dh
pop edx
sldt word [eax]
lodsd eax, dword [esi]
push ss
add byte [eax], al
dec dword [edi]
add byte [eax], al
inc dword [ecx]
and eax, dword [eax]
add byte [eax], al
add dword [esi], eax
add byte [esi + 0x72], al
popal
insd dword es:[edi], dx
xor dword gs:[eax], eax
add eax, dword [ebx]
invalid
inc dword [ecx]
add dword [edx], eax
add byte [eax + 0x6000202], al
inc edx
add byte [eax], al
add byte [edx], 2
add byte [esi], al
add byte [ecx + 0x62], cl
insb byte es:[edi], dx
dec esp
popal
bound esp, qword [ebp + 0x6c]
xor al, 0
add dword [edx], eax
add al, byte [eax]
add eax, dword [eax]
add byte [eax], al
add byte [edi + edi*8], al
invalid
adc al, 1
sbb bh, bh
pop ds
add byte [1], ah
nop
add dword [edx + eax*2 + 1], eax
add byte [0x61697241], al
insb byte es:[edi], dx
inc dword [ebx]
dec ecx
add byte [eax], al
add byte [ebx], al
or dword [eax], eax
insb byte es:[edi], dx
bound ebp, qword [esi + edx*2 + 0x65]
jb 0x40664a
popal
outsd dx, dword [esi]
add byte [ecx], al
add dword [eax + eax], ecx
push esi
jb 0x406655
jecxz 0x406653
and byte [ecx], dh
xor byte cs:[esi], ch
xor byte [eax], al
add edi, edi
invalid
hlt
sbb bh, bh
and eax, 1
nop
add dword [esp + ebp + 0x41050002], esp
jb 0x4066cd
popal
insb byte es:[edi], dx
inc dword [ebx]
dec ecx
add byte [eax], al
add byte [0x614c0006], al
add byte [eax], al
add eax, 0x614c0006
bound esp, qword [ebp + 0x6c]
xor dword [eax], eax
add dword [ecx], eax
adc dword [eax], eax
push edx
dec ebp
push ebx
and byte [ebx + 0x6f], dl
insb byte es:[edi], dx
jne 0x40666a
cmc
jae 0x4066a7
dec esp
je 0x4066ee
popal
add byte [ebx], al
invalid
inc edx
add dword [eax], eax
add eax, 0x61697241
insb byte es:[edi], dx
inc dword [ebx]
push esi
sldt word [eax]
push es
pop es
add byte [ecx + 0x6d], ch
dec esp
outsd dx, dword [esi]
outsd dx, dword [si]
add byte [eax], bl
add dh, byte [0x6c00000f]
je 0x4066ca
add byte [0x4700000f], ch
add byte [eax], al
inc edi
dec ecx
inc esi
cmp byte [ecx], bh
popal
mov dword [ecx], eax
and al, byte [ecx]
xchg ecx, eax
add byte [eax], al
add byte [eax], al
add al, al
shl ebp, 1
invalid
add al, byte [eax]
sub al, 0
add byte [eax], al
add byte [ecx + 0x40012201], cl
or dh, bh
add byte [0xb0481c08], al
mov al, byte [0x130883c1]
sub bl, byte [eax + ecx*8 - 0x50]
mov eax, dword [0x231087c3]
dec edx
pushfd
dec eax
mov cl, 0xe2
rol dword [eax], 0x18
xor ebp, dword [edx - 0x4c]
enter 0xffffffffffffa3b1, 0xffffffffffffffc7
invalid