Function at 0x14003e020
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4f0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov r14, r8
mov r15d, edx
mov r13, rcx
mov qword [r11 - 0x478], 7
xor edi, edi
mov qword [r11 - 0x480], rdi
mov word [rsp + 0x98], di
lea r8d, [rdi + 0x41]
lea rdx, str.PSWindowsInstallerUtilities::PSWIUTIL_MsiGetComponentFeaturesList
lea rcx, [r11 - 0x498]
call fcn.140001870
nop
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae r9, qword [rsp + 0x98]
lea rax, str.Function_start
mov qword [rsp + 0x20], rax
lea edx, [rdi + 0x32]
lea r8d, [rdi + 1]
mov rcx, r13
call fcn.1400144a0
mov ebx, edi
mov rdi, qword [r14 + 0x18]
cmp rdi, qword [r14 + 0x20]
jbe 0x14003e0da
call fcn.1400679f0
mov rax, qword [r14]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdi
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r12, str.Error___i__return_by_function___s_
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [r14 + 0x20]
cmp qword [r14 + 0x18], rdi
jbe 0x14003e112
call fcn.1400679f0
test rbp, rbp
je 0x14003e11c
cmp rbp, qword [r14]
je 0x14003e121
call fcn.1400679f0
cmp rsi, rdi
je 0x14003e530
xor edi, edi
mov dword [rsp + 0x40], edi
test rbp, rbp
jne 0x14003e13f
call fcn.1400679f0
mov rdx, rdi
jmp 0x14003e143
mov rdx, qword [rbp]
cmp rsi, qword [rdx + 0x20]
jb 0x14003e14e
call fcn.1400679f0
cmp qword [rsi + 0x20], 8
jb 0x14003e15b
mov r9, qword [rsi + 8]
jmp 0x14003e15f
lea r9, [rsi + 8]
lea r8, str.SELECT_Feature__FROM_FeatureComponents_WHERE__Component___s
mov edx, 0x104
lea rcx, [rsp + 0x2d0]
call fcn.140066ef4
mov ebx, 1
mov rax, qword [0x1400d51b8]
test rax, rax
je 0x14003e19d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x2d0]
mov ecx, r15d
call rax
mov ebx, eax
test ebx, ebx
jne 0x14003e4c2
mov rax, qword [0x1400d5170]
test rax, rax
je 0x14003e469
lea ecx, [rbx + 0xa]
call rax
mov r12d, eax
test eax, eax
je 0x14003e462
mov ebx, 1
mov rax, qword [0x1400d51a8]
test rax, rax
je 0x14003e1e1
mov edx, r12d
mov ecx, dword [rsp + 0x40]
call rax
mov ebx, eax
test ebx, ebx
jne 0x14003e404
mov dword [rsp + 0x44], edi
nop dword [rax]
mov rax, qword [0x1400d51a0]
test rax, rax
je 0x14003e44b
lea rdx, [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call rax
test eax, eax
jne 0x14003e44b
mov word [rsp + 0xc0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xc2]
call fcn.1400719a0
mov dword [rsp + 0x48], 0x104
mov ebx, 1
mov rax, qword [0x1400d5198]
test rax, rax
je 0x14003e260
lea r9, [rsp + 0x48]
lea r8, [rsp + 0xc0]
mov edx, ebx
mov ecx, dword [rsp + 0x44]
call rax
mov ebx, eax
cmp di, word [rsp + 0xc0]
je 0x14003e3b3
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xc0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x60]
call fcn.140001870
nop
test rbp, rbp
jne 0x14003e2c0
call fcn.1400679f0
xor edi, edi
mov rdx, rdi
jmp 0x14003e2c6
mov rdx, qword [rbp]
xor edi, edi
cmp rsi, qword [rdx + 0x20]
jb 0x14003e2d1
call fcn.1400679f0
lea rcx, [rsi + 0x28]
lea rdx, [rsp + 0x60]
call fcn.140009190
nop
cmp qword [rsp + 0x80], 8
jb 0x14003e2f5
mov rcx, qword [rsp + 0x68]
call fcn.140065920
test ebx, ebx
je 0x14003e390
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae r9, qword [rsp + 0x98]
lea rax, str.MsiRecordGetStringW
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
lea rax, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rax
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, r13
call fcn.1400144a0
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae r9, qword [rsp + 0x98]
lea rax, [rsp + 0xc0]
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, r13
call fcn.1400144a0
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x14003e1f0
mov rax, qword [0x1400d5178]
test rax, rax
je 0x14003e3aa
call rax
mov dword [rsp + 0x44], edi
jmp 0x14003e1f0
test ebx, ebx
je 0x14003e44b
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae r9, qword [rsp + 0x98]
lea rax, str.MsiRecordGetStringW
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
lea rax, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rax
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, r13
call fcn.1400144a0
jmp 0x14003e44b
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae r9, qword [rsp + 0x98]
lea rax, str.MsiViewExecute
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
lea rax, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rax
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, r13
call fcn.1400144a0
mov rax, qword [0x1400d5178]
test rax, rax
je 0x14003e502
mov ecx, r12d
call rax
jmp 0x14003e4ae
lea r12, str.Error___i__return_by_function___s_
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae r9, qword [rsp + 0x98]
lea rax, str.MsiCreateRecord
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, r13
call fcn.1400144a0
mov ebx, 0x8000ffff
mov rax, qword [0x1400d5178]
test rax, rax
je 0x14003e502
mov ecx, dword [rsp + 0x40]
call rax
jmp 0x14003e502
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae r9, qword [rsp + 0x98]
lea rax, str.MsiDatabaseOpenViewW
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, r13
call fcn.1400144a0
test rbp, rbp
jne 0x14003e511
call fcn.1400679f0
mov rdx, rdi
jmp 0x14003e515
mov rdx, qword [rbp]
cmp rsi, qword [rdx + 0x20]
jb 0x14003e520
call fcn.1400679f0
add rsi, 0x60
lea r12, str.Error___i__return_by_function___s_
jmp 0x14003e103
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae r9, qword [rsp + 0x98]
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, r13
call fcn.1400144a0
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae r9, qword [rsp + 0x98]
lea rax, str.Function_end
mov qword [rsp + 0x20], rax
mov edx, 0x32
lea r8d, [rdx - 0x31]
mov rcx, r13
call fcn.1400144a0
nop
cmp qword [rsp + 0xb0], 8
jb 0x14003e5bf
mov rcx, qword [rsp + 0x98]
call fcn.140065920
mov eax, ebx
jmp 0x14003e5c1
mov eax, ebx
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140064b70
mov rbx, qword [rsp + 0x548]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret