Function at 0x1000c8e0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc7a0
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x1025e344]
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 dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x260], edi
cmp dword [ebp + 0x18], edi
je 0x1000cd31
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push 0x10200948
push eax
call fcn.100819e0
mov eax, dword [ebp - 0x258]
add esp, 0xc
sub eax, dword [ebp - 0x25c]
sar eax, 2
test eax, eax
jne 0x1000ca24
mov byte [ebp - 4], al
mov esi, dword [ebp - 0x25c]
test esi, esi
je 0x1000cd31
mov edi, dword [ebp - 0x258]
mov dword [ebp - 0x250], esi
cmp esi, edi
je 0x1000c9c5
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [esi]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c9b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
mov dword [ebp - 0x250], esi
cmp esi, edi
jne 0x1000c994
mov esi, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x254]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x1000c9f5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cd5e
push ecx
push esi
call fcn.100cff81
add esp, 8
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
xor edi, edi
mov dword [ebp - 0x254], 0
jmp 0x1000cd31
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x264], ebx
cmp ebx, 0xffffffff
jne 0x1000caca
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x25c]
test esi, esi
je 0x1000cd31
mov edi, dword [ebp - 0x258]
mov dword [ebp - 0x250], esi
cmp esi, edi
je 0x1000ca91
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [esi]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000ca7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
mov dword [ebp - 0x250], esi
cmp esi, edi
jne 0x1000ca60
mov esi, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x254]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x1000c9f5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cd63
jmp 0x1000c9f5
lea eax, [ebp - 0x250]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1000cb2b
lea eax, [ebp - 0x1c]
push eax
push 0x10200950
push 0
call edi
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push 0
push dword [ebp - 0x250]
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x250]
call esi
push 0x228
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.101a08b0
add esp, 0xc
mov dword [ebp - 0x24c], 0x22c
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1000cbf4
mov edi, dword [ebp - 0x25c]
mov ebx, dword [ebp - 0x258]
cmp edi, ebx
je 0x1000cbc3
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.100041a0
lea esi, [eax + 0x10]
mov dword [ebp - 0x250], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x228]
push eax
push esi
call fcn.101a8c54
add esp, 0xc
test eax, eax
je 0x1000ccd3
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000cbbc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, ebx
jne 0x1000cb70
mov edi, dword [ebp - 0x260]
mov ebx, dword [ebp - 0x264]
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1000cbe8
test edi, edi
je 0x1000cb60
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push ebx
call esi
lea eax, [ebp - 0x250]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000cc4c
lea eax, [ebp - 0x1c]
push eax
push 0x10200950
push 0
call edi
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push 0
push dword [ebp - 0x250]
mov dword [ebp - 0x14], SysReAllocString
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x250]
call esi
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x25c]
test esi, esi
je 0x1000cd2b
mov edi, dword [ebp - 0x258]
mov dword [ebp - 0x264], esi
cmp esi, edi
je 0x1000cca1
nop
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [esi]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000cc8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
mov dword [ebp - 0x264], esi
cmp esi, edi
jne 0x1000cc70
mov esi, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x254]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x1000cd03
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cd68
jmp 0x1000cd03
mov edi, 1
mov dword [ebp - 0x260], edi
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000cbc9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000cbc9
push ecx
push esi
call fcn.100cff81
add esp, 8
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov edi, dword [ebp - 0x260]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10007910
mov eax, edi
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.100d02f2
mov esp, ebp
pop ebp
ret
call fcn.101a3dde
call fcn.101a3dde
call fcn.101a3dde
int3