Function at 0x417497
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x455a85
call fcn.0043dd63
push str.InstallProductExe...
lea ecx, [ebp - 0x14]
call fcn.0040215a
xor edi, edi
push edi
lea eax, [ebp - 0x14]
xor esi, esi
push eax
inc esi
push esi
mov dword [ebp - 4], edi
call fcn.0040ece1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push str.___file__
lea ecx, [ebp - 0x14]
call fcn.0040215a
push edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0040e85b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
push str.___args__
lea ecx, [ebp - 0x14]
call fcn.0040215a
push edi
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0040e85b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp + 8]
call fcn.00429517
pop ecx
test eax, eax
jne 0x41754e
push 0xd
pop eax
jmp 0x417715
mov esi, dword [0x48eafc]
mov dword [ebp - 0x10], edi
cmp esi, edi
je 0x417576
mov ecx, dword [ebp + 0xc]
push str._ARM
call fcn.00408d87
test eax, eax
je 0x417576
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x178]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.0043c330
add esp, 0xc
push 0x10
lea eax, [ebp - 0x28]
push edi
push eax
mov dword [ebp - 0x70], esi
call fcn.0043c330
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0040219e
mov ebx, 0x45ea84
push ebx
xor ecx, ecx
lea esi, [ebp + 8]
mov dword [ebp - 4], 3
call fcn.00408c65
cmp eax, 0xffffffff
jne 0x417612
mov eax, esi
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00401e97
add esp, 0xc
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.00408cf6
add esp, 0xc
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00408fd2
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0x461e08
push eax
call fcn.00401e97
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00401f30
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push edi
push edi
push edi
push edi
push edi
inc eax
push edi
push eax
lea ecx, [ebp + 8]
call fcn.00417f05
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x417691
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x28], edi
je 0x417685
push dword [ebp - 0x28]
call esi
cmp dword [ebp - 0x24], edi
je 0x4176e7
push dword [ebp - 0x24]
call esi
jmp 0x4176e7
push 0xffffffffffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4176e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GetExitCodeProcess_failed_with_exit_code:
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], eax
call fcn.0040215a
mov byte [ebp - 4], 8
push dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
push 1
call fcn.0040ece1
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408ee8
cmp dword [ebp - 0x28], edi
je 0x4176fb
push dword [ebp - 0x28]
call esi
cmp dword [ebp - 0x24], edi
je 0x417705
push dword [ebp - 0x24]
call esi
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
call fcn.0043de3b
ret 8