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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101813ec
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x101f6008]
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.10089c10
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 0x10127363
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [0x101fc64c], ebx
je 0x10127355
push ebx
mov ecx, 0x101fc64c
call fcn.10110b10
mov eax, dword [0x101fc64c]
cmp byte [eax + 0x54], bl
je 0x10127355
cmp dword [eax + 0x58], 2
jb 0x10127355
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.10006310
push 0x1f
push str.CreateToolhelp32Snapshot_Failed
mov dword [ebp - 4], 0
call fcn.10006790
push 0x80c
push str.RC::DM::RCProcessDManager::EnumProcessInfo
push str.d:workcode_git_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x230]
mov ecx, 0x101fc64c
push eax
push 2
call fcn.10111470
test bl, bl
je 0x10127343
lea eax, [ebp - 0x230]
mov ecx, 0x101fc64c
push eax
call fcn.10111790
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.100062d0
mov dword [edi], 0xa80357
mov dword [edi + 4], esi
jmp 0x10127925
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x82c], ebx
call fcn.10128660
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 0x10127755
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
lea ecx, [ebp - 0x47c]
call fcn.1012b180
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 0x101273fd
push dword [ebp - 0x820]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x101273fd
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x834]
call edi
mov edi, eax
jmp 0x10127738
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 0x10127441
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 0x10127738
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.10006310
mov eax, ecx
mov byte [ebp - 4], 5
push eax
mov edx, esi
lea ecx, [ebp - 0x868]
call fcn.10123b40
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.10006790
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 0x10127584
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 0x10127729
lea ecx, [ebp - 0x284]
call fcn.10006310
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x29c]
call fcn.10008480
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x870]
call fcn.10130be0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x29c]
call fcn.100062d0
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.10006310
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 8
call fcn.10006310
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 9
call fcn.10006310
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0xa
call fcn.10006310
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x304]
call fcn.1012dd40
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x474]
call fcn.1012bf60
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.100062d0
lea ecx, [ebp - 0x2d0]
call fcn.100062d0
lea ecx, [ebp - 0x2e8]
call fcn.100062d0
lea ecx, [ebp - 0x300]
call fcn.100062d0
mov byte [ebp - 4], 6
test esi, esi
je 0x10127694
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.10128d80
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.10128fe0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x830]
call fcn.10129080
and ebx, 0xfffffffe
mov dword [ebp - 0x844], ebx
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 0x10
call fcn.1012b2b0
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.100062d0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call fcn.100062d0
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 3
call fcn.1012b2b0
test edi, edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jne 0x101273a0
mov edi, dword [ebp - 0x830]
mov ecx, edi
mov dword [ebp - 0x83c], ecx
mov esi, dword [edi]
cmp esi, ecx
je 0x10127804
nop dword [eax]
mov edx, dword [edi + 4]
mov eax, edi
mov ebx, dword [esi + 0x10c]
cmp byte [edx + 0xd], 0
jne 0x1012779e
cmp dword [edx + 0x10], ebx
jae 0x1012778b
mov edx, dword [edx + 8]
jmp 0x1012778f
mov eax, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x10127781
cmp eax, edi
je 0x1012779e
cmp ebx, dword [eax + 0x10]
jae 0x101277a0
mov eax, edi
cmp eax, edi
je 0x101277bf
add eax, 0x20
lea ecx, [esi + 0x110]
push eax
call fcn.1012bf60
mov edi, dword [ebp - 0x830]
mov ecx, dword [ebp - 0x83c]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x101277e5
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x101277e1
cmp esi, dword [eax + 8]
jne 0x101277e1
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x101277d1
mov esi, eax
jmp 0x101277fc
mov esi, eax
mov edx, dword [esi]
cmp byte [edx + 0xd], 0
jne 0x101277fc
nop
mov eax, dword [edx]
mov esi, edx
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x101277f0
cmp esi, ecx
jne 0x10127770
mov esi, dword [edi]
cmp esi, edi
je 0x101278a4
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.10128990
mov ecx, dword [ebp - 0x838]
mov edx, dword [ecx + 4]
mov ecx, 0xaaaaa9
sub ecx, edx
cmp ecx, 1
jb 0x10127945
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 0x10127884
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10127880
nop
cmp esi, dword [eax + 8]
jne 0x10127880
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10127870
mov esi, eax
jmp 0x1012789c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1012789c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10127890
cmp esi, edi
jne 0x10127810
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.10128700
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.101448bc
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.10144424
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