Function at 0x1002be60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100986b6
mov eax, dword fs:[0]
push eax
sub esp, 0x310
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 ebx, ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x274], edi
cmp edi, 0xffffffff
jne 0x1002bf68
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 0x1002bf61
push 0x71
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifyprocess_mgr.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a9b0
mov byte [ebp - 4], 1
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x58
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004330
mov esi, eax
push str.error_:_create_snapshot_false
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 - 0x31c]
call fcn.10005880
lea ecx, [ebp - 0x40]
call fcn.10004d90
lea ecx, [ebp - 0x28]
call fcn.10004d90
xor eax, eax
jmp 0x1002c187
push 0x228
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.10056af0
add esp, 0xc
mov dword [ebp - 0x26c], 0x22c
lea eax, [ebp - 0x26c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1002c17b
nop dword [eax]
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 0
push eax
push dword [ebp - 0x264]
mov ecx, ebx
call fcn.1002c1b0
test eax, eax
je 0x1002c15d
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 0x1002c120
push 0x71
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifyprocess_mgr.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a9b0
mov byte [ebp - 4], 4
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x63
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004330
mov esi, eax
push str.insert_process_status_map__when_init:_pid___
push esi
mov byte [ebp - 4], 5
call fcn.10005560
add esp, 8
mov ecx, esi
push dword [ebp - 0x264]
call fcn.100053b0
push str._status___
push esi
call fcn.10005560
add esp, 8
mov ecx, esi
push dword [ebp - 0x270]
call fcn.10015290
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.10005880
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1002c0cd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c0c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c1a3
push edx
push ecx
call fcn.1004cdcb
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1002c11a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c110
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c1a3
push edx
push ecx
call fcn.1004cdcb
add esp, 8
mov edi, dword [ebp - 0x274]
mov eax, dword [ebp - 0x264]
lea ecx, [ebx + 0x2c]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10025830
push eax
add eax, 0x10
lea ecx, [ebx + 0x2c]
push eax
push 0
lea eax, [ebp - 0x284]
push eax
call fcn.1002aec0
mov eax, dword [ebp - 0x270]
or dword [ebx + 0xc], eax
lea eax, [ebp - 0x26c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1002bfa0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
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
call fcn.10059c49
int3