Function at 0x40a3e8
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x140
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rcx
mov qword [rsp + 0x80], rcx
xor ebx, ebx
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x58], ebx
lea rdx, str.Entering_CMsiInstaller::GetProductCode
mov rcx, qword [0x004c5758]
call fcn.00429b54
nop
lea rcx, [rdi + 0x158]
call fcn.00402e84
cmp qword [rdi + 0x130], 8
jb 0x40a46a
mov rcx, qword [rdi + 0x118]
jmp 0x40a471
lea rcx, [rdi + 0x118]
cmp dword [rdi + 0x158], ebx
jne 0x40a481
mov r12d, 0x641
jmp 0x40a499
lea r8, [rsp + 0x54]
xor edx, edx
call qword [rdi + 0x228]
mov r12d, eax
cmp eax, ebx
je 0x40a538
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x60], rax
cmp rax, rbx
je 0x40a51c
cmp qword [rdi + 0x130], 8
jb 0x40a4c0
mov rcx, qword [rdi + 0x118]
jmp 0x40a4c7
lea rcx, [rdi + 0x118]
cmp qword [rdi + 0x130], 8
jb 0x40a4da
mov r8, qword [rdi + 0x118]
jmp 0x40a4e1
lea r8, [rdi + 0x118]
mov dword [rsp + 0x40], r12d
lea rdx, [rsp + 0x54]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rcx
lea rcx, str.MsiOpenDatabase__s___d___d__returned__d
mov qword [rsp + 0x20], rcx
mov edx, 0x125a
mov r9d, 0x653
mov rcx, rax
call fcn.00401ebc
mov rbx, rax
mov qword [rsp + 0x88], rbx
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x88]
call fcn.00449f60
lea rcx, [rsp + 0xb0]
lea rdx, str.SELECT__Value__FROM__Property__WHERE__Property___ProductCode
mov r8d, 0x80
call fcn.00449960
lea r9, [rsp + 0x50]
lea r8, [rsp + 0xb0]
mov edx, dword [rsp + 0x54]
lea rcx, [rdi + 0x158]
call fcn.0040391c
mov r12d, eax
cmp eax, ebx
je 0x40a5e7
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x60], rax
cmp rax, rbx
je 0x40a5cb
mov dword [rsp + 0x38], r12d
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x20], ecx
lea r9, str.MsiDatabaseOpenView__d___s___d__returned__d
mov edx, 0x19dc
mov r8d, 0x654
mov rcx, rax
call fcn.00401de0
mov rbx, rax
mov qword [rsp + 0x90], rbx
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x90]
call fcn.00449f60
xor r8d, r8d
mov edx, dword [rsp + 0x50]
lea rcx, [rdi + 0x158]
call fcn.00403950
mov r12d, eax
cmp eax, ebx
je 0x40a65a
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x60], rax
cmp rax, rbx
je 0x40a644
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rbx
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x20], ecx
lea r9, str.MsiViewExecute__d___d__returned__d
mov edx, 0x19dc
mov r8d, 0x654
mov rcx, rax
call fcn.00401de0
mov rbx, rax
mov qword [rsp + 0x78], rbx
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x78]
call fcn.00449f60
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0x50]
lea rcx, [rdi + 0x158]
call fcn.00403980
mov r12d, eax
cmp eax, ebx
je 0x40a6d4
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x60], rax
cmp rax, rbx
je 0x40a6be
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x20], ecx
lea r9, str.MsiViewFetch__d___d__returned__d
mov edx, 0x19dc
mov r8d, 0x654
mov rcx, rax
call fcn.00401de0
mov rbx, rax
mov qword [rsp + 0x68], rbx
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x68]
call fcn.00449f60
mov r8d, 1
mov edx, dword [rsp + 0x58]
lea rcx, [rdi + 0x158]
call fcn.004039b0
mov qword [rdi + 0x48], rax
mov edx, dword [rsp + 0x58]
lea rcx, [rdi + 0x158]
call fcn.0040382c
mov edx, dword [rsp + 0x50]
lea rcx, [rdi + 0x158]
call fcn.0040382c
mov edx, dword [rsp + 0x54]
lea rcx, [rdi + 0x158]
call fcn.0040382c
cmp qword [rdi + 0x48], rbx
jne 0x40a771
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x60], rax
cmp rax, rbx
je 0x40a755
lea r9, str.NULL_ProductCode
mov edx, 0x19dc
mov r8d, 0x654
mov rcx, rax
call fcn.00401de0
mov rbx, rax
mov qword [rsp + 0x98], rbx
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x98]
call fcn.00449f60
lea rdx, str.Leaving_CMsiInstaller::GetProductCode
mov rcx, qword [0x004c5758]
call fcn.00429b54
nop
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.00443d60
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret