Function at 0x140069b00
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, rcx
mov qword [rbp - 0x39], rcx
xor r14d, r14d
mov dword [rbp - 0x41], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x38], r14
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x79], xmm0
movdqa xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r14
lea rdx, str.SELECT_Property_Value_FROM_Property_WHERE_PropertyProductVersion_OR_PropertyProductType
lea rcx, [rsp + 0x20]
call fcn.14000ffc0
xorps xmm0, xmm0
test al, al
je 0x14006a003
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmm6, xmmword [0x140210d30]
movdqa xmmword [rbp - 0x19], xmm6
mov word [rbp - 0x29], r14w
movdqa xmmword [rbp + 7], xmm0
movdqa xmm7, xmm6
movdqa xmmword [rbp + 7], xmm6
mov word [rbp - 9], r14w
lea rcx, [rsp + 0x20]
call fcn.140010090
test al, al
je 0x140069dc3
lea rdi, str.ProductType
lea rbx, [0x1401fae48]
nop dword [rax]
mov dword [rbp - 0x49], r14d
mov rax, qword [rbp - 0x61]
mov r8, qword [rbp - 0x69]
sub rax, r8
sar rax, 5
test rax, rax
jne 0x140069bed
mov rdx, r14
jmp 0x140069c5f
mov edx, 1
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.msi.dll_MsiRecordSetStreamW]
cmp eax, 1
jne 0x140069c0a
mov rdx, r14
mov r8, qword [rbp - 0x69]
jmp 0x140069c5f
mov edx, 1
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.msi.dll_MsiRecordGetStringW]
inc eax
mov dword [rbp - 0x49], eax
cmp eax, 1
jbe 0x140069c4e
mov edx, eax
mov rcx, qword [rbp - 0x69]
call fcn.140010400
mov r8, qword [rbp - 0x69]
cmp qword [r8 + 0x18], 8
jb 0x140069c3c
mov r8, qword [r8]
lea r9, [rbp - 0x49]
mov edx, 1
mov ecx, dword [rsp + 0x30]
call fcn.1401bf1c0
mov r8, qword [rbp - 0x69]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140069c5f
mov rdx, qword [r8]
mov rcx, r14
movzx eax, word [rdx + rcx*2]
cmp ax, word [rdi + rcx*2]
jne 0x140069d32
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [rdi + rcx*2 + 2]
jne 0x140069d32
add rcx, 2
cmp rcx, 0xc
jne 0x140069c62
mov dword [rbp - 0x49], r14d
mov rax, qword [rbp - 0x61]
sub rax, r8
sar rax, 5
cmp rax, 1
ja 0x140069ca4
mov rdx, r14
jmp 0x140069d1a
mov edx, 2
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.msi.dll_MsiRecordSetStreamW]
cmp eax, 1
jne 0x140069cbd
mov rdx, r14
jmp 0x140069d1a
mov edx, 2
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.msi.dll_MsiRecordGetStringW]
lea edx, [rax + 1]
mov dword [rbp - 0x49], edx
cmp edx, 1
jbe 0x140069d08
mov rcx, qword [rbp - 0x69]
add rcx, 0x20
call fcn.140010400
mov r8, qword [rbp - 0x69]
add r8, 0x20
cmp qword [r8 + 0x18], 8
jb 0x140069cf6
mov r8, qword [r8]
lea r9, [rbp - 0x49]
mov edx, 2
mov ecx, dword [rsp + 0x30]
call fcn.1401bf1c0
mov rdx, qword [rbp - 0x69]
add rdx, 0x20
cmp qword [rdx + 0x18], 8
jb 0x140069d1a
mov rdx, qword [rdx]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140069d21
lea rcx, [rbp - 0x29]
jmp 0x140069da2
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140010330
mov r8, rax
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
movzx ecx, word [r8 + rdx*2 + 2]
cmp cx, word [rbx + rdx*2 + 2]
jne 0x140069da7
add rdx, 2
cmp rdx, 0xf
je 0x140069d74
movzx eax, word [r8 + rdx*2]
cmp ax, word [rbx + rdx*2]
jne 0x140069da7
jmp 0x140069d50
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140010330
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140069d90
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140003530
lea rcx, [rsp + 0x20]
call fcn.140010090
test al, al
jne 0x140069bd0
movdqa xmm7, xmmword [rbp + 7]
movdqa xmm6, xmmword [rbp - 0x19]
mov qword [rbp - 0x49], rsi
movaps xmm0, xmmword [rbp - 0x29]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm6
movdqa xmm0, xmmword [0x140210d30]
movdqa xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r14w
movaps xmm0, xmmword [rbp - 9]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm7
movdqa xmm0, xmmword [0x140210d30]
movdqa xmmword [rbp + 7], xmm0
mov word [rbp - 9], r14w
mov byte [rsi + 0x40], 1
mov dword [rbp - 0x41], 1
movdqa xmmword [rbp + 7], xmm0
mov word [rbp - 9], r14w
movdqa xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r14w
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x140069e2e
call fcn.1401bf170
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x140069e3b
call fcn.1401bf170
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x140069e48
call fcn.1401bf170
mov dword [rsp + 0x20], r14d
mov rax, qword [rsp + 0x38]
mov qword [rbp - 0x79], rax
mov rdi, qword [rbp - 0x61]
mov rbx, qword [rbp - 0x69]
cmp rbx, rdi
je 0x140069ebf
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140069ea2
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140069e9d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140069f6b
mov rcx, r8
call fcn.140007ea0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
add rbx, 0x20
cmp rbx, rdi
jne 0x140069e63
mov rbx, qword [rbp - 0x69]
mov qword [rbp - 0x61], rbx
mov rbx, qword [rbp - 0x69]
test rbx, rbx
je 0x140069f86
mov rdi, qword [rbp - 0x61]
cmp rbx, rdi
je 0x140069f38
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140069f1b
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140069f16
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140069f64
mov rcx, r8
call fcn.140007ea0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
add rbx, 0x20
cmp rbx, rdi
jne 0x140069ee0
mov rbx, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x59]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140069f72
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069f72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call fcn.140007ea0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r14
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140069fd2
mov rdx, qword [rbp - 0x71]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069fc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006a1c8
call fcn.140007ea0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x79], xmm0
mov qword [rsp + 0x38], r14
mov rax, rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor eax, eax
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
mov qword [rsi + 0x40], rax
mov byte [rsi], al
mov byte [rsi + 0x40], al
mov dword [rbp - 0x41], 1
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x14006a031
call fcn.1401bf170
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x14006a03e
call fcn.1401bf170
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x14006a04b
call fcn.1401bf170
mov dword [rsp + 0x20], r14d
mov rax, qword [rsp + 0x38]
mov qword [rbp - 0x79], rax
mov rdi, qword [rbp - 0x61]
mov rbx, qword [rbp - 0x69]
cmp rbx, rdi
je 0x14006a0c2
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14006a0a5
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14006a0a0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006a16b
mov rcx, r8
call fcn.140007ea0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
add rbx, 0x20
cmp rbx, rdi
jne 0x14006a066
mov rbx, qword [rbp - 0x69]
mov qword [rbp - 0x61], rbx
mov rbx, qword [rbp - 0x69]
test rbx, rbx
je 0x14006a186
mov rdi, qword [rbp - 0x61]
cmp rbx, rdi
je 0x14006a138
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14006a11b
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14006a116
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006a164
mov rcx, r8
call fcn.140007ea0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
add rbx, 0x20
cmp rbx, rdi
jne 0x14006a0e0
mov rbx, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x59]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006a172
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a172
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call fcn.140007ea0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r14
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140069fd2
mov rdx, qword [rbp - 0x71]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069fc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069fc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3