Function at 0x100091e0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
sub esp, 0x244
mov eax, dword [0x10028ce0]
xor eax, esp
mov dword [esp + 0x240], eax
push esi
xor esi, esi
push 0x124
lea eax, [esp + 0x20]
push esi
push eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], esi
call fcn.10012980
push 0x103
lea ecx, [esp + 0x151]
push esi
push ecx
mov byte [esp + 0x158], 0
call fcn.10012980
push 0x30
call fcn.10011a91
push str.SeDebugPrivilege
call fcn.1000a3e0
push 0x30
call fcn.10011a91
add esp, 0x24
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
push 0x30
mov dword [esp + 8], esi
call fcn.10011a91
add esp, 4
cmp esi, 0xffffffff
jne 0x1000927a
xor eax, eax
pop esi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.10012866
add esp, 0x244
ret
push ebx
push ebp
push edi
push 0x400
push 0x40
mov dword [esp + 0x2c], 0x128
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push str.PSAPI.dll
mov byte [esi], 0x7d
mov edi, 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x30
mov ebx, eax
call fcn.10011a91
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
push str.EnumProcessModules
push ebx
call ebp
push 0x30
mov dword [esp + 0x20], eax
call fcn.10011a91
push 0x30
call fcn.10011a91
add esp, 8
push str.GetModuleFileNameExA
push ebx
call ebp
push 0x30
mov dword [esp + 0x1c], eax
call fcn.10011a91
mov eax, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x24]
push edx
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10009441
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esp, [esp]
push 0x30
call fcn.10011a91
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x30
mov ebx, eax
call fcn.10011a91
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
je 0x1000942a
cmp eax, 4
je 0x1000942a
cmp eax, 8
je 0x1000942a
push 0x30
call fcn.10011a91
add esp, 4
lea edx, [esp + 0x20]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [esp + 0x2c]
push 0x30
call fcn.10011a91
mov edx, dword [esp + 0x18]
add esp, 4
push 0x104
lea ecx, [esp + 0x150]
push ecx
push edx
push ebx
call dword [esp + 0x28]
push 0x30
call fcn.10011a91
add esp, 4
lea eax, [esp + 0x48]
push eax
call ebp
lea ecx, [esp + 0x14c]
push ecx
mov ebx, eax
call ebp
lea eax, [ebx + eax + 6]
push esi
lea ebx, [eax + edi]
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, ebx
jae 0x100093cd
push 0x42
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov esi, eax
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x48]
mov dword [edi + esi], edx
push eax
add edi, 4
call ebp
inc eax
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [edi + esi]
push edx
call fcn.10011c40
add esp, 0xc
lea eax, [esp + 0x48]
push eax
call ebp
lea ecx, [esp + 0x14c]
push ecx
lea edi, [edi + eax + 1]
call ebp
inc eax
push eax
lea edx, [esp + 0x150]
push edx
lea eax, [edi + esi]
push eax
call fcn.10011c40
add esp, 0xc
lea ecx, [esp + 0x14c]
push ecx
call ebp
lea edi, [edi + eax + 1]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10009310
push 0x42
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push str.SeDebugPrivilege
mov esi, eax
call fcn.1000a3e0
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x250]
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
xor ecx, esp
call fcn.10012866
add esp, 0x244
ret