Function at 0x1800bd180
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
lea r14d, [rdi + 1]
test r8, r8
jne 0x1800bd2c9
cmp qword [rcx + 0x38], rbx
lea rdi, [rcx + 0x38]
jne 0x1800bd28e
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.1800042ff
mov rsi, rax
test rax, rax
jne 0x1800bd1f7
mov rcx, qword [rdi]
lea ebx, [rax + 7]
call fcn.180003206
jmp 0x1800bd439
mov rax, qword [r12]
mov r9d, 0x81
mov rdx, rsi
inc dword [rax + 0x80]
xor eax, eax
mov rcx, qword [r15]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea r8d, [rax - 1]
mov qword [rsp + 0x20], rax
call fcn.180140280
mov ebx, eax
mov rax, qword [r12]
dec dword [rax + 0x80]
cmp dword [0x18028cb60], 0
je 0x1800bd285
mov rcx, qword [0x180294f30]
test rcx, rcx
je 0x1800bd24e
call qword [0x18028cbe0]
mov rcx, rsi
call qword [0x18028cb98]
dec qword [0x180294eb8]
movsxd rcx, eax
sub qword [0x180294e70], rcx
mov rcx, rsi
call qword [0x18028cb88]
mov rcx, qword [0x180294f30]
test rcx, rcx
je 0x1800bd28e
call qword [0x18028cbf0]
jmp 0x1800bd28e
mov rcx, rsi
call qword [0x18028cb88]
mov rdi, qword [rdi]
mov rcx, rdi
call fcn.180003206
test ebx, ebx
jne 0x1800bd439
mov r8, rbp
mov edx, r14d
mov rcx, rdi
call fcn.180004f7f
mov rcx, rdi
call fcn.180001145
cmp eax, 0x64
je 0x1800bd2c9
mov rcx, rdi
call fcn.180003206
jmp 0x1800bd43b
mov qword [rsp + 0x40], r12
mov rbp, r14
mov dword [rsp + 0x48], 0xffffffff
xor esi, esi
mov r8d, 0x202
mov r9d, 0x400
nop word [rax + rax]
cmp r14d, dword [r15 + 0x18]
jg 0x1800bd460
mov rax, qword [r15 + 0x28]
cmp byte [rax + rbp - 1], 0
jne 0x1800bd415
test rdi, rdi
je 0x1800bd32c
mov edx, r14d
mov rcx, rdi
call fcn.18000492b
mov edx, r14d
mov rcx, rdi
mov rbx, rax
call fcn.180003ee0
jmp 0x1800bd3b5
test r13, r13
je 0x1800bd415
mov rcx, qword [rsi + r13]
test rcx, rcx
jne 0x1800bd342
xor ebx, ebx
jmp 0x1800bd378
movzx edx, word [rcx + 0x14]
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x1800bd35f
cmp byte [rcx + 0x16], 1
jne 0x1800bd35f
mov rbx, qword [rcx + 8]
jmp 0x1800bd378
test dl, 1
je 0x1800bd368
xor ebx, ebx
jmp 0x1800bd378
mov dl, 1
call fcn.180188de0
mov rbx, rax
mov r9d, 0x400
mov rax, qword [rsi + r13]
movzx edx, word [rax + 0x14]
test dl, 2
je 0x1800bd390
cmp byte [rax + 0x16], 1
jne 0x1800bd390
mov ecx, dword [rax + 0x10]
jmp 0x1800bd3b7
test dl, 0x10
je 0x1800bd3a2
mov ecx, dword [rax + 0x10]
test r9w, dx
je 0x1800bd3b7
add ecx, dword [rax]
jmp 0x1800bd3b7
test dl, 1
je 0x1800bd3ab
xor ecx, ecx
jmp 0x1800bd3b7
mov dl, 1
mov rcx, rax
call fcn.180187cb0
mov ecx, eax
xor edx, edx
mov dword [rsp + 0x4c], edx
test rbx, rbx
je 0x1800bd3f1
mov rax, qword [r15 + 0x78]
lea rdx, [0x1800bd960]
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 0x1800bd459
mov r8d, 0x202
mov r9d, 0x400
inc r14d
inc rbp
add rsi, 8
test ebx, ebx
je 0x1800bd2f0
dec qword [r12 + 0x18]
mov rcx, rdi
call fcn.180003206
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 0x1800bd427
test ebx, ebx
jne 0x1800bd427
cmp qword [r12 + 0x18], 1
jge 0x1800bd427
mov rcx, rdi
mov ebx, 0x10b
call fcn.180003206
jmp 0x1800bd439