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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x586e86
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x586e57
nop word [rax + rax]
nop
cmp rax, 1
jne 0x586dfb
xor ecx, ecx
xor edx, edx
test rcx, rcx
jne 0x586dd8
lea rax, [0x0062df20]
mov qword [rsp], rax
call fcn.0040e560
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jle 0x586dce
mov rdx, qword [rsp + 0x60]
movzx ebx, byte [rdx]
test bl, 0x80
je 0x586d49
lea rax, [0x00614000]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rcx
call fcn.0044dcc0
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
xor ebx, ebx
jmp 0x586c8a
movzx esi, byte [rdx + rbx]
not esi
mov byte [rax + rbx], sil
inc rbx
cmp rcx, rbx
jg 0x586c7d
nop
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rdx + 8]
mov rsi, qword [rdx + 0x10]
mov rdi, qword [rdx + 0x18]
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rcx
nop
call fcn.00529cc0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rdx
cmp dword [0x00811460], 0
jne 0x586d3e
mov qword [rbx + 8], rax
mov byte [rbx], 0
mov rax, qword [0x007cb6e8]
mov qword [rsp], rbx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rax
call fcn.0051afe0
nop
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x10], 0
jle 0x586d3a
movzx ecx, byte [rax]
xor ecx, 1
mov byte [rax], cl
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
xor ecx, ecx
jmp 0x586d1e
lea rdi, [rbx + 8]
call fcn.0046c920
jmp 0x586cee
nop
mov rbx, qword [rax + 8]
mov rsi, qword [rax + 0x10]
mov rdi, qword [rax + 0x18]
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x28], rcx
call fcn.00529cc0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rdx
cmp dword [0x00811460], 0
jne 0x586dc3
mov qword [rbx + 8], rax
mov byte [rbx], 0
mov qword [rsp + 0x78], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rdi, [rbx + 8]
call fcn.0046c920
jmp 0x586da6
mov rdx, qword [rsp + 0x60]
jmp 0x586d49
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdx
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rcx]
test dl, dl
jne 0x586e40
movzx ebx, byte [rcx + 1]
test bl, 0x80
jne 0x586e40
lea rax, [0x006624de]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1d
call fcn.0040b600
mov rdx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x68]
lea rcx, [0x006a4c20]
jmp 0x586c0e
cmp dl, 0xff
jne 0x586e4e
movzx edx, byte [rcx + 1]
test dl, 0x80
jne 0x586e10
xor ecx, ecx
xor edx, edx
jmp 0x586c0e
lea rax, [0x0065c5a5]
mov qword [rsp], rax
mov qword [rsp + 8], 0xd
call fcn.0040b600
mov rdx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x68]
lea rcx, [0x006a4c20]
jmp 0x586c0e
call fcn.0046abe0
jmp fcn.00586bc0