Function at 0x401480
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4018a6
push rbp
mov rbp, rsp
sub rsp, 0xa8
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc8], rcx
cmp rbx, 0x20000000
jge 0x401868
nop word [rax + rax]
cmp rdi, 0x20000000
jge 0x40182c
mov qword [rsp + 0x8e], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x84], 0
mov qword [rsp + 0x86], 0
nop
mov rdx, rbx
xor r9d, r9d
jmp 0x401515
or r10d, 0xffffff80
mov byte [rsp + r9 + 0x8e], r10b
inc r9
mov r10, rbx
sar rbx, 7
and r10d, 0x7f
test rbx, rbx
je 0x401530
cmp r9, 0xa
jb 0x401506
jmp 0x40181f
cmp r9, 0xa
jae 0x401812
mov byte [rsp + r9 + 0x8e], r10b
nop
mov rbx, rdi
xor r10d, r10d
jmp 0x40155a
or r11d, 0xffffff80
mov byte [rsp + r10 + 0x84], r11b
inc r10
mov r11, rdi
sar rdi, 7
and r11d, 0x7f
test rdi, rdi
je 0x401575
cmp r10, 0xa
jb 0x40154b
jmp 0x401805
cmp r10, 0xa
jae 0x4017f7
mov byte [rsp + r10 + 0x84], r11b
lea rdi, [r9 + rdx]
lea rdi, [rdi + 2]
lea r11, [rdx + r9]
test rbx, rbx
je 0x4015aa
lea r12, [rbx + r10]
lea r12, [r12 + r11]
lea r12, [r12 + 3]
or esi, 2
jmp 0x4015ad
mov r12, rdi
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0x68], r11
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x58], r9
nop dword [rax + rax]
test r8b, r8b
je 0x4015e8
or esi, 8
mov byte [rsp + 0x3f], sil
mov qword [rsp + 0x60], r12
lea rax, [0x00592de0]
mov rbx, r12
mov rcx, rbx
nop
call sym.runtime.makeslice
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jbe 0x4017ed
mov qword [rsp + 0xa0], rax
movzx edx, byte [rsp + 0x3f]
mov byte [rax], dl
lea rdx, [rcx - 1]
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 1
add rdx, rax
mov rdi, qword [rsp + 0x58]
lea r8, [rdi + 1]
cmp r8, rsi
cmovl rsi, r8
lea rbx, [rsp + 0x8e]
cmp rbx, rdx
je 0x401670
mov rax, rdx
mov rcx, rsi
call sym.runtime.memmove
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
lea rdx, [rdi + 2]
cmp rcx, rdx
jb 0x4017e5
mov rsi, rcx
sub rsi, rdi
add rsi, 0xfffffffffffffffe
mov rdi, rsi
neg rsi
sar rsi, 0x3f
and rdx, rsi
add rdx, rax
mov rsi, qword [rsp + 0x78]
cmp rsi, rdi
cmovl rdi, rsi
mov rbx, qword [rsp + 0xb8]
cmp rbx, rdx
jne 0x4016ba
mov rdx, qword [rsp + 0x70]
test rdx, rdx
jmp 0x4016da
mov rax, rdx
mov rcx, rdi
call sym.runtime.memmove
mov rdx, qword [rsp + 0x70]
test rdx, rdx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
nop word [rax + rax]
je 0x4017c6
mov rsi, qword [rsp + 0x48]
cmp rcx, rsi
jb 0x4017da
mov rdi, qword [rsp + 0x68]
sub rcx, rdi
lea rdi, [rcx - 2]
mov r8, rdi
neg rdi
sar rdi, 0x3f
and rsi, rdi
add rsi, rax
mov rdi, qword [rsp + 0x50]
lea r9, [rdi + 1]
cmp r9, r8
mov r10, r8
cmovl r8, r9
lea rbx, [rsp + 0x84]
cmp rbx, rsi
jne 0x401735
cmp r9, r10
jmp 0x401789
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x98], rsi
mov rax, rsi
mov rcx, r8
call sym.runtime.memmove
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x50]
mov r9, rax
mov r10, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
ja 0x4017cf
sub rcx, rdi
add rcx, 0xfffffffffffffffd
mov rdi, rcx
neg rdi
sar rdi, 0x3f
and rdi, r9
add rsi, rdi
cmp rdx, rcx
cmovl rcx, rdx
mov rbx, qword [rsp + 0xc8]
cmp rbx, rsi
je 0x4017c6
mov rax, rsi
call sym.runtime.memmove
mov rax, qword [rsp + 0xa0]
add rsp, 0xa8
pop rbp
ret
mov rax, r9
mov rcx, r10
call sym.runtime.panicSliceB
mov rax, rsi
nop dword [rax]
call sym.runtime.panicSliceB
mov rax, rdx
call sym.runtime.panicSliceB
xor eax, eax
mov rcx, rax
call sym.runtime.panicIndex
mov rax, r10
mov ecx, 0xa
nop
call sym.runtime.panicIndex
mov rax, r10
mov ecx, 0xa
call sym.runtime.panicIndex
mov rax, r9
mov ecx, 0xa
call sym.runtime.panicIndex
mov rax, r9
mov ecx, 0xa
call sym.runtime.panicIndex
xor eax, eax
lea rbx, [0x005e5fec]
mov rdi, rcx
mov esi, 0x400
lea r8, [0x005dd195]
mov r9d, 3
mov ecx, 0x1b
call sym.runtime.concatstring3
call sym.runtime.convTstring
mov rbx, rax
lea rax, [0x00592aa0]
call sym.runtime.gopanic
lea rbx, [0x005e65c7]
mov ecx, 0x1c
mov rdi, rax
mov esi, 0x400
lea r8, [0x005dd195]
mov r9d, 3
xor eax, eax
call sym.runtime.concatstring3
call sym.runtime.convTstring
mov rbx, rax
lea rax, [0x00592aa0]
nop
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]
jmp sym.internal_abi.NewName