Function at 0x627c60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 4], eax
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 - 0x668], ebx
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 0x627fee
nop dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x627cda
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
jne 0x627fcd
push 0x208
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00690480
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x208
push 0
push eax
call fcn.00690480
add esp, 0xc
mov cl, 1
call fcn.00628020
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 0x627fcd
cmp dword [ebx + 0x10], 0
je 0x627dc9
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 0x627dc9
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x627d84
mov eax, dword [ebx]
push ecx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x418]
push eax
call fcn.006134e0
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.006a83e9
add esp, 0xc
test eax, eax
jne 0x627fc1
push ecx
mov ecx, dword [ebp - 0x648]
call fcn.00627710
add esp, 4
test al, al
je 0x627fc1
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 0x627f48
push 9
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
jne 0x627e53
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x627e27
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x660]
push eax
call fcn.0042fe00
mov dword [ebp - 0x658], 0xffffffff
push 0x1388
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x627e73
cmp eax, 0x102
je 0x627e73
inc dword [ebp - 0x65c]
jmp 0x627eac
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x627e80
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x660]
push eax
call fcn.0042fe00
mov dword [ebp - 0x658], 0xffffffff
cmp dword [0x855a98], 0
je 0x627efa
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x627ebf
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
mov esi, dword [0x855a98]
mov ecx, esi
push str.Killing_Process:_s_Error:__u
push 0x75c10c
push 0x75c10c
push str.ProcessUtils
push str.OOBEUtils
push 0x1e
call dword [0x74835c]
call esi
add esp, 0x20
jmp 0x627fc1
mov esi, dword [0x855a9c]
test esi, esi
je 0x627fc1
cmp dword [edi + 0x14], 8
mov ebx, edi
jb 0x627f12
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 0x75c10c
push 0x1e
push dword [0x855a9c]
call dword [0x74835c]
call esi
mov ebx, dword [ebp - 0x668]
jmp 0x627fbe
mov esi, dword [0x855a98]
test esi, esi
je 0x627f88
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x627f5c
mov eax, dword [edi]
push edx
push eax
push str.Not_able_to_kill_process:__s_Error:__u
push 0x75c10c
push 0x75c10c
push str.ProcessUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x74835c]
call esi
add esp, 0x20
jmp 0x627fc1
mov eax, dword [0x855a9c]
test eax, eax
je 0x627fc1
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x627f9b
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 0x75c10c
push 0x32
push eax
call dword [0x74835c]
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 0x627cd0
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.0067d681
mov esp, ebp
pop ebp
ret