Function at 0x40a2e0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4288fb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x43a14c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43a14c]
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.004034c0
call fcn.0040a120
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x40a5a1
cmp dword [esp + 0x20], ebx
je 0x40a477
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 0x40a395
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 0x4306e4
call ebp
test eax, eax
je 0x40a3f4
push 0
push 0x4306f4
push 0
push eax
call edi
test eax, eax
je 0x40a3e8
push 0
push 0x430718
push 0
push eax
call edi
test eax, eax
je 0x40a3dc
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x40a41c
mov esi, str._fsve
call fcn.00401960
jmp 0x40a41c
mov esi, str._fsde
call fcn.00401960
jmp 0x40a41c
push 0x42bf8c
push 0x4410d8
mov edx, 1
call fcn.00404420
push str._fpme
push 0x4410d8
mov edx, 5
call fcn.00404420
cmp dword [esp + 0x14], 4
ja 0x40a43a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x12c
jl 0x40a3a1
jmp 0x40a462
push 0x42bf8c
push 0x4410d8
mov edx, 1
call fcn.00404420
push str._fok
push 0x4410d8
mov edx, 4
call fcn.00404420
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, ebx
je 0x40a473
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x40a5a1
push 0x42bf8c
push 0x4410d8
mov edx, 1
call fcn.00404420
push str._fer
push 0x4410d8
mov edx, 4
call fcn.00404420
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 0x40a578
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40a571
lea ecx, [esp + 0x28]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x40a571
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 0x40a558
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x50]
call fcn.004034c0
mov eax, dword [eax]
push str.explorer.exe
push eax
call fcn.00418d30
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 0x40a554
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x40a569
lea ecx, [esp + 0x28]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40a4f1
jmp 0x40a571
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 0x40a5a1
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 0x40a4ae
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.00418154
add esp, 0x250
ret