Function at 0x429540
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af413
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x620024]
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
push 0x22c
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00588550
mov eax, dword [ebp + 8]
add esp, 0xc
mov esi, dword [eax - 0xc]
test esi, esi
js 0x4297ec
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4295b6
push esi
lea ecx, [ebp + 8]
call fcn.00403000
mov eax, dword [ebp + 8]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.00591286
mov eax, dword [ebp + 8]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x4297ec
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 8]
push ecx
push 2
mov word [eax + esi*2], cx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
or edi, 0xffffffff
mov dword [ebp - 0x244], esi
cmp esi, edi
je 0x42978b
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x429784
nop word [eax + eax]
push dword [ebp - 0x234]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
call fcn.00449b3d
test eax, eax
je 0x4297f6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x42967b
movzx eax, ax
lea ecx, [ebp - 0x240]
push eax
call fcn.00403130
jmp 0x4296a6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429684
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00402d30
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x240]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x4297ec
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4296de
push edi
lea ecx, [ebp - 0x240]
call fcn.00403000
mov esi, dword [ebp - 0x240]
lea eax, [edi + 1]
push eax
push esi
call fcn.00591286
add esp, 8
cmp edi, dword [esi - 8]
jg 0x4297ec
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4297f6
mov ecx, esi
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x429736
test dx, dx
je 0x429732
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x429736
add ecx, 4
add eax, 4
test dx, dx
jne 0x429710
xor eax, eax
jmp 0x42973b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4297ca
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x429768
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x244]
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x429620
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4297ac
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.00586281
mov esp, ebp
pop ebp
ret
or edi, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4297e8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
jmp 0x42978d
push 0x80070057
call fcn.00403300
push 0x80004005
call fcn.00403300
int3