Function at 0x449910
Capabilities:
Accept command line arguments
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x496d08
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
call fcn.00421720
mov ecx, eax
call fcn.0046d280
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
call fcn.0041d560
mov eax, 0x449bf0
lea ecx, [esp + 0x24]
lea esi, [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call fcn.0044b1e0
mov ecx, esi
mov dword [esp + 0x58], 0
call fcn.00489340
mov eax, esi
push eax
lea edi, [ebx + 0xe8]
mov dword [esp + 0x5c], 1
call fcn.00425360
mov ecx, esi
mov dword [esp + 0x58], 2
call fcn.00488d60
or edi, 0xffffffff
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4499ec
mov esi, eax
add eax, 4
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x4499ec
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0xe488c774___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], 3
mov edx, dword [0x4cfa0c]
push edx
mov esi, 0x320
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.004026e0
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x449a41
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x2c]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
call fcn.00401c40
mov dword [esp + 0x58], 4
mov ecx, dword [0x4cff38]
test ecx, ecx
je 0x449a85
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x449a85
push ecx
push eax
call fcn.0046f9a4
add esp, 8
test eax, eax
je 0x449a85
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, edi
jne 0x449aa5
sub esp, 0x20
mov esi, esp
mov dword [esp + 0x38], esp
mov eax, 0x44ab00
push ebx
push eax
call fcn.0044b180
call fcn.004264c0
push eax
call fcn.00426790
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449ac8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x449af6
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov dword [esp + 0x58], 5
call fcn.00421c30
push 0x49cbd0
call fcn.0046eb48
add esp, 4
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x18]
push ecx
call fcn.00425b60
mov esi, eax
lea edx, [esp + 0x1c]
push edx
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
mov dword [esp + 0x60], 6
call fcn.00422f20
mov byte [esp + 0x58], 7
mov ecx, dword [eax]
mov eax, dword [ebx + 0x90]
mov esi, dword [esi]
test eax, eax
je 0x449b39
push esi
push ecx
mov ebx, eax
call fcn.00457220
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x58], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449b5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x449b7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x34]
cmp dword [ebx + 0x3c], ecx
jne 0x449ba4
call fcn.00457a90
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx + 0x2c]
mov edx, dword [ebx + 0x2c]
mov dword [edx + 0x28], eax
mov ecx, dword [ebx + 0x2c]
call fcn.00457a90
movzx eax, al
jmp 0x449bc9
mov ecx, dword [ebx + 0x2c]
call fcn.00457a90
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
mov byte [esp + 0x17], al
mov eax, dword [ecx + 0x2c]
mov dword [edx + 0x28], eax
mov ecx, dword [ebx + 0x34]
call fcn.00457a90
movzx eax, byte [esp + 0x17]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0046e885
mov esp, ebp
pop ebp
ret