Function at 0x140021160
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400213eb
sub rsp, 0x30
mov qword [rsp + 0x28], rbp
lea rbp, [rsp + 0x28]
cmp dword [0x1404744c8], 0
nop
je 0x1400213d9
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
test rcx, rcx
jne 0x1400211bb
nop
call fcn.140065380
xorps xmm15, xmm15
mov r14, qword [0x1404746d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x10], rcx
mov rdx, qword [0x140474a80]
mov rsi, rcx
sub rcx, rdx
cmp rcx, 0x989680
jle 0x1400211f4
lea rax, [0x140474a40]
mov rbx, rsi
call fcn.14001c600
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x10]
test rbx, rbx
je 0x140021222
mov rdx, qword [rbx + 0x1238]
test rdx, rdx
je 0x140021222
cmp qword [rdx + 0x10], 0
jne 0x14002121a
mov rdx, qword [rbx + 0x1240]
cmp qword [rdx + 0x10], 0
je 0x140021222
mov ecx, 1
nop
jmp 0x14002124c
mov rdx, qword [0x140421b60]
test rdx, rdx
jne 0x140021247
mov edx, dword [0x140421be8]
cmp dword [0x140421bec], edx
jbe 0x140021243
mov ecx, 1
jmp 0x14002124c
xor ecx, ecx
jmp 0x14002124c
mov ecx, 1
test cl, cl
je 0x140021253
nop
jmp 0x140021265
xor eax, eax
mov rbx, rsi
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
mov rax, rcx
mov rdx, qword [0x140474600]
test rdx, rdx
je 0x14002129d
mov rdi, rdx
sar rdx, 0x13
shl rdx, 3
nop
mov r8, qword [rdx]
mov rcx, rax
mov rax, rdi
lea r9, [0x140474600]
lock cmpxchg qword [r9], r8
sete dil
test dil, dil
je 0x140021262
jmp 0x1400212a9
mov rcx, rax
lea r9, [0x140474600]
xor edx, edx
test rdx, rdx
je 0x1400212b2
test byte [rcx], al
jmp 0x1400212c1
xor eax, eax
mov rbx, rsi
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
nop
mov rax, qword [rcx + 0xd0]
test rax, rax
jle 0x1400212f1
mov qword [rsp + 0x18], rax
lea rdi, [rax - 1]
lock cmpxchg qword [rcx + 0xd0], rdi
sete dil
test dil, dil
je 0x1400212c1
mov rdi, qword [rsp + 0x18]
test rdi, rdi
jg 0x140021386
movsd xmm0, qword [rcx + 0xf0]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x14002130a
jnp 0x14002136a
mov rdi, qword [rcx + 0xc8]
mov r8, rsi
sub rsi, rdi
test rsi, rsi
jle 0x14002135b
test byte [rbx], al
mov rdi, qword [rbx + 0x1218]
xorps xmm1, xmm1
cvtsi2sd xmm1, rdi
xorps xmm2, xmm2
cvtsi2sd xmm2, rsi
divsd xmm1, xmm2
ucomisd xmm1, xmm0
jbe 0x14002135b
mov rax, r9
mov rbx, rdx
call fcn.14000c180
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
test byte [rbx], al
mov qword [rbx + 0x1228], 2
jmp 0x140021393
mov rax, r9
mov rbx, rdx
call fcn.14000c180
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
test byte [rbx], al
mov qword [rbx + 0x1228], 1
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
mov ebx, 4
mov ecx, 1
call fcn.14003afa0
cmp byte [0x140426670], 0
je 0x1400213c5
mov rax, qword [rsp + 0x20]
xor ebx, ebx
nop dword [rax + rax]
call fcn.140055220
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
lea rax, [0x14028951d]
mov ebx, 0x36
call fcn.140036ac0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.140061380
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.140021160