Function at 0x420150
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x43e54c
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x455d50]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
xor ebx, ebx
push 0x228
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.0042ab60
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x25c], ebx
cmp ebp, 0xffffffff
je 0x4202ac
lea ecx, [esp + 0x24]
push ecx
push ebp
mov dword [esp + 0x2c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4202ac
lea ecx, [ecx]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x4c]
call fcn.0041f290
mov byte [esp + 0x25c], 1
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x42021d
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.004137b0
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.0042a6a5
add esp, 8
cmp esi, ebx
jl 0x42038f
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x42038f
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jl 0x420272
push str.advancedsystemrepairpro.exe
push eax
call fcn.0042a433
add esp, 8
cmp eax, ebx
je 0x420272
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4202ec
mov byte [esp + 0x25c], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420299
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4201e0
mov dword [esp + 0x25c], 0xffffffff
cmp ebp, ebx
je 0x4202c2
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.00422c3d
add esp, 0x24c
ret
mov edx, dword [esp + 0x2c]
push edx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x20], esi
mov byte [esp + 0x25c], 2
cmp esi, ebx
je 0x420351
push 0x448bc4
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x42033a
lea ecx, [esp + 0x18]
push ecx
push 0x1388
push 1
push ebx
push ebx
push 0x864
push eax
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x420351
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x25c], 1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x420366
push esi
call edi
mov byte [esp + 0x25c], bl
lea ecx, [esp + 0x14]
call fcn.0041d7d0
mov dword [esp + 0x25c], 0xffffffff
cmp ebp, ebx
je 0x420388
push ebp
call edi
mov al, 1
jmp 0x4202c4
push 0x80070057
call fcn.00404690
int3