Function at 0x14002e0fa
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push r15
mov rax, SafeArrayGetLBound
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14002e108
sub rsp, 0x28
call fcn.1400bc5a0
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400bc610
add rsp, 0x10
push 1
pop rcx
call fcn.1400165a3
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x40]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400b9960
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400bc2d0
movabs rax, reloc.OLEAUT32.dll_SafeArrayGetLBound
push rax
push qword [rsp + 0x30]
pop rcx
pop rdx
call fcn.1400b8e10
mov r15, rax
and r15, r15
jle 0x14002e203
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
movabs rax, reloc.msi.dll_MsiGetActiveDatabase
push rax
movabs rax, reloc.OLEAUT32.dll_SafeArrayGetLBound
push rax
push qword [rsp + 0x50]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400b9290
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400bc2d0
push qword [0x1404bc258]
pop rax
mov dword [rsp + 0x38], eax
push 0x4d
pop rcx
call fcn.14009cdec
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
movabs rcx, str.SELECT_key__Description__Blocked__Lic__ActivCount__ActivVal__Comment__EditionID__SubType_FROM_keys_WHERE_key_LIKE__
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, str.__OR_Comment_LIKE__
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, str.__OR_Description_LIKE__
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, str.__OR_SKUID_LIKE__
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, str.__OR_ActivCount_LIKE__
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, str.__OR_EditionID_LIKE__
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, str.__OR_SubType_LIKE__
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, 0x14027594a
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
call fcn.1400bc470
movsxd rax, dword [rsp + 0x50]
mov rax, rax
push rax
push rax
call fcn.1400bc440
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ac408
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004b97c
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
je 0x14002e8af
movsxd rax, dword [rsp + 0x38]
mov rax, rax
push rax
pop rcx
call fcn.1400ac484
and rax, rax
je 0x14002e89e
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 0
movsxd rax, dword [rsp + 0x58]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400bc2d0
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 1
movsxd rax, dword [rsp + 0x58]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.1400bc2d0
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 2
movsxd rax, dword [rsp + 0x58]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.1400bc2d0
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 3
movsxd rax, dword [rsp + 0x58]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400bc2d0
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 4
movsxd rax, dword [rsp + 0x58]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x68]
pop rdx
call fcn.1400bc2d0
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 5
movsxd rax, dword [rsp + 0x58]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x70]
pop rdx
call fcn.1400bc2d0
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 6
movsxd rax, dword [rsp + 0x58]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x78]
pop rdx
call fcn.1400bc2d0
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 7
movsxd rax, dword [rsp + 0x58]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x80]
pop rdx
call fcn.1400bc2d0
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 8
movsxd rax, dword [rsp + 0x58]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x88]
pop rdx
call fcn.1400bc2d0
push qword [rsp + 0x48]
movabs rcx, 0x140271064
pop rdx
call fcn.1400bc3b0
or rax, rax
jne 0x14002e6c7
push qword [rsp + 0x48]
push 0xffffffffffffffff
push 0x4d
pop rcx
pop rdx
pop r8
call fcn.14009d104
movabs rdx, 0x140271064
lea rcx, [rsp + 0x88]
call fcn.1400bc120
push qword [rsp + 0x50]
movabs rcx, 0x140271064
pop rdx
call fcn.1400bc3b0
or rax, rax
jne 0x14002e729
mov rcx, qword [rsp + 0x50]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
lea rcx, [rsp + 0x90]
pop rdx
call fcn.1400bc2d0
jmp 0x14002e789
push qword [rsp + 0x60]
movabs rcx, 0x140271064
pop rdx
call fcn.1400bc3b0
or rax, rax
jne 0x14002e789
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x140272650
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x68]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
lea rcx, [rsp + 0x90]
pop rdx
call fcn.1400bc2d0
push qword [rsp + 0x40]
movabs rcx, 0x140271064
pop rdx
call fcn.1400bc3b0
or rax, rax
jne 0x14002e873
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rcx, qword [rsp + 0x50]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, reloc.WS2_32.dll_ioctlsocket
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0xa0]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, reloc.WS2_32.dll_ioctlsocket
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x88]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
call fcn.1400bc470
push 0xffffffffffffffff
push 0x4d
push rax
call fcn.1400bc440
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14009d104
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004b97c
add rsp, 0x28
pop rax
mov r15, qword [rsp + 0x30]
inc r15
mov qword [rsp + 0x30], r15
mov r15, qword [rsp + 0x30]
cmp r15, 0x1e
jle 0x14002e899
mov qword [rsp + 0x30], 0
call fcn.14002bcda
jmp 0x14002e3bb
movsxd rax, dword [rsp + 0x38]
mov rax, rax
push rax
pop rcx
call fcn.1400ac500
jmp 0x14002e8af
push 0
pop rcx
call fcn.1400165a3
xor rax, rax
push rax
mov rcx, qword [rsp + 0x88]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x68]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x80]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x70]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x90]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
pop rax
add rsp, 0x90
pop r15
ret