Function at 0x1000b090
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002dc0b
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x1003bcc8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x89c], ecx
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x445], 0
lea ecx, [ebp - 0x444]
call fcn.10005870
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1000b11a
mov dword [ebp - 0x890], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.100058c0
mov eax, dword [ebp - 0x890]
jmp 0x1000b40c
mov ecx, dword [ebp - 0x89c]
call fcn.100081f0
mov dword [ebp - 0x444], 0x22c
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1000b3d6
mov dword [ebp - 0x874], 0
push 0x424
push 0
lea edx, [ebp - 0x870]
push edx
call fcn.1001abd0
add esp, 0xc
mov dword [ebp - 0x878], 0
mov eax, dword [ebp - 0x43c]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0xffffffff
jne 0x1000b1a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1000b1a9
mov dword [ebp - 0x878], 1
cmp dword [ebp + 8], 0
je 0x1000b1c6
cmp dword [ebp + 8], 0
je 0x1000b37f
cmp dword [ebp - 0x878], 0
jne 0x1000b37f
push 0x428
lea ecx, [ebp - 0x874]
push ecx
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp - 0x43c]
push eax
call fcn.1000b430
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x1000b20c
push 0xff
lea edx, [ebp - 0x654]
push edx
lea eax, [ebp - 0x214]
push eax
call fcn.1001a440
add esp, 0xc
jmp 0x1000b22d
cmp dword [ebp - 0x44c], 0xffffffff
je 0x1000b22d
push 0xff
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x44c]
push edx
call sub.PSAPI.DLL_GetProcessImageFileNameW
mov dword [ebp - 0x880], 0
lea eax, [ebp - 0x87c]
push eax
push 0x18
mov ecx, dword [ebp - 0x44c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000b332
mov dword [ebp - 0x884], 0
lea edx, [ebp - 0x884]
push edx
push 0
push 0
push 1
mov eax, dword [ebp - 0x87c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1000b289
jmp 0x1000b325
mov eax, dword [ebp - 0x884]
call fcn.100299a0
mov dword [ebp - 0x8a0], esp
mov ecx, dword [ebp - 0x8a0]
mov dword [ebp - 0x888], ecx
lea edx, [ebp - 0x884]
push edx
mov eax, dword [ebp - 0x884]
push eax
mov ecx, dword [ebp - 0x888]
push ecx
push 1
mov edx, dword [ebp - 0x87c]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1000b325
mov eax, dword [ebp - 0x888]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov dword [ebp - 0x88c], eax
mov edx, dword [ebp - 0x88c]
push edx
call fcn.1001929c
add esp, 4
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x888]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x88c]
push eax
call dword [sym.imp.ADVAPI32.dll_CopySid]
mov dword [ebp - 0x880], eax
mov dword [ebp - 0x880], 1
mov ecx, dword [ebp - 0x87c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x430
mov ecx, esp
mov dword [ebp - 0x894], esp
lea edx, [ebp - 0x444]
push edx
call fcn.1000af30
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x89c]
call fcn.1000b5e0
cmp dword [ebp - 0x218], 0
je 0x1000b37f
mov eax, dword [ebp - 0x218]
push eax
call fcn.100191bf
add esp, 4
mov dword [ebp - 0x218], 0
cmp dword [ebp - 0x44c], 0xffffffff
je 0x1000b395
mov ecx, dword [ebp - 0x44c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x430
push 0
lea edx, [ebp - 0x444]
push edx
call fcn.1001abd0
add esp, 0xc
mov dword [ebp - 0x444], 0x22c
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000b147
mov byte [ebp - 0x445], 1
jmp 0x1000b3dd
mov byte [ebp - 0x445], 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [ebp - 0x445]
mov dword [ebp - 0x898], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.100058c0
mov eax, dword [ebp - 0x898]
lea esp, [ebp - 0x8a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100184dc
mov esp, ebp
pop ebp
ret 4