Function at 0x429260
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af3c3
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
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 0x429534
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4292d6
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 0x429534
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]
or edi, 0xffffffff
mov dword [ebp - 0x244], eax
cmp eax, edi
jne 0x429318
xor bl, bl
jmp 0x4294ed
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4294df
mov dword [ebp - 0x248], 0
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 0x42952a
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 0x42939d
movzx eax, ax
lea ecx, [ebp - 0x240]
push eax
call fcn.00403130
jmp 0x4293c8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4293a6
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 0x429534
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x429400
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 0x429534
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp + 8]
test eax, eax
je 0x42952a
mov ecx, esi
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x429456
test dx, dx
je 0x429452
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x429456
add ecx, 4
add eax, 4
test dx, dx
jne 0x429430
xor eax, eax
jmp 0x42945b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x429479
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4294bd
lea eax, [ebp - 0x248]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
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 0x42949e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x429342
mov bl, 1
jmp 0x4294e1
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 0x4294db
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x4294ed
xor bl, bl
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 0x42950c
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
push 0x80004005
call fcn.00403300
push 0x80070057
call fcn.00403300
int3