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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f848
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4bf1d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
call fcn.0041df50
mov ecx, eax
call fcn.00466f30
mov eax, 0x437e30
lea ecx, [esp + 0x24]
lea esi, [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call fcn.00439840
mov ecx, esi
mov dword [esp + 0x58], 0
call fcn.00482d40
mov eax, esi
push eax
lea edi, [ebx + 0xf0]
mov dword [esp + 0x5c], 1
call fcn.0043b1f0
mov ecx, esi
mov dword [esp + 0x58], 2
call fcn.00482760
or edi, 0xffffffff
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x437c2d
mov esi, eax
add eax, 4
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x437c2d
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___A0xc9569018___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], 3
mov edx, dword [0x4c9a08]
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 0x437c82
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 [0x4c9e04]
test ecx, ecx
je 0x437cc6
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x437cc6
push ecx
push eax
call fcn.004693f4
add esp, 8
test eax, eax
je 0x437cc6
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, edi
jne 0x437ce6
sub esp, 0x20
mov esi, esp
mov dword [esp + 0x38], esp
mov eax, 0x438cd0
push ebx
push eax
call fcn.00439770
call fcn.0041f2a0
push eax
call fcn.0041f540
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 0x437d09
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 0x437d37
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov dword [esp + 0x58], 5
call fcn.00413510
push 0x494b40
call fcn.004685be
add esp, 4
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x18]
push ecx
call fcn.0041ea40
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.00414730
mov byte [esp + 0x58], 7
mov ecx, dword [eax]
mov eax, dword [ebx + 0x9c]
mov esi, dword [esi]
test eax, eax
je 0x437d7a
push esi
push ecx
mov ebx, eax
call fcn.00448670
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 0x437d9e
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 0x437dbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x3c]
cmp dword [ebx + 0x44], ecx
jne 0x437de5
call fcn.00451f00
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx + 0x2c]
mov edx, dword [ebx + 0x34]
mov dword [edx + 0x28], eax
mov ecx, dword [ebx + 0x34]
call fcn.00451f00
movzx eax, al
jmp 0x437e0a
mov ecx, dword [ebx + 0x34]
call fcn.00451f00
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x3c]
mov byte [esp + 0x17], al
mov eax, dword [ecx + 0x2c]
mov dword [edx + 0x28], eax
mov ecx, dword [ebx + 0x3c]
call fcn.00451f00
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.004682fb
mov esp, ebp
pop ebp
ret