Function at 0x10006c50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100954f3
mov eax, dword fs:[0]
push eax
sub esp, 0x508
mov eax, dword [0x100c7394]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x478], eax
test eax, eax
je 0x1000705f
cmp dword [ebp + 0x10], 0
je 0x1000705f
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10006df6
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10056af0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x10006d18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp - 0x478]
call fcn.10008d30
mov eax, 1
jmp 0x10007061
call fcn.1003e190
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10006fd4
push 0x6d
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifycommon.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000a9b0
mov byte [ebp - 4], 1
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0x514]
push 0xf8
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004330
mov esi, eax
push str.GetModuleFileNameEx_Failed
push esi
mov byte [ebp - 4], 2
call fcn.10005560
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x514]
call fcn.10005880
lea ecx, [ebp - 0x230]
call fcn.10004d90
lea ecx, [ebp - 0x248]
jmp 0x10006fcf
call fcn.1003e190
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10006ef6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x6d
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifycommon.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov ebx, eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000a9b0
mov byte [ebp - 4], 4
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0x514]
push 0xfb
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10004330
mov esi, eax
push str.LastError:
push esi
mov byte [ebp - 4], 5
call fcn.10005560
add esp, 8
mov ecx, esi
push ebx
call fcn.100053b0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x514]
call fcn.10005880
lea ecx, [ebp - 0x248]
call fcn.10004d90
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10004d90
mov ebx, dword [ebp - 0x47c]
call fcn.1003e190
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10006fd4
push 0x6d
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifycommon.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000a9b0
mov byte [ebp - 4], 7
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0x514]
push 0xfc
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10004330
mov esi, eax
push str.hproc_is_NULL
push esi
mov byte [ebp - 4], 8
call fcn.10005560
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x514]
call fcn.10005880
lea ecx, [ebp - 0x248]
call fcn.10004d90
lea ecx, [ebp - 0x230]
call fcn.10004d90
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1000705b
push 0x228
lea eax, [ebp - 0x470]
push edi
push eax
call fcn.10056af0
add esp, 0xc
mov dword [ebp - 0x474], 0x22c
lea eax, [ebp - 0x474]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10007054
cmp dword [ebp - 0x46c], ebx
je 0x10007039
lea eax, [ebp - 0x474]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10007015
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x10007061
lea eax, [ebp - 0x450]
push eax
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp - 0x478]
call fcn.10008d30
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x10007061
xor eax, eax
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.1004d14a
mov esp, ebp
pop ebp
ret