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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b5c88
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4ed4e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
call fcn.00454a00
mov eax, 0x454f00
lea ecx, [esp + 0x24]
lea esi, [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call fcn.00456ff0
mov ecx, esi
mov dword [esp + 0x58], 0
call fcn.004a7610
mov eax, esi
push eax
lea edi, [ebx + 0xe8]
mov dword [esp + 0x5c], 1
call fcn.00458870
mov ecx, esi
mov dword [esp + 0x58], 2
call fcn.004a7030
or edi, 0xffffffff
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x454cf6
mov esi, eax
add eax, 4
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x454cf6
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___A0xeeb07827___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], 3
mov edx, dword [0x4fe508]
push edx
mov esi, 0x320
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.00402660
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x454d4b
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.00401bb0
mov dword [esp + 0x58], 4
mov ecx, dword [0x4fe978]
test ecx, ecx
je 0x454d8f
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x454d8f
push ecx
push eax
call fcn.00486644
add esp, 8
test eax, eax
je 0x454d8f
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, edi
jne 0x454daf
sub esp, 0x20
mov esi, esp
mov dword [esp + 0x38], esp
mov eax, 0x456260
push ebx
push eax
call fcn.00456d80
call fcn.0042bf00
push eax
call fcn.0042c1a0
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 0x454dd2
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 0x454e00
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov dword [esp + 0x58], 5
call fcn.0041f0a0
push 0x4bb280
call fcn.00485809
add esp, 4
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x18]
push ecx
call fcn.0042bab0
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.00420410
mov byte [esp + 0x58], 7
mov ecx, dword [eax]
mov eax, dword [ebx + 0x94]
mov esi, dword [esi]
test eax, eax
je 0x454e43
push esi
push ecx
mov ebx, eax
call fcn.004646d0
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 0x454e67
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 0x454e88
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 0x454eae
call fcn.0046eab0
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.0046eab0
movzx eax, al
jmp 0x454ed3
mov ecx, dword [ebx + 0x2c]
call fcn.0046eab0
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.0046eab0
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.00485532
mov esp, ebp
pop ebp
ret