Function at 0x40b9f8
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rbx, rcx
lea rdx, str.Entering_CMsiInstaller::GetMscoreeVersionFromMsi
mov rcx, qword [0x004c5758]
call fcn.00429b54
xor edi, edi
mov dword [rsp + 0x44], edi
mov dword [rsp + 0xf0], edi
lea rsi, [rbx + 0x158]
cmp dword [rsi], edi
jne 0x40ba5b
mov r13d, edi
mov dword [rsp + 0x50], edi
lea r12d, [rdi + 1]
jmp 0x40ba71
mov r12d, 1
mov ecx, r12d
call qword [rsi + 0xc0]
mov r13d, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0xf8], edi
mov byte [rsp + 0x40], dil
lea r15, [rbx + 0x138]
cmp dword [r15], edi
jne 0x40bb53
cmp qword [rbx + 0x130], 8
jb 0x40baa0
mov rcx, qword [rbx + 0x118]
jmp 0x40baa7
lea rcx, [rbx + 0x118]
cmp dword [rsi], edi
jne 0x40bab3
mov r14d, 0x641
jmp 0x40bac4
mov rdx, r15
call qword [rsi + 0x50]
mov r14d, eax
cmp eax, edi
je 0x40bb53
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x48], rax
cmp rax, rdi
je 0x40bb3d
cmp qword [rbx + 0x130], 8
jb 0x40baeb
mov rcx, qword [rbx + 0x118]
jmp 0x40baf2
lea rcx, [rbx + 0x118]
cmp qword [rbx + 0x130], 8
jb 0x40bb05
mov r8, qword [rbx + 0x118]
jmp 0x40bb0c
lea r8, [rbx + 0x118]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rcx
lea rcx, str.MsiOpenPackage__s___d__returned__d
mov qword [rsp + 0x20], rcx
mov edx, 0x125a
mov r9d, 0x653
mov rcx, rax
call fcn.00401ebc
mov rdi, rax
mov qword [rsp + 0x68], rdi
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x68]
call fcn.00449f60
cmp dword [rsi], edi
jne 0x40bb5d
mov dword [rsp + 0x44], edi
jmp 0x40bb70
mov ecx, dword [r15]
call qword [rsi + 0x88]
mov ebx, eax
mov dword [rsp + 0x44], eax
cmp eax, edi
jne 0x40bbc8
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x48], rax
cmp rax, rdi
je 0x40bbac
mov dword [rsp + 0x28], edi
mov ecx, dword [r15]
mov dword [rsp + 0x20], ecx
lea r9, str.MsiGetActiveDatabase__d__returned__d
mov edx, 0x19dc
mov r8d, 0x654
mov rcx, rax
call fcn.00401de0
mov rdi, rax
mov qword [rsp + 0x80], rdi
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x80]
call fcn.00449f60
lea r9, [rsp + 0xf0]
lea r15, str.SELECT__Version__FROM__File__WHERE__File_._Component_____
mov r8, r15
mov edx, eax
mov rcx, rsi
call fcn.0040391c
mov r14d, eax
cmp eax, edi
je 0x40bc4d
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x48], rax
cmp rax, rdi
je 0x40bc37
mov dword [rsp + 0x38], r14d
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], ebx
lea r9, str.MsiDatabaseOpenView__d___s___d__returned__d
mov edx, 0x19dc
mov r8d, 0x654
mov rcx, rax
call fcn.00401de0
mov rdi, rax
mov qword [rsp + 0x58], rdi
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x58]
call fcn.00449f60
cmp dword [rsi], edi
jne 0x40bc60
mov r14d, 0x641
lea r15, str.MSCOREE_DLL_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
jmp 0x40bc7d
lea r15, str.MSCOREE_DLL_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
mov r8, r15
mov edx, r12d
mov ecx, r13d
call qword [rsi + RegisterTypeLib]
mov r14d, eax
cmp eax, edi
je 0x40bcde
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x48], rax
cmp rax, rdi
je 0x40bcc2
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
lea r9, str.MsiRecordSetString__d___d___s__returned__d
mov edx, 0x19dc
mov r8d, 0x654
mov rcx, rax
call fcn.00401de0
mov rdi, rax
mov qword [rsp + 0x88], rdi
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x88]
call fcn.00449f60
mov r8d, r13d
mov edx, dword [rsp + 0xf0]
mov rcx, rsi
call fcn.00403950
mov r14d, eax
cmp eax, edi
je 0x40bd53
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x48], rax
cmp rax, rdi
je 0x40bd3d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r13d
mov ecx, dword [rsp + 0xf0]
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 rdi, rax
mov qword [rsp + 0x78], rdi
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x78]
call fcn.00449f60
lea r8, [rsp + 0xf8]
mov edx, dword [rsp + 0xf0]
mov rcx, rsi
call fcn.00403980
mov r14d, eax
cmp eax, edi
je 0x40bdd3
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x48], rax
cmp rax, rdi
je 0x40bdbd
mov dword [rsp + 0x30], r14d
mov ecx, dword [rsp + 0xf8]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0xf0]
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 rdi, rax
mov qword [rsp + 0x60], rdi
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x60]
call fcn.00449f60
mov r8d, r12d
mov edx, dword [rsp + 0xf8]
mov rcx, rsi
call fcn.004039b0
mov r14, rax
cmp rax, rdi
je 0x40be62
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
mov r8, rcx
mov rdx, r14
mov rcx, qword [rsp + 0xe8]
call fcn.00404e54
mov r8, r14
lea rdx, str.Version_of_mscoree.dll_in_the_msi_package_is__s.
mov rcx, qword [0x004c5758]
call fcn.0042a050
mov edx, r13d
mov rcx, rsi
call fcn.0040382c
mov edx, dword [rsp + 0xf8]
mov rcx, rsi
call fcn.0040382c
mov edx, dword [rsp + 0xf0]
mov rcx, rsi
call fcn.0040382c
mov edx, ebx
mov rcx, rsi
call fcn.0040382c
mov byte [rsp + 0x40], r12b
jmp 0x40bebf
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x48], rax
cmp rax, rdi
je 0x40bea3
mov dword [rsp + 0x28], r12d
mov ecx, dword [rsp + 0xf8]
mov dword [rsp + 0x20], ecx
lea r9, str.MsiRecordGetString__d___d__returned_NULL
mov edx, 0x19dc
mov r8d, 0x654
mov rcx, rax
call fcn.00401de0
mov rdi, rax
mov qword [rsp + 0x70], rdi
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x70]
call fcn.00449f60
nop
mov r12b, byte [rsp + 0x40]
lea rdx, str.Leaving_CMsiInstaller::GetMscoreeVersionFromMsi
mov rcx, qword [0x004c5758]
call fcn.00429b54
mov al, r12b
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret