Function at 0x41ce50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x6fb448]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x130], 0
push 0x124
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.005b02a0
add esp, 0xc
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x144], 0
cmp dword [ebp + 8], 0
je 0x41cec5
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
jne 0x41cecd
or eax, 0xffffffff
jmp 0x41d131
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0xffffffff
jne 0x41cf07
push 0x64ae90
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.:5:TerminateProcessByName__s___d__FAILED:_CreateToolhelp32Snapshot___FAILED:__s
call fcn.00401014
add esp, 0x10
or eax, 0xffffffff
jmp 0x41d131
mov dword [ebp - 0x130], 0x128
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x13c]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x41cf65
push 0x64aef0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.:5:TerminateProcessByName__s___d__FAILED:_Process32First___FAILED:__s
call fcn.00401014
add esp, 0x10
push 0x76f
push 0x64af48
push 0x64af54
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00401f5a
or eax, 0xffffffff
jmp 0x41d131
mov dword [ebp - 0x140], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x41cfd3
cmp dword [ebp + 0x10], 0
je 0x41cf9e
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.005b61f0
add esp, 8
test eax, eax
jne 0x41cf9e
mov dword [ebp - 0x138], 1
jmp 0x41cfd1
cmp dword [ebp + 0x10], 0
jne 0x41cfc7
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.005b0660
add esp, 8
test eax, eax
jne 0x41cfc7
mov dword [ebp - 0x138], 1
jmp 0x41cfd1
mov dword [ebp - 0x138], 0
jmp 0x41d02f
cmp dword [ebp + 0x10], 0
je 0x41cffc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.005b0770
add esp, 8
test eax, eax
je 0x41cffc
mov dword [ebp - 0x138], 1
jmp 0x41d02f
cmp dword [ebp + 0x10], 0
jne 0x41d025
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.00401041
add esp, 8
test eax, eax
je 0x41d025
mov dword [ebp - 0x138], 1
jmp 0x41d02f
mov dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0
je 0x41d0e3
mov dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x128]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x41d0d9
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x41d09e
push 0x64af74
lea edx, [ebp - 0x10c]
push edx
push str.:1:TerminateProcessByName___encountered_a_problem:_TerminateProcess___FAILED_to_terminate__s:__s:_trying_once_more_with_higher_privilege...
call fcn.004018ca
add esp, 0xc
mov dword [ebp - 0x144], 0
jmp 0x41d0a8
mov dword [ebp - 0x144], 1
push 0x7a0
push 0x64b014
push 0x64b020
mov eax, dword [ebp - 0x134]
push eax
call fcn.00401f5a
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x134], 0
jmp 0x41d0e3
mov dword [ebp - 0x144], 0
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x13c]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41cf6f
push 0x7f9
push 0x64b040
push str.TerminateProcessByNameCaseSens
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00401f5a
mov dword [ebp - 0x13c], 0xffffffff
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b0290
mov esp, ebp
pop ebp
ret