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

Disassembly:
lea r12, [rsp - 0xc8]
cmp r12, qword [r14 + 0x10]
jbe 0x5b86cd
push rbp
mov rbp, rsp
sub rsp, 0x140
mov qword [rsp + 0x150], rax
mov rdx, qword [rax + 0x28]
mov rsi, qword [rax + 0x18]
mov rbx, qword [rsi + 0xb0]
mov rcx, qword [rsi + 0xb8]
mov rdi, qword [rsi + 0xc0]
mov rsi, qword [rdx]
mov rsi, qword [rsi + 0x28]
mov rdx, qword [rdx + 8]
mov r8, qword [rax]
mov qword [rsp + 0xc0], r8
mov rax, rdx
call rsi
nop dword [rax]
test rbx, rbx
jne 0x5b868a
mov rcx, qword [rsp + 0x150]
mov rdx, qword [rcx + 0x28]
mov rbx, rax
mov rax, rdx
nop dword [rax + rax]
call sym.crypto_ecdh._PrivateKey_.ECDH
test rdi, rdi
jne 0x5b8644
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x48], rbx
mov rdx, qword [rsp + 0x150]
mov r11, qword [rdx + 0x40]
mov r12, qword [rdx + 0x48]
mov r13, qword [rdx + 0x38]
cmp byte [rdx + 0x70], 0
jne 0x5b7f44
mov rax, qword [rdx + 0x78]
xor ebx, ebx
xor ecx, ecx
mov rdi, rcx
mov rsi, rbx
mov r8, rcx
mov r9, rcx
call sym.crypto_tls._cipherSuiteTLS13_.extract
mov rdx, qword [rsp + 0x150]
mov r11, rbx
mov r12, rcx
mov r13, rax
mov rax, qword [rdx + 0x78]
mov rbx, r13
mov rcx, r11
mov rdi, r12
lea rsi, [0x006d1682]
mov r8d, 7
xor r9d, r9d
xor r10d, r10d
call sym.crypto_tls._cipherSuiteTLS13_.deriveSecret
mov rdx, qword [rsp + 0x150]
mov r11, qword [rdx + 0x78]
mov rdi, qword [rsp + 0x50]
mov rsi, rax
mov r8, rbx
mov r9, rcx
mov rax, r11
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call sym.crypto_tls._cipherSuiteTLS13_.extract
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rcx
mov rdx, qword [rsp + 0x150]
mov r11, qword [rdx + 0x78]
mov r9, qword [rdx + 0x80]
mov r10, qword [rdx + 0x88]
mov rdi, rcx
lea rsi, [0x006d2e80]
mov r8d, 0xc
mov rcx, rbx
mov rbx, rax
mov rax, r11
nop dword [rax]
call sym.crypto_tls._cipherSuiteTLS13_.deriveSecret
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rcx
mov rdx, qword [rsp + 0xc0]
test byte [rdx], al
lea r11, [rdx + 0x210]
mov r12, qword [rsp + 0x150]
mov r13, qword [r12 + 0x78]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, r11
mov rbx, r13
mov ecx, 2
call sym.crypto_tls._halfConn_.setTrafficSecret
mov rdx, qword [rsp + 0x150]
mov rax, qword [rdx + 0x78]
mov r9, qword [rdx + 0x80]
mov r10, qword [rdx + 0x88]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
lea rsi, [0x006d2e8c]
mov r8d, 0xc
call sym.crypto_tls._cipherSuiteTLS13_.deriveSecret
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rcx
mov rdx, qword [rsp + 0xc0]
lea r11, [rdx + 0x178]
mov r12, qword [rsp + 0x150]
mov r13, qword [r12 + 0x78]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, r11
mov rbx, r13
mov ecx, 2
call sym.crypto_tls._halfConn_.setTrafficSecret
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x20], 0
je 0x5b8496
mov rdx, qword [rax + 0x310]
cmp qword [rax + 0x300], rdx
je 0x5b80ee
mov ebx, 0xa
call sym.crypto_tls._Conn_.sendAlert
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x150]
mov r12, qword [rdx + 0x78]
movzx r12d, word [r12]
movups xmmword [rsp + 0x110], xmm15
movups xmmword [rsp + 0x120], xmm15
movups xmmword [rsp + 0x130], xmm15
mov qword [rsp + 0x110], 2
mov qword [rsp + 0x118], 2
mov word [rsp + 0x138], r12w
mov r9, qword [rsp + 0xb8]
mov qword [rsp + 0x120], r9
mov r10, qword [rsp + 0x80]
mov qword [rsp + 0x128], r10
mov r11, qword [rsp + 0x88]
mov qword [rsp + 0x130], r11
mov r12, qword [rax + 0x20]
mov rcx, qword [r12 + 0x10]
mov rbx, qword [r12 + 8]
inc rbx
mov r13, qword [r12]
cmp rcx, rbx
jae 0x5b81fa
mov qword [rsp + 0xd8], r12
mov rax, r13
mov edi, 1
lea rsi, [0x006ae8c0]
nop dword [rax]
call sym.runtime.growslice
mov rdx, qword [rsp + 0xd8]
mov qword [rdx + 0x10], rcx
cmp dword [0x0098c4d0], 0
je 0x5b81c9
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov r12, qword [rdx]
mov qword [r11 + 8], r12
mov qword [rdx], rax
mov r9, qword [rsp + 0xb8]
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x88]
mov r12, rdx
mov r13, rax
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x150]
mov qword [r12 + 8], rbx
lea r12, [rbx + rbx*2]
shl r12, 4
lea rbx, [r13 + r12]
lea rbx, [rbx - 0x30]
cmp dword [0x0098c4d0], 0
je 0x5b8285
mov qword [rsp + 0x90], r12
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xc8], rbx
lea rax, [0x006ae8c0]
lea rcx, [rsp + 0x110]
call sym.runtime.wbMove
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x150]
mov rbx, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xb8]
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov r13, qword [rsp + 0xd0]
lea r12, [r13 + r12]
lea r12, [r12 - 0x20]
movups xmm0, xmmword [rsp + 0x110]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0x120]
movups xmmword [r12], xmm0
movups xmm0, xmmword [rsp + 0x130]
movups xmmword [r12 + 0x10], xmm0
mov r12, qword [rdx + 0x78]
movzx r12d, word [r12]
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xf0], xmm15
movups xmmword [rsp + 0x100], xmm15
mov qword [rsp + 0xe0], 1
mov qword [rsp + 0xe8], 2
mov word [rsp + 0x108], r12w
mov r12, qword [rsp + 0xa0]
mov qword [rsp + 0xf0], r12
mov r13, qword [rsp + 0x58]
mov qword [rsp + 0xf8], r13
mov r15, qword [rsp + 0x60]
mov qword [rsp + 0x100], r15
mov rcx, qword [rax + 0x20]
mov rbx, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
inc rsi
mov rdi, qword [rcx]
cmp rbx, rsi
jae 0x5b83cf
mov qword [rsp + 0xd8], rcx
mov rax, rdi
mov rcx, rbx
mov edi, 1
mov rbx, rsi
lea rsi, [0x006ae8c0]
nop dword [rax]
call sym.runtime.growslice
mov rdx, qword [rsp + 0xd8]
mov qword [rdx + 0x10], rcx
cmp dword [0x0098c4d0], 0
je 0x5b8389
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov r12, qword [rdx]
mov qword [r11 + 8], r12
mov qword [rdx], rax
mov rcx, rdx
mov rdx, qword [rsp + 0x150]
mov r9, qword [rsp + 0xb8]
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x88]
mov r12, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
mov rsi, rbx
mov rdi, rax
mov rax, qword [rsp + 0xc0]
mov qword [rcx + 8], rsi
lea rcx, [rsi + rsi*2]
shl rcx, 4
lea rbx, [rdi + rcx]
lea rbx, [rbx - 0x30]
cmp dword [0x0098c4d0], 0
je 0x5b846a
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xc8], rbx
lea rax, [0x006ae8c0]
lea rcx, [rsp + 0xe0]
call sym.runtime.wbMove
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x150]
mov rbx, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xd0]
mov r9, qword [rsp + 0xb8]
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x88]
mov r12, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
lea rcx, [rdi + rcx]
lea rcx, [rcx - 0x20]
movups xmm0, xmmword [rsp + 0xe0]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [rcx + 0x10], xmm0
jmp 0x5b84b6
mov rdx, qword [rsp + 0x150]
mov r9, qword [rsp + 0xb8]
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x88]
mov r12, qword [rax + 0x50]
mov r13, qword [rdx + 0x20]
mov rdi, qword [r13 + 0x20]
mov rsi, qword [r13 + 0x28]
mov r8, qword [r13 + 0x30]
lea rbx, [0x006dcf6a]
mov ecx, 0x1f
mov rax, r12
call sym.crypto_tls._Config_.writeKeyLog
nop
test rax, rax
jne 0x5b860f
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rdx + 0x50]
mov r12, qword [rsp + 0x150]
mov r13, qword [r12 + 0x20]
mov rdi, qword [r13 + 0x20]
mov rsi, qword [r13 + 0x28]
mov r8, qword [r13 + 0x30]
lea rbx, [0x006dcf89]
mov ecx, 0x1f
mov r9, qword [rsp + 0xa0]
mov r10, qword [rsp + 0x58]
mov r11, qword [rsp + 0x60]
call sym.crypto_tls._Config_.writeKeyLog
test rax, rax
jne 0x5b85da
mov rdx, qword [rsp + 0x150]
mov rax, qword [rdx + 0x78]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
lea rsi, [0x006d1682]
mov r8d, 7
xor r9d, r9d
xor r10d, r10d
call sym.crypto_tls._cipherSuiteTLS13_.deriveSecret
mov rdx, qword [rsp + 0x150]
mov r11, qword [rdx + 0x78]
xor edi, edi
mov rsi, rax
mov r8, rbx
mov r9, rcx
mov rax, r11
xor ebx, ebx
mov rcx, rdi
call sym.crypto_tls._cipherSuiteTLS13_.extract
mov rdx, qword [rsp + 0x150]
mov qword [rdx + 0x98], rbx
mov qword [rdx + 0xa0], rcx
cmp dword [0x0098c4d0], 0
je 0x5b85c6
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rcx, qword [rdx + 0x90]
mov qword [r11 + 8], rcx
mov qword [rdx + 0x90], rax
xor eax, eax
xor ebx, ebx
add rsp, 0x140
pop rbp
ret
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xb0], rbx
mov rax, qword [rsp + 0xc0]
mov ebx, 0x50
call sym.crypto_tls._Conn_.sendAlert
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x140
pop rbp
ret
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc0]
mov ebx, 0x50
call sym.crypto_tls._Conn_.sendAlert
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x140
pop rbp
ret
mov rax, qword [rsp + 0xc0]
mov ebx, 0x2f
call sym.crypto_tls._Conn_.sendAlert
lea rax, [0x006951a0]
nop dword [rax]
call sym.runtime.newobject
mov qword [rax + 8], 0x1d
lea rcx, [0x006dbb88]
mov qword [rax], rcx
mov rbx, rax
lea rax, [0x00758260]
add rsp, 0x140
pop rbp
ret
mov rax, qword [rsp + 0xc0]
mov ebx, 0x2f
call sym.crypto_tls._Conn_.sendAlert
lea rax, [0x006951a0]
call sym.runtime.newobject
mov qword [rax + 8], 0x1d
lea rcx, [0x006dbb88]
mov qword [rax], rcx
mov rbx, rax
lea rax, [0x00758260]
add rsp, 0x140
pop rbp
ret
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
nop dword [rax]
jmp sym.crypto_tls._clientHandshakeStateTLS13_.establishHandshakeKeys