Function at 0x140041a20
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140041db9
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rcx
test rax, rax
jne 0x140041a5d
lea rax, [0x14028059b]
mov ebx, 0x14
call fcn.140036bc0
mov rcx, qword [r14 + 0x30]
nop
inc dword [rcx + 0xd8]
mov rcx, qword [r14 + 0x30]
mov qword [rsp + 0x18], rcx
mov rdx, r14
test byte [rdx], al
mov rax, qword [rcx + 0xa0]
mov qword [rsp + 0x30], rax
call fcn.1400422c0
test rax, rax
jne 0x140041ab6
mov eax, 0x800
call fcn.1400417e0
mov qword [rsp + 0x20], rax
xor ebx, ebx
mov ecx, 6
call fcn.14003afa0
mov rax, qword [rsp + 0x20]
call fcn.140039fa0
mov rax, qword [rsp + 0x20]
cmp qword [rax + 8], 0
nop dword [rax + rax]
je 0x140041da7
nop
mov ecx, dword [rax + 0x90]
cmp ecx, 6
jne 0x140041d96
mov qword [rsp + 0x20], rax
mov rcx, qword [rax + 8]
mov qword [rsp + 0x10], rcx
lea rdx, [rax + 0x38]
mov qword [rsp + 0x28], rdx
mov ebx, 0x38
mov rax, rdx
call fcn.140064080
mov rcx, qword [rsp + 0x10]
add rcx, 0xffffffffffffffe0
mov rdx, qword [rsp + 0x20]
mov qword [rdx + 0x38], rcx
mov qword [rdx + 0x80], rcx
lea rcx, [0x140063520]
inc rcx
mov qword [rdx + 0x40], rcx
mov rcx, rdx
mov qword [rcx + 0x48], rdx
mov rax, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x50]
call fcn.14004bbe0
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x20]
mov qword [rdx + 0x128], rcx
mov rax, qword [rsp + 0x38]
call fcn.140041e00
cmp dword [0x140474780], 0
jne 0x140041b69
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x130], rax
jmp 0x140041b88
mov rdi, qword [rsp + 0x20]
lea rcx, [rdi + 0x130]
mov rdx, rdi
mov rdi, rcx
nop dword [rax + rax]
call fcn.140063560
mov rcx, rdx
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx]
mov qword [rcx + 0x138], rdx
mov rax, rcx
xor ebx, ebx
nop dword [rax]
call fcn.140059280
test al, al
je 0x140041bc6
nop
mov edx, 1
lea rsi, [0x140422188]
lock xadd dword [rsi], edx
mov rdx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp 0x140041c2c
mov rdx, qword [rsp + 0x18]
mov rsi, qword [rdx + 0x90]
test rsi, rsi
je 0x140041c11
mov rsi, qword [rsi + 0x168]
cmp dword [0x140474780], 0
jne 0x140041bf5
mov rdi, qword [rsp + 0x20]
mov qword [rdi + 0x168], rsi
jmp 0x140041c16
mov rdi, qword [rsp + 0x20]
lea r8, [rdi + 0x168]
mov rax, rdi
mov rdi, r8
call fcn.1400636c0
mov rdi, rax
jmp 0x140041c16
mov rdi, qword [rsp + 0x20]
cmp byte [0x1402420e4], 0
je 0x140041c2c
nop
nop
mov esi, 2
xchg dword [rdi + 0x17c], esi
mov rsi, qword [r14 + 0x30]
movabs rax, 0xa0761d6478bd642f
add rax, qword [rsi + 0xf0]
movabs r8, 0xe7037ed1a0b428db
xor r8, rax
mov rbx, rax
mul r8
mov qword [rsi + 0xf0], rbx
xor rax, rdx
mov byte [rdi + 0xbd], al
test al, 7
jne 0x140041c6f
mov byte [rdi + 0xbc], 1
mov rax, rdi
mov ebx, 6
mov ecx, 1
nop dword [rax]
call fcn.14003afa0
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 8]
sub rdx, qword [rax]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x140041ce3
mov rcx, qword [rsi + 0x22a8]
lea rdi, [rcx + rdx]
mov qword [rsi + 0x22a8], rdi
lea rcx, [rcx + rdx]
lea rcx, [rcx + 0x1fff]
nop dword [rax + rax]
cmp rcx, 0x3fff
jb 0x140041cf0
nop
lea rcx, [0x140474f90]
lock xadd qword [rcx], rdi
mov qword [rsi + 0x22a8], 0
jmp 0x140041cf0
nop
lea rcx, [0x140474f90]
lock xadd qword [rcx], rdx
mov rcx, qword [rsi + 0x180]
nop word [rax + rax]
cmp qword [rsi + 0x188], rcx
jne 0x140041d31
nop
mov ecx, 0x10
lea rdx, [0x140422140]
lock xadd qword [rdx], rcx
lea rdx, [rcx + 1]
mov qword [rsi + 0x180], rdx
add rcx, 0x11
mov qword [rsi + 0x188], rcx
mov rcx, qword [rsi + 0x180]
mov qword [rax + 0x98], rcx
inc qword [rsi + 0x180]
cmp byte [0x140426670], 0
je 0x140041d60
mov rbx, qword [rax + 0x138]
call fcn.140054f00
mov rax, qword [rsp + 0x20]
nop
mov rcx, qword [rsp + 0x18]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
mov dword [rcx + 0xd8], ebx
cmp edx, 1
jne 0x140041d8c
cmp byte [r14 + 0xb1], 0
je 0x140041d8c
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rax, [0x140283d3a]
mov ebx, 0x1c
call fcn.140036ac0
lea rax, [0x140283d56]
mov ebx, 0x1c
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]
nop dword [rax]
jmp fcn.140041a20