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

Disassembly:
lea r12, [rsp - 0x140]
cmp r12, qword [r14 + 0x10]
jbe 0x58d082
push rbp
mov rbp, rsp
sub rsp, 0x1b8
mov qword [rsp + 0x1d8], rcx
cmp qword [rax + 0x320], 0
jne 0x58cbbf
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1f0], r8
mov qword [rsp + 0x1e0], rdi
mov qword [rsp + 0x1d8], rcx
nop dword [rax + rax]
test rdi, rdi
je 0x58c766
mov rdx, qword [rcx + rdi*8 - 8]
mov rsi, qword [rdx + 0x68]
cmp qword [rax + 0x50], rsi
jne 0x58c701
mov rdx, qword [rdx + 0x60]
mov rbx, qword [rax + 0x48]
mov rcx, rsi
mov rax, rdx
call sym.runtime.memequal
test al, al
je 0x58c6f9
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d8]
mov rbx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x1e0]
mov r8, qword [rsp + 0x1f0]
jmp 0x58c766
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x188], 0
movups xmmword [rsp + 0x190], xmm15
mov qword [rsp + 0x1a0], 0
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x190], 5
movups xmmword [rsp + 0x198], xmm15
lea rax, [0x006ad840]
lea rbx, [rsp + 0x188]
call sym.runtime.convT
mov rbx, rax
lea rax, [0x00758c40]
add rsp, 0x1b8
pop rbp
ret
mov rdx, qword [r8 + 0x20]
mov r9, qword [r8 + 0x28]
bt rdx, 0x3f
jae 0x58c78e
mov r10, rdx
shl rdx, 1
shr rdx, 0x1f
movabs r11, 0xdd7b17f80
add rdx, r11
jmp 0x58c794
mov r10, rdx
mov rdx, r9
mov r11, qword [r8 + 0x30]
test rdx, rdx
jne 0x58c7c4
mov rdx, r10
and r10d, 0x3fffffff
test r10d, r10d
jne 0x58c7c7
call sym.time.Now
mov r9, rbx
mov rdx, rax
mov r11, rcx
mov rax, qword [rsp + 0x1c8]
jmp 0x58c7c7
mov rdx, r10
mov qword [rsp + 0x90], r11
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r9
mov r8, qword [rax + 0x2c0]
mov rdi, qword [rax + 0x2b0]
mov rsi, qword [rax + 0x2b8]
mov rbx, r9
mov rcx, r11
mov rax, rdx
call sym.time.Time.Before
nop dword [rax]
test al, al
jne 0x58ca70
mov rdx, qword [rsp + 0x1c8]
mov r8, qword [rdx + 0x2d8]
mov rdi, qword [rdx + 0x2c8]
mov rsi, qword [rdx + 0x2d0]
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
call sym.time.Time.After
nop dword [rax]
test al, al
jne 0x58c91a
mov rdx, qword [rsp + 0x1f0]
mov rdx, qword [rdx + 0x50]
mov qword [rsp + 0x58], rdx
test rdx, rdx
jne 0x58c867
mov qword [rsp + 0x58], 0x3d090
mov qword [rsp + 0x68], 0
mov rdx, qword [rsp + 0x1d0]
cmp rdx, 1
jne 0x58c88b
mov r8, qword [rsp + 0x1e0]
test r8, r8
jmp 0x58c89c
cmp rdx, 2
jne 0x58c8d5
mov r8, qword [rsp + 0x1e0]
test r8, r8
je 0x58c8a4
cmp rdx, 1
jmp 0x58c8e1
lea rax, [0x006951a0]
call sym.runtime.newobject
mov qword [rax + 8], 0x38
lea rcx, [0x006e867d]
mov qword [rax], rcx
mov rbx, rax
lea rax, [0x00758260]
add rsp, 0x1b8
pop rbp
ret
cmp rdx, 1
mov r8, qword [rsp + 0x1e0]
je 0x58c8e9
cmp rdx, 2
jne 0x58c913
mov r9, qword [rsp + 0x1c8]
mov r10, qword [r9 + 0x2e8]
nop
mov r11, qword [0x008f7fd0]
mov r12, qword [0x008f7fd8]
mov r13, qword [r9 + 0x2f0]
jmp 0x58d00d
xor eax, eax
jmp 0x58cbd6
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
lea rdi, [0x006d93e6]
mov esi, 0x19
call sym.time.Time.Format
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x80], rbx
mov rdx, qword [rsp + 0x1c8]
mov r8, qword [rdx + 0x2c8]
mov r9, qword [rdx + 0x2d0]
mov rcx, qword [rdx + 0x2d8]
lea rdi, [0x006d93e6]
mov esi, 0x19
mov rax, r8
mov rbx, r9
nop dword [rax]
call sym.time.Time.Format
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x78], rbx
movups xmmword [rsp + 0x168], xmm15
movups xmmword [rsp + 0x178], xmm15
mov rax, qword [rsp + 0x1b0]
mov rbx, qword [rsp + 0x80]
call sym.runtime.convTstring
lea rdx, [0x0067b380]
mov qword [rsp + 0x168], rdx
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x1a8]
mov rbx, qword [rsp + 0x78]
nop dword [rax]
call sym.runtime.convTstring
lea rdx, [0x0067b380]
mov qword [rsp + 0x178], rdx
mov qword [rsp + 0x180], rax
lea rax, [0x006dab69]
mov ebx, 0x1b
lea rcx, [rsp + 0x168]
mov edi, 2
mov rsi, rdi
call sym.fmt.Sprintf
mov rdx, qword [rsp + 0x1c8]
mov qword [rsp + 0x188], rdx
mov qword [rsp + 0x190], 1
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], rbx
lea rax, [0x006ad840]
lea rbx, [rsp + 0x188]
call sym.runtime.convT
mov rbx, rax
lea rax, [0x00758c40]
add rsp, 0x1b8
pop rbp
ret
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
lea rdi, [0x006d93e6]
mov esi, 0x19
call sym.time.Time.Format
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x80], rbx
mov rdx, qword [rsp + 0x1c8]
mov r8, qword [rdx + 0x2b0]
mov r9, qword [rdx + 0x2b8]
mov rcx, qword [rdx + 0x2c0]
lea rdi, [0x006d93e6]
mov esi, 0x19
mov rax, r8
mov rbx, r9
call sym.time.Time.Format
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x78], rbx
movups xmmword [rsp + 0x168], xmm15
movups xmmword [rsp + 0x178], xmm15
mov rax, qword [rsp + 0x1b0]
mov rbx, qword [rsp + 0x80]
call sym.runtime.convTstring
lea rdx, [0x0067b380]
mov qword [rsp + 0x168], rdx
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x1a8]
mov rbx, qword [rsp + 0x78]
call sym.runtime.convTstring
lea rdx, [0x0067b380]
mov qword [rsp + 0x178], rdx
mov qword [rsp + 0x180], rax
lea rax, [0x006db4a9]
mov ebx, 0x1c
lea rcx, [rsp + 0x168]
mov edi, 2
mov rsi, rdi
call sym.fmt.Sprintf
mov rdx, qword [rsp + 0x1c8]
mov qword [rsp + 0x188], rdx
mov qword [rsp + 0x190], 1
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], rbx
lea rax, [0x006ad840]
lea rbx, [rsp + 0x188]
call sym.runtime.convT
mov rbx, rax
lea rax, [0x00758c40]
add rsp, 0x1b8
pop rbp
ret
lea rax, [0x00758ce0]
lea rbx, [0x0098c060]
add rsp, 0x1b8
pop rbp
ret
test al, al
je 0x58cbf2
mov r9, qword [rsp + 0x1d8]
xor eax, eax
xor ecx, ecx
lea rbx, [rsp + 0x70]
xor esi, esi
jmp 0x58ccd5
cmp rdx, 1
jne 0x58cc58
mov rcx, qword [rsp + 0x1c8]
cmp byte [rcx + 0x360], 0
je 0x58cc12
cmp byte [rcx + 0x361], 0
jne 0x58cc60
mov qword [rsp + 0x188], rcx
movups xmmword [rsp + 0x190], xmm15
mov qword [rsp + 0x1a0], 0
lea rax, [0x006ad840]
lea rbx, [rsp + 0x188]
nop
call sym.runtime.convT
mov rbx, rax
lea rax, [0x00758c40]
add rsp, 0x1b8
pop rbp
ret
mov rcx, qword [rsp + 0x1c8]
cmp byte [rcx + 0x360], 0
je 0x58ccc2
mov rdx, qword [rcx + 0x368]
test rdx, rdx
jl 0x58ccc2
lea rsi, [r8 - 1]
cmp rdx, rsi
jge 0x58ccc2
mov qword [rsp + 0x188], rcx
mov qword [rsp + 0x190], 3
movups xmmword [rsp + 0x198], xmm15
lea rax, [0x006ad840]
lea rbx, [rsp + 0x188]
call sym.runtime.convT
mov rbx, rax
lea rax, [0x00758c40]
add rsp, 0x1b8
pop rbp
ret
xor eax, eax
xor ebx, ebx
add rsp, 0x1b8
pop rbp
ret
inc rax
mov rsi, r11
cmp r8, rax
jle 0x58cd99
mov r10, qword [r9 + rax*8]
mov qword [rsp + 0x140], r10
mov r11, qword [r10 + 0x2e8]
mov r12, qword [0x008f7fb0]
mov r13, qword [0x008f7fb8]
mov r15, qword [r10 + 0x2f0]
jmp 0x58cf2c
jle 0x58cd91
lea r11, [rsi + 1]
cmp rcx, r11
jae 0x58cd67
mov qword [rsp + 0x80], rax
mov rax, rbx
mov rbx, r11
mov edi, 1
lea rsi, [0x006bcac0]
call sym.runtime.growslice
mov rdx, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x1e0]
mov r9, qword [rsp + 0x1d8]
mov r10, qword [rsp + 0x140]
mov r11, rbx
mov rbx, rax
mov rax, qword [rsp + 0x80]
cmp dword [0x0098c4d0], 0
je 0x58cd87
mov rsi, r11
call sym.runtime.gcWriteBarrier2
mov qword [r11], r10
mov r12, qword [rbx + rsi*8 - 8]
mov qword [r11 + 8], r12
mov r11, rsi
mov qword [rbx + r11*8 - 8], r10
jmp 0x58cccf
mov r11, rsi
jmp 0x58cccf
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x88], rbx
xor eax, eax
jmp 0x58cdd2
mov rax, qword [rsp + 0x80]
inc rax
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x1e0]
cmp rax, rsi
jge 0x58ce6b
mov qword [rsp + 0x80], rax
mov r9, qword [rbx + rax*8]
mov r10, qword [r9 + 0x2e8]
mov r9, qword [r9 + 0x2f0]
jmp 0x58ce80
xor ecx, ecx
xor edi, edi
xor r9d, r9d
movups xmmword [rsp + 0x148], xmm15
movups xmmword [rsp + 0x158], xmm15
lea rdx, [sym.crypto_x509._Certificate_.isValid.func1]
mov qword [rsp + 0x148], rdx
mov rsi, qword [rsp + 0x1c8]
mov qword [rsp + 0x150], rsi
lea r8, [rsp + 0x68]
mov qword [rsp + 0x158], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x160], r8
mov rax, r9
mov rbx, rdi
lea rdi, [rsp + 0x148]
call sym.crypto_x509.forEachSAN
nop
test rax, rax
je 0x58cdaa
jmp 0x58cedf
cmp rdx, 1
jmp 0x58cbf6
add r10, 0x38
dec r9
nop dword [rax + rax]
test r9, r9
jle 0x58cdfa
mov r11, qword [r10]
mov qword [rsp + 0x108], r11
movups xmm0, xmmword [r10 + 8]
movups xmmword [rsp + 0x110], xmm0
movups xmm0, xmmword [r10 + 0x18]
movups xmmword [rsp + 0x120], xmm0
movups xmm0, xmmword [r10 + 0x28]
movups xmmword [rsp + 0x130], xmm0
mov r11, qword [rsp + 0x110]
cmp qword [0x008f7fb8], r11
jne 0x58ce74
mov r12, qword [rsp + 0x108]
mov r13, qword [0x008f7fb0]
xor ecx, ecx
jmp 0x58ceeb
add rsp, 0x1b8
pop rbp
ret
inc rcx
cmp rcx, r11
jge 0x58cf05
mov r15, qword [r12 + rcx*8]
mov rdi, qword [r13 + rcx*8]
cmp rdi, r15
je 0x58cee8
nop
jmp 0x58ce74
mov r9, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
nop dword [rax]
jmp 0x58ce01
add r11, 0x38
dec r15
test r15, r15
jle 0x58cd0b
mov rdi, qword [r11]
mov qword [rsp + 0x98], rdi
movups xmm0, xmmword [r11 + 8]
movups xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [r11 + 0x18]
movups xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [r11 + 0x28]
movups xmmword [rsp + 0xc0], xmm0
mov rdi, qword [rsp + 0xa0]
cmp rdi, r13
jne 0x58cf25
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
jmp 0x58cfd5
mov rdx, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x1e0]
mov r9, qword [rsp + 0x1d8]
mov r10, qword [rsp + 0x140]
jmp 0x58cf25
lea r8, [r9 + 1]
mov r9, qword [rsp + 0x1d8]
mov r10, qword [rsp + 0x140]
mov qword [rsp + 0x60], r8
mov r8, qword [rsp + 0x1e0]
mov r9, qword [rsp + 0x60]
cmp r9, rdi
jge 0x58cfee
mov r8, qword [rdx + r9*8]
mov r10, qword [r12 + r9*8]
cmp r10, r8
je 0x58cfb4
jmp 0x58cf8f
test r15, r15
mov rdx, qword [rsp + 0x1d0]
mov r9, qword [rsp + 0x1d8]
jmp 0x58cd0b
add r10, 0x38
dec r13
test r13, r13
jle 0x58d05d
mov r15, qword [r10]
mov qword [rsp + 0xd0], r15
movups xmm0, xmmword [r10 + 8]
movups xmmword [rsp + 0xd8], xmm0
movups xmm0, xmmword [r10 + 0x18]
movups xmmword [rsp + 0xe8], xmm0
movups xmm0, xmmword [r10 + 0x28]
movups xmmword [rsp + 0xf8], xmm0
mov r15, qword [rsp + 0xd8]
cmp r15, r12
jne 0x58d006
mov rax, qword [rsp + 0xd0]
xor ecx, ecx
jmp 0x58d068
setg al
jmp 0x58cbd6
inc rcx
cmp rcx, r15
jge 0x58d07c
mov rbx, qword [rax + rcx*8]
mov rsi, qword [r11 + rcx*8]
cmp rsi, rbx
je 0x58d065
jmp 0x58d006
test r13, r13
nop
jmp 0x58d05d
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 qword [rsp + 0x30], r8
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]
mov r8, qword [rsp + 0x30]
jmp sym.crypto_x509._Certificate_.isValid