Function at 0x14006baa6
Capabilities:
Reference sql statements

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x30]
test eax, eax
jne 0x14006bf7c
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x160]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.140096ab0
mov dword [rbp - 0x24], eax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 0x20]
mov eax, dword [rbp - 0x24]
cdqe
shl rax, 5
add rax, rdx
mov rax, qword [rax]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
add rax, 0x10
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax + 8]
mov rax, qword [rbp - 0x20]
movzx eax, word [rax + 0x36]
movsx rdx, ax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
sub rax, 0x18
add rax, rcx
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14007485b
mov qword [rbp - 8], rax
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x18]
mov r8, rcx
mov rcx, rax
call fcn.140073ba2
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov r8, rdx
mov edx, 0x1a
mov rcx, rax
call fcn.140073142
test eax, eax
jne 0x14006bf7f
mov rax, qword [rbp - 0x40]
movzx eax, word [rax + 0x12]
movzx eax, ax
and eax, 1
test eax, eax
je 0x14006bbdb
mov rax, qword [rbp + 0x10]
lea rdx, [0x140c77db8]
mov rcx, rax
call fcn.140010bfe
jmp 0x14006bf83
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x14006bc00
mov rax, qword [rbp + 0x10]
lea rdx, [0x140c77dd8]
mov rcx, rax
call fcn.140010bfe
jmp 0x14006bf83
mov rax, qword [rbp - 0x40]
movzx eax, word [rax + 0x12]
movzx eax, ax
and eax, 0x60
test eax, eax
jne 0x14006bd26
cmp qword [rbp - 8], 0
je 0x14006bc34
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
movzx eax, byte [rax]
cmp al, 0x79
jne 0x14006bc34
mov qword [rbp - 8], 0
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x30]
and eax, 0x4000
test rax, rax
je 0x14006bc78
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x48]
test rax, rax
je 0x14006bc78
cmp qword [rbp - 8], 0
je 0x14006bc78
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp + 0x10]
lea r9, [0x140c77df8]
mov r8, rcx
mov rcx, rax
call fcn.14006ba5d
mov rax, qword [rbp - 0x40]
movzx eax, byte [rax + 8]
and eax, 0xf
test al, al
je 0x14006bcac
cmp qword [rbp - 8], 0
jne 0x14006bcac
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp + 0x10]
lea r9, [0x140c77e38]
mov r8, rcx
mov rcx, rax
call fcn.14006ba5d
cmp qword [rbp - 8], 0
je 0x14006bd56
mov qword [rbp - 0x70], 0
mov rdx, qword [rbp - 8]
mov rax, qword [rbp - 0x18]
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x41
mov r8d, 1
mov rcx, rax
call fcn.14003e6f2
mov dword [rbp - 0x4c], eax
cmp dword [rbp - 0x4c], 0
jne 0x14006bf82
mov rax, qword [rbp - 0x70]
test rax, rax
jne 0x14006bd18
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp + 0x10]
lea r9, [0x140c77e70]
mov r8, rcx
mov rcx, rax
call fcn.14006ba5d
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14003e79b
jmp 0x14006bd56
mov rax, qword [rbp - 0x40]
movzx eax, word [rax + 0x12]
movzx eax, ax
and eax, 0x40
test eax, eax
je 0x14006bd56
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp + 0x10]
lea r9, [0x140c77e9e]
mov r8, rcx
mov rcx, rax
call fcn.14006ba5d
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 8]
mov ecx, eax
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
mov r8, rcx
mov rcx, rax
call fcn.14000bdf3
mov qword [rbp - 0x58], rax
cmp qword [rbp - 0x58], 0
je 0x14006be2e
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 8]
sub eax, 1
mov edx, eax
mov rax, qword [rbp - 0x58]
add rax, rdx
mov qword [rbp - 0x10], rax
jmp 0x14006bdac
mov rax, qword [rbp - 0x10]
lea rdx, [rax - 1]
mov qword [rbp - 0x10], rdx
mov byte [rax], 0
mov rax, qword [rbp - 0x10]
cmp qword [rbp - 0x58], rax
jae 0x14006bde2
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
cmp al, 0x3b
je 0x14006bd9d
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
movzx eax, al
cdqe
lea rdx, [0x140c74480]
movzx eax, byte [rax + rdx]
movzx eax, al
and eax, 1
test eax, eax
jne 0x14006bd9d
mov rax, qword [rbp - 0x20]
mov edx, dword [rax + 0x40]
mov rax, qword [rbp - 0x20]
mov r9d, dword [rax + 0x40]
mov r8, qword [rbp - 0x30]
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp - 0x38]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov rdx, qword [rbp - 0x58]
mov qword [rsp + 0x20], rdx
lea rdx, [0x140c77ec0]
mov rcx, rax
call fcn.140073a26
mov rdx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.14000b68f
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.14009b631
mov qword [rbp - 0x60], rax
cmp qword [rbp - 0x60], 0
je 0x14006bf83
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.14006b221
mov dword [rbp - 0x64], eax
mov ecx, dword [rbp - 0x64]
mov edx, dword [rbp - 0x24]
mov rax, qword [rbp - 0x60]
mov dword [rsp + 0x20], 2
mov r9d, ecx
mov r8d, edx
mov edx, 0x63
mov rcx, rax
call fcn.14003ef2f
mov edx, dword [rbp - 0x24]
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.140040af2
mov edx, dword [rbp - 0x64]
mov rax, qword [rbp - 0x60]
mov r9d, 0xfffffffe
mov r8d, edx
mov edx, 0x56
mov rcx, rax
call fcn.14003eeee
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.14003fad1
lea ecx, [rax + 2]
mov edx, dword [rbp - 0x64]
mov rax, qword [rbp - 0x60]
mov r9d, ecx
mov r8d, edx
mov edx, 0x3b
mov rcx, rax
call fcn.14003eeee
mov edx, dword [rbp - 0x24]
mov rax, qword [rbp - 0x60]
mov dword [rsp + 0x20], 3
mov r9d, 2
mov r8d, edx
mov edx, 0x64
mov rcx, rax
call fcn.14003ef2f
mov edx, dword [rbp - 0x64]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.14006b27d
mov edx, dword [rbp - 0x24]
mov rax, qword [rbp + 0x10]
mov r8d, 3
mov rcx, rax
call fcn.14006b558
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x14006bf59
mov rax, qword [rbp - 0x40]
movzx eax, byte [rax + 8]
and eax, 0xf
test al, al
je 0x14006bf49
mov rax, qword [rbp - 0x40]
movzx eax, word [rax + 0x12]
movzx eax, ax
and eax, 0x60
test eax, eax
jne 0x14006bf59
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x30]
and eax, 0x10000
test eax, eax
je 0x14006bf83
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbp + 0x10]
mov r9, rcx
mov r8, rdx
lea rdx, [0x140c77f58]
mov rcx, rax
call fcn.140073a26
jmp 0x14006bf83
nop
jmp 0x14006bf83
nop
jmp 0x14006bf83
nop
add rsp, 0xb0
pop rbp
ret