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

Disassembly:
push 0xffffffffffffffff
push 0x4548dc
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4652b0]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
mov esi, ecx
push eax
mov dword [esp + 0x20], esi
call fcn.00404280
mov dword [esp + 0x178], 0
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov ebp, dword [esi]
mov ebx, eax
nop
mov edi, dword [esi + 0x14]
mov esi, dword [esi]
test ebp, ebp
je 0x42e58d
cmp ebp, esi
je 0x42e592
call fcn.0043ec5c
cmp ebx, edi
je 0x42e5f9
test ebp, ebp
jne 0x42e5ef
call fcn.0043ec5c
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x42e5ab
call fcn.0043ec5c
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 8]
mov edx, dword [ecx + 4]
lea edi, [ecx + 4]
push eax
push edx
push ecx
call fcn.0042ec70
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00431dc0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
test ebp, ebp
jne 0x42e5f4
call fcn.0043ec5c
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x42e5e7
call fcn.0043ec5c
mov ebx, dword [ebx]
mov esi, dword [esp + 0x1c]
jmp 0x42e580
mov eax, dword [ebp]
jmp 0x42e5a1
mov eax, dword [ebp]
jmp 0x42e5dd
lea ecx, [esp + 0x18]
push ecx
mov ecx, str._INSTALL_
call fcn.004235c0
mov byte [esp + 0x178], 1
mov edx, dword [0x467e80]
mov eax, dword [edx + 0xc]
mov ecx, 0x467e80
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x178], 2
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
mov esi, 0x104
sub eax, esi
or eax, ecx
jge 0x42e654
mov ecx, esi
lea eax, [esp + 0x1c]
call fcn.00404d80
mov ebp, dword [esp + 0x1c]
cmp dword [ebp - 8], esi
jge 0x42e663
push 0x80070057
call fcn.004059f0
mov dword [ebp - 0xc], esi
mov byte [ebp + 0x104], 0
mov edi, dword [0x568c98]
mov ebx, dword [esp + 0x18]
test edi, edi
jne 0x42e6b8
push 0xe58
call fcn.0043e9a7
mov edi, eax
add esp, 4
test edi, edi
jne 0x42e6a3
push 0x45ff24
lea ecx, [esp + 0x1b]
xor al, al
push ecx
mov byte [esp + 0x1f], al
call fcn.0044143b
lea esi, [edi + 0xc]
mov dword [edi + 4], vtable.CQuickLinkMgr.0
call fcn.00436770
mov dword [0x568c98], edi
mov esi, edi
call fcn.00438f70
push ebp
lea edx, [esi + 0xc]
mov ecx, ebx
call fcn.004368d0
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x42e659
cmp eax, dword [ebp - 8]
jg 0x42e659
mov dword [ebp - 0xc], eax
mov byte [eax + ebp], 0
call fcn.0043cfa0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x42e782
lea eax, [ebp - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x178], 1
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e728
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x178], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e750
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x20]
call fcn.0042ec10
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0043ea71
mov edx, dword [esp + 0x24]
add esp, 4
push edx
mov dword [esp + 0x38], 0
call fcn.0043ea71
add esp, 4
xor eax, eax
jmp 0x42e8d3
push 0x128
lea eax, [esp + 0x48]
push 0
push eax
call fcn.00443400
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
push esi
mov dword [esp + 0x4c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x42e7b9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42e704
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea ecx, [esp + 0x70]
call fcn.004235c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x19c], 3
call fcn.0042ea50
mov byte [esp + 0x198], 2
call fcn.0042e2b0
test eax, eax
je 0x42e83d
mov edi, dword [esp + 0x4c]
push ebp
call fcn.0043d650
test eax, eax
je 0x42e83d
mov edx, dword [esp + 0x4c]
push edx
push 0
push 1
call ebx
test eax, eax
je 0x42e824
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x42e83d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StopProcessByExeID_failed__erro___d
push 0x80
call fcn.004025a0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x42e7bf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov byte [esp + 0x178], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e87b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x178], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e8a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x20]
call fcn.0042ec10
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0043ea71
mov edx, dword [esp + 0x24]
add esp, 4
push edx
mov dword [esp + 0x38], 0
call fcn.0043ea71
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0043defc
add esp, 0x168
ret