Function at 0x429130
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597860
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x6073a4]
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 ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x18], 0
call fcn.00427350
mov dword [ebp - 4], 0
or ecx, 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x429192
xor ebx, ebx
jmp 0x429418
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
xorps xmm0, xmm0
or ecx, edx
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
jge 0x4291bd
push 0
lea ecx, [ebp - 0x18]
call fcn.00427130
mov eax, dword [ebp - 0x18]
push 0x5f910c
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.004246b0
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.0042e7c0
mov dword [ebp - 0x20], eax
push 0
mov byte [ebp - 4], 2
push 2
mov dword [ebp - 0x258], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x429316
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42930f
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x258]
push eax
push edi
call ebx
test eax, eax
je 0x42930f
lea eax, [ebp - 0x234]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.00427350
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x4293ae
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x429287
push esi
lea ecx, [ebp - 0x14]
call fcn.00427130
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004d32dd
mov eax, dword [ebp - 0x14]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x4293ae
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x14]
push 0x5f8c44
push 0x5f9110
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x14]
call fcn.00425290
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042ef20
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 2
mov dword [eax + 0x14], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4292fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x258]
push eax
push edi
call ebx
test eax, eax
jne 0x429242
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
xor edi, edi
mov ebx, dword [ebp - 0x2c]
sub eax, ebx
mov edx, dword [ebp - 0x20]
sar eax, 2
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4293ea
mov esi, dword [edx]
cmp esi, edx
je 0x4293de
nop dword [eax + eax]
mov eax, dword [ebx]
test eax, eax
je 0x429389
mov ecx, dword [esi + 0x10]
cmp dword [ecx - 0xc], 0
jl 0x429389
push eax
push ecx
call fcn.004cb824
add esp, 8
test eax, eax
je 0x429386
sub eax, dword [esi + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x429386
movsd xmm0, qword [0x5fa868]
movd xmm1, edi
cvtdq2pd xmm1, xmm1
call fcn.005961e0
cvttsd2si eax, xmm0
add dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x20]
cmp byte [esi + 0xd], 0
jne 0x4293d3
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4293b8
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4293d3
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4293a2
jmp 0x4293d3
push 0x80070057
call fcn.00427410
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4293d1
cmp esi, dword [eax + 8]
jne 0x4293d1
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4293c1
mov esi, eax
cmp esi, edx
jne 0x429340
mov eax, dword [ebp - 0x14]
inc edi
add ebx, 4
cmp edi, eax
jb 0x429331
push edx
push dword [edx]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042e270
push dword [ebp - 0x20]
call fcn.004c8d73
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00425580
mov eax, dword [ebp - 0x18]
or ecx, 0xffffffff
mov ebx, dword [ebp - 0x25c]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x429434
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.004c8d78
mov esp, ebp
pop ebp
ret