Function at 0x4be310
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b8d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x78efc4]
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 dword [ebp - 0x3dc], ecx
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
push 0x990
mov dword [ebp - 0x3e0], ebx
call fcn.00677616
add esp, 4
mov dword [ebp - 0x3d4], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00475580
mov edi, eax
mov dword [ebp - 0x3e8], edi
push esi
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.004761d0
mov esi, dword [ebp - 0x3dc]
lea eax, [ebp - 0x400]
push eax
mov ecx, esi
call fcn.004bf2d0
mov byte [ebp - 4], 2
lea eax, [esi + 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3ec], ecx
mov esi, dword [ecx]
cmp esi, ecx
je 0x4be3fe
cmp dword [esi + 0x18], ebx
je 0x4be3fe
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4be3e4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4be3e0
nop
cmp esi, dword [eax + 8]
jne 0x4be3e0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4be3d0
mov esi, eax
jmp 0x4be3fa
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4be3fa
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4be3f0
cmp esi, ecx
jne 0x4be3b7
push edi
mov dword [ebp - 0x3d4], edi
call fcn.00661ca7
add esp, 4
test eax, eax
jne 0x4bece6
lea eax, [edi + 0x548]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1a4]
call fcn.0046ceb0
push edi
call fcn.00661ccc
mov byte [ebp - 4], 4
push edi
mov dword [ebp - 0x3d4], edi
call fcn.00661ca7
add esp, 8
test eax, eax
jne 0x4becec
lea eax, [edi + 0x5f0]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x70]
call fcn.00456d70
push edi
call fcn.00661ccc
add esp, 4
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xe4]
call fcn.00456d70
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4be4b3
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4be4a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4becf2
push edx
push ecx
call fcn.006779b1
add esp, 8
mov ebx, dword [ebp - 0x3dc]
push 4
add ebx, 0xc
call fcn.00677616
add esp, 4
mov dword [ebp - 0x3e4], eax
mov dword [eax], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3d4], ebx
mov eax, dword [ebp - 0x3dc]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
push ecx
lea ecx, [eax + 0x34]
call fcn.0048ca30
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x4be559
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x14]
jb 0x4be559
ja 0x4be516
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jb 0x4be559
mov ecx, dword [ebp - 0x3dc]
lea eax, [ebp + 8]
push eax
lea ecx, [ecx + 0x34]
call fcn.004bf850
call fcn.004486f0
lea ecx, [ebp + 8]
push ecx
push str.Registration_rejected._Client_with_ID__0__is_in_expired_client_list.
push 1
mov ecx, eax
call fcn.004bdb10
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push ebx
call fcn.006779b1
add esp, 8
xor bl, bl
jmp 0x4bec7a
mov edi, dword [ebp - 0x3dc]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 4]
call fcn.0048ca30
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x4be5b8
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x14]
jb 0x4be5b8
ja 0x4be58a
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jb 0x4be5b8
cmp byte [0x7a8c9f], 0
jne 0x4be5b8
push str.CAT::ClientsConfigManager::RegisterClient
push 0x38
push str.C:devjenkinsworkspacemonitor_win_build_srclibraries_report_processing_report_processingclients_config_manager.cpp
push str.Client_with_such_ID_is_already_registered
mov edx, str.m_clients.count_clientId___0
mov byte [0x7a8c9f], 1
call fcn.00467640
add esp, 0x10
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 4]
call fcn.004bfb60
mov ebx, eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x3e8]
push eax
call fcn.004c0100
mov ecx, dword [ebx]
mov edi, eax
mov edx, dword [edi]
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [ebx], edx
mov ecx, dword [edi + 4]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x14]
mov dword [ebx + 4], ecx
test edi, edi
je 0x4be613
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x4be613
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x4be613
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x3d8]
lea eax, [ebp + 8]
push eax
call fcn.004bf9c0
mov ecx, dword [ebp - 0x3e0]
push 0
push ecx
mov dword [eax], ecx
call fcn.004792d0
mov ecx, dword [ebp - 0x3dc]
add esp, 8
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3f4], eax
lea eax, [ebp - 0x3f4]
lea ecx, [ecx + 0x24]
mov dword [ebp - 0x3f0], edx
push eax
call fcn.004bfa90
mov dword [eax], edi
mov edi, dword [ebp - 0x3e4]
mov dword [eax + 4], ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push edi
call fcn.006779b1
add esp, 8
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xb
cmp esi, dword [ebp - 0x3ec]
jne 0x4bead2
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], vtable.std::_Func_impl_no_alloc_class__unsigned_int___cdecl_CAT::Utils::GetParentPid_unsigned_int_::_2::_lambda_2___void__void___.0
mov dword [ebp - 0x90], eax
push 4
mov byte [ebp - 4], 0xc
call fcn.00677616
add esp, 4
mov esi, eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esi], eax
xor edx, edx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x34], edx
test ecx, ecx
je 0x4be72d
lea eax, [ebp - 0xb4]
cmp ecx, eax
jne 0x4be720
mov eax, dword [ecx]
lea edx, [ebp - 0x58]
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x90]
mov edx, eax
mov dword [ebp - 0x34], edx
test ecx, ecx
je 0x4be72d
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0xb4]
cmp ecx, eax
setne al
push eax
call edx
mov edx, dword [ebp - 0x34]
jmp 0x4be725
mov edx, ecx
mov dword [ebp - 0x34], edx
xor ecx, ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x30], esi
test ecx, ecx
je 0x4be757
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0xb4]
cmp ecx, eax
setne al
push eax
call edx
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x90], 0
cmp dword [esi], 0xffffffff
jne 0x4be7a4
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x3ec], esi
test edx, edx
je 0x4becf7
mov eax, dword [edx]
lea ecx, [ebp - 0x3ec]
push ecx
mov ecx, edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4be793
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
push eax
call edx
mov byte [ebp - 4], 0xb
mov ebx, dword [ebp - 0x3e0]
mov esi, ebx
jmp 0x4be8be
push 0x228
lea eax, [ebp - 0x3cc]
push 0
push eax
call fcn.00679eb0
add esp, 0xc
mov dword [ebp - 0x3d0], 0x22c
lea eax, [ebp - 0x3d0]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4be80c
mov eax, dword [ebp - 0x30]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4be77c
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x3e4], eax
test ecx, ecx
je 0x4becfc
mov eax, dword [ecx]
lea edx, [ebp - 0x3e4]
push edx
jmp 0x4be779
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov ebx, dword [ebp - 0x3e0]
cmp ebx, dword [ebp - 0x3c8]
je 0x4be875
lea eax, [ebp - 0x3d0]
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
call esi
test eax, eax
jne 0x4be818
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4be85a
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x3e0], eax
test ecx, ecx
je 0x4bed01
mov eax, dword [ecx]
lea edx, [ebp - 0x3e0]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4be871
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
push eax
call edx
mov esi, ebx
jmp 0x4be8ba
mov esi, dword [ebp - 0x3b8]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4be8a3
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x3d4], eax
test ecx, ecx
je 0x4bed06
mov eax, dword [ecx]
lea edx, [ebp - 0x3d4]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4be8ba
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
push eax
call edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x3d8]
mov edx, dword [eax]
mov eax, dword [edx]
cmp eax, edx
je 0x4be91b
nop dword [eax]
cmp dword [eax + 0x18], esi
je 0x4be913
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x4be8fb
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x4be8f7
cmp eax, dword [ecx + 8]
jne 0x4be8f7
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x4be8e7
mov eax, ecx
jmp 0x4be90f
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x4be90f
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x4be905
cmp eax, edx
jne 0x4be8d0
cmp eax, edx
jne 0x4bead2
mov edx, ebx
lea ecx, [ebp - 0xa4]
call fcn.00447cf0
mov esi, eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x11
call fcn.004e9cf0
mov byte [ebp - 4], 0x12
mov ecx, dword [eax + 0x10]
add ecx, ecx
cmp dword [eax + 0x14], 8
jb 0x4be947
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.004f0fc0
add esp, 4
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xcc]
call fcn.00533d50
push esi
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x14
push eax
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0xfc]
call fcn.0047da40
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044d000
mov edx, dword [ebp - 0xe8]
cmp edx, 8
jb 0x4be9d3
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4be9c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bed0b
push edx
push ecx
call fcn.006779b1
add esp, 8
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xb8]
cmp edx, 8
jb 0x4bea17
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bea0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bed0b
push edx
push ecx
call fcn.006779b1
add esp, 8
xor eax, eax
mov dword [ebp - 0xbc], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
call fcn.0044a090
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4bea7a
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bea70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bed0b
push edx
push ecx
call fcn.006779b1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x4bead2
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4beac8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bed0b
push edx
push ecx
call fcn.006779b1
add esp, 8
mov ebx, dword [ebp - 0x3dc]
mov edi, dword [ebx + 0x3c]
test edi, edi
je 0x4beb59
mov eax, dword [edi]
push 0x50
mov esi, dword [eax + 4]
call fcn.00677616
add esp, 4
mov dword [ebp - 0x3d4], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
push ecx
lea ecx, [ebp - 0x1a4]
push ecx
lea ecx, [ebp - 0x400]
push ecx
mov ecx, eax
call fcn.00499560
mov dword [ebp - 0x3d8], eax
sub esp, 8
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x3d8]
mov ecx, esp
push eax
call fcn.004bfdc0
mov ecx, edi
call esi
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x3d8]
test esi, esi
je 0x4beb59
lea ecx, [esi + 0x24]
call fcn.0044d7a0
lea ecx, [esi + 8]
call fcn.0044e440
push 0x50
push esi
call fcn.006779b1
add esp, 8
cmp dword [ebx + 0x44], 0
je 0x4bec5d
mov ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x4bec5d
cmp dword [ebp - 0x18], 0
je 0x4bec5d
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0xe4]
cmp dword [ebp - 0xd0], 0x10
push ecx
cmovae eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x8c]
push eax
call fcn.0044daa0
push 0x50
mov byte [ebp - 0x74], 0
call fcn.00677616
add esp, 4
mov dword [ebp - 0x3d4], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x19
push ecx
lea ecx, [ebp - 0x1a4]
push ecx
mov ecx, eax
call fcn.00499130
mov dword [ebp - 0x3d8], eax
mov byte [ebp - 4], 0x1a
mov edi, dword [ebx + 0x44]
mov eax, dword [edi]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x8c]
push eax
sub esp, 8
lea eax, [ebp - 0x3d8]
mov ecx, esp
push eax
call fcn.0044eaf0
mov ecx, edi
call esi
lea ecx, [ebp - 0x3d8]
call fcn.0044c9f0
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x4bec5d
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bec53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bed10
push edx
push ecx
call fcn.006779b1
add esp, 8
mov eax, dword [ebp - 0x14]
mov bl, 1
cmp eax, 8
jb 0x4bec74
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0044da60
mov edi, dword [ebp - 0x3e8]
lea ecx, [ebp - 0xe4]
call fcn.0044a090
lea ecx, [ebp - 0x1a4]
call fcn.0044a130
lea ecx, [ebp - 0x400]
call fcn.004bf7b0
test edi, edi
je 0x4becc6
lea ecx, [edi + 0x548]
call fcn.0044b170
lea ecx, [edi + 0x30]
call fcn.00475fb0
push edi
call fcn.00661c5c
push 0x990
push edi
call fcn.006779b1
add esp, 0xc
mov al, bl
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.006773ff
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.00662321
push eax
call fcn.00662321
call fcn.00682da2
call fcn.00662591
call fcn.00662591
call fcn.00662591
call fcn.00662591
call fcn.00682da2
call fcn.00682da2
int3