Function at 0x4c85a0
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0x1a0]
cmp r12, qword [r14 + 0x10]
jbe 0x4c8ece
push rbp
mov rbp, rsp
sub rsp, 0x218
mov qword [rsp + 0x238], rcx
mov qword [rsp + 0x240], rdi
movq qword [rsp + 0x210], xmm15
mov byte [rsp + 0x3f], 0
mov rdx, rsi
and esi, 0x1f
mov qword [rsp + 0x78], rsi
nop
cmp rsi, 0x14
ja 0x4c8605
lea r10, [rsi - 0x12]
cmp r10, 1
jbe 0x4c862a
cmp rsi, 0x14
je 0x4c8611
nop
jmp 0x4c8e87
cmp rsi, 0x16
jbe 0x4c862a
cmp rsi, 0x17
jne 0x4c8620
cmp qword [rdi], 0
setne r10b
jmp 0x4c8645
cmp rsi, 0x1a
jne 0x4c8e87
bt edx, 9
jb 0x4c866e
bt edx, 7
jae 0x4c863b
mov r10, qword [rdi]
jmp 0x4c863e
mov r10, rdi
test r10, r10
setne r10b
test r10b, r10b
jne 0x4c866e
test byte [rbx], al
mov rax, rbx
lea rbx, [0x005dd40b]
mov ecx, 4
nop dword [rax + rax]
call sym.bytes._Buffer_.WriteString
add rsp, 0x218
pop rbp
ret
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], rcx
mov byte [rsp + 0x3e], r9b
mov byte [rsp + 0x3d], r8b
mov r10, qword [rbx + 0x28]
inc r10
mov qword [rbx + 0x28], r10
cmp r10, 0x3e8
ja 0x4c86b9
xor r10d, r10d
jmp 0x4c87d0
mov rax, rcx
mov rbx, rdi
mov rcx, rdx
call sym.reflect.Value.UnsafePointer
mov qword [rsp + 0x80], rax
lea rdx, [0x00592e60]
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], rax
mov rsi, qword [rsp + 0x230]
mov rbx, qword [rsi + 0x30]
lea rcx, [rsp + 0xe8]
lea rax, [0x005a0c40]
call sym.runtime.mapaccess2
test bl, bl
je 0x4c871d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jne 0x4c8d28
jmp 0x4c8e65
lea rdx, [0x00592e60]
mov qword [rsp + 0xe8], rdx
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0xf0], rsi
mov rdi, qword [rsp + 0x230]
mov rbx, qword [rdi + 0x30]
lea rax, [0x005a0c40]
lea rcx, [rsp + 0xe8]
call sym.runtime.mapassign
test byte [rax], al
mov rax, qword [rsp + 0x230]
mov rdx, qword [rax + 0x30]
movups xmmword [rsp + 0xf8], xmm15
movups xmmword [rsp + 0x108], xmm15
lea rsi, [sym.encoding_json.mapEncoder.encode.func2]
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rdx
lea rdx, [0x00592e60]
mov qword [rsp + 0x108], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x110], rdx
lea rdx, [rsp + 0xf8]
mov qword [rsp + 0x210], rdx
mov byte [rsp + 0x3f], 1
mov rbx, rax
mov r10d, 1
mov byte [rsp + 0x3c], r10b
mov rax, rbx
mov ebx, 0x7b
nop dword [rax]
call sym.bytes._Buffer_.WriteByte
mov rcx, qword [rsp + 0x78]
cmp rcx, 0x17
jne 0x4c87fe
mov rdx, qword [rsp + 0xb8]
mov rsi, qword [rdx + 8]
jmp 0x4c881b
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x70]
call sym.reflect.Value.lenNonSlice
mov rsi, rax
mov qword [rsp + 0x40], rsi
lea rax, [0x005b9740]
mov rbx, rsi
mov rcx, rbx
call sym.runtime.makeslice
mov qword [rsp + 0xa8], rax
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x15
je 0x4c8858
mov rax, qword [rsp + 0x70]
call sym.reflect.flag.panicNotMap
mov rax, qword [rsp + 0xa8]
movups xmmword [rsp + 0x198], xmm15
lea rdi, [rsp + 0x1a0]
lea rdi, [rdi - 0x10]
nop word [rax + rax]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466a46
mov rbp, qword [rbp]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x1a8], rcx
mov rdx, qword [rsp + 0xb0]
mov qword [rsp + 0x198], rdx
mov rbx, qword [rsp + 0xb8]
mov qword [rsp + 0x1a0], rbx
xor esi, esi
jmp 0x4c88cc
mov rsi, qword [rsp + 0x50]
inc rsi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x198]
call sym.reflect._MapIter_.Next
nop
test al, al
je 0x4c89ce
lea rax, [rsp + 0x198]
call sym.reflect._MapIter_.Key
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
nop
cmp rdx, rsi
jae 0x4c8d1d
shl rdx, 6
mov r8, qword [rsp + 0xa8]
mov qword [r8 + rdx + 0x10], rcx
lea rcx, [r8 + rdx]
mov qword [rsp + 0xa0], rcx
cmp dword [0x007c4ac0], 0
je 0x4c894c
call sym.runtime.gcWriteBarrier4
mov qword [r11], rax
mov r9, qword [r8 + rdx]
mov qword [r11 + 8], r9
mov qword [r11 + 0x10], rbx
mov r9, qword [r8 + rdx + 8]
mov qword [r11 + 0x18], r9
mov qword [rsp + 0x68], rdx
mov qword [r8 + rdx], rax
mov qword [r8 + rdx + 8], rbx
lea rax, [rsp + 0x198]
call sym.reflect._MapIter_.Value
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xa8]
mov qword [rsi + rdx + 0x28], rcx
cmp dword [0x007c4ac0], 0
je 0x4c89a0
call sym.runtime.gcWriteBarrier4
mov qword [r11], rax
mov rcx, qword [rsi + rdx + 0x18]
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rbx
mov rcx, qword [rsi + rdx + 0x20]
mov qword [r11 + 0x18], rcx
mov qword [rsi + rdx + 0x18], rax
mov qword [rsi + rdx + 0x20], rbx
mov rax, qword [rsp + 0xa0]
call sym.encoding_json._reflectWithString_.resolve
nop word [rax + rax]
test rax, rax
je 0x4c88c4
jmp 0x4c8bd8
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
nop
call sym.runtime.convTslice
movups xmmword [rsp + 0x118], xmm15
movups xmmword [rsp + 0x128], xmm15
lea rdx, [sym.encoding_json.mapEncoder.encode.func1]
mov qword [rsp + 0x118], rdx
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], rdx
mov rsi, qword [rsp + 0xa8]
mov qword [rsp + 0x120], rsi
mov rbx, rax
lea rcx, [rsp + 0x118]
lea rax, [0x00591060]
nop dword [rax]
call sym.sort.Slice
mov rdx, qword [rsp + 0xa8]
xor eax, eax
jmp 0x4c8b17
mov rsi, qword [rsp + 0x188]
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x230]
mov rbx, qword [rdx + 8]
mov rdi, qword [rdx + 0x10]
sub rdi, rbx
mov r10, rdi
neg r10
sar r10, 0x3f
and rbx, r10
add rbx, qword [rdx]
lea r10, [rax + 1]
mov qword [rsp + 0x68], r10
lea rax, [0x00636e60]
xor ecx, ecx
movzx r9d, byte [rsp + 0x3e]
nop
call sym.encoding_json.appendString_go.shape.string_
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
mov rax, qword [rsp + 0x230]
call sym.bytes._Buffer_.Write
mov rax, qword [rsp + 0x230]
mov ebx, 0x3a
call sym.bytes._Buffer_.WriteByte
mov rdx, qword [rsp + 0xc0]
mov r10, qword [rdx]
mov rbx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x180]
mov rax, qword [rsp + 0x230]
movzx esi, byte [rsp + 0x3d]
movzx r8d, byte [rsp + 0x3e]
call r10
mov rdx, qword [rsp + 0xb8]
add rdx, 0x40
mov rax, qword [rsp + 0x68]
mov r10, qword [rsp + 0x40]
nop dword [rax]
cmp rax, r10
jge 0x4c8b8f
mov qword [rsp + 0xb8], rdx
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0x158], xmm0
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x168], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rsp + 0x178], xmm0
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rsp + 0x188], xmm0
nop dword [rax]
test rax, rax
jle 0x4c8a54
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x230]
mov ebx, 0x2c
nop dword [rax + rax]
call sym.bytes._Buffer_.WriteByte
mov rax, qword [rsp + 0x48]
jmp 0x4c8a54
mov rax, qword [rsp + 0x230]
mov ebx, 0x7d
nop dword [rax]
call sym.bytes._Buffer_.WriteByte
mov rcx, qword [rsp + 0x230]
dec qword [rcx + 0x28]
movzx ecx, byte [rsp + 0x3c]
test cl, 1
je 0x4c8bcf
and ecx, 0xfffffffe
mov byte [rsp + 0x3f], cl
mov rdx, qword [rsp + 0x210]
mov rax, qword [rdx]
call rax
add rsp, 0x218
pop rbp
ret
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x4c8cfd
bt ecx, 9
jb 0x4c8cfd
lea rcx, [0x0063a200]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0xf8]
mov rax, rdx
call rcx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x88]
call rcx
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x60], rbx
movups xmmword [rsp + 0x138], xmm15
movups xmmword [rsp + 0x148], xmm15
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x68]
call sym.runtime.convTstring
lea rcx, [0x00592aa0]
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x60]
call sym.runtime.convTstring
lea rcx, [0x00592aa0]
mov qword [rsp + 0x148], rcx
mov qword [rsp + 0x150], rax
lea rax, [0x005e90bb]
mov ebx, 0x24
lea rcx, [rsp + 0x138]
mov edi, 2
mov rsi, rdi
call sym.fmt.Errorf
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
lea rax, [0x005af540]
lea rbx, [rsp + 0xc8]
call sym.runtime.convT
mov rbx, rax
lea rax, [0x005af540]
call sym.runtime.gopanic
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
call sym.reflect.Value.typeSlow
mov rcx, rax
mov rdx, rbx
jmp 0x4c8c0c
mov rax, rdx
mov rcx, rsi
call sym.runtime.panicIndex
bt ecx, 9
jb 0x4c8e65
lea rax, [0x0063a200]
mov rdx, qword [rsp + 0xb0]
movups xmmword [rsp + 0xd8], xmm15
test rax, rax
je 0x4c8d53
mov rax, qword [rax + 8]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rdx
lea rax, [0x005e57d3]
mov ebx, 0x1a
lea rcx, [rsp + 0xd8]
mov edi, 1
mov rsi, rdi
nop
call sym.fmt.Sprintf
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x68], rbx
lea rax, [0x005b35a0]
call sym.runtime.newobject
mov rdx, qword [rsp + 0x70]
mov qword [rax + 0x10], rdx
cmp dword [0x007c4ac0], 0
jne 0x4c8e40
mov rcx, qword [rsp + 0xb0]
mov qword [rax], rcx
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x20], rcx
cmp dword [0x007c4ac0], 0
jne 0x4c8e2c
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x18], rcx
movups xmmword [rsp + 0xc8], xmm15
lea rcx, [0x00637520]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
lea rax, [0x005af540]
lea rbx, [rsp + 0xc8]
call sym.runtime.convT
mov rbx, rax
lea rax, [0x005af540]
call sym.runtime.gopanic
call sym.runtime.gcWriteBarrier1
mov rcx, qword [rsp + 0x98]
mov qword [r11], rcx
jmp 0x4c8ddd
call sym.runtime.gcWriteBarrier2
mov rcx, qword [rsp + 0xb0]
mov qword [r11], rcx
mov rdx, qword [rsp + 0xb8]
mov qword [r11 + 8], rdx
nop dword [rax]
jmp 0x4c8db4
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
call sym.reflect.Value.typeSlow
mov rcx, qword [rsp + 0x70]
mov rdx, rbx
jmp 0x4c8d41
lea rax, [0x005b29c0]
call sym.runtime.newobject
mov qword [rax + 8], 0x13
lea rcx, [0x005e1bb2]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x10], rcx
mov rbx, rax
lea rax, [0x0059e240]
call sym.runtime.gopanic
nop
nop
call sym.runtime.deferreturn
add rsp, 0x218
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x30], r8b
mov byte [rsp + 0x31], r9b
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]
mov rsi, qword [rsp + 0x28]
movzx r8d, byte [rsp + 0x30]
movzx r9d, byte [rsp + 0x31]
nop dword [rax + rax]
jmp sym.encoding_json.mapEncoder.encode