Function at 0x401550
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x41f014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x144], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x4015c7
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
jne 0x4015c7
lea eax, [ebp - 0x120]
push edi
push eax
call fcn.00408aff
add esp, 8
test eax, eax
je 0x4015ec
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x4015a1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, str._not_found_n
push eax
call fcn.00401b40
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.00401dcc
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x13c]
test edi, edi
je 0x4015ce
mov eax, dword [0x420d50]
xorps xmm0, xmm0
mov ecx, dword [0x420d54]
push ebx
push 4
mov dword [0x41f930], 1
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], 0
movlpd qword [ebp - 0x234], xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x220], ecx
movlpd qword [0x420d40], xmm0
mov dword [0x420d48], eax
mov dword [0x420d4c], ecx
call fcn.00404d6e
push 0xc
mov ebx, eax
call fcn.00404d6e
add esp, 8
mov esi, eax
test ebx, ebx
je 0x4016da
test esi, esi
je 0x4016d1
push ebx
mov dword [ebx], 0
lea eax, [ebp - 0x224]
xorps xmm0, xmm0
push 4
movq qword [esi], xmm0
push eax
mov dword [esi + 8], 0
call fcn.004011e0
mov eax, dword [ebp - 0x22c]
add esp, 0xc
mov edi, dword [ebp - 0x224]
mov dword [esi], eax
mov eax, dword [ebp - 0x220]
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
movq xmm0, qword [esi]
movq qword [ebp - 0x10], xmm0
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
push ebx
call fcn.00404d53
add esp, 4
test esi, esi
je 0x4016e7
push esi
call fcn.00404d53
add esp, 4
push 0
lea eax, [ebp - 0x228]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x81034000
push dword [0x41f928]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x40175d
push eax
push 0xff
lea eax, [ebp - 0x21c]
push eax
push 0x409
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
lea eax, [ebp - 0x21c]
push eax
push 0x417d0c
call fcn.00401d80
push edi
push str.Error_kill_PID:__x
call fcn.00401d80
add esp, 0x10
mov ecx, 1
jmp 0x4017c5
mov edi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x18]
add edi, 0xfffffff8
mov ebx, dword [ebp - 0x1c]
push edi
mov dword [ebp - 0x220], eax
call fcn.00404d6e
mov esi, eax
add esp, 4
test esi, esi
je 0x4017bf
push edi
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.00402980
mov eax, dword [ebp - 0x220]
xorps xmm0, xmm0
mov dword [0x420d4c], eax
lea eax, [ebp - 0x234]
push eax
push edi
push esi
movlpd qword [0x420d40], xmm0
mov dword [0x420d48], ebx
call fcn.004011e0
push esi
call fcn.00404d53
add esp, 0x1c
mov ecx, dword [ebp - 0x234]
test ecx, ecx
mov eax, str._failed_n
mov edx, str._success_n
cmove eax, edx
pop ebx
jmp 0x4015d3