Function at 0x4105b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489f5c
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x4b0070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x328]
sub ecx, 0x10
call fcn.00403340
lea edi, [eax + 0x10]
mov dword [ebp - 0x450], edi
mov dword [ebp - 4], 0
call fcn.00401cf0
mov ecx, eax
test ecx, ecx
je 0x4108a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x448], eax
push 0x499b14
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 1
call fcn.00401f70
test al, al
jne 0x410643
push 0
push 0x499b14
lea ecx, [ebp - 0x448]
call fcn.00402220
push 0
push 2
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x460], ebx
cmp ebx, 0xffffffff
je 0x410681
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4106ed
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x448]
mov dword [ebp - 0x44c], 0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4106af
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4106cb
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x44c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046780a
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x448]
nop dword [eax]
nop word [eax + eax]
xor ebx, ebx
push dword [ebx*4 + 0x497dec]
lea eax, [ebp - 0x420]
push eax
call fcn.00473ea3
add esp, 8
test eax, eax
je 0x410727
inc ebx
cmp ebx, 6
jb 0x410702
jmp 0x41086e
push dword [ebp - 0x43c]
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x44c], eax
test eax, eax
je 0x41086e
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push 0x49a83c
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x45c]
call fcn.0040ad50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
push dword [ebx*4 + 0x497dec]
mov edx, eax
call fcn.0040ad50
add esp, 8
mov byte [ebp - 4], 4
lea ebx, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x4107f2
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x4107dd
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4107dd
call fcn.00403340
mov dword [ebp - 0x454], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4107d2
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x454]
lea esi, [eax + 0x10]
mov dword [ebp - 0x448], esi
jmp 0x4107f2
push dword [edx - 0xc]
lea ecx, [ebp - 0x448]
push edx
call fcn.00402220
mov esi, dword [ebp - 0x448]
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov edx, dword [ebp - 0x458]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410816
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x45c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410837
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x218]
mov ecx, esi
call fcn.004598e0
mov ebx, dword [ebp - 0x44c]
test al, al
je 0x410867
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x410687
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x460]
lea eax, [ebp - 0x444]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x410700
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44c], 1
jmp 0x410691
push 0x80004005
call fcn.00402200
int3