Function at 0x406320
Capabilities:
Delete file
Delete registry key
Delete registry value
Disable system features via registry on windows
Get common file path
Inspect load icon resource
Persist via run registry key
Persist via winlogon helper dll registry key
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
sub esp, 0x244
push ebx
push esi
mov esi, dword [esp + 0x250]
push edi
mov eax, 0x32
push 0x41d494
push 0
mov dword [0x41d464], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x40639c
mov ecx, dword [0x41d920]
test ecx, ecx
jne 0x406395
push 0
push 0x8007
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
call fcn.0040d2b6
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push esi
push 0
push 0
push 0x78
push 0x190
push 1
call edi
sub eax, 0x78
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call edi
sub eax, 0x190
cdq
sub eax, edx
sar eax, 1
push eax
push 0x80880000
push 0x41d494
push 0x41d1ac
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x44], ebx
jne 0x4063f7
pop edi
pop esi
pop ebx
add esp, 0x244
ret
push 0xa
push 0
push 0
push 0
push 0
push 0x82
push 0x6b
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 0x41d494
push 0x800a
push ebx
push esi
mov ecx, 0x41d3b8
call fcn.00401170
test eax, eax
jne 0x406434
pop edi
pop esi
pop ebx
add esp, 0x244
ret
push ebp
call fcn.00401c90
mov ecx, dword [0x41d464]
lea eax, [esp + 0x54]
push 0xff
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, str.__start
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00405a70
mov edi, 0x41cd88
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
mov bl, byte [0x4170b8]
mov edx, 1
not ecx
dec ecx
cmp ecx, edx
jbe 0x4064d0
mov al, byte [esp + 0x54]
mov cl, byte [edx + 0x41cd88]
cmp al, cl
jne 0x4064b6
mov bl, al
mov edi, 0x41cd88
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x4064a6
mov byte [0x4170b8], bl
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp bl, 0x30
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
jne 0x406a5a
lea eax, [esp + 0x14]
push eax
push str.SOFTWARECPE17AutorunKiller
push 0x80000001
call ebx
test eax, eax
je 0x4066ed
lea ecx, [esp + 0x18]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
test eax, eax
jne 0x40654e
lea edi, [esp + 0x54]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x54]
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x28]
push str.protect_autorun
push eax
call ebp
test eax, eax
jne 0x406547
mov dword [0x41d924], 1
mov ecx, dword [esp + 0x18]
push ecx
call esi
lea edx, [esp + 0x10]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call ebx
test eax, eax
jne 0x406a5a
mov eax, dword [0x41d924]
test eax, eax
jne 0x406595
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.protect_autorun
push ecx
call ebp
jmp 0x4065a5
mov edx, dword [esp + 0x10]
push str.protect_autorun
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
push str.SOFTWARECPE17AutorunKiller
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4065cc
mov edx, dword [esp + 0x14]
push edx
call esi
lea eax, [esp + 0x14]
push eax
push str.SOFTWARECPE17AutorunKiller
push 0x80000001
call ebx
test eax, eax
jne 0x406a5a
mov ecx, dword [esp + 0x14]
push 8
push str.checked
push 1
push eax
push str.option_autocheck
push ecx
call ebp
mov edx, dword [esp + 0x14]
push 0xa
push str.unchecked
push 1
push 0
push str.option_sound
push edx
call ebp
mov eax, dword [esp + 0x14]
push 8
push str.checked
push 1
push 0
push str.option_display
push eax
call ebp
mov ecx, dword [esp + 0x14]
push 8
push str.checked
push 1
push 0
push str.option_cd
push ecx
call ebp
mov edx, dword [esp + 0x14]
push 0xa
push str.unchecked
push 1
push 0
push str.option_advance
push edx
call ebp
mov eax, dword [esp + 0x14]
push 0xa
push str.unchecked
push 1
push 0
push str.option_log
push eax
call ebp
mov ecx, dword [esp + 0x14]
push 8
push str.checked
push 1
push 0
push str.option_dos
push ecx
call ebp
mov edx, dword [esp + 0x14]
push 8
push str.checked
push 1
push 0
push str.option_network
push edx
call ebp
mov eax, dword [esp + 0x14]
push 8
push str.checked
push 1
push 0
push str.option_noinf
push eax
call ebp
mov ecx, dword [esp + 0x14]
push 8
push str.checked
push 1
push 0
push str.option_noexec
push ecx
call ebp
push 0xa
mov edx, dword [esp + 0x18]
push str.unchecked
push 1
push 0
push str.option_vaccine
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call esi
jmp 0x406a5a
cmp byte [0x4170b8], 0x30
jne 0x406a5a
lea ecx, [esp + 0x18]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406791
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push str.protect_autorun
push edx
call esi
test eax, eax
push 0x13
jne 0x406774
push str.checked
push 0x4170bc
call fcn.0040c880
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push 1
push 0
push str.protect_autorun
push ecx
call ebp
test eax, eax
jne 0x406786
mov dword [0x41d924], 1
jmp 0x406786
push str.unchecked
push 0x4170bc
call fcn.0040c880
add esp, 0xc
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call ebx
test eax, eax
jne 0x406823
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
push eax
push str.protect_autorun
push ecx
call esi
test eax, eax
mov eax, dword [0x41d924]
je 0x4067cc
test eax, eax
jne 0x406823
push 0x13
push str.unchecked
jmp 0x406816
test eax, eax
jne 0x4067f4
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push str.protect_autorun
push eax
call ebp
jmp 0x406804
mov ecx, dword [esp + 0x10]
push str.protect_autorun
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x13
push str.checked
push 0x4170bc
call fcn.0040c880
add esp, 0xc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
push 0x4170d0
push 0
push 0
push str.option_autocheck
push ecx
call esi
test eax, eax
je 0x406855
push 0x13
push str.checked
push 0x4170d0
call fcn.0040c880
add esp, 0xc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push 0x4170e4
push 0
push 0
push str.option_sound
push eax
call esi
test eax, eax
je 0x406887
push 0x13
push str.unchecked
push 0x4170e4
call fcn.0040c880
add esp, 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
push 0x4170f8
push 0
push 0
push str.option_display
push edx
call esi
test eax, eax
je 0x4068b9
push 0x13
push str.checked
push 0x4170f8
call fcn.0040c880
add esp, 0xc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
push 0x41710c
push 0
push 0
push str.option_cd
push ecx
call esi
test eax, eax
je 0x4068eb
push 0x13
push str.checked
push 0x41710c
call fcn.0040c880
add esp, 0xc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push 0x417120
push 0
push 0
push str.option_advance
push eax
call esi
test eax, eax
je 0x40691d
push 0x13
push str.unchecked
push 0x417120
call fcn.0040c880
add esp, 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push 0x417134
push 0
push 0
push str.option_log
push edx
call esi
test eax, eax
je 0x40694f
push 0x13
push str.unchecked
push 0x417134
call fcn.0040c880
add esp, 0xc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push eax
push 0x417148
push 0
push 0
push str.option_dos
push ecx
call esi
test eax, eax
je 0x406981
push 0x13
push str.checked
push 0x417148
call fcn.0040c880
add esp, 0xc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push 0x41715c
push 0
push 0
push str.option_network
push eax
call esi
test eax, eax
je 0x4069b3
push 0x13
push str.checked
push 0x41715c
call fcn.0040c880
add esp, 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
push 0x417170
push 0
push 0
push str.option_noinf
push edx
call esi
test eax, eax
je 0x4069e5
push 0x13
push str.checked
push 0x417170
call fcn.0040c880
add esp, 0xc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
push 0x417184
push 0
push 0
push str.option_noexec
push ecx
call esi
test eax, eax
je 0x406a17
push 0x13
push str.checked
push 0x417184
call fcn.0040c880
add esp, 0xc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push 0x417198
push 0
push 0
push str.option_vaccine
push eax
call esi
test eax, eax
je 0x406a49
push 0x13
push str.unchecked
push 0x417198
call fcn.0040c880
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], 0xff
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebx
test eax, eax
je 0x406aa5
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push 0
push str.NoDriveTypeAutoRun
push edx
call ebp
jmp 0x406ac0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push 0
push str.NoDriveTypeAutoRun
push edx
call ebp
test eax, eax
jne 0x406ac7
mov eax, dword [esp + 0x10]
push eax
call esi
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersCancelAutoplayFiles
push 0x80000002
call ebx
test eax, eax
je 0x406b30
lea edx, [esp + 0x10]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersCancelAutoplayFiles
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push 1
push eax
push 1
push 0
push 0x417f28
push ecx
call ebp
jmp 0x406b4b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push 1
push eax
push 1
push 0
push 0x417f28
push ecx
call ebp
test eax, eax
jne 0x406b56
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x80000001
call ebx
test eax, eax
jne 0x406bb0
mov edx, dword [esp + 0x10]
push str.Window_Title
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406bb0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000002
call ebx
test eax, eax
jne 0x406be4
mov edx, dword [esp + 0x10]
push str.DisableRegistryTools
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406be4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000001
call ebx
test eax, eax
jne 0x406c3e
mov edx, dword [esp + 0x10]
push str.DisableRegistryTools
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406c3e
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebx
test eax, eax
jne 0x406c98
mov edx, dword [esp + 0x10]
push str.NoSetFolders
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406c98
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebx
test eax, eax
jne 0x406cf2
mov edx, dword [esp + 0x10]
push str.NoLogoff
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406cf2
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000002
call ebx
test eax, eax
jne 0x406d4c
mov edx, dword [esp + 0x10]
push str.NoFolderOptions
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406d4c
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000001
call ebx
test eax, eax
jne 0x406da6
mov edx, dword [esp + 0x10]
push str.DisableTaskMgr
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406da6
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000002
call ebx
test eax, eax
jne 0x406e00
mov edx, dword [esp + 0x10]
push str.DisableTaskMgr
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406e00
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000001
call ebx
test eax, eax
jne 0x406e5a
mov edx, dword [esp + 0x10]
push str.DisableCMD
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406e5a
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000002
call ebx
test eax, eax
jne 0x406eb4
mov edx, dword [esp + 0x10]
push str.DisableCMD
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406eb4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebx
test eax, eax
jne 0x406f0e
mov edx, dword [esp + 0x10]
push str.NoFind
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406f0e
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebx
test eax, eax
jne 0x406f68
mov edx, dword [esp + 0x10]
push str.Norun
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406f68
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebx
test eax, eax
jne 0x406fc2
mov edx, dword [esp + 0x10]
push str.NoStartmenuMorePrograms
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406fc2
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
test eax, eax
jne 0x40701c
mov edx, dword [esp + 0x10]
push str.MS32DLL
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40701c
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b85c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
test eax, eax
jne 0x407076
mov edx, dword [esp + 0x10]
push str.MSConfigs
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x407076
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, str.SYS:DoesNotExist
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 0x417170
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, str.checked
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4070ca
test cl, cl
je 0x4070c6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4070ca
add eax, 2
add esi, 2
test cl, cl
jne 0x4070a6
xor eax, eax
jmp 0x4070cf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407126
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionIniFileMappingAutorun.inf
push 0x80000002
call ebx
test eax, eax
je 0x4070fd
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindows_NTCurrentVersionIniFileMappingAutorun.inf
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push 0x41b85c
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x407154
lea edx, [esp + 0x10]
push edx
push str.SoftwareMicrosoftWindows_NTCurrentVersionIniFileMappingAutorun.inf
push 0x80000002
call ebx
test eax, eax
jne 0x40715a
push str.SoftwareMicrosoftWindows_NTCurrentVersionIniFileMappingAutorun.inf
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x40715a
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, str.checked
mov eax, 0x417148
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x407188
test cl, cl
je 0x407184
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x407188
add eax, 2
add esi, 2
test cl, cl
jne 0x407164
xor eax, eax
jmp 0x40718d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
push 0xfe
jne 0x4071a2
lea eax, [esp + 0x58]
push str.piffile_disabled
push eax
jmp 0x4071ac
lea ecx, [esp + 0x58]
push str.piffile
push ecx
call fcn.0040c880
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push str..pif
push 0x80000000
call ebx
test eax, eax
je 0x407202
lea eax, [esp + 0x10]
push eax
push str..pif
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x58]
push ecx
push 1
push eax
push 0x41b85c
push edx
call ebp
jmp 0x407228
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x58]
push ecx
push 1
push eax
push 0x41b85c
push edx
call ebp
test eax, eax
jne 0x407233
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xfe
lea ecx, [esp + 0x58]
push str.ShellScrap_disabled
push ecx
call fcn.0040c880
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push str..shs
push 0x80000000
call ebx
test eax, eax
je 0x4072a5
lea eax, [esp + 0x10]
push eax
push str..shs
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x58]
push ecx
push 1
push eax
push 0x41b85c
push edx
call ebp
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
jmp 0x4072e0
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x58]
push ecx
push 1
push eax
push 0x41b85c
push edx
call ebp
test eax, eax
jne 0x4072da
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
jmp 0x4072e0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALL
push 0x80000002
call ebx
test eax, eax
je 0x40732b
lea edx, [esp + 0x10]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALL
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push 4
push eax
push 4
push 0
push str.CheckedValue
push ecx
call ebp
jmp 0x407346
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push 4
push eax
push 4
push 0
push str.CheckedValue
push ecx
call ebp
test eax, eax
jne 0x40734d
mov edx, dword [esp + 0x10]
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.cpe17_taskmgr.exe
call esi
push str.cpe17_regedit.exe
call esi
push str.cpe17_cmd.exe
call esi
push str.cpe17_msconfig.exe
call esi
lea eax, [esp + 0x154]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.userinit.exe_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x154]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push 0x80000002
rep movsb byte es:[edi], byte [esi]
call ebx
test eax, eax
jne 0x4073f3
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x154]
push 0xff
push ecx
push 1
push eax
push str.Userinit
push edx
call ebp
test eax, eax
jne 0x4073f3
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x48]
push 0x401a50
push 0x12c
push 0x3e7
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x244
ret