Function at 0x140045080
Capabilities:
Resume thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov r14, rcx
call fcn.14006e628
xor r12d, r12d
test rax, rax
je 0x1400450c8
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.msi.dll_Migrate10CachedPackagesW]
test rax, rax
je 0x1400450c8
mov rbx, qword [rax + 0x40]
jmp 0x1400450cb
mov rbx, r12
mov rcx, qword [0x140311f50]
test rcx, rcx
je 0x1400450f3
lea rdx, str.SetProgressState
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400450f3
mov edx, 1
mov rcx, rbx
call rax
lea rax, vtable.CUtlXProperty.0
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.SetupXML.dll_public:_void___cdecl_CXMLFileManagerInterface::constructor_void____ptr64]
lea rax, vtable.CUtlX.0
mov qword [rbp - 0x48], rax
mov edx, 2
lea rcx, [rbp - 0x48]
call qword [sym.imp.SetupXML.dll_public:_void___cdecl_CXMLFileManagerInterface::SetFileIndex_enum_XMLFILENAMES____ptr64]
nop
lea rdx, [rbp + 0xa8]
mov rcx, r14
call fcn.140041260
nop
mov r8, qword [rax]
lea rdx, str.Str.ProgressTotalText.Complete
lea rcx, [r14 + 0x20]
call fcn.1400536a0
nop
mov rdx, qword [rbp + 0xa8]
add rdx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
lock add dword [rdx + 0x10], edi
jg 0x140045165
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140069614
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x140045185
mov ecx, 0x80004005
call fcn.140011b60
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.140069614
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400451b7
mov ecx, 0x80004005
call fcn.140011b60
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x68], rax
call fcn.140069614
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400451e9
mov ecx, 0x80004005
call fcn.140011b60
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rax, qword [r14 + 0x48]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r12
mov rax, qword [r14]
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [rax + reloc.msi.dll_MsiEnumClientsA]
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x60]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14004526f
cmp dword [rbx + 0x10], 0
jl 0x140045260
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140045260
call fcn.1400116e0
mov rsi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140045255
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x14004526f
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.140011b80
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045287
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.140043ca0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x68]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400452ed
cmp dword [rbx + 0x10], 0
jl 0x1400452de
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400452de
call fcn.1400116e0
mov rsi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x1400452d3
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x68], rax
jmp 0x1400452ed
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140011b80
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045305
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r14]
lea rdx, [rbp - 0x58]
mov rcx, r14
call qword [rax + reloc.msi.dll_MsiEnumClientsA]
nop
mov rbx, qword [rax]
call fcn.140069614
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x140045336
mov ecx, 0x80004005
call fcn.140011b60
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 8], rax
lea rax, vtable.CUtlCommonPath.0
mov qword [rbp - 0x10], rax
mov dword [rbp], r12d
test rbx, rbx
jne 0x140045360
mov eax, r12d
jmp 0x14004536d
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140045363
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.140011b80
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045395
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x10]
call fcn.14003e4a0
nop
mov r8, qword [rax]
lea rdx, str.tracker_fail
lea rcx, [r14 + 0x20]
call fcn.1400536a0
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400453cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [r14 + 0x48], 0
je 0x140045410
mov rax, qword [r14]
lea rdx, [rbp - 0x78]
mov rcx, r14
call qword [rax + MsiGetFeatureCostA]
nop
mov r8, qword [rax]
lea rdx, str.Executable_s
mov ecx, 0x93000000
call qword [r14 + MsiGetSummaryInformationW]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045410
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.14006e628
test rax, rax
je 0x14004542b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.msi.dll_Migrate10CachedPackagesW]
mov r13, rax
jmp 0x14004542e
mov r13, r12
lea r8, str.ICA.UILevel
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x50]
call fcn.140053520
nop
mov rcx, qword [rbp + 0xa0]
call fcn.1401f4aa0
mov esi, eax
lea ecx, [rax - 2]
cmp ecx, 3
jbe 0x140045522
mov esi, 5
call fcn.140069614
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x140045485
mov ecx, 0x80004005
call fcn.140011b60
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x98], rax
lea rdx, [0x140296e0c]
test rdx, 0xffffffffffff0000
jne 0x1400454cc
movzx ebx, dx
mov ecx, ebx
call fcn.140069024
test rax, rax
je 0x1400454dc
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.140011830
jmp 0x1400454dc
xor r8d, r8d
lea rcx, [rbp + 0x98]
call fcn.140011b80
nop
mov r8d, esi
lea rdx, [0x14029709c]
lea rcx, [rbp + 0x98]
call fcn.140011640
mov rbx, qword [rbp + 0x98]
mov r8, rbx
lea rdx, str.ICA.UILevel
lea rcx, [rbp - 0x50]
call fcn.1400536a0
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045522
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0xa0]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004553d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp esi, 2
jle 0x140045680
test r13, r13
je 0x140045680
mov ecx, 0x120
call fcn.140068190
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14004556f
mov rcx, rax
call fcn.14006c3d4
mov r15, rax
jmp 0x140045572
mov r15, r12
mov rax, qword [r13 + 0x40]
mov r10, qword [r15]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x40000000
lea r9, str.ICA___Hidden_Window___Threader
lea r8, str.32770
mov edx, 0x200
mov rcx, r15
call qword [r10 + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [fcn.1400457f0]
call fcn.14006e4ec
mov rsi, rax
mov dword [rax + 0x50], r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor edx, edx
mov rcx, r15
call fcn.1400783ac
mov dword [rbp + 0x90], 0x103
nop word [rax + rax]
lea rdx, [rbp + 0x90]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [rbp + 0x90]
cmp ebx, 0x103
jne 0x140045662
lea edx, [rbx - 9]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [rbp + 0x90]
cmp ebx, 0x103
je 0x140045620
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004568c
lea rcx, [rsp + 0x60]
call fcn.1400457f0
mov ebx, eax
cmp ebx, 0xbc2
jne 0x1400456aa
lea rdx, str.ignorereboot
mov rcx, r14
call qword [sym.imp.SetupXML.dll_public:_bool___cdecl_CXMLFileManagerInterface::GetAttributeBool_wchar_t_const____ptr64____ptr64]
test al, al
cmovne ebx, r12d
lea rdx, str.ignorereturn
mov rcx, r14
call qword [sym.imp.SetupXML.dll_public:_bool___cdecl_CXMLFileManagerInterface::GetAttributeBool_wchar_t_const____ptr64____ptr64]
test al, al
cmovne ebx, r12d
mov rax, qword [r14]
mov edx, ebx
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r14 + 0x48]
test rax, rax
je 0x1400456e6
mov r8d, ebx
lea rdx, [0x14029709c]
mov ecx, 0x94000000
call rax
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400456ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045718
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045731
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004574c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rax, vtable.CUtlXProperty.0
mov qword [rbp - 0x50], rax
lea rax, vtable.CUtlX.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.SetupXML.dll_public_virtual:_void___cdecl_CXMLFileManagerInterface::destructor_void____ptr64]
mov eax, ebx
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret