Function at 0x10006ea0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100945e3
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x278], eax
test ecx, ecx
je 0x10007298
test esi, esi
je 0x10007298
test eax, eax
je 0x10007298
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x244], edi
cmp edi, 0xffffffff
jne 0x1000700d
call fcn.1002ead0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10007373
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x63
push str.d:jenkins.jenkinsworkspacegroup_cleanmemory_optimizer_promemory_optimizer_procommonutils.cc
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0xf
mov byte [ebp - 0x274], 0
call fcn.10009610
push 3
push 0x1009c854
lea ecx, [ebp - 0x25c]
mov dword [ebp - 4], 3
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], 0
call fcn.10009610
mov byte [ebp - 4], 4
call fcn.1002ead0
mov edi, eax
lea ecx, [ebp - 0x328]
push 0x70
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.100046b0
mov esi, eax
push str.CreateToolhelp32Snapshot_fail__errno_
push esi
mov byte [ebp - 4], 5
call fcn.10005890
add esp, 8
mov ecx, esi
push dword [ebp - 0x240]
call fcn.10005540
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x328]
call fcn.10006210
lea ecx, [ebp - 0x25c]
call fcn.10005150
lea ecx, [ebp - 0x274]
jmp 0x1000736e
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.1006a7b0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x10007150
call fcn.1002ead0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000728c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x63
push str.d:jenkins.jenkinsworkspacegroup_cleanmemory_optimizer_promemory_optimizer_procommonutils.cc
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], 0
call fcn.10009610
push 3
push 0x1009c854
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], 6
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0xf
mov byte [ebp - 0x274], 0
call fcn.10009610
mov byte [ebp - 4], 7
call fcn.1002ead0
mov edi, eax
lea ecx, [ebp - 0x328]
push 0x76
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.100046b0
mov esi, eax
push str.Process32First_fail__errno_
push esi
mov byte [ebp - 4], 8
call fcn.10005890
add esp, 8
mov ecx, esi
push dword [ebp - 0x240]
call fcn.10005540
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x328]
call fcn.10006210
lea ecx, [ebp - 0x274]
call fcn.10005150
lea ecx, [ebp - 0x25c]
call fcn.10005150
mov edi, dword [ebp - 0x244]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10007373
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x234], eax
je 0x10007178
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10007150
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10007373
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10007181
sub edx, ecx
lea eax, [ebp - 0x218]
mov ecx, dword [ebp - 0x240]
sar edx, 1
push edx
push eax
call fcn.10009710
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.10007430
add esp, 8
mov dword [ebp - 0x244], eax
cmp esi, eax
je 0x1000723e
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x1000720e
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x100071fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000738e
mov eax, edx
push ecx
push eax
call fcn.1002fc08
mov eax, dword [ebp - 0x244]
add esp, 8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x1000727e
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007274
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000738e
push edx
push ecx
call fcn.1002fc08
add esp, 8
mov ecx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x224]
mov dword [ecx], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10007373
call fcn.1002ead0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10007373
push 0x63
push str.d:jenkins.jenkinsworkspacegroup_cleanmemory_optimizer_promemory_optimizer_procommonutils.cc
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], al
call fcn.10009610
push 3
push 0x1009c854
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0xf
mov byte [ebp - 0x274], 0
call fcn.10009610
mov byte [ebp - 4], 1
call fcn.1002ead0
mov edi, eax
lea ecx, [ebp - 0x328]
push 0x6b
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.100046b0
mov esi, eax
push str.GetPidNameAndParentName_argument_error
push esi
mov byte [ebp - 4], 2
call fcn.10005890
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x328]
call fcn.10006210
lea ecx, [ebp - 0x274]
call fcn.10005150
lea ecx, [ebp - 0x25c]
call fcn.10005150
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
call fcn.1006db89
int3