Function at 0x409a00
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4298db
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x43b14c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43b14c]
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.004030b0
call fcn.00409840
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x409cc1
cmp dword [esp + 0x20], ebx
je 0x409b97
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 0x409ab5
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 0x43722c
call ebp
test eax, eax
je 0x409b14
push 0
push 0x43723c
push 0
push eax
call edi
test eax, eax
je 0x409b08
push 0
push 0x437260
push 0
push eax
call edi
test eax, eax
je 0x409afc
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x409b3c
mov esi, str._fsve
call fcn.00401990
jmp 0x409b3c
mov esi, str._fsde
call fcn.00401990
jmp 0x409b3c
push 0x42cf84
push 0x4420d8
mov edx, 1
call fcn.00403d60
push str._fpme
push 0x4420d8
mov edx, 5
call fcn.00403d60
cmp dword [esp + 0x14], 4
ja 0x409b5a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x12c
jl 0x409ac1
jmp 0x409b82
push 0x42cf84
push 0x4420d8
mov edx, 1
call fcn.00403d60
push str._fok
push 0x4420d8
mov edx, 4
call fcn.00403d60
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, ebx
je 0x409b93
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x409cc1
push 0x42cf84
push 0x4420d8
mov edx, 1
call fcn.00403d60
push str._fer
push 0x4420d8
mov edx, 4
call fcn.00403d60
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 0x409c98
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x409c91
lea ecx, [esp + 0x28]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x409c91
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 0x409c78
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x50]
call fcn.004030b0
mov eax, dword [eax]
push str.explorer.exe
push eax
call fcn.00419bb0
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 0x409c74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x409c89
lea ecx, [esp + 0x28]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409c11
jmp 0x409c91
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 0x409cc1
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 0x409bce
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.00419054
add esp, 0x250
ret