Function at 0x40a800
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x43f15b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x454654]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x454654]
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.00403530
call fcn.0040a5c0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x40ab1e
cmp dword [esp + 0x20], ebx
je 0x40a993
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 0x40a8b5
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 0x44de04
call ebp
test eax, eax
je 0x40a914
push 0
push 0x44de14
push 0
push eax
call edi
test eax, eax
je 0x40a908
push 0
push 0x44de38
push 0
push eax
call edi
test eax, eax
je 0x40a8fc
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x40a93c
mov esi, str._fsve
call fcn.00401b60
jmp 0x40a93c
mov esi, str._fsde
call fcn.00401b60
jmp 0x40a93c
push 0x443bf0
push 0x45bac8
mov edx, 1
call fcn.00404040
push str._fpme
push 0x45bac8
mov edx, 5
call fcn.00404040
cmp dword [esp + 0x14], 4
ja 0x40a95a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x12c
jl 0x40a8c1
jmp 0x40a982
push 0x443bf0
push 0x45bac8
mov edx, 1
call fcn.00404040
push str._fok
push 0x45bac8
mov edx, 4
call fcn.00404040
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, ebx
je 0x40a993
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
cmp dword [esp + 0x14], ebx
jne 0x40ab1e
push 0x443bf0
push 0x45bac8
mov edx, 1
call fcn.00404040
push str._fer
push 0x45bac8
mov edx, 4
call fcn.00404040
mov dword [esp + 0x18], ebx
or edi, 0xffffffff
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
test ebp, ebp
je 0x40aafb
lea eax, [esp + 0x28]
push eax
push ebp
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40aaf4
lea ecx, [esp + 0x28]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x40aaf4
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp dword [esp + 0x24], 0
je 0x40aad7
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x50]
call fcn.00403530
mov eax, dword [eax]
push str.explorer.exe
push eax
call fcn.00428146
add esp, 8
test eax, eax
mov dword [esp + 0x260], edi
mov eax, dword [esp + 0x1c]
mov esi, dword [eax - 0x10]
lea edx, [eax - 0x10]
sete bl
cmp dword [edx + 4], 0
je 0x40aab8
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x40aa93
cmp dword [eax - 8], 0
jl 0x40ab4a
mov dword [eax - 0xc], 0
mov eax, dword [esp + 0x1c]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x1c]
jmp 0x40aab8
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40aaa8
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 4]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aad3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x40aaec
lea ecx, [esp + 0x28]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40aa0d
jmp 0x40aaf4
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], 4
ja 0x40ab1e
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 0x40a9cc
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.0042761e
add esp, 0x250
ret
push 0x80070057
call fcn.00401960
int3