Function at 0x402960
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43793a
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x449828]
xor eax, esp
mov dword [esp + 0x170], eax
push esi
mov eax, dword [0x449828]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0x188], 0
call fcn.004030f0
mov byte [esp + 0x184], 1
call fcn.00405d08
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4029d3
push 0x80004005
call fcn.00401120
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallFF66E9F6_83E7_3A3E_AF14_8DE9A809A6A4
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x18c], 2
call fcn.00403180
test eax, eax
jne 0x402bbf
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall9B775AA1_7B10_379A_9B16_7E373790568C
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
call fcn.00403180
test eax, eax
jne 0x402bbf
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall9A25302D_30C0_39D9_BD6F_21E6EC160475
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
call fcn.00403180
test eax, eax
jne 0x402bbf
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall887868A2_D6DE_3255_AA92_AA0B5A59B874
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
call fcn.00403180
test eax, eax
jne 0x402bbf
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall1F1C2DFC_2D24_3E06_BCB8_725134ADF989
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
call fcn.00403180
test eax, eax
jne 0x402bbf
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall9BE518E6_ECC6_35A9_88E4_87755C07200F
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
call fcn.00403180
test eax, eax
jne 0x402bbf
lea ecx, [esp + 8]
call fcn.004015d0
push str.vcredist_x86.exe
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 3
call fcn.00401af0
lea ecx, [esp + 0x74]
push ecx
push 0x104
mov byte [esp + 0x18c], 4
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x10]
push str._s_s
push ecx
call fcn.00402610
push str._common_down_vcredist_x86.exe
lea edx, [esp + 0x1a0]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00402630
add esp, 0x1c
mov ecx, dword [esp + 0xc]
push 0
push 0
push ecx
mov byte [esp + 0x190], 5
call fcn.00406393
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00402000
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x190], 6
call fcn.00402000
mov byte [esp + 0x18c], 5
call fcn.00402020
add esp, 8
test eax, eax
je 0x402ba4
push 0x3c
lea ecx, [esp + 0x3c]
push 0
push ecx
call fcn.00423520
mov edx, dword [esp + 0x14]
add esp, 0xc
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 0x3c
mov dword [esp + 0x48], str.open
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], str._q:a__c:_msiexec__i_vcredist.msi__qn__lv__temp__vcredist_x86.log_
mov dword [esp + 0x58], 0
mov dword [esp + 0x40], 0x140
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [esp + 0x70]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0xc]
call fcn.00401600
lea ecx, [esp + 0x10]
call fcn.00401600
lea ecx, [esp + 8]
call fcn.00401600
lea eax, [esi - 0x10]
mov byte [esp + 0x184], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402be3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 0
call fcn.00403130
mov eax, dword [esp + 0x18c]
add eax, 0xfffffff0
mov dword [esp + 0x184], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.00422cfe
add esp, 0x180
ret