Function at 0x4097e0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x429a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x43b14c]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43b14c]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
xor ebp, ebp
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, str.explorer.exe
call fcn.00403160
call fcn.00409620
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
jne 0x409a40
cmp dword [esp + 0x24], ebp
je 0x40992f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push 0x10000000
push ebp
push ebp
push str.Default
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_OpenDesktopW]
cmp eax, ebp
je 0x409895
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]
xor ebx, ebx
push 0
push 0x43713c
call ebp
test eax, eax
je 0x4098ec
push 0
push 0x43714c
push 0
push eax
call edi
test eax, eax
je 0x4098e5
push 0
push 0x437170
push 0
push eax
call edi
test eax, eax
je 0x4098de
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x4098f6
mov esi, str._fsve
jmp 0x4098f1
mov esi, str._fsde
jmp 0x4098f1
mov esi, str._fpme
call fcn.00401aa0
cmp dword [esp + 0x18], 4
ja 0x409910
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x12c
jl 0x4098a3
jmp 0x40991a
mov esi, str._fok
call fcn.00401aa0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x409929
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
mov eax, dword [esp + 0x18]
xor ebp, ebp
cmp eax, ebp
jne 0x409a40
mov esi, str._fer
call fcn.00401aa0
mov dword [esp + 0x1c], ebp
or edi, 0xffffffff
push ebp
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, ebp
je 0x409a17
lea eax, [esp + 0x2c]
push eax
push esi
mov dword [esp + 0x34], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x409a10
lea ecx, [esp + 0x2c]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x409a10
jmp 0x409990
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp dword [esp + 0x20], ebp
je 0x4099f7
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x54]
call fcn.00403160
mov eax, dword [eax]
push str.explorer.exe
push eax
call fcn.004198f9
add esp, 8
cmp eax, ebp
mov dword [esp + 0x268], edi
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4099f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x409a08
lea ecx, [esp + 0x2c]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409990
jmp 0x409a10
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
cmp eax, 4
ja 0x409a40
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0x12c
mov dword [esp + 0x1c], eax
jl 0x409948
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00418df4
add esp, 0x258
ret