Function at 0x42aed0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e73ee
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x52910c]
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
mov esi, edx
mov dword [ebp - 0x28c], esi
mov ebx, ecx
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x2a0], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x294], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x290], edi
cmp edi, 0xffffffff
je 0x42b173
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42b173
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x42b173
cmp dword [ebp - 0x270], esi
jne 0x42b153
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
push 0
push 0x509250
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00409af0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x2c], eax
xor eax, eax
push eax
push 0x5046d8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403e20
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
call fcn.00429300
test eax, eax
je 0x42b064
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmp edi, 8
mov dword [ebp - 0x298], fcn.004c310d
cmovae ecx, esi
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x28]
cmovae ecx, esi
push ebx
call fcn.00403820
mov ebx, dword [ebp - 0x29c]
add esp, 8
mov edi, dword [ebp - 0x290]
cmp dword [ebp - 0x18], 0
jne 0x42b0a0
cmp word [ebp - 0x264], 0
jne 0x42b078
xor eax, eax
jmp 0x42b090
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b081
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403e20
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x5c]
call fcn.0041fba0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x42b0e8
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x42b0cd
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004099a0
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00407660
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x42b101
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004099a0
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.0042ba50
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42b121
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403f90
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
cmp eax, 0x10
jb 0x42b14d
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004099a0
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42afa4
test edi, edi
je 0x42b183
cmp edi, 0xffffffff
je 0x42b183
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
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.004a1855
mov esp, ebp
pop ebp
ret