Function at 0x4e6500
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59571b
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x62f018]
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 edi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov ecx, 0x6355a1
mov dword [ebp - 0x840], edi
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x840], ebx
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x83c], eax
call fcn.00561ea5
mov ecx, ebx
call fcn.004e79d0
push 0
mov dword [ebp - 4], 1
push 2
mov dword [ebp - 0x828], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x834], ebx
test ebx, ebx
jne 0x4e6647
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [0x6321a8], ebx
je 0x4e6629
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov eax, dword [0x6321a8]
cmp byte [eax + 0x54], bl
je 0x4e6629
cmp dword [eax + 0x58], 2
jb 0x4e6629
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00403f80
push 0x1f
push str.CreateToolhelp32Snapshot_Failed
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00404640
push 0x80c
push str.RC::DM::RCProcessDManager::EnumProcessInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x230]
mov ecx, 0x6321a8
push eax
push 2
call fcn.004d2490
test bl, bl
je 0x4e661a
lea eax, [ebp - 0x230]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00403de0
mov dword [edi], 0xa80357
mov dword [edi + 4], esi
mov dword [ebp - 0x83c], 1
mov byte [ebp - 4], 0
mov eax, edi
jmp 0x4e6c1f
mov byte [ebp - 4], 1
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
mov byte [ebp - 4], 1
call fcn.004e98c0
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 9
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4e6a3c
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x47c]
call fcn.004d56f0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x820]
push eax
push 0
push 0x410
mov dword [ebp - 0x478], eax
call edi
mov esi, eax
test esi, esi
jne 0x4e66e9
push dword [ebp - 0x820]
push eax
push 0x400
call edi
mov esi, eax
test esi, esi
jne 0x4e66e9
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x834]
call ebx
mov edi, eax
jmp 0x4e6a19
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x84c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
jne 0x4e672d
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x834]
call ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4e6a19
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x21c]
mov dword [ebp - 0x26c], eax
movzx eax, word [ebp - 0x21e]
mov dword [ebp - 0x268], eax
movzx eax, word [ebp - 0x220]
mov dword [ebp - 0x264], eax
movzx eax, word [ebp - 0x222]
mov dword [ebp - 0x260], eax
movzx eax, word [ebp - 0x226]
dec eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x25c], eax
movzx eax, word [ebp - 0x228]
sub eax, 0x76c
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x258], eax
movzx eax, word [ebp - 0x224]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
add esp, 4
mov dword [ebp - 0x314], eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x310], edx
call fcn.00403f80
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0xb
push eax
mov edx, esi
lea ecx, [ebp - 0x86c]
call fcn.004e26e0
add esp, 4
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x3a0]
cmovae eax, dword [ebp - 0x248]
push dword [ebp - 0x238]
push eax
call fcn.00404640
mov eax, dword [ebp - 0x810]
push 0x208
mov dword [ebp - 0x388], eax
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x4e6874
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x834]
call ebx
mov edi, eax
jmp 0x4e6a0a
lea ecx, [ebp - 0x284]
call fcn.00403f80
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x29c]
call fcn.00403ed0
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x874]
call fcn.004ff5b0
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x29c]
call fcn.00403de0
mov dword [ebp - method.Poco::Any::ValueHolder.virtual_4], vtable.RC::DM::ISerialization.0
lea ecx, [ebp - 0x300]
mov dword [ebp - method.RC::DM::RCDMFilePath.virtual_0], vtable.RC::DM::RCDMFilePath.0
call fcn.00403f80
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0xe
call fcn.00403f80
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0xf
call fcn.00403f80
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x10
call fcn.00403f80
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x304]
call fcn.004ee150
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x474]
call fcn.004d6790
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2b8]
mov dword [ebp - method.RC::DM::RCDMFilePath.virtual_0], vtable.RC::DM::RCDMFilePath.0
call fcn.00403de0
lea ecx, [ebp - 0x2d0]
call fcn.00403de0
lea ecx, [ebp - 0x2e8]
call fcn.00403de0
lea ecx, [ebp - 0x300]
call fcn.00403de0
mov byte [ebp - 4], 0xc
test esi, esi
je 0x4e6984
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x478]
lea ecx, [ebp - 0x5f4]
mov dword [ebp - 0x5fc], eax
lea eax, [ebp - 0x47c]
push eax
call fcn.004eb270
or dword [ebp - 0x838], 2
lea eax, [ebp - 0x5fc]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x830]
call fcn.004eb8b0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x87c]
push eax
lea ecx, [ebp - 0x830]
call fcn.004eb980
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 0x15
call fcn.004d5840
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 0xc
push eax
push dword [ebp - 0x834]
call ebx
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0xb
mov edi, eax
call fcn.00403de0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xa
call fcn.00403de0
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 9
call fcn.004d5840
test edi, edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
jne 0x4e6694
mov ebx, dword [ebp - 0x834]
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x830]
mov esi, dword [esi]
mov byte [ebp - 4], 0x1a
mov edi, dword [ebp - 0x830]
mov byte [ebp - 4], 9
cmp esi, edi
je 0x4e6b2a
nop
mov edx, dword [esi + 0x10c]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x830]
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x4e6a98
nop dword [eax]
mov byte [ebp - 4], 9
cmp dword [eax + 0x10], edx
jae 0x4e6a8e
mov eax, dword [eax + 8]
jmp 0x4e6a92
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4e6a80
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x830]
mov byte [ebp - 4], 9
cmp ecx, eax
je 0x4e6ab3
mov byte [ebp - 4], 9
cmp edx, dword [ecx + 0x10]
jae 0x4e6ac1
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x830]
mov byte [ebp - 4], 9
mov byte [ebp - 4], 0x33
mov eax, dword [ebp - 0x830]
mov byte [ebp - 4], 9
cmp ecx, eax
je 0x4e6ae6
add ecx, 0x20
mov byte [ebp - 4], 9
push ecx
lea ecx, [esi + 0x110]
call fcn.004d6790
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4e6b0c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4e6b08
cmp esi, dword [eax + 8]
jne 0x4e6b08
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4e6af8
mov esi, eax
jmp 0x4e6b22
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4e6b22
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4e6b16
cmp esi, edi
jne 0x4e6a60
mov byte [ebp - 4], 0x39
mov esi, dword [ebp - 0x830]
mov esi, dword [esi]
mov byte [ebp - 4], 0x3d
mov edi, dword [ebp - 0x830]
mov byte [ebp - 4], 9
cmp esi, edi
je 0x4e6ba6
mov ebx, dword [ebp - 0x840]
nop
lea eax, [esi + 0x18]
mov ecx, ebx
push eax
call fcn.004e7aa0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4e6b84
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4e6b80
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x4e6b80
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4e6b70
mov esi, eax
jmp 0x4e6b9c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4e6b9c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4e6b90
cmp esi, edi
jne 0x4e6b50
mov ebx, dword [ebp - 0x834]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x844]
mov eax, dword [ebp - 0x838]
or eax, 1
mov dword [ebp - 0x83c], eax
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov byte [ebp - 4], 0x43
mov ecx, dword [ebp - 0x830]
mov byte [ebp - 4], 0x48
mov eax, dword [ebp - 0x830]
push ecx
lea ecx, [ebp - 0x830]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x844]
mov byte [ebp - 4], 0x42
push eax
call fcn.004e8d80
mov byte [ebp - 4], 0x4d
mov eax, dword [ebp - 0x830]
push 0x190
push eax
mov byte [ebp - 4], 0x54
call fcn.0052f594
mov byte [ebp - 4], 0
add esp, 8
mov eax, esi
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.0052f553
mov esp, ebp
pop ebp
ret 8