Function at 0x42e780
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a4c1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x350
mov eax, dword [0x6d5ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x42ebf9
lea eax, [ebp - 0x328]
mov dword [ebp - 0x328], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x42e7fe
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42ebf9
push 0x3a
xorps xmm0, xmm0
mov dword [ebp - 0x330], 0
push str.92_80_114_111_99_101_115_115_76_105_115_116_46_116_120_116
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x32c], 0
movups xmmword [ebp - 0x340], xmm0
call fcn.00423ce0
lea edx, [ebp - 0x340]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00421f10
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x32c]
cmp ecx, 7
jbe 0x42e887
mov edx, dword [ebp - 0x340]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42e87d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec1c
push ecx
push edx
call fcn.0061ef9d
add esp, 8
push 0xb0
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.006213c0
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmova ecx, dword [ebp - 0x44]
add eax, ecx
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
cmova ecx, dword [ebp - 0x44]
add esp, 8
push eax
push ecx
lea ecx, [ebp - 0x35c]
call fcn.00459570
mov byte [ebp - 4], 3
mov ecx, 0x6ed414
cmp dword [0x6ed428], 7
push dword [0x6ed424]
cmova ecx, dword [0x6ed414]
push ecx
push ecx
mov ecx, eax
call fcn.00466680
mov dword [ebp - 0x330], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x340], xmm0
mov dword [ebp - 0x32c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x340], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x330], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
sub esp, 8
mov byte [ebp - 4], 4
lea eax, [ebp - 0x340]
lea ecx, [ebp - 0xf8]
push 2
push eax
call fcn.004404f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x32c]
cmp ecx, 7
jbe 0x42e992
mov edx, dword [ebp - 0x340]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42e988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec17
push ecx
push edx
call fcn.0061ef9d
add esp, 8
xor eax, eax
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 7
mov word [ebp - 0x340], ax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x348]
cmp ecx, 7
jbe 0x42e9f3
mov edx, dword [ebp - 0x35c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42e9e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec17
push ecx
push edx
call fcn.0061ef9d
add esp, 8
xor eax, eax
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 7
mov word [ebp - 0x35c], ax
cmp dword [ebp - 0xa8], eax
je 0x42eb4c
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x304]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42ea50
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.00423ce0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 9
push str.Process_ID:
push eax
call fcn.00458a50
add esp, 8
push str._t_tProcess_Name_:
push ecx
push dword [ebp - 0x320]
mov ecx, eax
call fcn.00444c90
add esp, 4
push eax
call fcn.00458a50
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmova ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.0046edc0
add esp, 0x14
push eax
call fcn.00458cf0
mov byte [ebp - 4], 7
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x42eb02
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42eaf8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec17
push ecx
push edx
call fcn.0061ef9d
add esp, 8
lea eax, [ebp - 0x328]
push eax
push edi
call esi
test eax, eax
jne 0x42ea30
lea ecx, [ebp - 0xf4]
call fcn.0044b130
test eax, eax
jne 0x42eb4c
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf8]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00405010
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xfc], eax
lea ecx, [ebp - 0xf4]
call fcn.00440440
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xfc], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - 0x90], vtable.std::ios_base.0
call fcn.0060d55e
mov ecx, dword [ebp - 0x30]
add esp, 4
cmp ecx, 0xf
jbe 0x42ebf9
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42ebef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec1c
push ecx
push edx
call fcn.0061ef9d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061eb08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0063629b
call fcn.0063629b
int3