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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101020ff
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x10146fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.10009850
mov ecx, eax
test ecx, ecx
je 0x100508df
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
push dword [esi]
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push str.__url__s_
push eax
call fcn.10014ea0
lea eax, [ebp - 0x50]
push eax
call fcn.100500b0
add esp, 0x10
push dword [ebp - 0x50]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100502da
mov esi, dword [ebp - 0x4c]
xor edi, edi
jmp 0x10050884
push dword [ebp - 0x50]
call fcn.100a66b0
add esp, 4
test eax, eax
jne 0x100502f3
mov esi, dword [ebp - 0x4c]
xor edi, edi
jmp 0x10050884
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
push eax
call fcn.100096b0
add eax, 0x10
mov dword [ebp - 0x54], eax
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x54]
push esi
push dword [ebp - 0x50]
mov byte [ebp - 4], 2
push str.__s___s
push eax
call fcn.10014ea0
mov edi, dword [ebp - 0x54]
add esp, 0x14
cmp dword [edi - 4], 1
jle 0x10050338
push dword [edi - 0xc]
lea ecx, [ebp - 0x54]
call fcn.100097a0
mov edi, dword [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
xor eax, eax
movlpd qword [ebp - 0x98], xmm0
mov word [ebp - 0x5a], ax
mov eax, 0xa
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x6a], xmm0
movlpd qword [ebp - 0x62], xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x9c], 0x44
mov dword [ebp - 0x70], 0x81
mov word [ebp - 0x6c], ax
call fcn.10055ed0
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1005057d
push 0x1010eff0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x100503c0
push 0x1010eff0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10050413
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10050413
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push 0
push 0
push 0
push edi
push 0
push 0
push dword [ebp - 0x44]
call eax
test eax, eax
je 0x10050413
cmp dword [ebp - 0x20], 0
je 0x10050413
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10050413
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48], 1
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x48], 0
je 0x1005057d
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 0x10050571
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 byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000af60
mov byte [ebp - 4], 4
call fcn.1007bb70
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x134]
push 0x69
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007c00
mov dword [ebp - 0x44], eax
push str._CreateExplorPrivilegeProcess_run_MiniBrowser_success:
push eax
mov byte [ebp - 4], 5
call fcn.10008f40
test edi, edi
mov ecx, str._null_
cmovne ecx, edi
push ecx
push dword [ebp - 0x44]
call fcn.10005ad0
push 0x10113030
push dword [ebp - 0x44]
call fcn.10008f40
mov ecx, dword [ebp - 0x48]
add esp, 0x18
mov eax, dword [ecx]
push dword [ebp - 0x44]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10009000
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x10050527
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005051d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508e9
push edx
push ecx
call fcn.100b2b4e
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10050571
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10050567
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508ee
push edx
push ecx
call fcn.100b2b4e
add esp, 8
mov dword [ebp - 0x48], 1
jmp 0x10050865
cmp dword [esi - 4], 1
jle 0x10050591
push dword [esi - 0xc]
lea ecx, [ebp - 0x4c]
call fcn.100097a0
mov esi, dword [ebp - 0x4c]
push 0xa
push 0
push esi
push dword [ebp - 0x50]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov dword [ebp - 0x48], ecx
jle 0x10050708
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 0x10050865
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 byte [ebp - 4], 6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000af60
mov byte [ebp - 4], 7
call fcn.1007bb70
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x134]
push 0x71
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007c00
mov dword [ebp - 0x44], eax
push str._run_MiniBrowser_success:
push eax
mov byte [ebp - 4], 8
call fcn.10008f40
test edi, edi
mov ecx, str._null_
cmovne ecx, edi
push ecx
push dword [ebp - 0x44]
call fcn.10005ad0
push 0x10113030
push dword [ebp - 0x44]
call fcn.10008f40
mov ecx, dword [ebp - 0x58]
add esp, 0x18
mov eax, dword [ecx]
push dword [ebp - 0x44]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10009000
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x100506b5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100506ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508f3
push edx
push ecx
call fcn.100b2b4e
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10050865
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100506f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508f8
push edx
push ecx
call fcn.100b2b4e
add esp, 8
jmp 0x10050865
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 0x10050865
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 byte [ebp - 4], 9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000af60
mov byte [ebp - 4], 0xa
call fcn.1007bb70
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x134]
push 0x73
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007c00
mov dword [ebp - 0x44], eax
push str._run_MiniBrowser_failed:
push eax
mov byte [ebp - 4], 0xb
call fcn.10008f40
test edi, edi
mov ecx, str._null_
cmovne ecx, edi
push ecx
push dword [ebp - 0x44]
call fcn.10005ad0
push 0x10113030
push dword [ebp - 0x44]
call fcn.10008f40
mov ecx, dword [ebp - 0x58]
add esp, 0x18
mov eax, dword [ecx]
push dword [ebp - 0x44]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10009000
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x10050809
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100507ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508fd
push edx
push ecx
call fcn.100b2b4e
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10050853
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10050849
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050902
push edx
push ecx
call fcn.100b2b4e
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10050881
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100508a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100508c2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2ecd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009640
call fcn.100d1c1a
call fcn.100d1c1a
call fcn.100d1c1a
call fcn.100d1c1a
call fcn.100d1c1a
call fcn.100d1c1a
int3