Function at 0x1004e050
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8566
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x10129fb4]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
test esi, esi
jne 0x1004e095
mov eax, 1
jmp 0x1004e2f5
cmp word [esi], 0
je 0x1004e08b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004e0a0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x1004e08b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004e0cc
mov eax, 2
jmp 0x1004e2f5
cmp dword [ebp + 0x14], 0
je 0x1004e1ac
push ebx
push esi
call fcn.10092560
add esp, 8
test eax, eax
jne 0x1004e1ac
call fcn.1006cd40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1004e1a2
push 0x5c
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicutils.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000b040
push 3
push 0x100f2f40
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000b040
mov byte [ebp - 4], 1
call fcn.1006cd40
mov edi, eax
lea ecx, [ebp - 0x110]
push 0xf2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007ce0
mov esi, eax
push str.CheckDigitalSign_Failed
push esi
mov byte [ebp - 4], 2
call fcn.10005ac0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.100090e0
lea ecx, [ebp - 0x28]
call fcn.10008880
lea ecx, [ebp - 0x40]
call fcn.10008880
mov eax, 3
jmp 0x1004e2f5
lea ecx, [ebp - 0x74]
call fcn.10030b60
push edi
push esi
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 3
push str.__s___s
push eax
call fcn.10014d00
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x1004e209
mov eax, dword [ebp - 0x74]
cmp dword [eax - 4], 1
jle 0x1004e1eb
push dword [eax - 0xc]
lea ecx, [ebp - 0x74]
call fcn.10009880
mov eax, dword [ebp - 0x74]
push 0
push 0
push 0
push 0
push 0xa
push eax
call fcn.1004f9c0
add esp, 0x18
test eax, eax
je 0x1004e209
xor ebx, ebx
jmp 0x1004e2eb
push 0xa
push 0
push edi
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
mov dword [ebp - 0x78], eax
cmp eax, 0x20
setg bl
call fcn.1006cd40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1004e2e5
push 0x5c
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicutils.cc
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.1000b040
push 3
push 0x100f2f40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000b040
mov byte [ebp - 4], 5
call fcn.1006cd40
mov edi, eax
lea ecx, [ebp - 0x1a8]
push 0x102
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10007ce0
mov esi, eax
push str.ShellExecuteW_return_value:
push esi
mov byte [ebp - 4], 6
call fcn.10009020
add esp, 8
mov ecx, esi
push dword [ebp - 0x78]
call fcn.10014360
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.100090e0
lea ecx, [ebp - 0x58]
call fcn.10008880
lea ecx, [ebp - 0x70]
call fcn.10008880
xor ebx, 1
shl ebx, 2
lea ecx, [ebp - 0x74]
call fcn.100086c0
mov eax, ebx
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.1009e81e
mov esp, ebp
pop ebp
ret