Function at 0x42c600
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x6780cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov esi, 1
mov dword [ebp - 0x660], edx
push 0xf
mov edi, ecx
mov dword [ebp - 0x66c], ebx
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x658], esi
mov dword [ebp - 0x65c], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x664], eax
push ecx
push eax
mov dword [ebp - 0x650], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42c993
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42c67f
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x42c972
push 0x208
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.005b9e00
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x208
push 0
push eax
call fcn.005b9e00
add esp, 0xc
call fcn.0042c9c0
push dword [ebp - 0x648]
push 0
push 0x100410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x654], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x654]
test eax, eax
je 0x42c972
cmp dword [ebx + 0x10], 0
je 0x42c76c
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x104
push ecx
lea ecx, [ebp - 0x210]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x42c76c
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42c727
mov eax, dword [ebx]
push ecx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x418]
push eax
call fcn.00435340
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x10
push 0
push eax
call dword [sym.imp.SHELL32.dll_PathResolve]
push dword [ebx + 0x10]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.005ccb40
add esp, 0xc
test eax, eax
jne 0x42c966
mov edx, dword [ebp - 0x668]
push ecx
mov ecx, dword [ebp - 0x648]
call fcn.0042c2a0
add esp, 4
test al, al
je 0x42c966
push dword [ebp - 0x654]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x648]
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
test esi, esi
je 0x42c8ed
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x42c7fc
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c7d0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x660]
push eax
call fcn.00404650
mov dword [ebp - 0x658], 0xffffffff
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x42c81c
cmp eax, 0x102
je 0x42c81c
inc dword [ebp - 0x65c]
jmp 0x42c851
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c825
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x660]
push eax
call fcn.00404650
mov dword [ebp - 0x658], 0xffffffff
cmp dword [0x6830d8], 0
je 0x42c89f
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x42c864
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
mov esi, dword [0x6830d8]
mov ecx, esi
push str.Killing_Process:_s_Error:__u
push 0x6424c4
push 0x6424c4
push str.ProcessUtils
push str.OOBEUtils
push 0x1e
call dword [0x5feac0]
call esi
add esp, 0x20
jmp 0x42c966
mov esi, dword [0x6830dc]
test esi, esi
je 0x42c966
cmp dword [edi + 0x14], 8
mov ebx, edi
jb 0x42c8b7
mov ebx, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
push ebx
push str.Killing_Process:_s_Error:__u
push str.ProcessUtils
push 0x6424c4
push 0x1e
push dword [0x6830dc]
call dword [0x5feac0]
call esi
mov ebx, dword [ebp - 0x66c]
jmp 0x42c963
mov esi, dword [0x6830d8]
test esi, esi
je 0x42c92d
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42c901
mov eax, dword [edi]
push edx
push eax
push str.Not_able_to_kill_process:__s_Error:__u
push 0x6424c4
push 0x6424c4
push str.ProcessUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x5feac0]
call esi
add esp, 0x20
jmp 0x42c966
mov eax, dword [0x6830dc]
test eax, eax
je 0x42c966
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x42c940
mov ecx, dword [edi]
mov esi, dword [eax]
push edx
push ecx
push str.Not_able_to_kill_process:__s_Error:__u
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.ProcessUtils
push 0x6424c4
push 0x32
push eax
call dword [0x5feac0]
call esi
add esp, 0x1c
push dword [ebp - 0x654]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x650]
push eax
push dword [ebp - 0x664]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42c675
mov esi, dword [ebp - 0x658]
push dword [ebp - 0x664]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x65c]
or ecx, 0xffffffff
cmp esi, ecx
pop edi
cmove eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005a5aba
mov esp, ebp
pop ebp
ret