Function at 0x10028ee0
Capabilities:
Create process on windows
Enumerate processes
Resolve function by parsing pe exports
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005032d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c0
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x98], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp ebx, 0xffffffff
jne 0x10028f3b
xor eax, eax
mov ecx, dword [esp + 0x3cc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [esp + 0x2c4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x2c0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0x90]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
mov dword [esp + 0xc], eax
test eax, eax
je 0x10029459
lea esp, [esp]
cmp byte [esp + 0xb4], 0
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jne 0x10028fa3
xor ecx, ecx
jmp 0x10028fb9
lea ecx, [esp + 0xb4]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10028fb0
sub ecx, edx
push ecx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x34]
call fcn.10001a10
push dword [ebp + 8]
lea eax, [esp + 0x48]
mov dword [esp + 0x3d8], 0
push eax
call sym.KwLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KwLib::StringUtility::Str2Lower_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov esi, eax
lea eax, [esp + 0x34]
mov byte [esp + 0x3dc], 1
push eax
lea eax, [esp + 0x20]
push eax
call sym.KwLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KwLib::StringUtility::Str2Lower_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov ebx, dword [esi + 0x10]
add esp, 0x10
cmp dword [esi + 0x14], 0x10
mov ecx, eax
jb 0x1002900c
mov esi, dword [esi]
cmp dword [ecx + 0x14], 0x10
mov edi, dword [ecx + 0x10]
jb 0x10029017
mov ecx, dword [ecx]
cmp edi, ebx
mov edx, ebx
cmovb edx, edi
test edx, edx
je 0x10029077
sub edx, 4
jb 0x10029038
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1002903d
add ecx, 4
add esi, 4
sub edx, 4
jae 0x10029027
cmp edx, 0xfffffffc
je 0x10029071
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x1002906a
cmp edx, 0xfffffffd
je 0x10029071
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x1002906a
cmp edx, 0xfffffffe
je 0x10029071
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x1002906a
cmp edx, 0xffffffff
je 0x10029071
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x10029071
sbb eax, eax
or eax, 1
jmp 0x10029073
xor eax, eax
test eax, eax
jne 0x10029089
cmp edi, ebx
jae 0x10029080
or eax, 0xffffffff
jmp 0x10029087
xor eax, eax
cmp edi, ebx
setne al
test eax, eax
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
sete bl
cmp dword [esp + 0x28], 0x10
jb 0x100290a2
push dword [esp + 0x14]
call edi
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x100290c7
push dword [esp + 0x44]
call edi
add esp, 4
mov dword [esp + 0x3d4], 0xffffffff
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x100290f7
push dword [esp + 0x2c]
call edi
add esp, 4
test bl, bl
je 0x10029430
cmp dword [ebp + 0xc], 1
jne 0x10029396
push dword [esp + 0x98]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x104
lea ecx, [esp + 0x1bc]
mov dword [esp + 0x60], eax
push ecx
push 0
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
lea eax, [esp + 0x1b8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
cmp byte [esp + 0x1b8], 0
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jne 0x10029168
xor ecx, ecx
jmp 0x1002917b
lea ecx, [esp + 0x1b8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029172
sub ecx, edx
push ecx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x1c]
call fcn.10001a10
mov dword [esp + 0x3d4], 2
cmp byte [esp + 0x2c0], 0
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jne 0x100291bb
xor ecx, ecx
jmp 0x100291ce
lea ecx, [esp + 0x2c0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100291c5
sub ecx, edx
push ecx
lea eax, [esp + 0x2c4]
push eax
lea ecx, [esp + 0x34]
call fcn.10001a10
lea eax, [esp + 0x14]
mov byte [esp + 0x3d4], 3
push eax
lea eax, [esp + 0x64]
push eax
call sym.KwLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KwLib::StringUtility::Str2Lower_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov edi, eax
lea eax, [esp + 0x34]
mov byte [esp + 0x3dc], 4
push eax
lea eax, [esp + 0x50]
push eax
call sym.KwLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KwLib::StringUtility::Str2Lower_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov ebx, dword [edi + 0x10]
add esp, 0x10
cmp dword [edi + 0x14], 0x10
mov ecx, eax
jb 0x10029220
mov edi, dword [edi]
cmp dword [ecx + 0x14], 0x10
mov esi, dword [ecx + 0x10]
jb 0x1002922b
mov ecx, dword [ecx]
cmp esi, ebx
mov eax, ebx
mov edx, edi
cmovb eax, esi
push eax
call fcn.10003760
add esp, 4
test eax, eax
jne 0x10029253
cmp esi, ebx
jae 0x1002924a
or eax, 0xffffffff
jmp 0x10029251
xor eax, eax
cmp esi, ebx
setne al
test eax, eax
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
sete bl
cmp dword [esp + 0x58], 0x10
jb 0x1002926c
push dword [esp + 0x44]
call esi
add esp, 4
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x10029291
push dword [esp + 0x60]
call esi
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jb 0x100292b6
push dword [esp + 0x2c]
call esi
add esp, 4
mov dword [esp + 0x3d4], 0xffffffff
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jb 0x100292e6
push dword [esp + 0x14]
call esi
add esp, 4
test bl, bl
je 0x10029430
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x98], eax
je 0x10029430
cmp dword [esp + 0x5c], 0
je 0x10029449
push str.TaskKill__F__PID
lea ecx, [esp + 0x18]
call fcn.10001780
mov dword [esp + 0x3d4], 5
lea ecx, [esp + 0x60]
mov edx, dword [esp + 0x98]
call fcn.100294e0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3e0], 6
call fcn.100022e0
cmp dword [esp + 0x74], 0x10
jb 0x1002935b
push dword [esp + 0x60]
call esi
add esp, 4
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
push 2
cmovae eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [esp + 0x3d4], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x10029430
push dword [esp + 0x14]
call esi
add esp, 4
jmp 0x10029430
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x98]
cmp ecx, eax
je 0x10029430
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10029449
push 0xf
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x10029429
push dword [ebp + 8]
mov edx, str.TaskKill__F__IM
lea ecx, [esp + 0x7c]
call fcn.10008730
add esp, 4
lea eax, [esp + 0x78]
cmp dword [esp + 0x8c], 0x10
cmovae eax, dword [esp + 0x78]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp dword [esp + 0x8c], 0x10
jb 0x1002940e
push dword [esp + 0x78]
call edi
add esp, 4
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x90]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [esp + 0xc], eax
jmp 0x10029451
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10028f80
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x3cc]
mov eax, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret