Function at 0x100256a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10050038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a8
push ebx
push esi
push edi
push 0x128
lea eax, [esp + 0x64]
push 0
push eax
call sub.MSVCR120.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
add esp, 0xc
mov dword [esp + 0x60], 0x128
push 0
push 2
call edi
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
jne 0x1002570e
xor al, al
mov ecx, dword [esp + 0x3b4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
lea eax, [esp + 0x4c]
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__
add esp, 8
lea eax, [esp + 0x60]
mov dword [esp + 0x3bc], 0
push eax
push ebx
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x100258b5
mov edi, edi
push 0x224
lea eax, [esp + 0x18c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x188], 0x224
push dword [esp + 0x68]
push 8
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x10025898
lea eax, [esp + 0x188]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x10025895
cmp byte [esp + 0x2a8], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jne 0x100257bf
xor eax, eax
jmp 0x100257d9
lea eax, [esp + 0x2a8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100257d0
sub eax, edx
push eax
lea eax, [esp + 0x2ac]
push eax
lea ecx, [esp + 0x20]
call fcn.10001a10
lea eax, [esp + 0x18]
mov byte [esp + 0x3bc], 1
push eax
lea eax, [esp + 0x34]
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__
add esp, 8
mov byte [esp + 0x3bc], 0
cmp dword [esp + 0x2c], 0x10
jb 0x1002581d
push dword [esp + 0x18]
call esi
add esp, 4
cmp dword [esp + 0x5c], 0x10
lea ecx, [esp + 0x48]
lea eax, [esp + 0x30]
cmovae ecx, dword [esp + 0x48]
cmp dword [esp + 0x44], 0x10
push ecx
cmovae eax, dword [esp + 0x34]
push eax
call dword [sym.imp.MSVCR120.dll_strstr]
add esp, 8
test eax, eax
je 0x10025885
push dword [esp + 0x190]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1002587f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
mov byte [esp + 0x13], 1
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0x44], 0x10
jb 0x10025895
push dword [esp + 0x30]
call esi
add esp, 4
push edi
call ebx
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov edi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
test eax, eax
jne 0x10025750
push dword [esp + 0x14]
call ebx
cmp dword [esp + 0x5c], 0x10
jb 0x100258cb
push dword [esp + 0x48]
call esi
add esp, 4
mov ecx, dword [esp + 0x3b4]
mov al, byte [esp + 0x13]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret