Function at 0x1000b280
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
sub esp, 0x244
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x150], al
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x151]
rep stosd dword es:[edi], eax
mov ebp, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
stosw word es:[edi], ax
mov dword [esp + 0x1c], ebx
stosb byte es:[edi], al
call ebp
push str.SeDebugPrivilege
call fcn.1000d750
push 0x30
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
push str.CreateToolhelp32Snapshot
push str.kernel32.dll
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push 2
call eax
mov edi, eax
push 0x30
mov dword [esp + 0x18], edi
call ebp
add esp, 4
cmp edi, 0xffffffff
jne 0x1000b311
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x244
ret
push 0x400
push 0x40
mov dword [esp + 0x30], 0x128
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
push str.PSAPI.dll
mov edi, 1
mov byte [ebx], 0x7d
call esi
push 0x30
mov esi, eax
call ebp
add esp, 4
push str.EnumProcessModules
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x30
mov dword [esp + 0x20], eax
call ebp
push 0x30
call ebp
add esp, 8
push str.GetModuleFileNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x30
mov dword [esp + 0x24], eax
call ebp
mov ecx, dword [esp + 0x18]
add esp, 4
lea eax, [esp + 0x28]
push eax
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000b4f7
push 0x30
call ebp
mov edx, dword [esp + 0x34]
add esp, 4
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x30
mov esi, eax
call ebp
mov eax, dword [esp + 0x34]
add esp, 4
test eax, eax
je 0x1000b4e0
cmp eax, 4
je 0x1000b4e0
cmp eax, 8
je 0x1000b4e0
push 0x30
call ebp
add esp, 4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push 4
push ecx
push esi
call dword [esp + 0x2c]
push 0x30
call ebp
mov eax, dword [esp + 0x1c]
add esp, 4
lea edx, [esp + 0x150]
push 0x104
push edx
push eax
push esi
call dword [esp + 0x30]
push 0x30
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 4
lea ecx, [esp + 0x4c]
push ecx
call esi
mov edx, eax
lea eax, [esp + 0x150]
push eax
mov dword [esp + 0x14], edx
call esi
mov ecx, dword [esp + 0x10]
push str.LocalSize
push str.kernel32.dll
lea esi, [ecx + eax + 6]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
add esi, edi
call eax
cmp eax, esi
jae 0x1000b457
push 0x42
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebx, eax
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x4c]
mov dword [edi + ebx], edx
add edi, 4
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea esi, [esp + 0x4c]
inc ecx
add edi, ebx
mov edx, ecx
lea eax, [esp + 0x4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x150]
push edx
lea edi, [ecx + eax + 1]
mov dword [esp + 0x14], edi
call esi
mov ecx, eax
lea esi, [esp + 0x150]
inc ecx
add edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 1]
mov dword [esp + 0x10], eax
mov edi, eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000b389
push 0x42
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push str.SeDebugPrivilege
mov esi, eax
call fcn.1000d750
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x244
ret