Function at 0x451570
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486980
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4515b3
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4515da
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4515fe
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 2
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x451622
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x264], eax
add eax, 0x10
mov dword [ebp - 0x20], eax
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x254], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [ebp - 0x25c], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
jne 0x45166f
mov dword [ebp - 0x254], 0
jmp 0x451825
push 0x22c
lea eax, [ebp - 0x24c]
push 0
push eax
call fcn.0045fd40
add esp, 0xc
mov dword [ebp - 0x24c], 0x22c
nop
xor eax, eax
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x451814
mov eax, dword [ebp - 0x25c]
cmp eax, dword [ebp - 0x244]
jne 0x4517ec
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x228]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4516d4
sub eax, edx
lea ecx, [ebp - 0x14]
sar eax, 1
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0042c270
mov esi, dword [ebp - 0x14]
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x258], edx
test edx, edx
js 0x4518c3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x45172a
push edx
lea ecx, [ebp - 0x14]
call fcn.0042c190
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x258]
lea eax, [edx + 1]
push eax
push esi
call fcn.00466561
mov eax, dword [ebp - 0x258]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x4518c3
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
jl 0x451773
push str.explorer.exe
push esi
call fcn.0045eed4
add esp, 8
test eax, eax
je 0x451773
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4517ec
cmp dword [esi - 0xc], 0
jl 0x4517d6
push str.winlogon.exe
push esi
call fcn.0045eed4
add esp, 8
test eax, eax
je 0x451794
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4517ec
cmp dword [esi - 0xc], 0
jl 0x4517d6
push str.system
push esi
call fcn.0045eed4
add esp, 8
test eax, eax
je 0x4517b5
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4517ec
cmp dword [esi - 0xc], 0
jl 0x4517d6
push str.svchost.exe
push esi
call fcn.0045eed4
add esp, 8
test eax, eax
je 0x4517d6
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4517ec
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], 1
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4516b3
cmp dword [ebp - 0x260], 1
je 0x451690
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x451825
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x264]
or ecx, 0xffffffff
mov byte [ebp - 4], 2
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451849
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ecx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x451867
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 0
add ebx, 0xfffffff0
mov eax, ecx
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x451885
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4518a1
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b46f
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041ff40
int3