Function at 0x14002db40
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14002deab
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rbx
mov rsi, qword [0x140420828]
test rsi, rsi
jne 0x14002dbf2
mov byte [rsp + 0x78], r8b
nop
nop
lea rax, [0x140474678]
call fcn.14000c400
nop
mov rcx, qword [0x140420828]
test rcx, rcx
jne 0x14002dbc0
mov eax, 0x15f8f8
lea rbx, [0x1404770d0]
call fcn.140017b20
test rax, rax
je 0x14002de99
nop
lea rdx, [0x140420828]
mov rcx, rax
xchg qword [rdx], rax
mov qword [rsp + 0x30], rcx
nop
nop
lea rax, [0x140474678]
call fcn.14000c620
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
movzx r8d, byte [rsp + 0x78]
mov rsi, qword [rsp + 0x30]
xor edx, edx
xor r9d, r9d
jmp 0x14002dc18
mov r10, qword [rcx + rdx*8]
inc rdx
add r10, r9
mov r11, r10
shl r10, 0xa
lea r9, [r11 + r10]
mov r10, r9
shr r9, 6
xor r9, r10
cmp rdi, rdx
jg 0x14002dbf9
test byte [rsi], al
add r9, rbx
mov r10, r9
shl r9, 0xa
add r9, r10
mov r10, r9
shr r9, 6
xor r9, r10
lea r9, [r9 + r9*8]
mov r10, r9
shr r9, 0xb
xor r9, r10
mov rdx, rax
movabs rax, 0xba6a1fbc53191a92
mov r10, rdx
mul r9
shr rdx, 0x11
imul r11, rdx, 0x2bf1f
mov rax, r9
sub rax, r11
cmp rax, 0x2bf1f
jae 0x14002de8f
lea rsi, [rsi + rax*8]
mov r11, qword [rsi]
jmp 0x14002dc80
mov r11, qword [r11]
test r11, r11
je 0x14002dcb6
cmp qword [r11 + 0x10], r10
jne 0x14002dc7d
cmp qword [r11 + 0x18], r9
jne 0x14002dc7d
cmp qword [r11 + 0x20], rbx
jne 0x14002dc7d
mov rdx, qword [r11 + 0x28]
nop dword [rax + rax]
cmp rdx, 0x20
ja 0x14002de85
cmp rdi, rdx
jne 0x14002dc7d
xor eax, eax
jmp 0x14002de60
test r8b, r8b
je 0x14002dcf6
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x38], rsi
nop
nop
lea rax, [0x140474678]
call fcn.14000c400
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x50]
jmp 0x14002dd05
xor eax, eax
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rdx, qword [rdx]
test rdx, rdx
je 0x14002dd36
cmp qword [rdx + 0x10], r9
jne 0x14002dd02
cmp qword [rdx + 0x18], r8
jne 0x14002dd02
cmp qword [rdx + 0x20], rdi
jne 0x14002dd02
mov r10, qword [rdx + 0x28]
cmp r10, 0x20
ja 0x14002de4c
cmp rsi, r10
jne 0x14002dd02
xor eax, eax
jmp 0x14002de0e
mov rax, r9
mov rbx, rsi
nop dword [rax]
call fcn.14002d9e0
nop
mov rdx, qword [rax + 0x28]
cmp rdx, 0x20
ja 0x14002de01
mov qword [rsp + 0x28], rax
mov rsi, qword [rsp + 0x68]
cmp rsi, rdx
cmovl rdx, rsi
lea rsi, [rax + 0x30]
mov rbx, qword [rsp + 0x60]
cmp rbx, rsi
je 0x14002dd8a
shl rdx, 3
mov rax, rsi
mov rcx, rdx
nop dword [rax]
call fcn.140064380
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x18]
mov qword [rax + 0x18], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x50]
cmp rcx, 1
jne 0x14002ddb0
lea rcx, [0x140420860]
jmp 0x14002ddc6
cmp rcx, 3
jne 0x14002ddbf
lea rcx, [0x1404208b0]
jmp 0x14002ddc6
lea rcx, [0x140420820]
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rdx]
mov qword [rax], rbx
mov rbx, qword [rcx]
mov qword [rax + 8], rbx
nop
mov rbx, rax
xchg qword [rdx], rax
nop
xchg qword [rcx], rbx
nop
nop
lea rax, [0x140474678]
call fcn.14000c620
mov rax, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
nop
ret
mov ebx, 0x20
call fcn.140063b20
inc rax
cmp rax, r10
jge 0x14002de2a
mov r11, qword [rdx + rax*8 + 0x30]
mov r12, qword [rbx + rax*8]
nop dword [rax]
cmp r12, r11
je 0x14002de0b
jmp 0x14002dd02
mov qword [rsp + 0x20], rdx
nop
nop
lea rax, [0x140474678]
call fcn.14000c620
mov rax, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rdx, r10
mov ebx, 0x20
call fcn.140063b20
inc rax
nop dword [rax]
cmp rax, rdx
jge 0x14002de78
mov r12, qword [r11 + rax*8 + 0x30]
mov r13, qword [rcx + rax*8]
cmp r13, r12
je 0x14002de59
jmp 0x14002dc7d
mov rax, r11
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov ebx, 0x20
call fcn.140063b20
mov ecx, 0x2bf1f
call fcn.140063a00
lea rax, [0x140284fce]
mov ebx, 0x1f
call fcn.140036ac0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x30], r8b
call fcn.140061380
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
movzx r8d, byte [rsp + 0x30]
jmp fcn.14002db40