Function at 0x426d20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x45200c]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [esp + 0xc], ebx
cmp ebx, 0xffffffff
je 0x426eb5
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
lea ecx, [esp + 0x34]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426d71
mov edi, dword [ebp + 0x18]
lea esi, [esp + 0x34]
sub ecx, edx
cmp dword [ebp + 0x1c], 0x10
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
cmp ecx, edi
cmovb edi, ecx
sub edi, 4
jb 0x426da7
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x426dac
add edx, 4
add esi, 4
sub edi, 4
jae 0x426d96
cmp edi, 0xfffffffc
je 0x426de0
mov al, byte [edx]
cmp al, byte [esi]
jne 0x426dd9
cmp edi, 0xfffffffd
je 0x426de0
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x426dd9
cmp edi, 0xfffffffe
je 0x426de0
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x426dd9
cmp edi, 0xffffffff
je 0x426de0
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x426de0
sbb eax, eax
or eax, 1
jmp 0x426de2
xor eax, eax
test eax, eax
jne 0x426dfd
cmp dword [ebp + 0x18], ecx
jb 0x426dfd
ja 0x426dfd
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x18]
jmp 0x426eb7
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x426eae
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426e18
mov ebx, dword [ebp + 0x18]
lea esi, [esp + 0x34]
sub eax, edx
mov edi, ebx
cmp dword [ebp + 0x1c], 0x10
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
cmp eax, ebx
cmovb edi, eax
sub edi, 4
jb 0x426e51
nop
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x426e56
add edx, 4
add esi, 4
sub edi, 4
jae 0x426e40
cmp edi, 0xfffffffc
je 0x426e8a
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x426e83
cmp edi, 0xfffffffd
je 0x426e8a
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x426e83
cmp edi, 0xfffffffe
je 0x426e8a
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x426e83
cmp edi, 0xffffffff
je 0x426e8a
mov cl, byte [edx + 3]
cmp cl, byte [esi + 3]
je 0x426e8a
sbb ecx, ecx
or ecx, 1
jmp 0x426e8c
xor ecx, ecx
test ecx, ecx
jne 0x426e96
cmp ebx, eax
jb 0x426e96
jbe 0x426ee3
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x426e11
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x426efd
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x426ef3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x426ef3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x18]
jmp 0x426eb7
push ecx
push edx
call fcn.004295f1
add esp, 8
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004295ae
mov esp, ebp
pop ebp
ret