Function at 0x10009910
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x1002927b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1003b030]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003b030]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, str.explorer.exe
call fcn.10002f50
call fcn.10009750
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x10009bd1
cmp dword [esp + 0x20], ebx
je 0x10009aa7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push 0x10000000
push ebx
push ebx
push str.Default
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_OpenDesktopW]
cmp eax, ebx
je 0x100099c5
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
mov ebp, dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push 0x1003718c
call ebp
test eax, eax
je 0x10009a24
push 0
push 0x1003719c
push 0
push eax
call edi
test eax, eax
je 0x10009a18
push 0
push 0x100371c0
push 0
push eax
call edi
test eax, eax
je 0x10009a0c
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x10009a4c
mov esi, str._fsve
call fcn.10001970
jmp 0x10009a4c
mov esi, str._fsde
call fcn.10001970
jmp 0x10009a4c
push 0x1002cf54
push 0x10041fd8
mov edx, 1
call fcn.10003c10
push str._fpme
push 0x10041fd8
mov edx, 5
call fcn.10003c10
cmp dword [esp + 0x14], 4
ja 0x10009a6a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x12c
jl 0x100099d1
jmp 0x10009a92
push 0x1002cf54
push 0x10041fd8
mov edx, 1
call fcn.10003c10
push str._fok
push 0x10041fd8
mov edx, 4
call fcn.10003c10
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, ebx
je 0x10009aa3
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x10009bd1
push 0x1002cf54
push 0x10041fd8
mov edx, 1
call fcn.10003c10
push str._fer
push 0x10041fd8
mov edx, 4
call fcn.10003c10
mov dword [esp + 0x18], ebx
or edi, 0xffffffff
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x10009ba8
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10009ba1
lea ecx, [esp + 0x28]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x10009ba1
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp dword [esp + 0x1c], ebp
je 0x10009b88
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x50]
call fcn.10002f50
mov eax, dword [eax]
push str.explorer.exe
push eax
call fcn.100191a9
add esp, 8
cmp eax, ebp
mov dword [esp + 0x260], edi
mov eax, dword [esp + 0x24]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10009b84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x10009b99
lea ecx, [esp + 0x28]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10009b21
jmp 0x10009ba1
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
cmp eax, 4
ja 0x10009bd1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x12c
mov dword [esp + 0x18], eax
jl 0x10009ade
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.100186a4
add esp, 0x250
ret