Function at 0x4349a0
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0x4d8]
cmp r12, qword [r14 + 0x10]
jbe 0x434e28
push rbp
mov rbp, rsp
sub rsp, 0x550
nop dword [rax]
cmp qword [r14 + 0x30], rax
je 0x434e16
mov rcx, rax
xor eax, eax
mov edx, 1
lock cmpxchg dword [rcx + 0x338], edx
sete dl
nop
test dl, dl
je 0x434da2
mov qword [rsp + 0x548], rcx
lea rax, [rcx + 0x310]
mov qword [rsp + 0x538], rax
nop
call sym.runtime.lock2
mov rcx, qword [rsp + 0x548]
cmp qword [rcx + 0x318], 0
jne 0x434a4d
nop
nop
mov rax, qword [rsp + 0x538]
call sym.runtime.unlock2
xor ecx, ecx
mov rdx, qword [rsp + 0x548]
xchg dword [rdx + 0x338], ecx
nop
mov ecx, 1
lock xadd dword [rdx + 0x308], ecx
add rsp, 0x550
pop rbp
ret
mov qword [rsp + 0x48], 0
mov rax, qword [sym.imp.kernel32.dll_DuplicateHandle]
mov rdx, qword [rcx + 0x318]
lea rbx, [rsp + 0x48]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rbx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
call sym.runtime.stdcall7.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
je 0x434db9
nop
nop
mov rax, qword [rsp + 0x538]
call sym.runtime.unlock2
movups xmmword [rsp + 0x59], xmm15
lea rdi, [rsp + 0x68]
mov ecx, 0x9a
xor eax, eax
rep stosq qword [rdi], rax
lea rcx, [rsp + 0x68]
and rcx, 0xfffffffffffffff0
mov qword [rsp + 0x540], rcx
mov dword [rcx + 0x30], 0x100001
nop
nop
lea rax, [0x007c48e0]
call sym.runtime.lock2
mov rcx, qword [rsp + 0x48]
mov rdx, qword [sym.imp.kernel32.dll_SuspendThread]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
call sym.runtime.stdcall1.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x10]
cmp ecx, 0xffffffff
je 0x434d41
mov rax, qword [rsp + 0x48]
mov rcx, qword [sym.imp.kernel32.dll_GetThreadContext]
mov rdx, qword [rsp + 0x540]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rdx
call sym.runtime.stdcall2.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
nop
nop
lea rax, [0x007c48e0]
call sym.runtime.unlock2
mov rax, qword [rsp + 0x548]
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x540]
mov rbx, qword [rdx + 0x98]
test rcx, rcx
je 0x434bb0
cmp qword [rcx], rbx
jae 0x434bb0
cmp qword [rcx + 8], rbx
ja 0x434bed
mov rsi, qword [rax + 0x50]
test rsi, rsi
je 0x434bcb
cmp qword [rsi], rbx
jae 0x434bcb
nop
cmp qword [rsi + 8], rbx
jbe 0x434bcb
mov rcx, rsi
jmp 0x434bed
mov rsi, qword [rax + 0x90]
test rsi, rsi
je 0x434beb
cmp qword [rsi], rbx
jae 0x434beb
nop dword [rax]
cmp qword [rsi + 8], rbx
jbe 0x434beb
mov rcx, rsi
jmp 0x434bed
xor ecx, ecx
test rcx, rcx
je 0x434c32
cmp byte [rcx + 0xb1], 0
jne 0x434c16
mov rsi, qword [rcx + 0x30]
mov rsi, qword [rsi + 0xa0]
test rsi, rsi
je 0x434c2e
test byte [rsi], al
cmp byte [rsi + 0x22c8], 0
je 0x434c2a
nop
mov esi, dword [rcx + 0x90]
btr esi, 0xc
cmp esi, 2
sete sil
jmp 0x434c34
xor esi, esi
jmp 0x434c34
xor esi, esi
jmp 0x434c34
xor esi, esi
test sil, sil
je 0x434cc6
mov rbx, qword [rdx + 0xf8]
mov rsi, qword [rdx + 0x98]
mov rax, rcx
mov rcx, rsi
xor edi, edi
call sym.runtime.isAsyncSafePoint
test al, al
je 0x434cbe
lea rax, [sym.runtime.asyncPreempt.abi0]
mov rcx, qword [rsp + 0x540]
mov rdx, qword [rcx + 0x98]
add rdx, 0xfffffffffffffff8
mov rsi, rdx
nop
mov qword [rdx], rbx
nop
mov qword [rcx + 0x98], rsi
nop
mov qword [rcx + 0xf8], rax
mov rax, qword [rsp + 0x48]
mov rdx, qword [sym.imp.kernel32.dll_SetThreadContext]
mov qword [rsp], rdx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
call sym.runtime.stdcall2.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x548]
xor ecx, ecx
xchg dword [rax + 0x338], ecx
nop
mov ecx, 1
lock xadd dword [rax + 0x308], ecx
mov rax, qword [rsp + 0x48]
mov rcx, qword [sym.imp.kernel32.dll_ResumeThread]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call sym.runtime.stdcall1.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
mov rcx, qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
nop dword [rax]
call sym.runtime.stdcall1.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x550
pop rbp
nop
ret
nop
nop
lea rax, [0x007c48e0]
call sym.runtime.unlock2
mov rcx, qword [rsp + 0x48]
mov rdx, qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
call sym.runtime.stdcall1.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
xor ecx, ecx
mov rdx, qword [rsp + 0x548]
xchg dword [rdx + 0x338], ecx
nop
mov ecx, 1
lock xadd dword [rdx + 0x308], ecx
add rsp, 0x550
pop rbp
ret
nop
mov eax, 1
lock xadd dword [rcx + 0x308], eax
add rsp, 0x550
pop rbp
ret
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x50], rax
call sym.runtime.printlock
lea rax, [0x005eb7d6]
mov ebx, 0x30
call sym.runtime.printstring
mov rax, qword [rsp + 0x50]
call sym.runtime.printuint
call sym.runtime.printnl
nop dword [rax]
call sym.runtime.printunlock
lea rax, [0x005e9e6b]
mov ebx, 0x28
call sym.runtime.throw
lea rax, [0x005df33d]
mov ebx, 0xc
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.runtime.preemptM