Function at 0x43de60
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x43e117
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x58], bl
mov byte [rsp + 0x59], cl
mov rdx, qword [r14 + 0x30]
nop
inc dword [rdx + 0xd8]
mov rdx, qword [r14 + 0x30]
mov qword [rsp + 0x28], rdx
test cl, cl
jne 0x43deb9
mov qword [rsp + 0x50], rax
nop
nop
lea rax, [0x007719b8]
call sym.runtime.lock2
mov rax, qword [rsp + 0x50]
movzx ecx, byte [rsp + 0x59]
mov rdx, qword [rsp + 0x28]
movzx ebx, byte [rsp + 0x58]
test rax, rax
jne 0x43dee7
nop
test bl, bl
jne 0x43e105
xor eax, eax
call sym.runtime.pidleget
test rax, rax
je 0x43e004
movzx ecx, byte [rsp + 0x59]
mov rdx, qword [rsp + 0x28]
movzx ebx, byte [rsp + 0x58]
mov rsi, qword [0x007719c0]
nop
test rsi, rsi
je 0x43df0b
mov rdi, qword [rsi + 0x128]
mov qword [0x007719c0], rdi
dec dword [0x007719c8]
test rsi, rsi
mov qword [rsp + 0x30], rax
je 0x43df6c
test cl, cl
jne 0x43df3d
mov qword [rsp + 0x38], rsi
nop
nop
lea rax, [0x007719b8]
call sym.runtime.unlock2
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
movzx ebx, byte [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
cmp byte [rsi + 0xe4], 0
jne 0x43e0ef
cmp qword [rsi + 0xa8], 0
jne 0x43e0de
test bl, bl
je 0x43df65
nop dword [rax]
jmp 0x43e09d
xor ecx, ecx
jmp 0x43e04d
call sym.runtime.mReserveID
mov qword [rsp + 0x18], rax
movzx ecx, byte [rsp + 0x58]
movzx ecx, cl
mov qword [rsp + 0x20], rcx
nop
nop
lea rax, [0x007719b8]
call sym.runtime.unlock2
mov rax, qword [rsp + 0x20]
test rax, rax
mov eax, 0
lea rcx, sym.runtime.mspinning
cmovne rax, rcx
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
call sym.runtime.newm
movzx eax, byte [rsp + 0x59]
nop dword [rax]
test al, al
je 0x43dfd2
nop
nop
lea rax, [0x007719b8]
call sym.runtime.lock2
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0xd8]
lea edx, [rcx - 1]
nop
mov dword [rax + 0xd8], edx
cmp ecx, 1
jne 0x43dffe
cmp byte [r14 + 0xb1], 0
je 0x43dffe
mov qword [r14 + 0x10], 0xfffffffffffffade
add rsp, 0x40
pop rbp
ret
movzx ecx, byte [rsp + 0x59]
test cl, cl
jne 0x43e01b
nop
nop
lea rax, [0x007719b8]
call sym.runtime.unlock2
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0xd8]
lea edx, [rcx - 1]
nop
mov dword [rax + 0xd8], edx
cmp ecx, 1
jne 0x43e047
cmp byte [r14 + 0xb1], 0
je 0x43e047
mov qword [r14 + 0x10], 0xfffffffffffffade
add rsp, 0x40
pop rbp
ret
mov byte [rsi + 0xe4], cl
lea rcx, [rsi + 0x118]
mov qword [rsi + 0xa8], rax
mov rax, rcx
call sym.runtime.notewakeup
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
nop
mov dword [rcx + 0xd8], ebx
nop
cmp edx, 1
jne 0x43e097
cmp byte [r14 + 0xb1], 0
je 0x43e097
mov qword [r14 + 0x10], 0xfffffffffffffade
add rsp, 0x40
pop rbp
ret
mov ecx, dword [rax + 0x190]
mov edi, dword [rax + 0x194]
mov r8, qword [rax + 0x998]
mov r9d, dword [rax + 0x194]
cmp r9d, edi
jne 0x43e09d
nop dword [rax]
cmp edi, ecx
jne 0x43e0cd
test r8, r8
jne 0x43e0cd
mov ecx, ebx
jmp 0x43e04d
lea rax, [0x005e4cd3]
mov ebx, 0x19
call sym.runtime.throw
lea rax, [0x005e0402]
mov ebx, 0xf
call sym.runtime.throw
lea rax, [0x005e2cb7]
mov ebx, 0x15
nop dword [rax + rax]
call sym.runtime.throw
lea rax, [0x005e8ee7]
mov ebx, 0x24
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
mov byte [rsp + 0x11], cl
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
movzx ecx, byte [rsp + 0x11]
jmp sym.runtime.startm