Function at 0x514bc0
Capabilities:
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72da9d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x83e264]
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 + 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x514c46
push str.CreateProcessWithIssuerCheckW
push str._s___lpIssuerName_is_NULL._SetLastError___to_ERROR_INVALID_PARAMETER_and_return_FALSE.
push 0x72
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_CreateProcWithIssuerCheck.cpp
push 0x44
call fcn.0050ff70
add esp, 0x14
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x514e00
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push ebx
push edi
call fcn.00514e30
add esp, 0xc
test eax, eax
jne 0x514c98
push str.CreateProcessWithIssuerCheckW
push str._s___Failed_to_get_exe_path_from_lpFullPathApplicationName_or_lpFullPathCommandLine._SetLastError___to_ERROR_INVALID_PARAMETER_and_return_FALSE.
push 0x7d
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_CreateProcWithIssuerCheck.cpp
push 0x44
call fcn.0050ff70
add esp, 0x14
push 0x57
jmp 0x514dc0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.CreateProcessWithIssuerCheckW
push str._s___File_for_issuer_check_is___s_
push 0x83
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_CreateProcWithIssuerCheck.cpp
push 0x44
call fcn.0050ff70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00540efb
add esp, 0x20
cmp eax, 0xffffffff
je 0x514d94
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x514d94
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00514a80
add esp, 8
test eax, eax
jne 0x514d52
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x20001447
cmovae eax, dword [ebp - 0x28]
push esi
push eax
push str.CreateProcessWithIssuerCheckW
push str._s___File___s__is_not_issued_by___s_._Issuer_check_failed._Write_to_Windows_Event_Log__SetLastError___to_customized_error_code_ERROR_FAILED_ISSUER_CHECK__0x_08X__and_return_FALSE.
push 0x97
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_CreateProcWithIssuerCheck.cpp
push 0x44
call fcn.0050ff70
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00515120
add esp, 0x28
push 0x20001447
jmp 0x514dc0
push str.CreateProcessWithIssuerCheckW
push str._s___Calling_CreateProcessW__...
push 0xa3
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_CreateProcWithIssuerCheck.cpp
push 0x44
call fcn.0050ff70
add esp, 0x14
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
jmp 0x514dc8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.CreateProcessWithIssuerCheckW
push str._s___File___s__does_not_exist._SetLastError___to_ERROR_FILE_NOT_FOUND_and_return_FALSE.
push 0x8c
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_CreateProcWithIssuerCheck.cpp
push 0x44
call fcn.0050ff70
add esp, 0x18
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x514dfe
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x514df4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x514e1c
push edx
push ecx
call fcn.0051def4
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.0051deb6
mov esp, ebp
pop ebp
ret
call fcn.0052981f
int3