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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018545c
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x101fb008]
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]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x848], edi
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x844], ebx
call fcn.1008ba40
push ebx
push 2
mov dword [ebp - 0x840], 0xffffffff
mov dword [ebp - 0x828], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x834], esi
test esi, esi
jne 0x1012af03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [0x10201734], ebx
je 0x1012aef5
push ebx
mov ecx, 0x10201734
call fcn.101146c0
mov eax, dword [0x10201734]
cmp byte [eax + 0x54], bl
je 0x1012aef5
cmp dword [eax + 0x58], 2
jb 0x1012aef5
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.100063f0
push 0x1f
push str.CreateToolhelp32Snapshot_Failed
mov dword [ebp - 4], 0
call fcn.10006870
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, 0x10201734
push eax
push 2
call fcn.10115020
test bl, bl
je 0x1012aee3
lea eax, [ebp - 0x230]
mov ecx, 0x10201734
push eax
call fcn.10115340
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.100063b0
mov dword [edi], 0xa80357
mov dword [edi + 4], esi
jmp 0x1012b4c5
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x82c], ebx
call fcn.1012c200
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x828]
mov dword [ebp - 4], 3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1012b2f5
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
lea ecx, [ebp - 0x47c]
call fcn.1012ed20
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x820]
push eax
push 0
push 0x410
mov dword [ebp - 0x478], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x1012af9d
push dword [ebp - 0x820]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x1012af9d
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x834]
call edi
mov edi, eax
jmp 0x1012b2d8
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x840]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
jne 0x1012afe1
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x834]
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1012b2d8
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x840]
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.100063f0
mov eax, ecx
mov byte [ebp - 4], 5
push eax
mov edx, esi
lea ecx, [ebp - 0x868]
call fcn.101276e0
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.10006870
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 0x1012b124
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x834]
call edi
mov edi, eax
jmp 0x1012b2c9
lea ecx, [ebp - 0x284]
call fcn.100063f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x29c]
call fcn.10008570
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x870]
call fcn.10134780
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x29c]
call fcn.100063b0
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.100063f0
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 8
call fcn.100063f0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 9
call fcn.100063f0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0xa
call fcn.100063f0
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x304]
call fcn.101318e0
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x474]
call fcn.1012fb00
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2b8]
mov dword [ebp - method.RC::DM::RCDMFilePath.virtual_0], vtable.RC::DM::RCDMFilePath.0
call fcn.100063b0
lea ecx, [ebp - 0x2d0]
call fcn.100063b0
lea ecx, [ebp - 0x2e8]
call fcn.100063b0
lea ecx, [ebp - 0x300]
call fcn.100063b0
mov byte [ebp - 4], 6
test esi, esi
je 0x1012b234
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x478]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x5f4]
mov dword [ebp - 0x5fc], eax
lea eax, [ebp - 0x47c]
push eax
call fcn.1012c920
lea eax, [ebp - 0x5fc]
mov byte [ebp - 4], 0xe
or ebx, 1
lea ecx, [ebp - 0x830]
push eax
mov dword [ebp - 0x844], ebx
call fcn.1012cb80
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x830]
call fcn.1012cc20
and ebx, 0xfffffffe
mov dword [ebp - 0x844], ebx
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 0x10
call fcn.1012ee50
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x834]
call edi
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
mov edi, eax
call fcn.100063b0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call fcn.100063b0
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 3
call fcn.1012ee50
test edi, edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jne 0x1012af40
mov edi, dword [ebp - 0x830]
mov ecx, edi
mov dword [ebp - 0x83c], ecx
mov esi, dword [edi]
cmp esi, ecx
je 0x1012b3a4
nop dword [eax]
mov edx, dword [edi + 4]
mov eax, edi
mov ebx, dword [esi + 0x10c]
cmp byte [edx + 0xd], 0
jne 0x1012b33e
cmp dword [edx + 0x10], ebx
jae 0x1012b32b
mov edx, dword [edx + 8]
jmp 0x1012b32f
mov eax, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x1012b321
cmp eax, edi
je 0x1012b33e
cmp ebx, dword [eax + 0x10]
jae 0x1012b340
mov eax, edi
cmp eax, edi
je 0x1012b35f
add eax, 0x20
lea ecx, [esi + 0x110]
push eax
call fcn.1012fb00
mov edi, dword [ebp - 0x830]
mov ecx, dword [ebp - 0x83c]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1012b385
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1012b381
cmp esi, dword [eax + 8]
jne 0x1012b381
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1012b371
mov esi, eax
jmp 0x1012b39c
mov esi, eax
mov edx, dword [esi]
cmp byte [edx + 0xd], 0
jne 0x1012b39c
nop
mov eax, dword [edx]
mov esi, edx
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x1012b390
cmp esi, ecx
jne 0x1012b310
mov esi, dword [edi]
cmp esi, edi
je 0x1012b444
nop
mov eax, dword [ebp - 0x838]
mov ebx, dword [eax]
lea eax, [esi + 0x18]
push eax
mov ecx, dword [ebx + 4]
push ecx
push ebx
mov dword [ebp - 0x83c], ecx
call fcn.1012c530
mov ecx, dword [ebp - 0x838]
mov edx, dword [ecx + 4]
mov ecx, 0xaaaaa9
sub ecx, edx
cmp ecx, 1
jb 0x1012b4e5
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x838]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x83c]
mov dword [ebx + 4], eax
mov dword [ecx], eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1012b424
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1012b420
nop
cmp esi, dword [eax + 8]
jne 0x1012b420
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1012b410
mov esi, eax
jmp 0x1012b43c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1012b43c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1012b430
cmp esi, edi
jne 0x1012b3b0
push dword [ebp - 0x834]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x848]
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x830]
mov esi, dword [ebp - 0x830]
push dword [esi + 4]
call fcn.1012c2a0
mov eax, dword [ebp - 0x830]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x830]
mov dword [eax], esi
mov eax, dword [ebp - 0x830]
mov dword [eax + 8], esi
mov dword [ebp - 0x82c], 0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x830]
push 0x190
push eax
mov byte [ebp - 4], 0x16
call fcn.1014847c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.10147fe4
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3