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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48fd78
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.0041e470
mov ecx, eax
call fcn.00467370
mov eax, 0x4383e0
lea ecx, [esp + 0x24]
lea esi, [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call fcn.00439df0
mov ecx, esi
mov dword [esp + 0x58], 0
call fcn.004831a0
mov eax, esi
push eax
lea edi, [ebx + 0xf0]
mov dword [esp + 0x5c], 1
call fcn.0043b770
mov ecx, esi
mov dword [esp + 0x58], 2
call fcn.00482bc0
or edi, 0xffffffff
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4381dd
mov esi, eax
add eax, 4
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x4381dd
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.004026c0
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x438232
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.00401c30
mov dword [esp + 0x58], 4
mov ecx, dword [0x4c9e04]
test ecx, ecx
je 0x438276
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x438276
push ecx
push eax
call fcn.00469844
add esp, 8
test eax, eax
je 0x438276
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, edi
jne 0x438296
sub esp, 0x20
mov esi, esp
mov dword [esp + 0x38], esp
mov eax, 0x439290
push ebx
push eax
call fcn.00439d20
call fcn.0041f7c0
push eax
call fcn.0041fa60
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 0x4382b9
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 0x4382e7
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov dword [esp + 0x58], 5
call fcn.004133a0
push 0x495040
call fcn.004689fe
add esp, 4
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x18]
push ecx
call fcn.0041ef60
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.004145c0
mov byte [esp + 0x58], 7
mov ecx, dword [eax]
mov eax, dword [ebx + 0x9c]
mov esi, dword [esi]
test eax, eax
je 0x43832a
push esi
push ecx
mov ebx, eax
call fcn.00448460
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 0x43834e
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 0x43836f
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 0x438395
call fcn.00452560
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.00452560
movzx eax, al
jmp 0x4383ba
mov ecx, dword [ebx + 0x34]
call fcn.00452560
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.00452560
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.0046873b
mov esp, ebp
pop ebp
ret