Function at 0x14002e8dd
Capabilities:
Reference sql statements

Disassembly:
push rbp
push r15
mov rax, 8
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14002e8e7
sub rsp, 0x28
call fcn.1400bd990
push 1
pop rcx
call fcn.1400166fb
movabs rdx, 0x140273064
lea rcx, [rsp + 0x28]
call fcn.1400bd510
movabs rdx, 0x140273064
lea rcx, [rsp + 0x30]
call fcn.1400bd510
mov qword [rsp + 0x38], 0
push qword [0x1404ba544]
pop rcx
call fcn.14004dd14
and rax, rax
je 0x14002e953
xor rax, rax
jmp 0x14002e95a
mov rax, 1
and rax, rax
je 0x14002f269
push pe_nt_image_headers64
pop rcx
call fcn.1400bbba0
mov qword [rsp + 0x40], rax
push 0
push SQLConnectW
pop rcx
pop rdx
call fcn.14009af48
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.Check_MAK_Keys:
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
push rcx
sub rsp, 0x20
call main
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ba3f0
add rsp, 0x20
pop rax
call fcn.1400bd860
push SQLConnectW
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14009ccd8
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
push qword [0x1404baeb4]
pop rcx
call fcn.1400b4ec0
mov qword [rsp + 0x48], 0
jmp 0x14002ea42
push 0x4d
pop rcx
call fcn.1400a3a84
cmp rax, qword [rsp + 0x48]
jl 0x14002f0e8
push qword [rsp + 0x48]
push 0x4d
pop rcx
pop rdx
call fcn.14009d0bc
mov r15, rax
and r15, 1
and r15, r15
je 0x14002f0dd
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
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 0
push qword [rsp + 0x78]
push 0x4d
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400a3acc
add rsp, 0x28
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.140020d21
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
and rax, rax
je 0x14002f0dd
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
push qword [rsp + 0x68]
push 0x4d
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400a3acc
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.1400bd6c0
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_ExtendedPID__Description__LicenseType__CryptoID_FROM_keys_WHERE_key
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [rsp + 0x68]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, str._AND__Lic_LIKE__MAK__OR_LicenseType_LIKE__OEM__
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
call fcn.1400bd860
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ad7fc
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
je 0x14002f0cf
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
call fcn.1400ad878
and rax, rax
je 0x14002ed63
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 [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ad8ac
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400bd6c0
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 [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ad8ac
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400bd6c0
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 [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ad8ac
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400bd6c0
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 [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ad8ac
add rsp, 0x28
lea rcx, [rsp + 0x68]
pop rdx
call fcn.1400bd6c0
jmp 0x14002ec04
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
sub rsp, 8
movabs rax, 0x1402737bc
push rax
push qword [rsp + 0x88]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ba200
add rsp, 0x28
mov r15, rax
dec r15
mov rax, r15
push rax
push 1
push qword [rsp + 0x88]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400ba490
add rsp, 0x28
lea rcx, [rsp + 0x68]
pop rdx
call fcn.1400bd6c0
movabs rax, 0x14027bb80
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
call fcn.1400ba200
mov r15, rax
and r15, r15
jle 0x14002ee1a
push qword [rsp + 0x60]
pop rcx
call fcn.1400ba150
mov r15, rax
cmp r15, 4
jge 0x14002ee1a
mov rax, 1
jmp 0x14002ee1d
xor rax, rax
and rax, rax
je 0x14002ee27
jmp 0x14002f0bc
push qword [rsp + 0x28]
movabs rcx, 0x140273064
pop rdx
call fcn.1400bd7a0
or rax, rax
jne 0x14002ee62
push qword [rsp + 0x50]
movabs rcx, 0x140273064
pop rdx
call fcn.1400bd7a0
or rax, rax
jne 0x14002ee62
mov rax, 1
jmp 0x14002ee65
xor rax, rax
and rax, rax
je 0x14002f0bc
mov r15, qword [rsp + 0x38]
inc r15
mov qword [rsp + 0x38], r15
mov rbp, qword [rsp + 0x40]
mov rcx, qword [rbp + 8]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, 0x140274b16
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rbp, qword [rsp + 0x48]
lea rcx, [rbp + 8]
pop rdx
call fcn.1400bd6c0
mov rbp, qword [rsp + 0x40]
mov rcx, qword [rbp]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, 0x140274b16
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rbp, qword [rsp + 0x48]
lea rcx, [rbp]
pop rdx
call fcn.1400bd6c0
mov rbp, qword [rsp + 0x40]
mov rcx, qword [rbp + 0x78]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, 0x140274b16
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rbp, qword [rsp + 0x48]
lea rcx, [rbp + 0x78]
pop rdx
call fcn.1400bd6c0
mov rbp, qword [rsp + 0x40]
mov rcx, qword [rbp + 0x10]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
push rcx
sub rsp, 0x20
call main
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ba3f0
add rsp, 0x20
pop rax
movabs rcx, 0x140274b16
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rbp, qword [rsp + 0x48]
lea rcx, [rbp + 0x10]
pop rdx
call fcn.1400bd6c0
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.Check_MAK_Keys:
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
push rcx
sub rsp, 0x20
call main
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ba3f0
add rsp, 0x20
pop rax
call fcn.1400bd860
push SQLConnectW
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14009ccd8
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
call fcn.1400ad8f4
jmp 0x14002f0cf
call fcn.1400a6814
and rax, rax
je 0x14002f0db
jmp 0x14002f0cf
jmp 0x14002f0dd
inc qword [rsp + 0x48]
jno 0x14002ea42
mov r15, qword [rsp + 0x38]
and r15, r15
jle 0x14002f269
push 0
push SQLConnectW
pop rcx
pop rdx
call fcn.14009af48
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.Check_MAK_Keys:
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
push rcx
sub rsp, 0x20
call main
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ba3f0
add rsp, 0x20
pop rax
call fcn.1400bd860
push SQLConnectW
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14009ccd8
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
mov rbp, qword [rsp + 0x40]
mov qword [rbp + 0x48], 1
mov r15, qword [rsp + 0x38]
cmp r15, 0x50
jle 0x14002f24c
push qword [rsp + 0x40]
lea rax, [0x140026e64]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.14004de60
mov qword [0x1404ba544], rax
push 0x226
pop rcx
call fcn.1400a5e7c
push qword [rsp + 0x40]
lea rax, [0x140026e64]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.14004de60
push 0xfa
pop rcx
call fcn.1400a5e7c
push qword [rsp + 0x40]
lea rax, [0x140026e64]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.14004de60
push 0xfa
pop rcx
call fcn.1400a5e7c
push qword [rsp + 0x40]
lea rax, [0x140026e64]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.14004de60
jmp 0x14002f269
push qword [rsp + 0x40]
lea rax, [0x140026e64]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.14004de60
mov qword [0x1404ba544], rax
push 0
pop rcx
call fcn.1400166fb
xor rax, rax
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
mov rcx, qword [rsp + 0x68]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
pop rax
add rsp, 0x68
pop r15
pop rbp
ret