Function at 0x406630
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 0x41d504
push 0
mov dword [0x41d4d4], 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 0x4066ac
mov ecx, dword [0x41d990]
test ecx, ecx
jne 0x4066a5
push 0
push 0x8007
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
call fcn.0040dcee
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 0x41d504
push 0x41d21c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x44], ebx
jne 0x406707
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 0x41d504
push 0x800a
push ebx
push esi
mov ecx, 0x41d428
call fcn.00401170
test eax, eax
jne 0x406744
pop edi
pop esi
pop ebx
add esp, 0x244
ret
push ebp
call fcn.00401c90
mov ecx, dword [0x41d4d4]
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.00405d80
mov edi, 0x41cdf8
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 0x4067e0
mov al, byte [esp + 0x54]
mov cl, byte [edx + 0x41cdf8]
cmp al, cl
jne 0x4067c6
mov bl, al
mov edi, 0x41cdf8
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x4067b6
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 0x406d6a
lea eax, [esp + 0x14]
push eax
push str.SOFTWARECPE17AutorunKiller
push 0x80000001
call ebx
test eax, eax
je 0x4069fd
lea ecx, [esp + 0x18]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
test eax, eax
jne 0x40685e
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 0x406857
mov dword [0x41d994], 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 0x406d6a
mov eax, dword [0x41d994]
test eax, eax
jne 0x4068a5
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 0x4068b5
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 0x4068dc
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 0x406d6a
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 0x406d6a
cmp byte [0x4170b8], 0x30
jne 0x406d6a
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 0x406aa1
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 0x406a84
push str.checked
push 0x4170bc
call fcn.0040d1a0
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 0x406a96
mov dword [0x41d994], 1
jmp 0x406a96
push str.unchecked
push 0x4170bc
call fcn.0040d1a0
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 0x406b33
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 [0x41d994]
je 0x406adc
test eax, eax
jne 0x406b33
push 0x13
push str.unchecked
jmp 0x406b26
test eax, eax
jne 0x406b04
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 0x406b14
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.0040d1a0
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 0x406b65
push 0x13
push str.checked
push 0x4170d0
call fcn.0040d1a0
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 0x406b97
push 0x13
push str.unchecked
push 0x4170e4
call fcn.0040d1a0
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 0x406bc9
push 0x13
push str.checked
push 0x4170f8
call fcn.0040d1a0
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 0x406bfb
push 0x13
push str.checked
push 0x41710c
call fcn.0040d1a0
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 0x406c2d
push 0x13
push str.unchecked
push 0x417120
call fcn.0040d1a0
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 0x406c5f
push 0x13
push str.unchecked
push 0x417134
call fcn.0040d1a0
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 0x406c91
push 0x13
push str.checked
push 0x417148
call fcn.0040d1a0
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 0x406cc3
push 0x13
push str.checked
push 0x41715c
call fcn.0040d1a0
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 0x406cf5
push 0x13
push str.checked
push 0x417170
call fcn.0040d1a0
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 0x406d27
push 0x13
push str.checked
push 0x417184
call fcn.0040d1a0
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 0x406d59
push 0x13
push str.unchecked
push 0x417198
call fcn.0040d1a0
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 0x406db5
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 0x406dd0
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 0x406dd7
mov eax, dword [esp + 0x10]
push eax
call esi
mov edi, 0x41b8cc
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 0x406e40
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 0x417f80
push ecx
call ebp
jmp 0x406e5b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push 1
push eax
push 1
push 0
push 0x417f80
push ecx
call ebp
test eax, eax
jne 0x406e66
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x406ec0
mov edx, dword [esp + 0x10]
push str.Window_Title
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406ec0
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 0x406ef4
mov edx, dword [esp + 0x10]
push str.DisableRegistryTools
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406ef4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x406f4e
mov edx, dword [esp + 0x10]
push str.DisableRegistryTools
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406f4e
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x406fa8
mov edx, dword [esp + 0x10]
push str.NoSetFolders
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x406fa8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x407002
mov edx, dword [esp + 0x10]
push str.NoLogoff
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x407002
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x40705c
mov edx, dword [esp + 0x10]
push str.NoFolderOptions
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40705c
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x4070b6
mov edx, dword [esp + 0x10]
push str.DisableTaskMgr
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4070b6
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x407110
mov edx, dword [esp + 0x10]
push str.DisableTaskMgr
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x407110
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x40716a
mov edx, dword [esp + 0x10]
push str.DisableCMD
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40716a
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x4071c4
mov edx, dword [esp + 0x10]
push str.DisableCMD
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4071c4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x40721e
mov edx, dword [esp + 0x10]
push str.NoFind
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40721e
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x407278
mov edx, dword [esp + 0x10]
push str.Norun
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x407278
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x4072d2
mov edx, dword [esp + 0x10]
push str.NoStartmenuMorePrograms
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4072d2
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x40732c
mov edx, dword [esp + 0x10]
push str.MS32DLL
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40732c
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b8cc
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 0x407386
mov edx, dword [esp + 0x10]
push str.MSConfigs
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x407386
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 0x4073da
test cl, cl
je 0x4073d6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4073da
add eax, 2
add esi, 2
test cl, cl
jne 0x4073b6
xor eax, eax
jmp 0x4073df
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407436
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionIniFileMappingAutorun.inf
push 0x80000002
call ebx
test eax, eax
je 0x40740d
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 0x41b8cc
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x407464
lea edx, [esp + 0x10]
push edx
push str.SoftwareMicrosoftWindows_NTCurrentVersionIniFileMappingAutorun.inf
push 0x80000002
call ebx
test eax, eax
jne 0x40746a
push str.SoftwareMicrosoftWindows_NTCurrentVersionIniFileMappingAutorun.inf
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x40746a
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 0x407498
test cl, cl
je 0x407494
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x407498
add eax, 2
add esi, 2
test cl, cl
jne 0x407474
xor eax, eax
jmp 0x40749d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
push 0xfe
jne 0x4074b2
lea eax, [esp + 0x58]
push str.piffile_disabled
push eax
jmp 0x4074bc
lea ecx, [esp + 0x58]
push str.piffile
push ecx
call fcn.0040d1a0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push str..pif
push 0x80000000
call ebx
test eax, eax
je 0x407512
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 0x41b8cc
push edx
call ebp
jmp 0x407538
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 0x41b8cc
push edx
call ebp
test eax, eax
jne 0x407543
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.0040d1a0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push str..shs
push 0x80000000
call ebx
test eax, eax
je 0x4075b5
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 0x41b8cc
push edx
call ebp
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
jmp 0x4075f0
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 0x41b8cc
push edx
call ebp
test eax, eax
jne 0x4075ea
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
jmp 0x4075f0
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 0x40763b
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 0x407656
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 0x40765d
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 0x407703
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 0x407703
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