Function at 0x14003d990
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x548
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x538], rax
mov r13, r9
mov rdi, r8
mov esi, edx
mov rbp, rcx
mov qword [rsp + 0xa8], 7
xor r14d, r14d
mov qword [rsp + 0xa0], r14
mov word [rsp + 0x90], r14w
lea r8d, [r14 + 0x43]
lea rdx, str.PSWindowsInstallerUtilities::PSWIUTIL_MsiGetConditionComponentsList
lea rcx, [rsp + 0x88]
call fcn.140001870
nop
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
lea rax, str.Function_start
mov qword [rsp + 0x20], rax
lea edx, [r14 + 0x32]
lea r8d, [r14 + 1]
mov rcx, rbp
call fcn.1400144a0
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0xb0]
call fcn.14003df40
mov r8, rax
xor edx, edx
mov rcx, r13
call fcn.140046f80
mov r9, rdi
lea r8, str.SELECT_Component_FROM_Component_WHERE__Condition__s
mov edx, 0x104
lea rcx, [rsp + 0x320]
call fcn.140066ef4
lea ebx, [r14 + 1]
mov rax, qword [0x1400d51b8]
test rax, rax
je 0x14003da97
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x320]
mov ecx, esi
call rax
mov ebx, eax
test ebx, ebx
jne 0x14003de41
mov rax, qword [0x1400d5170]
test rax, rax
je 0x14003dde0
lea ecx, [rbx + 0xa]
call rax
mov r12d, eax
test eax, eax
je 0x14003dde0
mov ebx, 1
mov rax, qword [0x1400d51a8]
test rax, rax
je 0x14003dadb
mov edx, r12d
mov ecx, dword [rsp + 0x40]
call rax
mov ebx, eax
test ebx, ebx
jne 0x14003dd82
mov dword [rsp + 0x44], r14d
lea r15, str.MsiRecordGetStringW
lea rsi, str.Error___i__return_by_function___s_
nop word [rax + rax]
mov rax, qword [0x1400d51a0]
test rax, rax
je 0x14003ddc9
lea rdx, [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call rax
test eax, eax
jne 0x14003ddc9
mov word [rsp + 0x110], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x112]
call fcn.1400719a0
mov dword [rsp + 0x48], 0x104
mov ebx, 1
mov rax, qword [0x1400d5198]
test rax, rax
je 0x14003db71
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x110]
mov edx, ebx
mov ecx, dword [rsp + 0x44]
call rax
mov ebx, eax
cmp r14w, word [rsp + 0x110]
je 0x14003dd3f
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], r14
mov word [rsp + 0xb8], r14w
mov ecx, 8
call fcn.140065e94
test rax, rax
je 0x14003dbb9
lea rcx, [rsp + 0xd8]
mov qword [rax], rcx
jmp 0x14003dbbc
mov rax, r14
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], r14
mov qword [rsp + 0x100], r14
mov byte [rsp + 0x108], 0
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.140038cb0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x110]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xb0]
call fcn.140001870
lea rdx, [rsp + 0xb0]
mov rcx, r13
call fcn.140046510
test ebx, ebx
je 0x14003dcda
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, rbp
call fcn.1400144a0
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
lea rax, [rsp + 0x110]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
lea rax, str.Parameter___i_:__s
mov qword [rsp + 0x20], rax
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, rbp
call fcn.1400144a0
nop
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0xd8]
call fcn.140026d60
nop
mov rcx, qword [rsp + 0xd8]
call fcn.140065920
nop
cmp qword [rsp + 0xd0], 8
jb 0x14003dd1b
mov rcx, qword [rsp + 0xb8]
call fcn.140065920
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x14003db00
mov rax, qword [0x1400d5178]
test rax, rax
je 0x14003dd35
call rax
mov dword [rsp + 0x44], r14d
jmp 0x14003db00
test ebx, ebx
je 0x14003ddc9
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, rbp
call fcn.1400144a0
jmp 0x14003ddc9
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
lea rax, str.MsiViewExecute
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
lea rsi, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rsi
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, rbp
call fcn.1400144a0
mov rax, qword [0x1400d5178]
test rax, rax
je 0x14003de88
mov ecx, r12d
call rax
jmp 0x14003de2d
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
lea rax, str.MsiCreateRecord
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
lea rsi, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rsi
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, rbp
call fcn.1400144a0
mov ebx, 0x8000ffff
mov rax, qword [0x1400d5178]
test rax, rax
je 0x14003de88
mov ecx, dword [rsp + 0x40]
call rax
jmp 0x14003de88
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
lea rax, str.MsiDatabaseOpenViewW
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
lea rsi, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rsi
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, rbp
call fcn.1400144a0
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
mov dword [rsp + 0x28], ebx
lea rax, str.Return_code__0x_x_
mov qword [rsp + 0x20], rax
mov edx, 0x28
lea r8d, [rdx - 0x27]
mov rcx, rbp
call fcn.1400144a0
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
lea rax, str.Function_end
mov qword [rsp + 0x20], rax
mov edx, 0x32
lea r8d, [rdx - 0x31]
mov rcx, rbp
call fcn.1400144a0
nop
cmp qword [rsp + 0xa8], 8
jb 0x14003df17
mov rcx, qword [rsp + 0x90]
call fcn.140065920
mov eax, ebx
jmp 0x14003df19
mov eax, ebx
mov rcx, qword [rsp + 0x538]
xor rcx, rsp
call fcn.140064b70
add rsp, 0x548
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret