Function at 0x5112c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 0x228
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00520480
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x51134e
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x511362
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.COfcDigitalSignatureManager::FindParentProcessWithPid
push str._s___Cant_find_the_first_process_due_to_error:__d_.
push 0x241
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_OfcDSManager.cpp
push 0x45
call fcn.0050ff70
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0xc
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
je 0x5113ba
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x511366
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push str.COfcDigitalSignatureManager::FindParentProcessWithPid
push str._s___Couldnt_find_parent_PID_of_process_ID:__d_.
push 0x255
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_OfcDSManager.cpp
push 0x44
call fcn.0050ff70
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x218]
push esi
mov byte [ebp - 0x231], 1
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov edi, dword [ebp - 0x238]
push dword [edi]
push str.COfcDigitalSignatureManager::FindParentProcessWithPid
push str._s___Found_parent_PID:__d__of_process_ID:__d_.
push 0x259
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_OfcDSManager.cpp
push 0x44
call fcn.0050ff70
mov eax, dword [0x749b68]
movups xmm0, xmmword [0x749b58]
mov esi, dword [edi]
push 0x1f4
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x1f8]
push 0
push eax
mov dword [ebp - 0x23c], esi
movups xmmword [ebp - 0x20c], xmm0
call fcn.00520480
add esp, 0x28
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x511506
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x51149f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.COfcDigitalSignatureManager::GetProcessNamebyPID
push str._s___Failed_to_get_module_filename__error_code___d
push 0x272
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_OfcDSManager.cpp
push 0x45
call fcn.0050ff70
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x51152b
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5114b0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00481410
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x5114d8
mov eax, dword [ebx]
push dword [ebp - 0x23c]
push eax
push str.COfcDigitalSignatureManager::GetProcessNamebyPID
push str._s___Process_Name_:_s__PID_:__u
push 0x278
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_OfcDSManager.cpp
push 0x49
call fcn.0050ff70
add esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x51152b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.COfcDigitalSignatureManager::GetProcessNamebyPID
push str._s___Failed_to_open_the_process__error_code___d
push 0x27f
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_OfcDSManager.cpp
push 0x45
call fcn.0050ff70
add esp, 0x18
cmp dword [ebx + 0x14], 8
jb 0x511533
mov ebx, dword [ebx]
push ebx
push dword [edi]
push str.COfcDigitalSignatureManager::FindParentProcessWithPidAndName
push str._s___dwParentProcessId___d__strParentProcName___s
push 0x28c
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_OfcDSManager.cpp
push 0x44
call fcn.0050ff70
mov ecx, dword [ebp - 4]
add esp, 0x1c
mov al, byte [ebp - 0x231]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0xc