Function at 0x14003d500
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x4e8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov r12, r9
mov rdi, r8
mov esi, edx
mov rbp, rcx
mov qword [rsp + 0xa0], 7
xor r13d, r13d
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], r13w
lea r8d, [r13 + 0x3e]
lea rdx, str.PSWindowsInstallerUtilities::PSWIUTIL_MsiGetComponentFilesList
lea rcx, [rsp + 0x80]
call fcn.140001870
nop
lea r9, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae r9, qword [rsp + 0x88]
lea rax, str.Function_start
mov qword [rsp + 0x20], rax
lea edx, [r13 + 0x32]
lea r8d, [r13 + 1]
mov rcx, rbp
call fcn.1400144a0
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r13
mov word [rsp + 0x58], r13w
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, r12
call fcn.140038cb0
mov r9, rdi
lea r8, str.SELECT_FileName_FROM_File_WHERE__Component___s
mov edx, 0x104
lea rcx, [rsp + 0x2c0]
call fcn.140066ef4
lea ebx, [r13 + 1]
mov rax, qword [0x1400d51b8]
test rax, rax
je 0x14003d60c
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x2c0]
mov ecx, esi
call rax
mov ebx, eax
test ebx, ebx
jne 0x14003d88f
mov rax, qword [0x1400d5170]
test rax, rax
je 0x14003d82e
lea ecx, [rbx + 0xa]
call rax
mov esi, eax
test eax, eax
je 0x14003d82e
mov ebx, 1
mov rax, qword [0x1400d51a8]
test rax, rax
je 0x14003d64e
mov edx, esi
mov ecx, dword [rsp + 0x40]
call rax
mov ebx, eax
test ebx, ebx
jne 0x14003d7d1
mov dword [rsp + 0x44], r13d
nop dword [rax + rax]
mov rax, qword [0x1400d51a0]
test rax, rax
je 0x14003d818
lea rdx, [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call rax
test eax, eax
jne 0x14003d818
mov word [rsp + 0xb0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xb2]
call fcn.1400719a0
mov dword [rsp + 0x48], 0x104
mov ebx, 1
mov rax, qword [0x1400d5198]
test rax, rax
je 0x14003d6d1
lea r9, [rsp + 0x48]
lea r8, [rsp + 0xb0]
mov edx, ebx
mov ecx, dword [rsp + 0x44]
call rax
mov ebx, eax
cmp r13w, word [rsp + 0xb0]
je 0x14003d780
lea rdx, [0x1400b1ea0]
lea rcx, [rsp + 0xb0]
call fcn.140067a28
mov rdx, rax
test rax, rax
je 0x14003d702
add rdx, 2
jmp 0x14003d70a
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r13
mov word [rsp + 0x58], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x50]
call fcn.140001870
nop
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.140009190
nop
cmp qword [rsp + 0x70], 8
jb 0x14003d75c
mov rcx, qword [rsp + 0x58]
call fcn.140065920
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x14003d660
mov rax, qword [0x1400d5178]
test rax, rax
je 0x14003d776
call rax
mov dword [rsp + 0x44], r13d
jmp 0x14003d660
test ebx, ebx
je 0x14003d818
lea r9, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae r9, qword [rsp + 0x88]
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, rbp
call fcn.1400144a0
jmp 0x14003d818
lea r9, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae r9, qword [rsp + 0x88]
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, rbp
call fcn.1400144a0
mov rax, qword [0x1400d5178]
test rax, rax
je 0x14003d8d6
mov ecx, esi
call rax
jmp 0x14003d87b
lea r9, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae r9, qword [rsp + 0x88]
lea rax, str.MsiCreateRecord
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
lea rax, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rax
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, rbp
call fcn.1400144a0
mov ebx, 0x8000ffff
mov rax, qword [0x1400d5178]
test rax, rax
je 0x14003d8d6
mov ecx, dword [rsp + 0x40]
call rax
jmp 0x14003d8d6
lea r9, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae r9, qword [rsp + 0x88]
lea rax, str.MsiDatabaseOpenViewW
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, rbp
call fcn.1400144a0
lea r9, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae r9, qword [rsp + 0x88]
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 + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae r9, qword [rsp + 0x88]
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 + 0xa0], 8
jb 0x14003d965
mov rcx, qword [rsp + 0x88]
call fcn.140065920
mov eax, ebx
jmp 0x14003d967
mov eax, ebx
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.140064b70
add rsp, 0x4e8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret