Function at 0x1401456e0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r15, qword [rcx]
xor edi, edi
xor ebx, ebx
mov r13, r8
mov rbp, rdx
mov r12, rcx
mov r14d, 1
test r8, r8
jne 0x14014582f
cmp qword [rcx + 0x38], rbx
lea rdi, [rcx + 0x38]
jne 0x1401457f4
mov r9, qword [r15 + 0x50]
lea rcx, str.SELECT__s_FROM__s_T_WHERE_T._Q_
mov r8, qword [r15 + 0x48]
mov rdx, qword [r15 + 0x68]
call fcn.1400ea510
mov rsi, rax
test rax, rax
jne 0x14014575b
mov rcx, qword [rdi]
mov ebx, 7
call fcn.1400c1490
jmp 0x140145999
mov rax, qword [r12]
mov r9d, 0x81
mov r8d, 0xffffffff
mov rdx, rsi
inc dword [rax + 0x80]
xor eax, eax
mov rcx, qword [r15]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1401ae9b0
mov ebx, eax
mov rax, qword [r12]
dec dword [rax + 0x80]
cmp dword [0x1402cd290], 0
je 0x1401457eb
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x1401457b4
call qword [0x1402cd310]
mov rcx, rsi
call qword [0x1402cd2c8]
dec qword [0x1402d3a38]
movsxd rcx, eax
sub qword [0x1402d39f0], rcx
mov rcx, rsi
call qword [0x1402cd2b8]
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x1401457f4
call qword [0x1402cd320]
jmp 0x1401457f4
mov rcx, rsi
call qword [0x1402cd2b8]
mov rdi, qword [rdi]
mov rcx, rdi
call fcn.1400c1490
test ebx, ebx
jne 0x140145999
mov r8, rbp
mov edx, r14d
mov rcx, rdi
call fcn.1400ee1d0
mov rcx, rdi
call fcn.1400c06c0
cmp eax, 0x64
je 0x14014582f
mov rcx, rdi
call fcn.1400c1490
jmp 0x14014599b
mov qword [rsp + 0x40], r12
mov rbp, r14
mov dword [rsp + 0x48], 0xffffffff
xor esi, esi
mov r8d, 0x202
mov r9d, 0x400
nop dword [rax]
cmp r14d, dword [r15 + 0x18]
jg 0x1401459c0
mov rax, qword [r15 + 0x28]
cmp byte [rax + rbp - 1], 0
jne 0x140145975
test rdi, rdi
je 0x14014588c
mov edx, r14d
mov rcx, rdi
call fcn.1400c0cc0
mov edx, r14d
mov rcx, rdi
mov rbx, rax
call fcn.1400c10d0
jmp 0x140145915
test r13, r13
je 0x140145975
mov rcx, qword [rsi + r13]
test rcx, rcx
jne 0x1401458a2
xor ebx, ebx
jmp 0x1401458d8
movzx edx, word [rcx + 0x14]
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x1401458bf
cmp byte [rcx + 0x16], 1
jne 0x1401458bf
mov rbx, qword [rcx + 8]
jmp 0x1401458d8
test dl, 1
je 0x1401458c8
xor ebx, ebx
jmp 0x1401458d8
mov dl, 1
call fcn.1401e9f90
mov rbx, rax
mov r9d, 0x400
mov rax, qword [rsi + r13]
movzx edx, word [rax + 0x14]
test dl, 2
je 0x1401458f0
cmp byte [rax + 0x16], 1
jne 0x1401458f0
mov ecx, dword [rax + 0x10]
jmp 0x140145917
test dl, 0x10
je 0x140145902
mov ecx, dword [rax + 0x10]
test r9w, dx
je 0x140145917
add ecx, dword [rax]
jmp 0x140145917
test dl, 1
je 0x14014590b
xor ecx, ecx
jmp 0x140145917
mov dl, 1
mov rcx, rax
call fcn.1401e9130
mov ecx, eax
xor edx, edx
mov dword [rsp + 0x4c], edx
test rbx, rbx
je 0x140145951
mov rax, qword [r15 + 0x78]
lea rdx, [0x140145d30]
mov qword [rsp + 0x28], rdx
mov r9, rbx
mov dword [rsp + 0x20], ecx
lea rdx, [rsp + 0x40]
mov rcx, qword [r15 + 0x70]
mov r8d, 4
call qword [rax + 0x10]
mov edx, dword [rsp + 0x4c]
mov ebx, eax
mov rcx, qword [r12 + 0x20]
movsxd rax, edx
sub qword [rcx + rsi], rax
mov rax, qword [r12 + 0x20]
cmp qword [rsi + rax], 0
jl 0x1401459b9
mov r8d, 0x202
mov r9d, 0x400
inc r14d
inc rbp
add rsi, 8
test ebx, ebx
je 0x140145850
dec qword [r12 + 0x18]
mov rcx, rdi
call fcn.1400c1490
test ebx, ebx
cmove ebx, eax
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ebx, 0x10b
jmp 0x140145987
test ebx, ebx
jne 0x140145987
cmp qword [r12 + 0x18], 1
jge 0x140145987
mov rcx, rdi
mov ebx, 0x10b
call fcn.1400c1490
jmp 0x140145999