Function at 0x405422
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
sub esp, 0x128
lea ebp, [esp - 4]
mov eax, dword [0x47f170]
xor eax, ebp
mov dword [ebp + 0x128], eax
push 0x40
mov eax, 0x45e576
call fcn.00441cb6
push ecx
mov esi, ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edi, str.lock.temp
push edi
call fcn.00404083
call fcn.00404820
xor ebx, ebx
pop ecx
cmp al, bl
je 0x40546c
xor eax, eax
jmp 0x40573d
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.installing
call fcn.00404083
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edi
mov dword [ebp - 4], ebx
call fcn.00404083
or dword [ebp - 4], 0xffffffff
call fcn.0040495c
pop ecx
pop ecx
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [ebp - 0x24], eax
call fcn.0041fcf4
mov eax, dword [eax + 4]
push dword [eax + 0x60]
lea ecx, [ebp - 0x18]
call fcn.00404083
push str..exe
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.00403fd3
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x124
lea eax, [ebp + 4]
push ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.00441600
add esp, 0xc
lea eax, [ebp]
push eax
push edi
mov dword [ebp], 0x128
call sub.KERNEL32.dll_Process32First
call fcn.0041fe62
push eax
lea ecx, [ebp - 0x10]
call fcn.0040367e
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403fd3
push 0x464d54
lea ecx, [ebp - 0x10]
call fcn.00403fd3
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.00403da1
push dword [ebp - 0x18]
lea eax, [ebp + 0x24]
push eax
call fcn.0044f47c
pop ecx
pop ecx
test eax, eax
jne 0x40554f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x24]
jne 0x40556e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040127f
lea eax, [ebp]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4054fb
jmp 0x40559d
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040127f
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040127f
push 0xc
call fcn.0041dcec
pop ecx
cmp eax, ebx
je 0x4055c5
push 0x60
pop ecx
mov byte [eax], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x4055c7
xor eax, eax
push 3
pop edi
mov dword [0x4805f0], eax
cmp dword [0x48ea48], edi
jne 0x40560e
mov eax, dword [0x48ea4c]
push dword [eax + 4]
mov ecx, 0x48061c
call fcn.00403ef3
mov eax, dword [0x48ea4c]
push dword [eax + 8]
call fcn.004431d4
mov dword [0x4805f4], eax
mov eax, dword [0x48ea4c]
pop ecx
push dword [eax + 4]
mov ecx, 0x480620
call fcn.00403ef3
lea eax, [ebp - 0x10]
push eax
call fcn.004045cb
pop ecx
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.00403c78
push eax
lea ecx, [ebp - 0x14]
call fcn.00403897
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.0040127f
push ebx
push str.winxp
lea ecx, [ebp - 0x14]
call fcn.0040378d
cmp eax, 0xffffffff
mov eax, str._AppData_
jg 0x405657
mov eax, str._AppDataLocalLow_
push eax
lea ecx, [ebp - 0x20]
call fcn.00404083
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str._ProgramFiles_FileOpenerProexclude.txt
mov byte [ebp - 4], 6
call fcn.00404083
mov ecx, esi
call fcn.00405372
or dword [0x4805f4], eax
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push str.DownloadManagerexclude.txt
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00403f6f
add esp, 0xc
mov ecx, esi
call fcn.00405372
or dword [0x4805f4], eax
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push str.Maxwebsearchinstalled.cfg
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00403f6f
add esp, 0xc
mov ecx, esi
call fcn.00405372
or dword [0x4805f4], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
lea ecx, [ebp - 0x4c]
call fcn.0041ef00
mov dword [ebp - 0x4c], 0x4649d8
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0041e3ea
mov ecx, esi
call fcn.0041e893
push ebx
call fcn.0042497c
mov ecx, esi
mov dword [esp], str.optimuminstaller
call fcn.00423e9e
mov ecx, esi
mov byte [esi + 0xa4], 1
call fcn.004033e5
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.0041ef44
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040127f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040127f
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.00441ca7
add ebp, 0x12c
leave
ret