Function at 0x14000e4d0
Capabilities:
Link many functions at runtime
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov qword [rsp + 0x218], 0xfffffffffffffffe
mov rax, qword [0x14007d2f0]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rcx, str.msi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
call fcn.1400084e0
nop
mov rdx, qword [rsp + 0x270]
lea rcx, [rsp + 0x60]
call fcn.140008540
nop
mov rdx, qword [rsp + 0x278]
lea rcx, [rsp + 0x68]
call fcn.140008540
nop
mov dword [rsp + 0xa4], 0
cmp qword [rsp + 0x50], 0
jne 0x14000e596
mov dword [rsp + 0x1f0], 0xfffffff6
lea rcx, [rsp + 0x68]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400085c0
mov eax, dword [rsp + 0x1f0]
jmp 0x14000e9ca
lea rdx, str.MsiOpenDatabaseW
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.MsiDatabaseOpenViewW
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
lea rdx, str.MsiViewExecute
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
lea rdx, str.MsiViewFetch
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
lea rdx, str.MsiViewClose
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
lea rdx, str.MsiCloseHandle
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rdx, str.MsiCreateRecord
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rdx, str.MsiRecordReadStream
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea r8, [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x268]
call qword [rsp + 0x90]
lea r8, [rsp + 0x60]
lea rdx, [0x140061f70]
lea rcx, [rsp + 0x1f8]
call fcn.140007ae0
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x228], rax
lea r8, [0x140061f6c]
mov rdx, qword [rsp + 0x228]
lea rcx, [rsp + 0x200]
call fcn.140007a00
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x238], rax
mov rdx, qword [rsp + 0x238]
lea rcx, [rsp + 0x40]
call fcn.1400085e0
nop
lea rcx, [rsp + 0x200]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x1f8]
call fcn.1400085c0
lea rcx, [rsp + 0x40]
call fcn.140008670
lea r8, [rsp + 0xa8]
mov rdx, rax
mov ecx, dword [rsp + 0xa0]
call qword [rsp + 0xb0]
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xb8], 0
jne 0x14000e97c
xor edx, edx
mov ecx, dword [rsp + 0xa8]
call qword [rsp + 0x48]
test eax, eax
jne 0x14000e956
mov ecx, 3
call qword [rsp + 0x80]
mov dword [rsp + 0x78], eax
lea rdx, [rsp + 0x78]
mov ecx, dword [rsp + 0xa8]
call qword [rsp + 0x58]
test eax, eax
jne 0x14000e937
mov dword [rsp + 0x7c], 0
lea r9, [rsp + 0x7c]
xor r8d, r8d
mov edx, 2
mov ecx, dword [rsp + 0x78]
call qword [rsp + 0x98]
test eax, eax
jne 0x14000e92a
lea rcx, [rsp + 0xc8]
call fcn.1400084e0
nop
mov eax, dword [rsp + 0x7c]
add eax, 1
mov eax, eax
mov rcx, rax
call fcn.140022420
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0xc0], rax
lea r9, [rsp + 0x7c]
mov r8, qword [rsp + 0xc0]
mov edx, 2
mov ecx, dword [rsp + 0x78]
call qword [rsp + 0x98]
test eax, eax
jne 0x14000e910
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.14003a7a0
lea rcx, [rsp + 0x68]
call fcn.1400086e0
mov dword [rsp + 0x240], eax
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140008680
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x240]
mov r9d, ecx
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [0x140061f68]
lea rcx, [rsp + 0xe0]
call fcn.14003c800
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x14000e8c9
mov eax, dword [rsp + 0x7c]
mov r9, qword [rsp + 0xd0]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0xc0]
call fcn.14003c5d0
mov rcx, qword [rsp + 0xd0]
call fcn.14003c370
jmp 0x14000e90e
mov dword [rsp + 0x210], 0xffffffff
lea rcx, [rsp + 0xc8]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400085c0
mov eax, dword [rsp + 0x210]
jmp 0x14000e9ca
jmp 0x14000e91b
mov dword [rsp + 0xa4], 0xfffffffe
lea rcx, [rsp + 0xc8]
call fcn.1400085c0
jmp 0x14000e935
mov dword [rsp + 0xa4], 0xfffffffd
jmp 0x14000e942
mov dword [rsp + 0xa4], 0xfffffffc
cmp dword [rsp + 0x78], 0
je 0x14000e954
mov ecx, dword [rsp + 0x78]
call qword [rsp + 0x88]
jmp 0x14000e961
mov dword [rsp + 0xa4], 0xfffffffb
mov ecx, dword [rsp + 0xa8]
call qword [rsp + 0x70]
mov ecx, dword [rsp + 0xa8]
call qword [rsp + 0x88]
jmp 0x14000e987
mov dword [rsp + 0xa4], 0xfffffffa
mov ecx, dword [rsp + 0xa0]
call qword [rsp + 0x88]
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x214], eax
lea rcx, [rsp + 0x68]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400085c0
mov eax, dword [rsp + 0x214]
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14003a760
add rsp, 0x258
ret