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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e73b
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x1003ccc8]
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.10006820
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 0x1000bbaa
mov dword [ebp - 0x890], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.10006870
mov eax, dword [ebp - 0x890]
jmp 0x1000be9c
mov ecx, dword [ebp - 0x89c]
call fcn.10008c80
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 0x1000be66
mov dword [ebp - 0x874], 0
push 0x424
push 0
lea edx, [ebp - 0x870]
push edx
call fcn.1001b720
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 0x1000bc39
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1000bc39
mov dword [ebp - 0x878], 1
cmp dword [ebp + 8], 0
je 0x1000bc56
cmp dword [ebp + 8], 0
je 0x1000be0f
cmp dword [ebp - 0x878], 0
jne 0x1000be0f
push 0x428
lea ecx, [ebp - 0x874]
push ecx
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp - 0x43c]
push eax
call fcn.1000bec0
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x1000bc9c
push 0xff
lea edx, [ebp - 0x654]
push edx
lea eax, [ebp - 0x214]
push eax
call fcn.1001af90
add esp, 0xc
jmp 0x1000bcbd
cmp dword [ebp - 0x44c], 0xffffffff
je 0x1000bcbd
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 0x1000bdc2
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 0x1000bd19
jmp 0x1000bdb5
mov eax, dword [ebp - 0x884]
call fcn.1002a440
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 0x1000bdb5
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.10019d31
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.1000b9c0
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x89c]
call fcn.1000c070
cmp dword [ebp - 0x218], 0
je 0x1000be0f
mov eax, dword [ebp - 0x218]
push eax
call fcn.10019c54
add esp, 4
mov dword [ebp - 0x218], 0
cmp dword [ebp - 0x44c], 0xffffffff
je 0x1000be25
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.1001b720
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 0x1000bbd7
mov byte [ebp - 0x445], 1
jmp 0x1000be6d
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.10006870
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.10018f71
mov esp, ebp
pop ebp
ret 4