Function at 0x40f100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487d2c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b81d0]
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 edi, ecx
call fcn.0041ae40
mov ecx, eax
call fcn.00460b30
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x40f169
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov dword [ebp - 4], 0
call fcn.0041b230
push 0x48d640
call fcn.0046219f
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.0041c390
push 0x4c31ac
lea ecx, [ebp - 0x18]
mov esi, sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
mov dword [ebp - 4], 1
call fcn.0041b5c0
test eax, eax
je 0x40f23e
test byte [0x4c37a0], 1
mov ebx, 2
jne 0x40f1c6
or dword [0x4c37a0], 1
mov byte [ebp - 4], bl
call fcn.0041dc80
push 0x48dad0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], 1
cmp dword [0x4c3754], 0
jne 0x40f1d5
mov dword [0x4c3754], ebx
test byte [0x4c37a0], 1
jne 0x40f1ff
or dword [0x4c37a0], 1
mov byte [ebp - 4], 3
call fcn.0041dc80
push 0x48dad0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], 1
mov ecx, 0x4c3730
call fcn.00460b30
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f237
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40f4b9
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0041e270
lea edx, [ebp - 0x1c]
mov bl, 4
push edx
mov byte [ebp - 4], bl
call fcn.0041e530
test byte [0x4c37a0], 1
jne 0x40f27e
or dword [0x4c37a0], 1
mov byte [ebp - 4], 5
call fcn.0041dc80
push 0x48dad0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], bl
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x4c3744], eax
call fcn.00416c00
test eax, eax
je 0x40f299
call fcn.00416c90
test byte [0x4c37a0], 1
jne 0x40f2c2
or dword [0x4c37a0], 1
mov byte [ebp - 4], 6
call fcn.0041dc80
push 0x48dad0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], bl
call esi
test byte [0x4c37a0], 1
mov dword [0x4c3748], eax
jne 0x40f2f2
or dword [0x4c37a0], 1
mov byte [ebp - 4], 7
call fcn.0041dc80
push 0x48dad0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], bl
push 0
push 2
push 0
push 0
push str._d_d_d_d
push 0x4c3738
call fcn.0040c330
add esp, 0x18
test byte [0x4c37a0], 1
jne 0x40f335
or dword [0x4c37a0], 1
mov byte [ebp - 4], 8
call fcn.0041dc80
push 0x48dad0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], bl
call esi
mov ecx, edi
mov dword [0x4c374c], eax
call fcn.0041a040
push str._startbyinstall
lea ecx, [ebp - 0x14]
call fcn.00401c40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f372
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, edi
call fcn.0041a150
mov ecx, sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.0041d410
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401c40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f3b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [0x4c37a0], 1
mov edi, 1
jne 0x40f3e3
or dword [0x4c37a0], edi
mov byte [ebp - 4], 0x37
call fcn.0041dc80
push 0x48dad0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x4c37a0], 1
mov dword [0x4c3750], eax
jne 0x40f416
or dword [0x4c37a0], edi
mov byte [ebp - 4], 0x38
call fcn.0041dc80
push 0x48dad0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], bl
cmp dword [0x4c3754], 0
jne 0x40f425
mov dword [0x4c3754], esi
test byte [0x4c37a0], 1
jne 0x40f44d
or dword [0x4c37a0], edi
mov byte [ebp - 4], 0x39
call fcn.0041dc80
push 0x48dad0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], bl
mov ecx, 0x4c3730
call fcn.00460b30
xor ecx, ecx
test esi, esi
sete cl
xor edx, edx
mov esi, ecx
test esi, esi
sete dl
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f491
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f4b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.00461edc
mov esp, ebp
pop ebp
ret