Function at 0x410de0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x450579
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x469b70]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
lea eax, [esp + 0x14]
push eax
mov esi, 1
push 0x28
mov dword [esp + 0x44], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 0x28]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
push 0
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x44]
push 0x453f18
call fcn.00401710
push 0
push 2
mov dword [esp + 0x28], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
push 0x128
mov dword [esp + 0x20], edi
call fcn.00416aa4
push 0x224
mov esi, eax
call fcn.00416aa4
add esp, 8
push esi
mov ebx, eax
mov dword [esi], 0x128
push edi
mov dword [ebx], 0x224
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x410fc1
call fcn.00417336
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x410f62
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x24]
push ecx
lea edx, [esp + 0x1c]
push 0x4562fc
push edx
mov byte [esp + 0x48], 2
call fcn.00401ab0
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x410f2a
cmp dword [edi - 0xc], 0
jl 0x410f2a
push eax
push edi
call fcn.004392d6
add esp, 8
test eax, eax
je 0x410f2a
sub eax, edi
cmp eax, 0xffffffff
jne 0x410f6c
mov eax, dword [esp + 0x1c]
push esi
push eax
call sub.KERNEL32.dll_Process32Next
mov ebp, eax
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410f58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x410ec4
jmp 0x410fc1
push 0x80004005
call fcn.00401150
mov ecx, dword [esi + 8]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
push ebx
push ebp
call sub.KERNEL32.dll_Module32First
mov eax, dword [esp + 0x44]
lea edx, [ebx + 0x120]
push edx
push 0x4562fc
push eax
call fcn.00401ab0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410fc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00416ad3
push ebx
call fcn.00416ad3
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x3c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411000
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret