Function at 0x4c1f60
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x4c2246
push rbp
mov rbp, rsp
sub rsp, 0xb8
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], r8
nop word [rax + rax]
test rcx, rcx
je 0x4c222e
mov byte [rsp + 0xd0], bl
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd8], rcx
lea rdx, [rax + 0x10]
mov qword [rsp + 0x38], rdx
mov r9, rax
xor eax, eax
mov r10d, 1
lock cmpxchg dword [r9 + 0x10], r10d
sete r10b
test rsi, rsi
mov r11, rdi
cmovne rdi, r8
mov qword [rsp + 0x40], rdi
mov r8, rcx
cmovne rcx, rsi
mov qword [rsp + 0x30], rcx
test r10b, r10b
jne 0x4c203d
mov rax, rdx
call sym.sync._Mutex_.lockSlow
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
movzx ebx, byte [rsp + 0xd0]
mov rdi, qword [rsp + 0x40]
mov r8, qword [rsp + 0xd8]
mov r9, qword [rsp + 0xc8]
mov r11, qword [rsp + 0xe0]
cmp qword [r9 + 0x30], 0
jne 0x4c2147
mov qword [r9 + 0x30], r8
cmp dword [0x007c4ac0], 0
je 0x4c206b
mov rax, r11
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [r9 + 0x38]
mov qword [r11 + 8], rsi
mov r11, rax
mov qword [r9 + 0x38], r11
mov qword [r9 + 0x40], rcx
cmp dword [0x007c4ac0], 0
je 0x4c2093
mov rax, r11
nop
call sym.runtime.gcWriteBarrier2
mov qword [r11], rdi
mov rsi, qword [r9 + 0x48]
mov qword [r11 + 8], rsi
mov r11, rax
mov qword [r9 + 0x48], rdi
movups xmmword [rsp + 0x48], xmm15
mov rsi, qword [r9 + 0x18]
test rsi, rsi
je 0x4c20c2
lea r10, [0x007c479f]
cmp rsi, r10
je 0x4c20c2
mov r10, qword [r9 + 0x20]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r10
jmp 0x4c20c8
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00594560]
cmp qword [rsp + 0x48], rsi
jne 0x4c20dd
mov r10, qword [rsp + 0x50]
jmp 0x4c20e0
xor r10d, r10d
test r10, r10
je 0x4c20ef
mov rax, r10
call sym.runtime.closechan
jmp 0x4c2105
lea rax, [r9 + 0x18]
mov rcx, qword [0x0076fe78]
mov rbx, rsi
nop dword [rax]
call sym.sync_atomic._Value_.Store
mov rdx, qword [rsp + 0xc8]
mov rbx, qword [rdx + 0x28]
lea rdi, [rsp + 0x58]
lea rdi, [rdi - 0x20]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466a4b
mov rbp, qword [rbp]
lea rax, [0x005a0be0]
lea rcx, [rsp + 0x58]
nop
call sym.runtime.mapiterinit
jmp 0x4c21a5
nop
mov ebx, 0xffffffff
lock xadd dword [r9 + 0x10], ebx
dec ebx
test ebx, ebx
je 0x4c2165
mov rax, rdx
nop dword [rax]
call sym.sync._Mutex_.unlockSlow
add rsp, 0xb8
pop rbp
ret
mov r9, qword [rdx]
mov rax, qword [rdx + 8]
mov rdx, qword [r9 + 0x20]
xor ebx, ebx
mov rcx, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
call rdx
lea rax, [rsp + 0x58]
nop dword [rax]
call sym.runtime.mapiternext
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x4c216e
cmp dword [0x007c4ac0], 0
jne 0x4c21c2
mov rdi, qword [rsp + 0xc8]
jmp 0x4c21d6
mov rdi, qword [rsp + 0xc8]
mov rdx, qword [rdi + 0x28]
call sym.runtime.gcWriteBarrier1
mov qword [r11], rdx
mov qword [rdi + 0x28], 0
nop
mov ebx, 0xffffffff
lock xadd dword [rdi + 0x10], ebx
dec ebx
test ebx, ebx
je 0x4c2201
mov rax, qword [rsp + 0x38]
call sym.sync._Mutex_.unlockSlow
mov rdi, qword [rsp + 0xc8]
movzx edx, byte [rsp + 0xd0]
test dl, dl
je 0x4c2225
mov rax, qword [rdi]
mov rbx, qword [rdi + 8]
lea rcx, [0x00637d48]
nop dword [rax + rax]
call sym.context.removeChild
add rsp, 0xb8
pop rbp
ret
lea rax, [0x00592aa0]
lea rbx, [0x00636e08]
nop dword [rax]
call sym.runtime.gopanic
nop
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp sym.context._cancelCtx_.cancel