Function at 0x42affa
Capabilities:
Create process on windows

Disassembly:
push 0xb4
mov eax, 0x4ae748
call fcn.00469d7c
mov dword [ebp - 0x60], ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x4c]
mov esi, dword [ebp + 8]
push str.InstallProductExe...
mov dword [ebp - 0x64], ebx
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
xor ecx, ecx
push 0
inc ecx
call fcn.00414da1
pop ecx
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___file__
lea ecx, [ebp - 0x4c]
call fcn.00402829
xor eax, eax
lea edx, [ebp - 0x4c]
inc eax
push 0
push esi
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.00414670
pop ecx
pop ecx
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___args__
lea ecx, [ebp - 0x4c]
call fcn.00402829
xor ecx, ecx
mov dword [ebp - 4], 2
push 0
push ebx
lea edx, [ebp - 0x4c]
inc ecx
call fcn.00414670
pop ecx
pop ecx
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp + 0x10]
push 3
pop ebx
cmp byte [eax], 0
je 0x42b0e1
push str.IDS_TITLE_INSTALLING_UPDATES
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4d], 0
call fcn.00402829
lea eax, [ebp - 0x4d]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040cd54
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0
push 0x80
push ebx
push 0
push 1
push 0x120089
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x34
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004821b0
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x42b16c
test dword [ebp - 0x44], 0x440
je 0x42b16c
push esi
lea eax, [ebp - 0x60]
push str.Lock_file_for_validation_failed__unexpected_file_attributes:
push eax
call fcn.004023f1
add esp, 0xc
mov esi, 0x3ee
mov dword [ebp - 4], 4
push esi
push eax
push 0x1fc98
mov ecx, 0x5163b4
call fcn.00412f33
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
call fcn.00402e64
jmp 0x42b571
mov dword [ebp - 0x78], ebx
mov dword [ebp - 4], 5
test ebx, ebx
je 0x42b52f
cmp ebx, edi
je 0x42b52f
push str.2_16_17_18_19_52_53_54_63_68_81_82_83_84_85_86_87_88_89_90_91_92_93_97
lea ecx, [ebp - 0x4c]
call fcn.00402829
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 6
cmp byte [eax], 0
je 0x42b286
call fcn.0044ff01
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402899
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.00449d60
mov edi, eax
test edi, edi
jne 0x42b24a
call fcn.0044ff01
push eax
lea ecx, [ebp - 0x54]
call fcn.00402899
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x60]
push eax
push dword [esi]
add ecx, 0x18
call fcn.00455f16
mov eax, dword [ebp - 0x54]
cmp dword [eax - 0xc], edi
jne 0x42b226
push str.Failed_to_get_original_file_path_from:
lea ecx, [ebp - 0x48]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 9
push edi
push esi
lea edx, [ebp - 0x48]
inc ecx
call fcn.00414670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or eax, 0xffffffff
mov edi, eax
jmp 0x42b23b
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x54]
call fcn.00449d60
mov edi, eax
push 0xffffffffffffffff
test edi, edi
pop eax
cmove edi, eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x5c]
mov ecx, 0x515f84
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00440dbd
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402e14
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [ebp - 0x4c]
mov ecx, dword [esi]
mov edx, edi
call fcn.0042f307
pop ecx
test eax, eax
je 0x42b308
push esi
lea eax, [ebp - 0x60]
push str.Validate_file_failed__invalid_signature:
push eax
call fcn.004023f1
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x1fc98
mov ecx, 0x5163b4
call fcn.00412f33
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x4d]
mov byte [ebp - 0x4d], 0
push eax
push 0
push 0x4cb86c
push str.Signature_Validation_Error
mov ecx, 0x515e58
call fcn.0040a290
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, 0x3ee
jmp 0x42b566
push str.Will_launch_valid
lea ecx, [ebp - 0x48]
call fcn.00402829
push 0
push esi
push 2
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
pop ecx
call fcn.00414670
pop ecx
pop ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x44
pop edi
push edi
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004821b0
add esp, 0xc
mov dword [ebp - 0xc0], edi
lea eax, [ebp - 0x74]
push 0x10
push 0
push eax
call fcn.004821b0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x54], eax
push 0
mov esi, 0x4cb1d0
mov byte [ebp - 4], 0xd
push esi
lea ecx, [ebp - 0x54]
call fcn.00409bee
cmp eax, 0xffffffff
jne 0x42b3e3
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.004023f1
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xe
push eax
call fcn.00402459
add esp, 0xc
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x54]
call fcn.00402e14
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [ebp - 0x64]
lea eax, [ebp - 0x64]
push 0x4cc598
push eax
call fcn.004023f1
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x54]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x64]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
mov esi, dword [eax - 0xc]
inc esi
push esi
call fcn.00402bd2
push esi
lea ecx, [ebp - 0x54]
mov edi, eax
call fcn.00402c5f
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xc0]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42b46e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CreateProcess_failed__exit_code:
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], eax
call fcn.00402829
mov byte [ebp - 4], 0x12
jmp 0x42b4c7
or eax, 0xffffffff
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42b4b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GetExitCodeProcess_failed_with_exit_code:
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], eax
call fcn.00402829
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x48]
push dword [ebp - 0x58]
xor ecx, ecx
inc ecx
call fcn.00414da1
jmp 0x42b4d5
push str.Process_exit_code:
lea ecx, [ebp - 0x48]
call fcn.00402829
mov byte [ebp - 4], 0x14
push dword [ebp - 0x58]
lea edx, [ebp - 0x48]
push 2
pop ecx
call fcn.00414e8a
pop ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x74], 0
je 0x42b4f4
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x70], 0
je 0x42b503
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
lea ecx, [ebp - 0x54]
push eax
call fcn.0040a1b8
cmp dword [ebp - 0x58], 0xbc2
jne 0x42b51f
mov eax, dword [ebp - 0x60]
and dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x4c]
jmp 0x42b55b
push esi
lea eax, [ebp - 0x48]
push str.Validate_file_failed__invalid_file_handle:
push eax
call fcn.004023f1
add esp, 0xc
mov byte [ebp - 4], 0x15
mov ecx, 0x5163b4
push dword [ebp - 0x58]
push eax
push 0x1fc98
call fcn.00412f33
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, dword [ebp - 0x58]
test ebx, ebx
je 0x42b571
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.00469d26
ret 0x10