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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10102266
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x10146fb4]
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 0x100511e5
mov eax, 1
jmp 0x10051445
cmp word [esi], 0
je 0x100511db
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100511f0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x100511db
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1005121c
mov eax, 2
jmp 0x10051445
cmp dword [ebp + 0x14], 0
je 0x100512fc
push ebx
push esi
call fcn.100a6290
add esp, 8
test eax, eax
jne 0x100512fc
call fcn.1007bb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100512f2
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.1000af60
push 3
push 0x1010dcec
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.1000af60
mov byte [ebp - 4], 1
call fcn.1007bb70
mov edi, eax
lea ecx, [ebp - 0x110]
push 0xf6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007c00
mov esi, eax
push str.CheckDigitalSign_Failed
push esi
mov byte [ebp - 4], 2
call fcn.10005ad0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10009000
lea ecx, [ebp - 0x28]
call fcn.100087a0
lea ecx, [ebp - 0x40]
call fcn.100087a0
mov eax, 3
jmp 0x10051445
lea ecx, [ebp - 0x74]
call fcn.10033990
push edi
push esi
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 3
push str.__s___s
push eax
call fcn.10014ea0
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x10051359
mov eax, dword [ebp - 0x74]
cmp dword [eax - 4], 1
jle 0x1005133b
push dword [eax - 0xc]
lea ecx, [ebp - 0x74]
call fcn.100097a0
mov eax, dword [ebp - 0x74]
push 0
push 0
push 0
push 0
push 0xa
push eax
call fcn.10055c20
add esp, 0x18
test eax, eax
je 0x10051359
xor ebx, ebx
jmp 0x1005143b
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.1007bb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10051435
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.1000af60
push 3
push 0x1010dcec
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.1000af60
mov byte [ebp - 4], 5
call fcn.1007bb70
mov edi, eax
lea ecx, [ebp - 0x1a8]
push 0x106
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10007c00
mov esi, eax
push str.ShellExecuteW_return_value:
push esi
mov byte [ebp - 4], 6
call fcn.10008f40
add esp, 8
mov ecx, esi
push dword [ebp - 0x78]
call fcn.10014500
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.10009000
lea ecx, [ebp - 0x58]
call fcn.100087a0
lea ecx, [ebp - 0x70]
call fcn.100087a0
xor ebx, 1
shl ebx, 2
lea ecx, [ebp - 0x74]
call fcn.100085e0
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.100b2ecd
mov esp, ebp
pop ebp
ret