Function at 0x180128f7
Capabilities:
Acquire debug privileges
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10e0
call fcn.180a6c10
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
call fcn.18013b96
xor ebx, ebx
push 0xffc
lea eax, [ebp - 0x10d8]
push ebx
push eax
mov dword [ebp - 0x10dc], ebx
call fcn.1809d820
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push 0x1000
lea eax, [ebp - 0x10dc]
push eax
mov dword [ebp - 0x30], ebx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x18012994
call fcn.1800fc86
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
mov ebx, eax
je 0x1801298d
push 0xfffffffffffffffe
pop esi
xor edi, edi
push esi
inc edi
push edi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
push ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._Process::FindProcesses_fail_to_EnumProcesses__0x_x_
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
call fcn.18001000
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x30]
xor esi, esi
inc esi
shr eax, 2
push esi
push str.SeDebugPrivilege
mov dword [ebp - 0xc], eax
call fcn.18010e42
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp + 8]
and ecx, 0x40
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], ecx
je 0x180129f8
push eax
lea edi, [ebp - 0xd8]
call fcn.18012302
mov eax, edi
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.1801270d
test eax, eax
jl 0x180129ea
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
jmp 0x180129ed
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0xd8]
call fcn.180123dc
mov eax, dword [0x180fa248]
mov ecx, 0x180fa248
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
and eax, 2
mov dword [ebp - 0x3c], eax
je 0x18012a74
lea ecx, [ebp - 0x10]
call fcn.1800de56
mov edi, eax
cmp edi, ebx
jge 0x18012a74
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18012a60
push 0xfffffffffffffffe
pop esi
push esi
push 4
pop ebx
push ebx
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._Process::FindProcesses__GetProcessUser_Failed_
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
call fcn.18001000
pop ecx
pop ecx
mov esi, edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.18004250
mov eax, esi
jmp 0x1801298f
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
push 4
pop ebx
je 0x18012ab1
push ebx
push esi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
push dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._Process::FindProcesses__processes_d_
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
call fcn.18001000
add esp, 0xc
cmp dword [ebp - 0xc], 0
jle 0x18012dc4
mov eax, dword [ebp - 0xc]
lea edi, [ebp - 0x10dc]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
test eax, eax
je 0x18012db9
test byte [ebp + 8], 1
je 0x18012b1e
cmp eax, dword [ebp - 0x28]
jne 0x18012b1e
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18012db9
push ebx
push esi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
push dword [edi]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._Excluding_current_process__d
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
call fcn.18001000
add esp, 0xc
jmp 0x18012db9
cmp dword [ebp - 0x38], 0
je 0x18012b7d
cmp eax, dword [ebp - 0x24]
jne 0x18012b7d
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18012db9
push ebx
push esi
mov dword [ebp - 0xac], ecx
call fcn.18001d8a
push dword [ebp - 0x28]
mov dword [ebp - 0xa8], eax
push dword [edi]
lea eax, [ebp - 0xac]
push str._Excluding_parent_process__d__of__d
push eax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], esi
call fcn.18001000
add esp, 0x10
jmp 0x18012db9
mov eax, dword [0x180fa248]
mov ecx, 0x180fa248
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [edi]
call fcn.1801382c
test byte [ebp + 8], 8
pop ecx
pop ecx
je 0x18012c06
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [ebp - 8]
push eax
call fcn.1800b645
test eax, eax
je 0x18012c06
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18012dae
push ebx
push esi
mov dword [ebp - 0x9c], ecx
call fcn.18001d8a
push dword [edi]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], esi
push str._Excluding_process_as_not_owned_by_user___d_
lea eax, [ebp - 0x9c]
push eax
call fcn.18001000
add esp, 0xc
jmp 0x18012dae
cmp dword [ebp - 0x3c], 0
je 0x18012c52
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
call fcn.1800b645
test eax, eax
jne 0x18012c52
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18012dae
push ebx
push esi
mov dword [ebp - 0x7c], ecx
call fcn.18001d8a
push dword [edi]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], esi
push str._Excluding_process_as_owned_by_current_user___d_
lea eax, [ebp - 0x7c]
jmp 0x18012bf8
test byte [ebp + 8], bl
je 0x18012ca2
push str.S_1_5_18
lea eax, [ebp - 8]
push eax
call fcn.1800b645
test eax, eax
jne 0x18012ca2
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18012dae
push ebx
push esi
mov dword [ebp - 0x4c], ecx
call fcn.18001d8a
push dword [edi]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], esi
push str._Excluding_process_as_owned_by_system___d_
lea eax, [ebp - 0x4c]
jmp 0x18012bf8
mov eax, dword [ebp + 8]
and eax, 0x10
mov dword [ebp - 0x34], eax
jne 0x18012cb7
test byte [ebp + 8], 0x20
je 0x18012d4e
mov eax, dword [0x180fa248]
mov ecx, 0x180fa248
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [edi]
call fcn.18013714
pop ecx
pop ecx
test eax, eax
jge 0x18012d24
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18012d14
push ebx
push esi
mov dword [ebp - 0x5c], ecx
call fcn.18001d8a
push dword [edi]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push str._Excluding_process_could_not_get_command_line___d_
push eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], esi
call fcn.18001000
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18004250
jmp 0x18012dae
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x14]
call fcn.18012873
pop ecx
test al, al
je 0x18012dcb
cmp dword [ebp - 0x34], 0
jne 0x18012dd5
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18004250
push dword [edi]
mov ecx, dword [ebp + 0xc]
call fcn.18013219
pop ecx
test al, al
je 0x18012dae
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18012da5
push ebx
push esi
mov dword [ebp - 0x8c], ecx
call fcn.18001d8a
push dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
push dword [edi]
lea eax, [ebp - 0x8c]
push str._Including_process___d___s_
push eax
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], esi
call fcn.18001000
add esp, 0x10
mov eax, dword [ebp + 0x18]
push edi
call fcn.18013b38
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18004250
add edi, ebx
dec dword [ebp - 0x2c]
jne 0x18012ac7
xor esi, esi
jmp 0x18012a62
test byte [ebp + 8], 0x20
je 0x18012d43
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18012d14
push ebx
push esi
mov dword [ebp - 0x6c], ecx
call fcn.18001d8a
push dword [ebp - 0xc]
mov dword [ebp - 0x68], eax
push dword [edi]
lea eax, [ebp - 0x6c]
push str._Process_command_line_matches_criteria___d___s_
push eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], esi
call fcn.18001000
add esp, 0x10
jmp 0x18012d14