Function at 0x100073ee
Capabilities:
Enumerate processes

Disassembly:
push 0x278
mov eax, 0x10078cb9
call fcn.10060cc6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x274], eax
mov eax, dword [ebp + 0x10]
push ebx
push 2
mov dword [ebp - 0x270], eax
mov byte [ebp - 0x23d], bl
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x264], esi
cmp esi, 0xffffffff
jne 0x10007448
xor al, al
jmp 0x100077d4
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1000746c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10007441
push str.explorer.exe
lea eax, [ebp - 0x254]
push eax
call fcn.1000304f
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x254]
push eax
mov dword [ebp - 4], ebx
call fcn.10009a2c
test eax, eax
jne 0x10007748
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x26c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push eax
call esi
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x234]
call esi
test eax, eax
mov eax, dword [ebp - 0x268]
setne byte [ebp - 0x23d]
cmp eax, dword [ebp - 0x26c]
jne 0x10007748
call fcn.10008eb9
push dword [ebp - 0x234]
push 1
test al, al
je 0x100074ff
push 0x400
jmp 0x10007504
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x10007780
lea ecx, [ebp - 0x244]
push ecx
push 0x2000b
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
setne byte [ebp - 0x23d]
cmp byte [ebp - 0x23d], bl
je 0x10007748
xor eax, eax
lea edi, [ebp - 0x280]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
inc esi
push ebx
mov dword [ebp - 0x284], 0xc
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x280], ebx
call edi
push dword [ebp - 0x274]
lea eax, [ebp - 0x284]
push esi
push esi
push eax
push 0x2000000
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
setne byte [ebp - 0x23d]
call esi
cmp byte [ebp - 0x23d], bl
je 0x10007748
call fcn.10008eb9
test al, al
jne 0x100075e2
lea eax, [ebp - 0x24c]
push eax
push 4
push dword [ebp - 0x270]
mov dword [ebp - 0x24c], ebx
push 0x13
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x100075db
mov eax, dword [ebp - 0x270]
mov dword [eax], ebx
mov byte [ebp - 0x23d], 1
cmp byte [ebp - 0x23d], bl
je 0x10007748
push ebx
mov dword [ebp - 0x250], ebx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x250]
push eax
push ebx
push dword [ebp - 0x248]
push 1
push dword [ebp - 0x244]
call edi
call esi
cmp eax, 0x7a
jne 0x10007748
push dword [ebp - 0x250]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x248], eax
cmp eax, ebx
je 0x10007748
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
push dword [ebp - 0x248]
push 1
push dword [ebp - 0x244]
call edi
test eax, eax
setne byte [ebp - 0x23d]
cmp byte [ebp - 0x23d], bl
je 0x10007748
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
push ebx
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x248]
push ebx
push dword [eax]
mov dword [ebp - 0x25c], ebx
push ebx
mov dword [ebp - 0x260], ebx
call edi
mov eax, dword [0x100bbb3c]
mov ecx, 0x100bbb3c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x260]
lea esi, [ebp - 0x24c]
call fcn.10002f53
mov esi, dword [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x25c]
call fcn.10002f53
push eax
mov eax, dword [ebp - 0x248]
push dword [eax]
push ebx
call edi
test eax, eax
setne byte [ebp - 0x23d]
or eax, 0xffffffff
call fcn.10002c56
or eax, 0xffffffff
lea esi, [ebp - 0x24c]
call fcn.10002c56
push 0x100a35b8
push dword [ebp - 0x258]
call fcn.10009a2c
test eax, eax
mov eax, dword [ebp - 0x24c]
jne 0x10007776
add eax, 0xfffffff0
call fcn.10003137
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.10003137
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x264]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000746c
jmp 0x10007794
add eax, 0xfffffff0
call fcn.10003137
jmp 0x10007786
mov byte [ebp - 0x23d], bl
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.10003137
push dword [ebp - 0x264]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp - 0x248], ebx
je 0x100077be
push dword [ebp - 0x248]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x244], ebx
je 0x100077ce
push dword [ebp - 0x244]
call esi
mov al, byte [ebp - 0x23d]
call fcn.10060d49
ret