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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x508647
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rdi]
test rbx, rbx
je 0x5085f9
nop dword [rax]
cmp rdi, rbx
jne 0x50862a
mov ebx, dword [rsp + 0x70]
cmp ebx, 0x80
jge 0x5084a2
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
mov rdx, qword [rdi + 0x18]
lea rsi, [rax + 1]
cmp rdx, rsi
jb 0x508437
lea rdx, [rax + 1]
mov qword [rdi + 0x10], rdx
mov byte [rcx + rax], bl
mov qword [rsp + 0x78], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rbx, [0x00614000]
mov qword [rsp], rbx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rsi
call fcn.0044ddc0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
mov qword [rbx + 0x18], rdx
cmp dword [0x00811460], 0
jne 0x508495
mov qword [rbx + 8], rax
mov rdi, rbx
mov ebx, dword [rsp + 0x70]
mov rdx, rax
mov rax, rcx
mov rcx, rdx
jmp 0x50840e
lea rdi, [rbx + 8]
call fcn.0046c920
nop
jmp 0x508480
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x40], rax
mov rsi, qword [rdi + 0x18]
mov r8, rsi
sub rsi, rax
cmp rsi, 4
jl 0x508548
mov rdx, qword [rdi + 0x18]
mov rsi, qword [rdi + 8]
lea rcx, [rax + 4]
cmp rdx, rcx
jb 0x508625
cmp rax, rcx
ja 0x508620
sub rdx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rdx, rax
add rdx, rsi
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], rcx
mov dword [rsp + 0x18], ebx
call fcn.00476e80
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rcx + 0x18]
mov rbx, qword [rsp + 0x40]
add rbx, rax
cmp rdx, rbx
jb 0x508617
mov qword [rcx + 0x10], rbx
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rcx, [0x00614000]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
lea rcx, [r8 + r8]
lea rcx, [rcx + 4]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x10], rcx
call fcn.0044dcc0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rsp + 0x40]
cmp rdx, rcx
mov rbx, rdx
cmovg rdx, rcx
mov rcx, qword [rsp + 0x18]
mov rsi, qword [rax + 8]
cmp rcx, rsi
jne 0x5085d0
mov qword [rax + 0x10], rbx
mov rsi, qword [rsp + 0x48]
mov qword [rax + 0x18], rsi
cmp dword [0x00811460], 0
jne 0x5085c5
mov qword [rax + 8], rcx
mov rax, rbx
mov ebx, dword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
nop dword [rax + rax]
jmp 0x5084bf
lea rdi, [rax + 8]
call fcn.0046ca20
jmp 0x5085af
mov qword [rsp + 0x50], rcx
mov qword [rsp], rcx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdx
call fcn.0046d6c0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
jmp 0x508595
cmp dword [0x00811460], 0
jne 0x50860a
mov qword [rdi], rdi
jmp 0x5083e9
mov rbx, rdi
call fcn.0046ca60
jmp 0x5083e9
mov rcx, rbx
call fcn.0046ce40
nop
call fcn.0046ce80
call fcn.0046ce40
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a15c0]
mov qword [rsp + 8], rax
call fcn.00438920
nop
call fcn.0046abe0
jmp fcn.005083a0