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

Disassembly:
push 0xffffffffffffffff
push 0x476433
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
xor ebx, ebx
push 0x228
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x268], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x415441
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41543a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4155f9
lea ecx, [esp + 0x24]
push ecx
push eax
mov dword [esp + 0x2c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4155bc
mov edi, dword [sym.imp.MSVCR90.dll__wcsupr_s]
mov ebp, dword [sym.imp.MSVCR90.dll_wcsstr]
jmp 0x415470
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x18]
call fcn.004062c0
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
mov byte [esp + 0x25c], 1
jge 0x4154ac
push esi
lea ecx, [esp + 0x18]
call fcn.00401e90
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call edi
add esp, 8
cmp esi, ebx
jl 0x415678
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x415678
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
mov edx, dword [esp + 0x264]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x415507
push esi
lea ecx, [esp + 0x268]
call fcn.00401e90
mov edx, dword [esp + 0x264]
lea eax, [esi + 1]
push eax
push edx
call edi
add esp, 8
cmp esi, ebx
jl 0x415678
mov eax, dword [esp + 0x264]
cmp esi, dword [eax - 8]
jg 0x415678
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x264]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x415582
mov ecx, dword [esp + 0x264]
cmp dword [ecx - 0xc], ebx
jl 0x415582
push eax
push ecx
call ebp
add esp, 8
cmp eax, ebx
je 0x41557e
sub eax, dword [esp + 0x264]
sar eax, 1
js 0x41557e
mov eax, dword [esp + 0x2c]
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
jne 0x415621
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x25c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4155a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x415470
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x264]
add eax, 0xfffffff0
mov dword [esp + 0x25c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4155f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.00473c8a
add esp, 0x24c
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x415639
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x18], 1
mov byte [esp + 0x25c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4155bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4155bc
push 0x80070057
call fcn.00401100
int3