Function at 0x4c9160
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x4c945c
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], rcx
mov rdx, rdi
and edi, 0x1f
mov qword [rsp + 0x68], rdi
nop
cmp rdi, 0x14
ja 0x4c91b1
lea rsi, [rdi - 0x12]
nop dword [rax]
cmp rsi, 1
jbe 0x4c91d1
cmp rdi, 0x14
je 0x4c91bd
jmp 0x4c9425
cmp rdi, 0x16
jbe 0x4c91d1
cmp rdi, 0x17
jne 0x4c91c7
cmp qword [rcx], 0
setne sil
jmp 0x4c91ec
cmp rdi, 0x1a
jne 0x4c9425
bt edx, 9
jb 0x4c91f5
bt edx, 7
jae 0x4c91e2
mov rsi, qword [rcx]
jmp 0x4c91e5
mov rsi, rcx
test rsi, rsi
setne sil
test sil, sil
je 0x4c93df
mov qword [rsp + 0x90], rax
nop dword [rax]
cmp qword [0x0076fe48], rbx
jne 0x4c9216
mov rdx, qword [rcx]
mov rsi, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
jmp 0x4c9233
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
nop
call sym.reflect.Value.bytesSlow
mov rsi, rbx
mov rdx, rax
mov rax, qword [rsp + 0x90]
mov rdi, qword [0x0076ff20]
cmp dword [rdi + 0x140], 0xffffffff
jne 0x4c9276
mov rdi, rsi
shl rsi, 3
add rsi, 5
mov rbx, rax
movabs rax, 0xaaaaaaaaaaaaaaab
mov r8, rdx
imul rsi
lea rdx, [rdx + rdi*8]
lea rdx, [rdx + 5]
sar rdx, 2
sar rsi, 0x3f
sub rdx, rsi
jmp 0x4c92a6
lea rdi, [rsi + 2]
mov rbx, rax
movabs rax, 0xaaaaaaaaaaaaaaab
mov r8, rdx
imul rdi
lea rdx, [rdx + rsi]
lea rdx, [rdx + 2]
sar rdx, 1
sar rdi, 0x3f
sub rdx, rdi
shl rdx, 2
mov rdi, rsi
lea rsi, [rdx + 2]
test rsi, rsi
jl 0x4c9410
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x78], r8
test byte [rbx], al
mov rax, rbx
mov rbx, rsi
call sym.bytes._Buffer_.grow
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x10]
cmp rax, rdx
ja 0x4c9408
mov qword [rcx + 8], rax
mov r10, qword [rcx + 0x10]
sub r10, rax
mov r11, r10
neg r10
sar r10, 0x3f
and rax, r10
nop
add rax, qword [rcx]
test r11, r11
jne 0x4c9331
mov ebx, 1
mov rcx, r11
mov rdi, rbx
lea rsi, [0x00592de0]
call sym.runtime.growslice
mov r11, rcx
mov rcx, qword [rsp + 0x90]
mov byte [rax], 0x22
lea rdx, [r11 - 1]
mov rdi, rdx
neg rdx
sar rdx, 0x3f
and edx, 1
lea rbx, [rax + rdx]
mov r10, qword [rsp + 0x48]
cmp r10, rdi
ja 0x4c93fd
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], r11
mov rax, qword [0x0076ff20]
mov rcx, r10
mov rsi, qword [rsp + 0x78]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x40]
call sym.encoding_base64._Encoding_.Encode
mov rcx, qword [rsp + 0x48]
inc rcx
mov rdx, qword [rsp + 0x58]
cmp rdx, rcx
jb 0x4c93f8
mov rbx, qword [rsp + 0x50]
cmp rdx, rbx
jb 0x4c93a5
mov rax, qword [rsp + 0x70]
mov rcx, rdx
jmp 0x4c93be
mov rax, qword [rsp + 0x70]
mov rcx, rdx
mov edi, 1
lea rsi, [0x00592de0]
call sym.runtime.growslice
mov byte [rbx + rax - 1], 0x22
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
mov rax, qword [rsp + 0x90]
call sym.bytes._Buffer_.Write
sub rsp, 0xffffffffffffff80
pop rbp
ret
test byte [rax], al
lea rbx, [0x005dd40b]
mov ecx, 4
call sym.bytes._Buffer_.WriteString
sub rsp, 0xffffffffffffff80
pop rbp
ret
call sym.runtime.panicSliceAcap
mov rcx, r10
mov rdx, rdi
call sym.runtime.panicSliceAcap
mov rcx, rax
call sym.runtime.panicSliceAcap
lea rax, [0x00592aa0]
lea rbx, [0x00636838]
nop
call sym.runtime.gopanic
lea rax, [0x005b29c0]
call sym.runtime.newobject
mov qword [rax + 8], 0x13
lea rcx, [0x005e1bb2]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov rbx, rax
lea rax, [0x0059e240]
call sym.runtime.gopanic
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x28], sil
mov byte [rsp + 0x29], r8b
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
movzx esi, byte [rsp + 0x28]
movzx r8d, byte [rsp + 0x29]
nop
jmp sym.encoding_json.encodeByteSlice