Function at 0x404297
Capabilities:
Create process on windows
Enumerate processes
Enumerate services
Terminate process
Terminate process by name

Disassembly:
push ebp
sub esp, 0x128
lea ebp, [esp - 4]
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x128], eax
push 0x58
mov eax, 0x47f0ac
call fcn.00462276
xor ebx, ebx
push ebx
push ebx
sub esp, 0x1c
mov edi, ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.mouse
call fcn.00402393
call fcn.00403e59
mov eax, dword [0x4b8400]
add esp, 0x24
cmp eax, 1
jne 0x404375
mov eax, dword [0x4b8404]
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00404253
push str.tracer
push dword [ebp - 0x10]
call fcn.0046372c
pop ecx
pop ecx
test eax, eax
jne 0x404318
mov byte [0x4b5963], 1
mov byte [0x4b229e], bl
push str.onboot
push dword [ebp - 0x10]
call fcn.0046372c
pop ecx
pop ecx
test eax, eax
jne 0x404332
mov byte [0x4b5967], 1
push str.IDDQD
push dword [ebp - 0x10]
call fcn.0046372c
pop ecx
pop ecx
test eax, eax
je 0x404358
push str.uber
push dword [ebp - 0x10]
call fcn.0046372c
pop ecx
pop ecx
test eax, eax
jne 0x404365
mov byte [0x4b5964], 1
mov byte [0x4b229e], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401264
jmp 0x404427
cmp eax, 2
jne 0x4043eb
mov eax, dword [0x4b8404]
push dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.00404253
push str.tracer
push dword [ebp - 0x10]
call fcn.0046372c
pop ecx
pop ecx
test eax, eax
jne 0x4043a6
mov byte [0x4b5963], 1
jmp 0x40435f
push str.IDDQD
push dword [ebp - 0x10]
call fcn.0046372c
pop ecx
pop ecx
test eax, eax
je 0x404358
push str.uber
push dword [ebp - 0x10]
call fcn.0046372c
pop ecx
pop ecx
test eax, eax
je 0x404358
push str.onboot
push dword [ebp - 0x10]
call fcn.0046372c
pop ecx
pop ecx
test eax, eax
jne 0x404365
mov byte [0x4b5967], 1
jmp 0x404365
cmp eax, 3
jne 0x404427
mov eax, dword [0x4b8404]
push dword [eax + 4]
mov ecx, 0x4b57a8
call fcn.00403a25
mov eax, dword [0x4b8404]
push dword [eax + 8]
call fcn.00463c1f
mov dword [0x4b5738], eax
mov eax, dword [0x4b8404]
pop ecx
push dword [eax + 4]
mov ecx, 0x4b57ac
call fcn.00403a25
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov esi, str.inproc.temp
push esi
call fcn.00404253
call fcn.00428839
pop ecx
cmp al, bl
je 0x404449
xor eax, eax
jmp 0x404997
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.starting
call fcn.00404253
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push esi
mov dword [ebp - 4], ebx
call fcn.00404253
or dword [ebp - 4], 0xffffffff
call fcn.00426066
pop ecx
pop ecx
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [ebp - 0x14], eax
call fcn.0043fcbb
mov eax, dword [eax + 4]
push dword [eax + 0x60]
lea ecx, [ebp - 0x24]
call fcn.00404253
push 0x48bed8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.00403b5d
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x124
lea eax, [ebp + 4]
push ebx
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00461bc0
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
mov dword [ebp], 0x128
call sub.KERNEL32.dll_Process32First
mov esi, 0x4b5748
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x10]
call fcn.00403560
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403b5d
push esi
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00403a55
add esp, 0xc
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.004038d8
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401264
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.004038d8
push dword [ebp - 0x24]
lea eax, [ebp + 0x24]
push eax
call fcn.00470044
pop ecx
pop ecx
test eax, eax
je 0x404582
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x48bed4
call fcn.00404253
push ecx
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 4
call fcn.00404253
push 0x4b575c
mov byte [ebp - 4], 2
call fcn.0042611f
add esp, 0xc
push dword [ebp - 0x24]
lea eax, [ebp + 0x24]
push eax
call fcn.00470044
pop ecx
pop ecx
test eax, eax
jne 0x40459c
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jne 0x4045c1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401264
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4044e0
jmp 0x4045f4
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401264
push 0x8ca0
call fcn.0043dd74
mov dword [esp], 0xf003f
push str.ServicesActive
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
push ebx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0x3e8
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 1
push 0x30
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call esi
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x40465d
push ebx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
add eax, 0x3e8
push eax
push dword [ebp - 0x10]
push 1
push 0x30
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x28], ebx
jbe 0x4046a8
mov esi, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x48bed4
call fcn.00404253
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push dword [esi]
mov byte [ebp - 4], 5
call fcn.00404253
push 0x4b5760
mov byte [ebp - 4], 1
call fcn.0042611f
add esp, 0xc
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add esi, 0x24
cmp eax, dword [ebp - 0x28]
jb 0x404668
mov ecx, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401264
call fcn.004295a5
cmp byte [0x4b5966], bl
je 0x4047c0
push 0x100
lea eax, [ebp + 0x28]
push eax
push ebx
mov byte [0x4b5966], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x18]
call fcn.00403560
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0x18]
push str.__s_
push eax
mov dword [ebp - 4], 6
call fcn.00403a42
mov esi, dword [ebp - 0x18]
mov eax, dword [esi - 0xc]
add esp, 0xc
cmp eax, ebx
jle 0x4047b4
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.00404253
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.i_temp.temp
mov byte [ebp - 4], 7
call fcn.00404253
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.attempt_retry
mov byte [ebp - 4], 8
call fcn.00404253
mov byte [ebp - 4], 6
call fcn.004262dc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push str._c___ping_1.1.1.1__n_1__w_3000___Nul__
push eax
call fcn.00403b04
push str._retry_
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.00403aac
mov ecx, dword [ebp - 0x14]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.00401264
push ebx
push ebx
push dword [ebp - 0x1c]
push str.cmd.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401264
lea ecx, [esi - 0x10]
call fcn.00401264
jmp 0x404442
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00401264
lea eax, [ebp - 0x14]
push eax
call fcn.004269f6
pop ecx
mov ecx, eax
mov dword [ebp - 4], 0xa
call fcn.0040386a
push eax
lea ecx, [ebp - 0x1c]
call fcn.004036d1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.00401264
push ebx
push str.winxp
lea ecx, [ebp - 0x1c]
call fcn.00403627
cmp eax, 0xffffffff
mov eax, str._AppData_
jg 0x40480d
mov eax, str._AppDataLocalLow_
push eax
lea ecx, [ebp - 0x30]
call fcn.00404253
lea eax, [ebp - 0x34]
push str.TEMPPATH
push eax
mov byte [ebp - 4], 0xd
call fcn.0042e95d
add esp, 4
mov ecx, esp
mov dword [ebp - 0x20], esp
push str._ProgramFiles_FileOpenerProexclude.txt
mov byte [ebp - 4], 0xe
call fcn.00404253
mov ecx, edi
call fcn.004041a3
or dword [0x4b5738], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str._ProgramFiles_Browsersafeguardexclude.txt
call fcn.00404253
mov ecx, edi
call fcn.004041a3
or dword [0x4b5738], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str._AppDataLocal_Browsersafeguardexclude.txt
call fcn.00404253
mov ecx, edi
call fcn.004041a3
or dword [0x4b5738], eax
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push str.DownloadManagerexclude.txt
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.00403aac
add esp, 0xc
mov ecx, edi
call fcn.004041a3
or dword [0x4b5738], eax
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push str.Maxwebsearchinstalled.cfg
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.00403aac
add esp, 0xc
mov ecx, edi
call fcn.004041a3
or dword [0x4b5738], eax
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push 0x48bd5c
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.00403aac
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
call fcn.0042996f
pop ecx
pop ecx
push eax
mov ecx, 0x4b5758
mov byte [ebp - 4], 0xf
call fcn.004039d8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
add ecx, 0xfffffff0
call fcn.00401264
mov eax, dword [0x4b57a8]
cmp dword [eax - 0xc], ebx
jne 0x404965
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
lea ecx, [ebp - 0x64]
call fcn.0043eec6
mov dword [ebp - 0x64], 0x48bc28
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.0043e438
mov ecx, edi
call fcn.0043e863
push ebx
call fcn.00443435
mov ecx, edi
mov dword [esp], str.optimuminstaller
call fcn.00442928
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.0043ef0a
mov ecx, edi
mov byte [edi + 0xa4], 1
call fcn.00404043
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401264
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x128]
xor ecx, ebp
call fcn.00462267
add ebp, 0x12c
leave
ret