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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010177f
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x10145fb4]
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 0x1005089f
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.10014e70
lea eax, [ebp - 0x50]
push eax
call fcn.10050070
add esp, 0x10
push dword [ebp - 0x50]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1005029a
mov esi, dword [ebp - 0x4c]
xor edi, edi
jmp 0x10050844
push dword [ebp - 0x50]
call fcn.100a5d20
add esp, 4
test eax, eax
jne 0x100502b3
mov esi, dword [ebp - 0x4c]
xor edi, edi
jmp 0x10050844
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.10014e70
mov edi, dword [ebp - 0x54]
add esp, 0x14
cmp dword [edi - 4], 1
jle 0x100502f8
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.10055e90
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1005053d
push 0x1010df80
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x10050380
push 0x1010df80
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100503d3
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100503d3
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 0x100503d3
cmp dword [ebp - 0x20], 0
je 0x100503d3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100503d3
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 0x1005053d
call fcn.1007b1e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10050531
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 0x1010ccec
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.1007b1e0
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 0x10111fc0
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 0x100504e7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100504dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508a9
push edx
push ecx
call fcn.100b21ce
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 0x10050531
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10050527
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508ae
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov dword [ebp - 0x48], 1
jmp 0x10050825
cmp dword [esi - 4], 1
jle 0x10050551
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 0x100506c8
call fcn.1007b1e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10050825
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 0x1010ccec
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.1007b1e0
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 0x10111fc0
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 0x10050675
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005066b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508b3
push edx
push ecx
call fcn.100b21ce
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 0x10050825
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100506b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508b8
push edx
push ecx
call fcn.100b21ce
add esp, 8
jmp 0x10050825
call fcn.1007b1e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10050825
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 0x1010ccec
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.1007b1e0
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 0x10111fc0
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 0x100507c9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100507bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508bd
push edx
push ecx
call fcn.100b21ce
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 0x10050813
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10050809
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100508c2
push edx
push ecx
call fcn.100b21ce
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 0x10050841
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 0x10050863
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 0x10050882
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.100b254d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009640
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
int3