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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5447f9
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x595534]
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, ecx
push 0xfffffffffffffff0
call fcn.005106f0
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
call edi
and eax, 0xff3effff
mov ecx, esi
push eax
push 0xfffffffffffffff0
call fcn.005106f0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea ebx, [esi + 0x30]
push str.showshadow
mov ecx, ebx
mov dword [ebp - 0x98], ebx
call fcn.0042f480
test eax, eax
je 0x416b4d
push str.true
push eax
call fcn.005265ee
add esp, 8
push 0xfffffffffffffff0
mov ecx, esi
call fcn.005106f0
push eax
call edi
and eax, 0xff3effff
mov ecx, esi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.005106f0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
mov ecx, esi
call fcn.005106f0
push eax
call edi
and eax, 0xfffffff7
mov ecx, esi
push eax
push 0xffffffffffffffec
call fcn.005106f0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x91
mov ecx, esi
call fcn.0044e620
push str.winCtn
mov ecx, ebx
call fcn.0042e8c0
push str.titleTabLt
mov ecx, ebx
mov dword [esi + 0x958], eax
call fcn.0042e8c0
push str.mainTabLt
mov ecx, ebx
mov dword [esi + 0x91c], eax
call fcn.0042e8c0
push str.defaultInstallBtn
mov ecx, ebx
mov dword [esi + 0x918], eax
call fcn.0042e8c0
push str.customeInstallBtn
mov ecx, ebx
mov dword [esi + 0x920], eax
call fcn.0042e8c0
push str.customeBtn
mov ecx, ebx
mov dword [esi + 0x924], eax
call fcn.0042e8c0
push str.treatyBtn
mov ecx, ebx
mov dword [esi + 0x928], eax
call fcn.0042e8c0
push str.backBtn
mov ecx, ebx
mov dword [esi + 0x92c], eax
call fcn.0042e8c0
push str.treatyCb
mov ecx, ebx
mov dword [esi + 0x930], eax
call fcn.0042e8c0
push str.serviceCb
mov ecx, ebx
mov dword [esi + 0x938], eax
call fcn.0042e8c0
push str.chDirBtn
mov ecx, ebx
mov dword [esi + 0x93c], eax
call fcn.0042e8c0
push str.installDirEdit
mov ecx, ebx
mov dword [esi + 0x940], eax
call fcn.0042e8c0
push str.openProduceBtn
mov ecx, ebx
mov dword [esi + 0x94c], eax
call fcn.0042e8c0
mov dword [esi + 0x934], eax
push str.ableftBtn
mov ecx, ebx
call fcn.0042e8c0
push str.abrightBtn
mov ecx, ebx
mov dword [esi + 0x944], eax
call fcn.0042e8c0
push str.titleGrpCtn
mov ecx, ebx
mov dword [esi + 0x948], eax
call fcn.0042e8c0
push str.progressLb
mov ecx, ebx
mov dword [esi + 0x954], eax
call fcn.0042e8c0
push str.createDSCb
mov ecx, ebx
mov dword [esi + 0x950], eax
call fcn.0042e8c0
push str.createQSCb
mov ecx, ebx
mov dword [esi + 0x95c], eax
call fcn.0042e8c0
push str.progressAnLb
mov ecx, ebx
mov dword [esi + 0x960], eax
call fcn.0042e8c0
push str.finishedLbl
mov ecx, ebx
mov dword [esi + 0x964], eax
call fcn.0042e8c0
push str.installPrg
mov ecx, ebx
mov dword [esi + 0x968], eax
call fcn.0042e8c0
push str.tipLbl
mov ecx, ebx
mov dword [esi + 0x97c], eax
call fcn.0042e8c0
push str.softNameLbl
mov ecx, ebx
mov dword [esi + 0x978], eax
call fcn.0042e8c0
push str.installLogo
mov ecx, ebx
mov dword [esi + 0x96c], eax
call fcn.0042e8c0
push str.languageCombo
mov ecx, ebx
mov dword [esi + 0x970], eax
call fcn.0042e8c0
mov dword [esi + 0x974], eax
test eax, eax
je 0x416d7f
mov ecx, esi
call fcn.0041bb50
mov ecx, dword [esi + 0x96c]
test ecx, ecx
je 0x416de4
call fcn.0042c690
mov ecx, dword [esi + 0x96c]
mov ebx, eax
call fcn.00474e80
mov ecx, esi
mov edi, eax
call fcn.005106f0
push eax
call dword [sym.imp.USER32.dll_GetDC]
push ebx
push edi
push 0x57ebf0
lea ebx, [esi + 0x30]
push ebx
push eax
call fcn.0043fa50
mov ecx, dword [esi + 0x96c]
add esp, 0x14
mov dword [ebp - 0x90], edx
mov edx, dword [ecx]
push eax
call dword [edx + 0xa4]
mov ecx, dword [esi + 0x96c]
push 0x57ebf0
mov eax, dword [ecx]
call dword [eax + 0x38]
push str.bTitleLbl1
mov ecx, ebx
call fcn.0042e8c0
push str.bTitleLbl2
mov ecx, ebx
mov dword [ebp - 0x20], eax
call fcn.0042e8c0
push str.bTitleLbl3
mov ecx, ebx
mov dword [ebp - 0x1c], eax
call fcn.0042e8c0
mov dword [ebp - 0x18], eax
mov ecx, 3
lea eax, [ebp - 0x20]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x74], eax
mov edi, dword [eax]
test edi, edi
je 0x416e81
mov ecx, edi
call fcn.0042c690
mov ecx, edi
mov ebx, eax
call fcn.00474e80
mov ecx, esi
mov edi, eax
call fcn.005106f0
push eax
call dword [sym.imp.USER32.dll_GetDC]
push ebx
push edi
push 0x57ebf0
lea ecx, [esi + 0x30]
push ecx
push eax
call fcn.0043fa50
mov edx, dword [ebp - 0x74]
add esp, 0x14
mov edi, dword [edx]
mov ecx, edi
push eax
mov edx, dword [edi]
call dword [edx + 0xa4]
mov eax, dword [edi]
mov ecx, edi
push 0x57ebf0
call dword [eax + 0x38]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x90]
add eax, 4
sub ecx, 1
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x90], ecx
jne 0x416e22
push 0xd0
call fcn.004ffa30
mov edi, eax
mov dword [ebp - 0x90], edi
push 0xd0
push 0
push edi
mov dword [ebp - 4], 0
call fcn.004fb6e0
add esp, 0x10
mov ecx, edi
push 1
push 1
push 1
push 0x57d188
push 0x57d188
push 0x57d188
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_class__lambda_3505f79a7c3738e13025ddda0bca1763___class_std::allocator_int___void__int__double__wchar_t_const__.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], eax
call fcn.0040e5a0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov dword [esi + 0xa24], eax
call fcn.0041ad90
cmp dword [esi + 0x9f8], 0
je 0x416f2a
cmp dword [esi + 0x9fc], 8
lea eax, [esi + 0x9e8]
jb 0x416f16
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416f2a
mov byte [esi + 0xa48], 1
jmp 0x416f31
mov byte [esi + 0xa48], 0
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.0041a300
mov dword [ebp - 4], 1
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov ecx, dword [esi + 0x94c]
cmovae eax, dword [ebp - 0x70]
push 1
push eax
call fcn.004504a0
cmp byte [esi + 0xa48], 0
je 0x4174f8
sub esp, 0x18
lea ebx, [esi + 0x9e8]
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x416f9a
mov eax, dword [ecx]
jmp 0x416f9c
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push ebx
mov word [eax], dx
call fcn.00403220
lea ecx, [esi + 0x30]
call fcn.004228d0
mov ecx, dword [esi + 0x974]
add esp, 0x18
test ecx, ecx
je 0x416fd1
mov edx, dword [ecx + 0x740]
add ecx, 0x740
push 0
push eax
call dword [edx + 0xc]
xor eax, eax
mov dword [ebp - 0x44], 7
push eax
push 0x57d188
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00403120
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae ecx, dword [ebp - 0x58]
call fcn.0040e9b0
test eax, eax
jne 0x41704f
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], eax
mov word [ebp - 0x8c], ax
call fcn.00403220
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x417218
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.004017e0
jmp 0x417218
cmp byte [0x59b178], 0
jne 0x4174cb
push 0x57ef08
lea ecx, [ebp - 0x40]
call fcn.00402fd0
push 0xffffffffffffffff
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x244]
push 0x57d188
mov dword [ebp - 0x24c], 4
mov dword [ebp - 0x248], 0x93
call fcn.00429480
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x12
call fcn.00429480
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x13
call fcn.00402fd0
mov edi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.00402fd0
mov ebx, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x15
mov ecx, edi
call fcn.0041c020
push eax
push 0
lea eax, [ebp - 0x8c]
mov ecx, ebx
push eax
call fcn.0041bfe0
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
jb 0x4170ff
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x13c]
call fcn.00429480
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x417128
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.004017e0
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x7c], 0
cmp eax, 8
jb 0x417154
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004017e0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x417186
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.004017e0
xor eax, eax
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov ecx, esi
push 0x57ef48
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.005106f0
lea edx, [ebp - 0x24c]
mov ecx, eax
call fcn.00429190
add esp, 8
lea ecx, [ebp - 0x13c]
call fcn.004295e0
lea ecx, [ebp - 0x1c0]
call fcn.004295e0
lea ecx, [ebp - 0x244]
call fcn.004295e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x417209
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004017e0
push 1
mov ecx, esi
call fcn.0044e070
lea ebx, [esi + 0x9e8]
cmp byte [0x59b178], 0
jne 0x4174cb
push 0xffffffffffffffff
push 0x57d188
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x24c], 4
mov dword [ebp - 0x248], 0x93
call fcn.00429480
push 0xffffffffffffffff
push 0x57ef54
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x18
call fcn.00429480
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x8c]
push 0x17
xor eax, eax
mov dword [ebp - 0x78], 7
push 0x57ef54
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
call fcn.00403120
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x28]
push 0x17
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x57ef54
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403120
push 1
sub esp, 8
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x8c]
call fcn.0041c020
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041bfe0
mov byte [ebp - 4], 0x1c
cmp dword [eax + 0x14], 8
jb 0x4172e4
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x13c]
call fcn.00429480
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x417307
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004017e0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x417330
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004017e0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x41735f
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.004017e0
xor eax, eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
push eax
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1d
call fcn.005106f0
lea edx, [ebp - 0x24c]
mov ecx, eax
call fcn.00429190
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
mov edi, eax
call fcn.004295e0
lea ecx, [ebp - 0x1c0]
call fcn.004295e0
lea ecx, [ebp - 0x244]
call fcn.004295e0
cmp edi, 1
jne 0x4174b7
push 0x57d880
mov edx, ebx
lea ecx, [ebp - 0xb0]
call fcn.0040ad30
push 0x57d188
mov edx, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
call fcn.00410310
mov ecx, eax
lea edi, [esi + 0x988]
add esp, 8
mov dword [ebp - 0x90], ecx
cmp edi, ecx
je 0x41743e
cmp dword [edi + 0x14], 8
jb 0x417417
mov eax, dword [edi + 0x14]
mov ecx, edi
inc eax
push eax
push dword [edi]
call fcn.004017e0
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x41742f
mov eax, dword [edi]
jmp 0x417431
mov eax, edi
xor edx, edx
push ecx
mov ecx, edi
mov word [eax], dx
call fcn.00403470
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x417453
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004017e0
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x417489
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.004017e0
cmp dword [edi + 0x14], 8
jb 0x417491
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x417499
mov ebx, dword [ebx]
push 1
push ebx
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
mov ecx, esi
call fcn.0044e070
jmp 0x4174df
test edi, edi
je 0x4174cb
cmp edi, 2
jne 0x4174df
push 1
mov ecx, esi
call fcn.0044e070
jmp 0x4174df
cmp dword [ebx + 0x14], 8
jb 0x4174d3
mov ebx, dword [ebx]
push 1
push 1
push ebx
mov ecx, esi
call fcn.00417750
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4174f8
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004017e0
call fcn.00450660
mov ecx, dword [ebp - 0x98]
push eax
call fcn.00434400
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x41751e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004017e0
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.004ff9ee
mov esp, ebp
pop ebp
ret