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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e51e6
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x10124b64]
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 0x1004d7e5
mov eax, 1
jmp 0x1004da45
cmp word [esi], 0
je 0x1004d7db
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004d7f0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x1004d7db
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004d81c
mov eax, 2
jmp 0x1004da45
cmp dword [ebp + 0x14], 0
je 0x1004d8fc
push ebx
push esi
call fcn.1008f1c0
add esp, 8
test eax, eax
jne 0x1004d8fc
call fcn.1006e7e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1004d8f2
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.1000ba10
push 3
push 0x100eef08
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.1000ba10
mov byte [ebp - 4], 1
call fcn.1006e7e0
mov edi, eax
lea ecx, [ebp - 0x110]
push 0xf2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100082f0
mov esi, eax
push str.CheckDigitalSign_Failed
push esi
mov byte [ebp - 4], 2
call fcn.100059b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.100096f0
lea ecx, [ebp - 0x28]
call fcn.10008e90
lea ecx, [ebp - 0x40]
call fcn.10008e90
mov eax, 3
jmp 0x1004da45
lea ecx, [ebp - 0x74]
call fcn.1002f9e0
push edi
push esi
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 3
push str.__s___s
push eax
call fcn.100149e0
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x1004d959
mov eax, dword [ebp - 0x74]
cmp dword [eax - 4], 1
jle 0x1004d93b
push dword [eax - 0xc]
lea ecx, [ebp - 0x74]
call fcn.10009f70
mov eax, dword [ebp - 0x74]
push 0
push 0
push 0
push 0
push 0xa
push eax
call fcn.1004f790
add esp, 0x18
test eax, eax
je 0x1004d959
xor ebx, ebx
jmp 0x1004da3b
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.1006e7e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1004da35
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.1000ba10
push 3
push 0x100eef08
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.1000ba10
mov byte [ebp - 4], 5
call fcn.1006e7e0
mov edi, eax
lea ecx, [ebp - 0x1a8]
push 0x102
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100082f0
mov esi, eax
push str.ShellExecuteW_return_value:
push esi
mov byte [ebp - 4], 6
call fcn.10009630
add esp, 8
mov ecx, esi
push dword [ebp - 0x78]
call fcn.10014120
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.100096f0
lea ecx, [ebp - 0x58]
call fcn.10008e90
lea ecx, [ebp - 0x70]
call fcn.10008e90
xor ebx, 1
shl ebx, 2
lea ecx, [ebp - 0x74]
call fcn.10008cd0
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.1009b46e
mov esp, ebp
pop ebp
ret