Function at 0x42dc99
Capabilities:
Enumerate processes

Disassembly:
push 0x294
mov eax, 0x59d697
call fcn.00594fd1
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x290], eax
mov eax, ecx
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x298], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x294], ecx
call fcn.004274e5
test al, al
je 0x42dcfe
pop esp
push edi
pop eax
pop ebp
pop edi
pop ecx
pop edi
pop esp
pop ebp
push esi
push ecx
push edx
push ecx
push eax
push eax
pop esp
pop ebp
pop ecx
pop esp
push ebx
pop edx
push edx
call fcn.004274a0
test al, al
je 0x42dd25
pop ecx
pop ebp
pop edi
push esi
push esi
push ecx
pop eax
pop ebx
push ebp
pop ecx
pop ebx
pop esp
push ecx
pop esp
push esp
push ebp
pop ebx
push ecx
pop ecx
pop esp
push ebp
push edx
push esi
pop edx
pop edx
pop ebp
pop edi
pop esi
pop ebp
push edx
call fcn.004279bf
test al, al
je 0x42dd3e
push edi
pop eax
push esp
pop esp
pop esp
pop ebx
pop esp
pop edi
push ebp
push ebp
push ebx
pop esp
push ebx
push esp
pop edx
push ebp
call fcn.00427683
test al, al
je 0x42dd5c
pop ecx
pop esi
pop ecx
push esi
pop esp
pop ebx
push eax
push edi
pop ecx
push esp
push esi
push ecx
pop esp
pop esp
pop ebx
push esp
pop edx
pop edx
pop eax
push esi
push edi
call fcn.0042770d
test al, al
je 0x42dd83
push eax
push esi
push ebx
pop esi
push eax
pop edx
push edi
pop ebx
push eax
push ecx
push eax
push eax
push ecx
push esp
push ebp
push esp
pop esi
push ebp
pop eax
push eax
pop ecx
push edi
pop ebp
push esi
pop ebx
pop esi
pop ebp
push ecx
pop ebp
push ebp
push 0x22c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.0043ffd0
add esp, 0xc
lea ecx, [ebp - 0x58]
push dword [ebp - 0x28c]
call fcn.004015d0
push dword [ebp - 0x290]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004015d0
mov byte [ebp - 4], 2
call fcn.004277dc
test al, al
je 0x42dde0
pop esp
pop ebp
pop edx
push esp
pop ecx
push ecx
pop esp
pop ecx
pop eax
pop ebx
push eax
pop esi
pop edx
push eax
pop ebp
push edx
pop ebp
push esp
push ebp
push ecx
pop ebx
push ecx
push edi
push eax
push ebp
push ebx
call fcn.00427a04
test al, al
je 0x42ddff
push ebx
push edi
push ebp
pop ebx
push eax
push ebp
push eax
push ecx
push esi
pop esp
push esp
pop eax
pop ebx
pop esp
push ecx
pop ebx
pop eax
pop esi
pop ecx
pop eax
push esp
pop esp
call fcn.00427797
test al, al
je 0x42de23
pop edx
push esp
pop ebx
push edi
push ecx
push ebp
push ecx
push edx
push ebx
pop edx
push edx
pop edi
pop ebp
push esp
push edx
pop ebx
push ecx
push edi
pop esi
push edx
pop ebx
pop edx
push eax
pop ebp
pop esi
push esp
pop ebp
lea eax, [ebp - 0x58]
push eax
call fcn.004237bf
lea eax, [ebp - 0x40]
push eax
call fcn.004237bf
pop ecx
pop ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x28c], ebx
cmp ebx, 0xffffffff
jne 0x42de54
xor ebx, ebx
jmp 0x42e087
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42df7c
call fcn.004275b4
test al, al
je 0x42de9c
pop esi
pop ebp
pop eax
pop edi
push ecx
push ebx
push ebp
pop edi
pop esp
push ecx
push edi
pop edx
push ebp
push esp
pop edx
pop ecx
pop edx
pop eax
pop edi
push edx
pop ecx
push esi
push ebp
push eax
pop eax
push esi
pop ebp
push esi
push esp
push edi
pop ebp
push edx
call fcn.00427866
test al, al
je 0x42dec7
pop edi
pop eax
pop ebx
pop edx
push esi
pop eax
push ecx
push edx
push edi
pop esi
push edi
push edx
push esp
push ecx
push ebx
pop edx
push ecx
pop edx
pop ebp
pop edi
push eax
push edx
pop ebp
push ebx
push edi
pop esp
pop eax
pop esi
mov ebx, dword [ebp - 0x28c]
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x27c], eax
je 0x42df59
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x42defd
lea eax, [ebp - 0x260]
push eax
call fcn.0044f873
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401820
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.004237bf
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402420
test eax, eax
jne 0x42df49
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x290]
push eax
call fcn.0042e587
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00401760
lea eax, [ebp - 0x284]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42de73
mov esi, dword [ebp - 0x2a0]
mov dword [ebp - 0x288], esi
jmp 0x42df82
mov esi, dword [ebp - 0x288]
call fcn.004277dc
test al, al
je 0x42dfa3
pop esp
push edx
push ebx
push ecx
push esp
pop ebp
pop esp
pop ebx
pop edi
push ebp
push eax
pop ebx
push edi
push edx
pop esp
pop ecx
pop eax
pop eax
mov ebx, dword [ebp - 0x28c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x29c]
jmp 0x42e079
call fcn.004277dc
test al, al
je 0x42dfd8
pop esp
pop ebp
pop edx
push esp
pop ecx
push ecx
pop esp
pop ecx
pop eax
pop ebx
push eax
pop esi
pop edx
push eax
pop ebp
push edx
pop ebp
push esp
push ebp
push ecx
pop ebx
push ecx
push edi
push eax
push ebp
push ebx
call fcn.00427a04
test al, al
je 0x42dff7
push ebx
push edi
push ebp
pop ebx
push eax
push ebp
push eax
push ecx
push esi
pop esp
push esp
pop eax
pop ebx
pop esp
push ecx
pop ebx
pop eax
pop esi
pop ecx
pop eax
push esp
pop esp
call fcn.00427797
test al, al
je 0x42e021
pop edx
push esp
pop ebx
push edi
push ecx
push ebp
push ecx
push edx
push ebx
pop edx
push edx
pop edi
pop ebp
push esp
push edx
pop ebx
push ecx
push edi
pop esi
push edx
pop ebx
pop edx
push eax
pop ebp
pop esi
push esp
pop ebp
mov edi, dword [ebp - 0x29c]
mov esi, dword [ebp - 0x288]
lea eax, [ebp - 0x28]
push dword [esi]
push eax
call fcn.0042d9ab
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.004237bf
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x40]
push dword [ebp - 0x30]
push 0
push eax
call fcn.004046f0
lea ecx, [ebp - 0x28]
push 0
push 1
cmp eax, 0xffffffff
jg 0x42e0b2
mov byte [ebp - 4], 2
call fcn.00401760
add esi, 4
mov dword [ebp - 0x288], esi
cmp esi, edi
jne 0x42dfb5
mov ebx, dword [ebp - 0x294]
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401760
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00401760
lea ecx, [ebp - 0x2a0]
call fcn.004281d6
mov eax, ebx
call fcn.00594f8c
ret
xor ebx, ebx
inc ebx
call fcn.00401760
jmp 0x42e087