Function at 0x140016e6f
Capabilities:
Reference sql statements

Disassembly:
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.140074600
movabs rdx, 0x1401fd126
lea rcx, [rsp + 0x28]
call fcn.1400741e0
mov r15, qword [0x140290c04]
cmp r15, 1
jne 0x140016eb9
movabs rdx, 0x1401fe19e
lea rcx, [rsp + 0x28]
call fcn.1400741e0
jmp 0x140016f20
mov r15, qword [0x140290c04]
cmp r15, 2
jne 0x140016edc
movabs rdx, 0x140200402
lea rcx, [rsp + 0x28]
call fcn.1400741e0
jmp 0x140016f20
mov r15, qword [0x140290c04]
cmp r15, 3
jne 0x140016eff
movabs rdx, 0x140203724
lea rcx, [rsp + 0x28]
call fcn.1400741e0
jmp 0x140016f20
mov r15, qword [0x140290c04]
cmp r15, 4
jne 0x140016f20
movabs rdx, str.Office_2016_21
lea rcx, [rsp + 0x28]
call fcn.1400741e0
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
push qword [rsp + 0x58]
movabs rax, 0x1401fd126
push rax
push qword [0x140290b44]
pop rcx
sub rsp, 0x20
call fcn.140061830
add rsp, 0x20
mov r15, rax
add r15, 0xa5
mov rax, r15
push rax
sub rsp, 8
push qword [0x140290b44]
pop rcx
sub rsp, 0x20
call fcn.140061790
add rsp, 0x28
mov r15, rax
add r15, 0x6e
mov rax, r15
push rax
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14001c482
add rsp, 0x30
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140071c20
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.140074390
push qword [rsp + 0x30]
movabs rcx, str.noneresult
pop rdx
call fcn.140074470
or rax, rax
jne 0x140017353
push qword [rsp + 0x30]
movabs rcx, 0x1401fd126
pop rdx
call fcn.140074800
or rax, rax
je 0x140017351
mov qword [rsp + 0x38], 0
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x1401fe128
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x58]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140071c20
add rsp, 0x20
pop rax
movabs rcx, 0x1401fd9f2
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
call fcn.140074530
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140067f9c
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
je 0x14001718e
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
call fcn.140068018
and rax, rax
je 0x14001717d
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push 0
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14006804c
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.140074390
mov qword [rsp + 0x38], 1
jmp 0x14001717d
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
call fcn.140068094
mov r15, qword [rsp + 0x38]
and r15, r15
jne 0x14001732e
movabs rdx, str.INSERT_INTO_keys
lea rcx, [rsp + 0x48]
call fcn.1400741e0
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
movabs rcx, str._key__Description__Lic__Blocked__GROUPS__PRODUCT_VALUES__________
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
movabs rcx, 0x140208be4
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
push qword [0x140290c04]
pop rcx
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
pop rdx
sub rsp, 0x20
call fcn.140071bc0
add rsp, 0x20
pop rax
movabs rcx, 0x1402037b0
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.140074390
push qword [rsp + 0x48]
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.1400680c0
mov r15, rax
and r15, r15
jne 0x14001732c
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 1
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
movabs rcx, str.Add_link_error
sub rsp, 0x20
call fcn.140074320
add rsp, 0x20
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
pop rcx
sub rsp, 0x20
call fcn.140068124
add rsp, 0x28
pop rax
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140021d68
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
jmp 0x140017345
push 1
movabs rax, str.Add_Group_error__Group_exist
push rax
pop rcx
pop rdx
call fcn.140021d68
push qword [0x140290c04]
pop rcx
call fcn.14001274f
jmp 0x140017367
movabs rdx, 0x1401fd126
lea rcx, [rsp + 0x30]
call fcn.1400741e0
xor rax, rax
push rax
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400746e0
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.1400746e0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400746e0
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400746e0
add rsp, 0x28
pop rax
add rsp, 0x50
pop r15
ret