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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013c5cb
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov esi, ecx
call fcn.101178e0
mov dword [esp + 0x14], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
xor edi, edi
mov dword [eax + 8], eax
mov dword [esp + 0x18], edi
push 0x228
lea eax, [esp + 0x34]
push edi
mov dword [esp + 0x278], edi
push eax
mov dword [esp + 0x38], edi
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
add esp, 0xc
push edx
lea ecx, [esp + 0x14]
call fcn.101171a0
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], edi
mov dword [eax], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], eax
cmp dword [esi + 0x20], edi
je 0x101160ec
cmp dword [esi + 0x18], edi
lea ecx, [esi + 0x18]
je 0x101160ec
lea eax, [esp + 0x10]
call fcn.10116f50
mov dword [eax], 1
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov dword [esp + 0x24], ebx
mov esi, eax
cmp esi, edi
jne 0x10116140
push 0x568
call fcn.10113800
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push ebx
push str.hProcessSnap_INVALID_HANDLE_VALUE
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
jmp 0x1011626e
lea eax, [esp + 0x2c]
push eax
push ebx
mov dword [esp + 0x34], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, edi
mov dword [esp + 0x28], eax
jne 0x10116197
push 0x56b
call fcn.10113800
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push edi
push str.Process32First_hProcessSnap__pe32_
push str._s_return_code:_0x_08X___s.
push eax
call edx
mov esi, dword [esp + 0x3c]
add esp, 0x14
jmp 0x10116272
mov esi, dword [sym.imp.MSVCR80.dll__wcsicmp]
lea ecx, [ecx]
cmp dword [esp + 0x18], edi
jne 0x101161b9
lea eax, [esp + 0x50]
push str.ABSpawn.exe
push eax
call esi
add esp, 8
test eax, eax
jmp 0x101161c9
lea ecx, [esp + 0x44]
lea eax, [esp + 0x10]
call fcn.10116f50
cmp dword [eax], 1
jne 0x101161de
lea ecx, [esp + 0x34]
lea eax, [esp + 0x10]
call fcn.10116f50
mov dword [eax], 1
lea ecx, [esp + 0x2c]
push ecx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x101161a0
mov edx, dword [esp + 0x14]
mov esi, dword [edx]
lea edi, [esp + 0x10]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
nop
test edi, edi
mov ebx, dword [esp + 0x14]
je 0x10116210
lea eax, [esp + 0x10]
cmp edi, eax
je 0x10116216
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x1011626a
test edi, edi
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x10116226
call ebx
cmp esi, dword [edi + 4]
jne 0x1011622d
call ebx
cmp dword [esi + 0x10], 1
jne 0x10116257
cmp esi, dword [edi + 4]
jne 0x1011623a
call ebx
mov ecx, dword [esi + 0xc]
push ecx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xf0000017
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea esi, [esp + 0x1c]
call fcn.10117960
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x10116200
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp ebx, 0xffffffff
je 0x1011627e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x270], 0xffffffff
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
push edi
lea eax, [esp + 0x14]
push eax
mov edx, eax
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
mov edi, edx
call fcn.101172c0
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.1012d370
mov esp, ebp
pop ebp
ret