Function at 0x100fd620
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x664], edx
mov edi, ecx
mov dword [ebp - 0x654], ebx
mov dword [ebp - 0x66c], eax
je 0x100fd66f
cmp dword [ebx + 0x10], 0
jne 0x100fd66f
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
push 0
mov esi, 1
mov dword [ebp - 0x660], 0
push 0xf
mov dword [ebp - 0x65c], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x668], eax
push ecx
push eax
mov dword [ebp - 0x650], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100fd9c5
cmp byte [ebp + 0xc], 0
jne 0x100fd6da
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fd6c4
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x100fd9a4
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.10150b00
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x208
push 0
push eax
call fcn.10150b00
add esp, 0xc
call fcn.100fea80
push dword [ebp - 0x648]
push 0
push 0x100410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x658], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x658]
test eax, eax
je 0x100fd9a4
cmp dword [ebx + 0x10], 0
je 0x100fd7b7
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 0x100fd7b7
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100fd76d
mov eax, dword [ebx]
push ecx
push dword [ebx + 0x10]
mov edx, 0x104
lea ecx, [ebp - 0x418]
push eax
call fcn.100e5c30
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.101644e0
add esp, 0xc
test eax, eax
jne 0x100fd998
mov edx, dword [ebp - 0x66c]
push ecx
mov ecx, dword [ebp - 0x648]
call fcn.100fd030
add esp, 4
test al, al
je 0x100fd998
push dword [ebp - 0x658]
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 ebx, eax
test esi, esi
je 0x100fd92a
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x100fd850
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100fd820
mov ebx, dword [ebp - 0x664]
lea eax, [ebp - 0x210]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10001c20
mov dword [ebp - 0x65c], 0xffffffff
jmp 0x100fd856
mov ebx, dword [ebp - 0x664]
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x100fd876
cmp eax, 0x102
je 0x100fd876
inc dword [ebp - 0x660]
jmp 0x100fd8a8
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100fd880
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10001c20
mov dword [ebp - 0x65c], 0xffffffff
cmp dword [0x101e9ed0], 0
je 0x100fd8ec
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x100fd8bb
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Killing_Process:_s_Error:__u
push 0x101a4aec
push 0x101a4aec
push str.ProcessUtils
push str.OOBEUtils
push 0x1e
call dword [0x101e9ed0]
add esp, 0x20
jmp 0x100fd992
mov esi, dword [0x101e9ed4]
test esi, esi
je 0x100fd992
cmp dword [edi + 0x14], 8
mov ebx, edi
jb 0x100fd904
mov ebx, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.Killing_Process:_s_Error:__u
push str.ProcessUtils
push 0x101a4aec
push 0x1e
push dword [0x101e9ed4]
call dword [esi + 0x34]
jmp 0x100fd98f
mov ecx, dword [0x101e9ed0]
test ecx, ecx
je 0x100fd962
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fd93e
mov eax, dword [edi]
push ebx
push eax
push str.Not_able_to_kill_process:__s_Error:__u
push 0x101a4aec
push 0x101a4aec
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x20
jmp 0x100fd992
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100fd992
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100fd976
mov edx, dword [edi]
mov eax, dword [ecx]
push ebx
push edx
push str.Not_able_to_kill_process:__s_Error:__u
push str.ProcessUtils
push 0x101a4aec
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x1c
mov ebx, dword [ebp - 0x654]
push dword [ebp - 0x658]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x650]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100fd6b4
mov esi, dword [ebp - 0x65c]
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x660]
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.1014d1d5
mov esp, ebp
pop ebp
ret