Function at 0x60f300
Capabilities:
Reference http user-agent string

Disassembly:
lea r12, [rsp - 0x1a8]
cmp r12, qword [r14 + 0x10]
jbe 0x610017
push rbp
mov rbp, rsp
sub rsp, 0x220
movq qword [rsp + 0x218], xmm15
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x238], rbx
mov byte [rsp + 0x37], 0
movups xmmword [rsp + 0xc8], xmm15
mov rcx, qword [rax]
mov qword [rsp + 0xe0], rcx
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0xd8], rdx
mov rsi, qword [rax + 8]
mov qword [rsp + 0x88], rsi
mov rax, rbx
call sym.net_http.http2checkConnHeaders
test rax, rax
jne 0x60f7cd
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rcx + 0x110]
test rdx, rdx
je 0x60ffe5
mov qword [rsp + 0x1a0], rdx
mov rcx, qword [rsp + 0x230]
mov rdx, qword [rcx + 0x18]
mov qword [rsp + 0x198], rdx
mov rbx, qword [rsp + 0x88]
mov rsi, qword [rbx + 0x20]
mov rax, qword [rsp + 0xd8]
call rsi
movups xmmword [rsp + 0x138], xmm15
movups xmmword [rsp + 0x148], xmm15
movups xmmword [rsp + 0x158], xmm15
mov rcx, qword [rsp + 0x1a0]
mov qword [rsp + 0x138], rcx
lea rcx, [rsp + 0x36]
mov qword [rsp + 0x140], rcx
mov rcx, qword [rsp + 0x198]
mov qword [rsp + 0x158], rcx
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x138]
lea rbx, [rsp + 0x4c]
xor ecx, ecx
mov edi, 1
mov esi, 2
mov r8d, 1
call sym.runtime.selectgo
nop word [rax + rax]
test rax, rax
jne 0x60f771
mov rcx, qword [rsp + 0xe0]
lea rdx, [rcx + 0x50]
mov qword [rsp + 0xb8], rdx
xor eax, eax
mov esi, 1
lock cmpxchg dword [rcx + 0x50], esi
sete sil
test sil, sil
jne 0x60f48a
mov rax, rdx
call sym.sync._Mutex_.lockSlow
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rcx + 0x48]
test rax, rax
je 0x60f4b8
nop
cmp qword [rax + 0x20], 0
je 0x60ffcd
add rax, 8
call sym.time.stopTimer
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xb8]
mov rsi, qword [rcx + 0xa0]
nop
test rsi, rsi
jle 0x60f4cf
dec rsi
mov qword [rcx + 0xa0], rsi
mov rax, rcx
mov rbx, qword [rsp + 0x230]
call sym.net_http._http2ClientConn_.awaitOpenSlotForStreamLocked
nop
test rax, rax
je 0x60f556
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x78], rax
nop
mov ecx, 0xffffffff
mov rdx, qword [rsp + 0xe0]
lock xadd dword [rdx + 0x50], ecx
dec ecx
test ecx, ecx
je 0x60f522
mov rax, qword [rsp + 0xb8]
mov ebx, ecx
call sym.sync._Mutex_.unlockSlow
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rdx + 0x110]
xor ebx, ebx
call sym.runtime.chanrecv1
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc8], rax
mov rbx, qword [rsp + 0xc0]
mov qword [rsp + 0xd0], rbx
add rsp, 0x220
pop rbp
ret
mov rdx, qword [rsp + 0xe0]
mov esi, dword [rdx + 0x10c]
mov rdi, qword [rsp + 0x230]
mov r8d, dword [rdi + 0x108]
lea r9d, [r8 + rsi]
nop
cmp esi, r9d
setl sil
test r8d, r8d
setg r8b
cmp r8b, sil
jne 0x60f592
mov dword [rdi + 0x108], r9d
lea rsi, [rdx + 0x60]
cmp dword [0x0098c4d0], 0
je 0x60f5b3
nop
call sym.runtime.gcWriteBarrier2
mov qword [r11], rsi
mov r8, qword [rdi + 0x110]
mov qword [r11 + 8], r8
mov qword [rdi + 0x110], rsi
nop
mov dword [rdi + 0x118], 0x400000
mov esi, dword [rdx + 0xa8]
mov dword [rdi + 0x28], esi
add dword [rdx + 0xa8], 2
mov rbx, qword [rdx + 0x98]
mov ecx, dword [rdi + 0x28]
lea rax, [0x0068a3c0]
call sym.runtime.mapassign_fast32
test byte [rax], al
cmp dword [0x0098c4d0], 0
jne 0x60f602
mov rcx, qword [rsp + 0x230]
nop
jmp 0x60f619
call sym.runtime.gcWriteBarrier2
mov rcx, qword [rsp + 0x230]
mov qword [r11], rcx
mov rdx, qword [rax]
mov qword [r11 + 8], rdx
mov qword [rax], rcx
cmp dword [rcx + 0x28], 0
je 0x60ffba
mov rax, qword [rsp + 0x238]
call sym.net_http.http2isConnectionCloseRequest
test al, al
je 0x60f645
mov rdx, qword [rsp + 0xe0]
mov byte [rdx + 0x78], 1
jmp 0x60f64d
mov rdx, qword [rsp + 0xe0]
nop
mov ebx, 0xffffffff
lock xadd dword [rdx + 0x50], ebx
dec ebx
test ebx, ebx
je 0x60f673
mov rax, qword [rsp + 0xb8]
call sym.sync._Mutex_.unlockSlow
mov rdx, qword [rsp + 0xe0]
mov rsi, qword [rdx]
cmp byte [rsi + 0x28], 0
je 0x60f682
xor eax, eax
nop
jmp 0x60f6f5
mov rsi, qword [rsi + 0x60]
test rsi, rsi
je 0x60f698
cmp byte [rsi + 0xb1], 0
je 0x60f698
xor eax, eax
jmp 0x60f6f5
mov rdx, qword [rsp + 0x238]
mov rax, qword [rdx + 0x38]
lea rbx, [0x006d3d26]
mov ecx, 0xf
call sym.net_textproto.MIMEHeader.Get
test rbx, rbx
je 0x60f6c6
mov rdx, qword [rsp + 0xe0]
xor eax, eax
jmp 0x60f6f5
mov rdx, qword [rsp + 0x238]
mov rax, qword [rdx + 0x38]
lea rbx, [0x006d1185]
mov ecx, 5
nop
call sym.net_textproto.MIMEHeader.Get
test rbx, rbx
sete dl
mov eax, edx
mov rdx, qword [rsp + 0xe0]
test al, al
je 0x60f713
mov rax, qword [rsp + 0x230]
cmp byte [rax + 0xb9], 0
jne 0x60f71b
mov byte [rax + 0xb8], 1
jmp 0x60f71b
mov rax, qword [rsp + 0x230]
mov rsi, qword [rdx]
mov rsi, qword [rsi + 0x60]
test rsi, rsi
je 0x60f730
mov rsi, qword [rsi + 0xe0]
jmp 0x60f732
xor esi, esi
test rsi, rsi
je 0x60f892
mov qword [rsp + 0x70], rsi
mov rdx, qword [rsp + 0x238]
mov rbx, qword [rdx + 0x38]
lea rax, [0x006bd880]
lea rcx, [0x006d142e]
mov edi, 6
nop
call sym.runtime.mapaccess1_faststr
mov rdx, qword [rax]
mov rsi, qword [rax + 8]
jmp 0x60f800
cmp rax, 1
jne 0x60f7a6
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rsp + 0xd8]
call rcx
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
add rsp, 0x220
pop rbp
ret
mov rax, qword [0x008f5530]
mov rbx, qword [0x008f5538]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
add rsp, 0x220
pop rbp
ret
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
add rsp, 0x220
pop rbp
ret
mov rdx, qword [rsp + 0x190]
add rdx, 0x10
mov rsi, qword [rsp + 0x98]
dec rsi
nop dword [rax]
test rsi, rsi
jle 0x60f882
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x190], rdx
mov rax, qword [rdx]
mov rbx, qword [rdx + 8]
lea rcx, [0x006d2f28]
mov edi, 0xc
call sym.vendor_golang.org_x_net_http_httpguts.headerValueContainsToken
test al, al
je 0x60f7e6
lea rax, [0x0067c240]
mov ebx, 1
nop dword [rax]
call sym.runtime.makechan
cmp dword [0x0098c4d0], 0
jne 0x60f858
mov rcx, qword [rsp + 0x230]
jmp 0x60f873
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rcx, qword [rsp + 0x230]
mov rdx, qword [rcx + 0xf0]
mov qword [r11 + 8], rdx
mov qword [rcx + 0xf0], rax
mov rax, qword [rsp + 0x70]
nop
jmp 0x60f88c
mov rcx, qword [rsp + 0x230]
xor eax, eax
mov rsi, rax
mov rax, rcx
mov qword [rsp + 0x90], rsi
mov rbx, qword [rsp + 0x238]
call sym.net_http._http2clientStream_.encodeAndWriteHeaders
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx + 0x110]
xor ebx, ebx
call sym.runtime.chanrecv1
cmp qword [rsp + 0xc8], 0
jne 0x60fcc6
mov rax, qword [rsp + 0x230]
cmp qword [rax + 0x148], 0
je 0x60fbe7
mov rcx, qword [rsp + 0x90]
nop word [rax + rax]
test rcx, rcx
je 0x60fb45
mov rbx, qword [rax + 0x20]
test rbx, rbx
je 0x60f92a
mov rdx, qword [rbx + 0x70]
test rdx, rdx
je 0x60f92a
mov rax, qword [rdx]
nop
call rax
mov rcx, qword [rsp + 0x90]
mov rax, rcx
call sym.time.NewTimer
mov qword [rsp + 0xa0], rax
mov rcx, qword [rax]
mov qword [rsp + 0x188], rcx
mov rdx, qword [rsp + 0x230]
mov rbx, qword [rdx + 0xf0]
mov qword [rsp + 0x180], rbx
mov rsi, qword [rdx + 0xc8]
mov qword [rsp + 0x178], rsi
mov rdi, qword [rsp + 0x88]
mov r8, qword [rdi + 0x20]
mov rax, qword [rsp + 0xd8]
nop
call r8
mov rcx, qword [rsp + 0x230]
mov rdx, qword [rcx + 0x18]
lea rdi, [rsp + 0xe8]
lea rdi, [rdi - 0x30]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0046c830
mov rbp, qword [rbp]
mov rbx, qword [rsp + 0x188]
mov qword [rsp + 0x128], rbx
mov rbx, qword [rsp + 0x180]
mov qword [rsp + 0x118], rbx
mov rbx, qword [rsp + 0x178]
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0xe8], rdx
lea rax, [rsp + 0xe8]
lea rbx, [rsp + 0x38]
xor edi, edi
mov esi, 5
mov r8d, 1
xor ecx, ecx
call sym.runtime.selectgo
test rax, rax
jne 0x60fa45
mov rcx, qword [0x008f5530]
mov rdx, qword [0x008f5538]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rdx
mov rcx, qword [rsp + 0x230]
nop
jmp 0x60fad3
cmp rax, 1
je 0x60faa5
cmp rax, 2
jne 0x60fa79
mov rcx, qword [rsp + 0x230]
mov rdx, qword [rcx + 0xd0]
mov rsi, qword [rcx + 0xd8]
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xd0], rsi
jmp 0x60fad3
cmp rax, 3
jne 0x60fa92
movups xmmword [rsp + 0xc8], xmm15
mov rcx, qword [rsp + 0x230]
jmp 0x60fad3
movups xmmword [rsp + 0xc8], xmm15
mov rcx, qword [rsp + 0x230]
jmp 0x60fad3
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rcx + 0x28]
mov rax, qword [rsp + 0xd8]
call rdx
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
mov rcx, qword [rsp + 0x230]
nop
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x20], 0
je 0x60ffa7
add rax, 8
call sym.time.stopTimer
mov rax, qword [rsp + 0xc8]
test rax, rax
je 0x60fb3d
mov rcx, qword [rsp + 0x230]
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x60fb24
mov rdx, qword [rcx + 0x78]
test rdx, rdx
je 0x60fb24
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rdx]
call rcx
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x220
pop rbp
ret
mov rax, qword [rsp + 0x230]
mov rbx, qword [rsp + 0x238]
call sym.net_http._http2clientStream_.writeRequestBody
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
test rax, rax
je 0x60fbd6
cmp qword [0x008f5540], rax
jne 0x60fb8e
mov rcx, qword [0x008f5548]
call sym.runtime.ifaceeq
nop dword [rax]
test al, al
je 0x60fb8e
mov rcx, qword [rsp + 0x230]
jmp 0x60fbf1
mov rcx, qword [rsp + 0x230]
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x60fbbd
mov rdx, qword [rcx + 0x78]
test rdx, rdx
je 0x60fbbd
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rdx]
call rcx
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x220
pop rbp
ret
mov rcx, qword [rsp + 0x230]
mov byte [rcx + 0x158], 1
jmp 0x60fbf1
mov byte [rax + 0x158], 1
mov rcx, rax
mov rsi, qword [rcx + 0x20]
test rsi, rsi
je 0x60fc22
mov rdx, qword [rsi + 0x78]
nop
test rdx, rdx
je 0x60fc22
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rdx]
call rcx
mov rcx, qword [rsp + 0x230]
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x60]
test rdx, rdx
je 0x60fc3f
mov rdx, qword [rdx + 0xd8]
jmp 0x60fc41
xor edx, edx
test rdx, rdx
jne 0x60fc52
mov eax, 0
mov ebx, 0
jmp 0x60fcbd
mov qword [rsp + 0x80], rdx
mov rax, rdx
nop dword [rax]
call sym.time.NewTimer
movups xmmword [rsp + 0x208], xmm15
lea rcx, [sym.net_http._http2clientStream_.writeRequest.deferwrap1]
mov qword [rsp + 0x208], rcx
mov qword [rsp + 0x210], rax
lea rcx, [rsp + 0x208]
mov qword [rsp + 0x218], rcx
mov byte [rsp + 0x37], 1
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x230]
mov rbx, qword [rdx + 0xf8]
mov rsi, qword [rsp + 0x80]
test rsi, rsi
mov rax, rcx
mov rcx, rdx
setne dl
mov byte [rsp + 0x36], dl
jmp 0x60fceb
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x220
pop rbp
ret
mov rcx, qword [rsp + 0x230]
xor eax, eax
xor ebx, ebx
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
mov rdx, qword [rcx + 0xe0]
mov qword [rsp + 0x170], rdx
mov rsi, qword [rcx + 0xc8]
mov qword [rsp + 0x168], rsi
mov rdi, qword [rsp + 0x88]
mov r8, qword [rdi + 0x20]
mov rax, qword [rsp + 0xd8]
call r8
mov rcx, qword [rsp + 0x230]
mov rdx, qword [rcx + 0x18]
lea rdi, [rsp + 0x1a8]
lea rdi, [rdi - 0x20]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0046c82b
mov rbp, qword [rbp]
mov rbx, qword [rsp + 0x170]
mov qword [rsp + 0x1f8], rbx
mov rbx, qword [rsp + 0xa8]
mov qword [rsp + 0x1e8], rbx
mov rbx, qword [rsp + 0xb0]
mov qword [rsp + 0x1d8], rbx
mov rbx, qword [rsp + 0x168]
mov qword [rsp + 0x1c8], rbx
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1a8], rdx
lea rax, [rsp + 0x1a8]
lea rbx, [rsp + 0x58]
xor edi, edi
mov esi, 6
mov r8d, 1
xor ecx, ecx
call sym.runtime.selectgo
test rax, rax
je 0x60ff52
cmp rax, 1
je 0x60fef2
nop
cmp rax, 2
je 0x60fe92
cmp rax, 3
je 0x60fcdf
cmp rax, 4
jne 0x60fe52
mov rcx, qword [0x008f54d0]
mov rsi, qword [0x008f54d8]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rsi
movzx ecx, byte [rsp + 0x36]
nop dword [rax]
test cl, 1
je 0x60fe39
and ecx, 0xfffffffe
mov byte [rsp + 0x37], cl
mov rdx, qword [rsp + 0x218]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x220
pop rbp
ret
movups xmmword [rsp + 0xc8], xmm15
movzx ecx, byte [rsp + 0x36]
test cl, 1
je 0x60fe79
and ecx, 0xfffffffe
mov byte [rsp + 0x37], cl
mov rdx, qword [rsp + 0x218]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x220
pop rbp
ret
mov rcx, qword [rsp + 0x230]
mov rsi, qword [rcx + 0xd0]
mov rcx, qword [rcx + 0xd8]
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rcx
movzx ecx, byte [rsp + 0x36]
nop dword [rax]
test cl, 1
je 0x60fed9
and ecx, 0xfffffffe
mov byte [rsp + 0x37], cl
mov rdx, qword [rsp + 0x218]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x220
pop rbp
ret
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rsp + 0xd8]
call rcx
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
movzx ecx, byte [rsp + 0x36]
nop dword [rax]
test cl, 1
je 0x60ff39
and ecx, 0xfffffffe
mov byte [rsp + 0x37], cl
mov rdx, qword [rsp + 0x218]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x220
pop rbp
ret
mov rcx, qword [0x008f5530]
mov rsi, qword [0x008f5538]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rsi
movzx ecx, byte [rsp + 0x36]
test cl, 1
je 0x60ff8e
and ecx, 0xfffffffe
mov byte [rsp + 0x37], cl
mov rdx, qword [rsp + 0x218]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x220
pop rbp
ret
lea rax, [0x0067b380]
lea rbx, [0x00756c60]
call sym.runtime.gopanic
lea rax, [0x0067b380]
lea rbx, [0x007570f0]
call sym.runtime.gopanic
lea rax, [0x0067b380]
lea rbx, [0x00756c60]
nop dword [rax + rax]
call sym.runtime.gopanic
lea rax, [0x0067b380]
lea rbx, [0x007570e0]
call sym.runtime.gopanic
nop
call sym.runtime.deferreturn
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x220
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.net_http._http2clientStream_.writeRequest