Function at 0x14002977c
Capabilities:
Reference sql statements

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.1400bd990
push 1
pop rcx
call fcn.1400166fb
push qword [0x1404ba544]
pop rcx
call fcn.14004dd14
and rax, rax
je 0x1400297b0
xor rax, rax
jmp 0x1400297b7
mov rax, 1
and rax, rax
je 0x140029e36
push pe_nt_image_headers64
pop rcx
call fcn.1400bbba0
mov qword [rsp + 0x28], rax
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, reloc.ODBC32.dll_SQLFetch
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
sub rsp, 8
sub rsp, 0x20
call fcn.1400ab694
add rsp, 0x28
mov rax, rax
push rax
movabs rax, str._hh:_ii:_ss
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400abc30
add rsp, 0x20
pop rax
movabs rcx, 0x1402737bc
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [0x1404ba90c]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, str._start_...
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400349a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
mov qword [rsp + 0x30], 0
movabs rax, str.SELECT_key__ExtendedPID__Lic__Description__CryptoID__LicenseType_FROM_keys_WHERE_NOT_key_AND__Lic_LIKE__MAK__OR_LicenseType_LIKE__OEM___AND_Blocked
push rax
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.1400ad7fc
mov r15, rax
and r15, r15
je 0x140029d7b
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
call fcn.1400ad878
and rax, rax
je 0x140029cb2
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 [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ad8ac
add rsp, 0x28
lea rcx, [rsp + 0x40]
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
sub rsp, 8
movabs rax, 0x1402737bc
push rax
push qword [rsp + 0x60]
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 + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400ba490
add rsp, 0x28
lea rcx, [rsp + 0x40]
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 5
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 + 0x48]
pop rdx
call fcn.1400bd6c0
movabs rax, 0x14027bb80
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
call fcn.1400ba200
mov r15, rax
and r15, r15
jle 0x140029a68
push qword [rsp + 0x38]
pop rcx
call fcn.1400ba150
mov r15, rax
cmp r15, 4
jge 0x140029a68
mov rax, 1
jmp 0x140029a6b
xor rax, rax
and rax, rax
je 0x140029a75
jmp 0x140029cad
mov rbp, qword [rsp + 0x28]
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 0xffffffffffffffff
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 + 0x30]
lea rcx, [rbp + 0x10]
pop rdx
call fcn.1400bd6c0
mov rbp, qword [rsp + 0x28]
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
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 1
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ad8ac
add rsp, 0x20
pop rax
movabs rcx, 0x140274b16
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rbp, qword [rsp + 0x30]
lea rcx, [rbp + 8]
pop rdx
call fcn.1400bd6c0
mov rbp, qword [rsp + 0x28]
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
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 0
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ad8ac
add rsp, 0x20
pop rax
movabs rcx, 0x140274b16
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rbp, qword [rsp + 0x30]
lea rcx, [rbp]
pop rdx
call fcn.1400bd6c0
mov rbp, qword [rsp + 0x28]
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
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 3
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ad8ac
add rsp, 0x20
pop rax
movabs rcx, 0x140274b16
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rbp, qword [rsp + 0x30]
lea rcx, [rbp + 0x78]
pop rdx
call fcn.1400bd6c0
mov r15, qword [rsp + 0x30]
inc r15
mov qword [rsp + 0x30], r15
jmp 0x1400298fd
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
call fcn.1400ad8f4
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_OEM_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 + 0x58]
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 + 0x28]
mov qword [rbp + 0x48], 1
mov r15, qword [rsp + 0x30]
cmp r15, 0x50
jle 0x140029e19
push qword [rsp + 0x28]
lea rax, [0x140026e64]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.14004de60
mov qword [0x1404ba544], rax
push 0xfa
pop rcx
call fcn.1400a5e7c
push qword [rsp + 0x28]
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 + 0x28]
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 + 0x28]
lea rax, [0x140026e64]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.14004de60
jmp 0x140029e36
push qword [rsp + 0x28]
lea rax, [0x140026e64]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.14004de60
mov qword [0x1404ba544], rax
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.All
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 + 0x58]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ba3f0
add rsp, 0x20
pop rax
movabs rcx, str._MAK_keys
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400349a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
push 0
pop rcx
call fcn.1400166fb
xor rax, rax
push rax
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
pop rax
add rsp, 0x48
pop r15
pop rbp
ret