Function at 0x512500
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0x208]
cmp r12, qword [r14 + 0x10]
jbe 0x512894
push rbp
mov rbp, rsp
sub rsp, 0x280
mov byte [rsp + 0x398], al
nop
call sym.net.fastrandu
mov qword [rsp + 0x130], rax
mov ebx, 2
mov ecx, 0x202
lea rax, [0x00592de0]
call sym.runtime.makeslice
mov qword [rsp], 0
mov qword [rsp + 6], 0
mov rcx, qword [rsp + 0x130]
shr rcx, 1
mov qword [rsp + 0x130], rcx
mov word [rsp], cx
mov byte [rsp + 8], 1
movzx edx, byte [rsp + 0x398]
mov byte [rsp + 0xa], dl
mov ebx, 2
mov ecx, 0x202
call sym.vendor_golang.org_x_net_dns_dnsmessage.NewBuilder
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x248], rax
movups xmm0, xmmword [rsp + 0x18]
movups xmmword [rsp + 0x250], xmm0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x260], xmm0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x270], xmm0
movzx eax, byte [rsp + 0x260]
test al, al
ja 0x5125e2
mov rdx, qword [0x0075bcf0]
mov r12, qword [0x0075bcf8]
nop
jmp 0x512600
cmp al, 2
jbe 0x5125f6
mov rdx, qword [0x0075bd00]
mov r12, qword [0x0075bd08]
jmp 0x512600
xor edx, edx
xor r12d, r12d
nop dword [rax + rax]
test rdx, rdx
jne 0x512612
mov byte [rsp + 0x260], 2
xor edx, edx
xor r12d, r12d
test rdx, rdx
jne 0x512865
mov rcx, qword [rsp + 0x290]
mov qword [rsp], rcx
lea rdi, [rsp + 4]
lea rsi, [rsp + 0x294]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466d20
mov rbp, qword [rbp]
lea rax, [rsp + 0x248]
nop dword [rax + rax]
call sym.vendor_golang.org_x_net_dns_dnsmessage._Builder_.Question
test rax, rax
jne 0x512844
movzx edx, byte [rsp + 0x260]
test dl, dl
ja 0x51268a
mov rdx, qword [0x0075bcf0]
mov r12, qword [0x0075bcf8]
jmp 0x5126a4
cmp dl, 5
jbe 0x51269f
mov rdx, qword [0x0075bd00]
mov r12, qword [0x0075bd08]
jmp 0x5126a4
xor edx, edx
xor r12d, r12d
test rdx, rdx
jne 0x5126b6
mov byte [rsp + 0x260], 5
xor edx, edx
xor r12d, r12d
test rdx, rdx
jne 0x512823
movups xmmword [rsp + 0x13c], xmm15
lea rdi, [rsp + 0x148]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466a14
mov rbp, qword [rbp]
nop
lea rdi, [rsp + 0x13c]
lea rsi, [0x0063a100]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466d20
mov rbp, qword [rbp]
mov dword [rsp + 0x23c], 0x4d00029
mov dword [rsp + 0x240], 0
movups xmm0, xmmword [rsp + 0x13c]
movups xmmword [rsp], xmm0
lea rdi, [rsp + 0xc]
lea rsi, [rsp + 0x148]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466d20
mov rbp, qword [rbp]
lea rax, [rsp + 0x248]
xor ebx, ebx
xor ecx, ecx
mov rdi, rcx
call sym.vendor_golang.org_x_net_dns_dnsmessage._Builder_.OPTResource
test rax, rax
jne 0x512802
lea rax, [rsp + 0x248]
nop dword [rax]
call sym.vendor_golang.org_x_net_dns_dnsmessage._Builder_.Finish
test rdi, rdi
jne 0x5127e1
cmp rbx, 2
jb 0x512886
lea rdx, [rbx - 2]
lea rdi, [rcx - 2]
mov r12, rdi
neg r12
sar r12, 0x3f
and r12d, 2
add r12, rax
mov r13, rdx
sar rdx, 8
mov byte [rax], dl
mov byte [rax + 1], r13b
mov rsi, rax
mov r8, rbx
mov r9, rcx
xor r10d, r10d
xor r11d, r11d
mov rax, qword [rsp + 0x130]
mov rbx, r12
mov rcx, r13
add rsp, 0x280
pop rbp
nop
ret
xor eax, eax
xor ebx, ebx
xor ecx, ecx
mov r8, rcx
mov r9, rcx
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rbx
add rsp, 0x280
pop rbp
ret
xor ecx, ecx
mov rdi, rcx
xor esi, esi
mov r8, rcx
mov r9, rcx
mov r10, rax
mov r11, rbx
xor eax, eax
mov rbx, rsi
add rsp, 0x280
pop rbp
ret
xor eax, eax
xor ebx, ebx
xor ecx, ecx
mov rdi, rcx
mov rsi, rbx
mov r8, rcx
mov r9, rcx
mov r10, rdx
mov r11, r12
add rsp, 0x280
pop rbp
ret
xor ecx, ecx
mov rdi, rcx
xor esi, esi
mov r8, rcx
mov r9, rcx
mov r10, rax
mov r11, rbx
xor eax, eax
mov rbx, rsi
add rsp, 0x280
pop rbp
ret
xor eax, eax
xor ebx, ebx
xor ecx, ecx
mov rdi, rcx
mov rsi, rbx
mov r8, rcx
mov r9, rcx
mov r10, rdx
mov r11, r12
add rsp, 0x280
pop rbp
ret
mov eax, 2
mov rcx, rbx
call sym.runtime.panicSliceB
nop
mov byte [rsp + 0x110], al
nop dword [rax + rax]
call sym.runtime.morestack_noctxt.abi0
movzx eax, byte [rsp + 0x110]
jmp sym.net.newRequest