Function at 0x14001aa80
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x1401730f8]
xor rax, rsp
mov qword [rbp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal], rax
mov r12, rdx
mov rdi, rcx
cmp byte [rcx + 0x7aa], 0
je 0x14001ab9d
cmp byte [0x140173b48], 0
jne 0x14001aae5
cmp byte [0x14017bbb1], 0
je 0x14001b169
lea rsi, [0x140102478]
mov qword [rbp + 0x10], rsi
lea r14, [0x1401025f8]
mov qword [rbp + 0x50], r14
xor r9d, r9d
lea rdx, str.SetupEngine.cpp
lea rcx, [rbp + 0x10]
call fcn.140006ab0
nop
mov qword [rbp - 0x40], rsi
mov qword [rbp], r14
xor r9d, r9d
lea rdx, str.Engine:_setup_is_running_silent__skip_UI_init
lea rcx, [rbp - 0x40]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x14001ab54
cmp byte [0x14017bbb1], 0
jne 0x14001ab46
call fcn.140099320
test al, al
je 0x14001ab4d
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x14001ab85
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
mov r8d, 0x131
call fcn.140099810
nop
lea rcx, [rbp - 0x40]
call fcn.140004280
nop
lea rcx, [rbp + 0x10]
call fcn.140004280
jmp 0x14001b169
lea rsi, [0x140102478]
lea r14, [0x1401025f8]
lea r15, str.SetupEngine.cpp
cmp byte [0x140173b48], 0
jne 0x14001abc8
cmp byte [0x14017bbb1], 0
je 0x14001ac69
mov qword [rbp - 0x40], rsi
mov qword [rbp], r14
xor r9d, r9d
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.140006ab0
nop
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x50], r14
xor r9d, r9d
lea rdx, str.Engine:_initializing_UI
lea rcx, [rbp + 0x10]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x14001ac25
cmp byte [0x14017bbb1], 0
jne 0x14001ac17
call fcn.140099320
test al, al
je 0x14001ac1e
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x14001ac56
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rcx, qword [rbp + 0x18]
mov r8d, VarBstrCmp
call fcn.140099810
nop
lea rcx, [rbp + 0x10]
call fcn.140004280
nop
lea rcx, [rbp - 0x40]
call fcn.140004280
mov byte [rdi + 0x6a8], 0
mov rdx, r12
mov rcx, rdi
call fcn.14001b1f0
lea rax, [0x140102478]
mov qword [rbp + 0x10], rax
lea rax, [0x1401025f8]
mov qword [rbp + 0x50], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, str.ShowModernUI
lea rcx, [rbp + 0x10]
call fcn.140003cb0
nop
lea rcx, [rdi + 0x460]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x40]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
xor r13d, r13d
test rax, rax
lea rcx, [rax + 8]
jne 0x14001accf
mov ecx, r13d
lea rdx, [0x140109678]
call fcn.14000e920
test eax, eax
sete bl
lea rcx, [rbp - 0x40]
call fcn.1400048d0
nop
lea rcx, [rbp + 0x10]
call fcn.1400048d0
test bl, bl
je 0x14001aeaa
lea rbx, [0x140102478]
mov qword [rbp - 0x40], rbx
lea rax, [0x1401025f8]
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 8], eax
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r13
mov word [rbp - 0x38], r13w
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov ecx, dword [rbp + rcx]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov qword [rbp + 0x10], rbx
lea rax, [0x1401025f8]
mov qword [rbp + 0x50], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, str.SOFTWAREMicrosoftNet_Framework_SetupNDP_v4
lea rcx, [rbp + 0x10]
call fcn.140003cb0
nop
lea rax, vtable.CConditionValueTypeConverter.0
mov qword [rbp + 0x60], rax
lea rax, vtable.CRegistryProvider.0
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x70], 0xffffffff80000002
lea rax, [rbp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x78], rbx
lea rax, [0x1401025f8]
mov qword [rbp + 0xb8], rax
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x78]
call fcn.140006eb0
nop
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0xc8], rbx
lea rax, [0x1401025f8]
mov qword [rbp + 0x108], rax
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xc8]
call fcn.140006eb0
nop
mov byte [rbp + 0x118], 0
lea rcx, [rbp + 0x60]
call fcn.14005bb50
nop
lea rcx, [rbp + 0x10]
call fcn.1400048d0
lea rcx, [rbp + 0x60]
call fcn.1400151c0
test al, al
jne 0x14001ae6a
lea rcx, vtable.std::exception.0
mov qword [rsp + 0x40], rcx
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rcx, vtable.bootstrap_exception.0
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x58], 0x80040702
lea rax, vtable.ui_resource_exception.0
mov qword [rsp + 0x40], rax
lea rdx, [0x14016fe78]
lea rcx, [rsp + 0x40]
call fcn.1400b5470
nop
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0xc8]
call fcn.1400048d0
nop
lea rax, [rbp + 0x78]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x78]
call fcn.1400048d0
nop
lea rax, vtable.CConditionValueTypeConverter.0
mov qword [rbp + 0x60], rax
lea rcx, [rbp - 0x40]
call fcn.1400048d0
xor edx, edx
mov rcx, r12
call fcn.14006a600
mov ebx, eax
test eax, eax
jns 0x14001afbb
cmp byte [0x140173b48], 0
jne 0x14001aed4
cmp byte [0x14017bbb1], 0
je 0x14001af75
mov qword [rbp - 0x40], rsi
mov qword [rbp], r14
xor r9d, r9d
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.140006ab0
nop
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x50], r14
xor r9d, r9d
lea rdx, str.Failed_to_initialize_UI_resource
lea rcx, [rbp + 0x10]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x14001af31
cmp byte [0x14017bbb1], 0
jne 0x14001af23
call fcn.140099320
test al, al
je 0x14001af2a
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x14001af62
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rcx, qword [rbp + 0x18]
mov r8d, 0x146
call fcn.140099810
nop
lea rcx, [rbp + 0x10]
call fcn.140004280
nop
lea rcx, [rbp - 0x40]
call fcn.140004280
lea rcx, vtable.std::exception.0
mov qword [rsp + 0x40], rcx
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rcx, vtable.bootstrap_exception.0
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x58], ebx
lea rax, vtable.ui_resource_exception.0
mov qword [rsp + 0x40], rax
lea rdx, [0x14016fe78]
lea rcx, [rsp + 0x40]
call fcn.1400b5470
int3
mov qword [rsp + 0x68], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x60], r13
lea rcx, [rdi + 0x2b0]
mov r9, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [0x140109858]
call qword [r9]
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
lea rcx, [0x140113828]
call qword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
test eax, eax
jns 0x14001b032
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x154
mov r8d, eax
lea rdx, str.Attempted_marshal_of_bootstrap_unknown_failed__error_0x_08x
lea rcx, [rsp + 0x40]
call fcn.14000b8a0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], r12
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x60], rax
mov byte [rbp - 0x58], 0
lea rax, [rdi + 0x8e0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [rbp - 0x70]
lea r8, [0x140029eb0]
xor edx, edx
xor ecx, ecx
call fcn.1400bb7b8
mov qword [rdi + 0x8e8], rax
mov rcx, rbx
call fcn.14003af90
cmp byte [rbp - 0x58], 1
jne 0x14001b134
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x162
lea rdx, str.UI_thread_init_failed
lea rcx, [rsp + 0x40]
call fcn.14000b8a0
mov rdx, qword [rdi + 0x8e8]
call fcn.14002a200
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x14001b134
lea rdx, [rsp + 0x34]
mov rcx, qword [rdi + 0x8e8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x169
mov r8d, dword [rsp + 0x34]
lea rdx, str.UI_thread_exit_code:_0x_08x
lea rcx, [rsp + 0x40]
call fcn.14000b8a0
mov eax, dword [rsp + 0x34]
lea rcx, vtable.std::exception.0
mov qword [rsp + 0x70], rcx
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rcx
lea rcx, vtable.bootstrap_exception.0
mov qword [rsp + 0x70], rcx
mov dword [rbp - 0x78], eax
lea rax, vtable.ui_resource_exception.0
mov qword [rsp + 0x70], rax
lea rdx, [0x14016fe78]
lea rcx, [rsp + 0x70]
call fcn.1400b5470
int3
mov byte [rdi + 0x6a8], 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001b14c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
test rbx, rbx
je 0x14001b169
cmp qword [sym.imp.KERNEL32.dll_CloseHandle], 0
je 0x14001b169
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], r13
mov rcx, qword [rbp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal]
xor rcx, rsp
call fcn.1400b31f0
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret