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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x38]
cmp rax, qword [rcx + 0x10]
jbe 0x50a8ae
sub rsp, 0xb8
mov qword [rsp + 0xb0], rbp
lea rbp, [rsp + 0xb0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
xor eax, eax
jmp 0x50a212
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xd0]
nop word [rax + rax]
cmp rax, rcx
jge 0x50a81b
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0xc8]
movzx esi, byte [rax + rbx]
nop word [rax + rax]
cmp esi, 0x80
jge 0x50a7fa
lea rdi, [rax + 1]
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x78], rdi
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rdx]
mov dword [rsp], esi
call rax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 0x44]
cmp ecx, eax
jne 0x50a27d
cmp ecx, 0xfffd
jne 0x50a20d
mov dword [rsp + 0x48], eax
cmp ecx, 0xfffd
jne 0x50a785
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
nop word [rax + rax]
cmp rdx, rcx
ja 0x50a8a5
sub rcx, rdx
mov rbx, rcx
neg rcx
sar rcx, 0x3f
and rcx, rdx
mov rsi, qword [rsp + 0xc8]
add rcx, rsi
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
call fcn.004769a0
mov rax, qword [rsp + 0x18]
mov ecx, dword [rsp + 0x10]
nop dword [rax + rax]
cmp rax, 1
je 0x50a779
mov ebx, dword [rsp + 0x48]
cmp ebx, ecx
je 0x50a20d
nop
mov rsi, qword [rsp + 0x90]
nop
test rsi, rsi
je 0x50a764
lea rdi, [rsp + 0x90]
cmp rdi, rsi
jne 0x50a889
mov rdx, qword [rsp + 0xd0]
lea rsi, [rdx + 4]
test rsi, rsi
jl 0x50a86d
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0xa8]
mov r10, r9
sub r9, r8
cmp rsi, r9
jg 0x50a685
mov rcx, qword [rsp + 0x58]
nop dword [rax + rax]
cmp rcx, rdx
ja 0x50a868
nop
mov rsi, qword [rsp + 0x90]
test rsi, rsi
je 0x50a677
nop dword [rax + rax]
cmp rdi, rsi
jne 0x50a84c
mov rsi, qword [rsp + 0xa0]
lea r8, [rcx + rsi]
mov qword [rsp + 0x78], r8
mov r9, qword [rsp + 0xa8]
mov r10, qword [rsp + 0x98]
cmp r9, r8
jb 0x50a635
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x88], r10
lea rax, [r10 + rsi]
mov qword [rsp], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
call fcn.0046d6c0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x48]
test eax, eax
jge 0x50a61b
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
lea rax, [rsi + rbx]
mov rcx, qword [rsp + 0xd0]
cmp rcx, rax
jb 0x50a847
sub rcx, rax
mov rbx, rcx
neg rcx
sar rcx, 0x3f
and rax, rcx
mov rcx, qword [rsp + 0xc8]
add rax, rcx
cmp qword [rsp + 0xa8], 0
je 0x50a5fb
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xc8], rax
xor ecx, ecx
jmp 0x50a487
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x78]
cmp rbx, rcx
jle 0x50a5cb
movzx esi, byte [rcx + rax]
nop word [rax + rax]
nop dword [rax]
cmp esi, 0x80
jge 0x50a5aa
inc rcx
mov qword [rsp + 0x78], rcx
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rdx]
mov dword [rsp], esi
call rax
mov eax, dword [rsp + 8]
test eax, eax
jl 0x50a472
cmp eax, 0x80
jge 0x50a592
nop
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x50a57d
lea rbx, [rsp + 0x90]
cmp rbx, rcx
jne 0x50a82b
mov rcx, qword [rsp + 0xa0]
lea rbx, [rcx + 1]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa8]
cmp rdi, rbx
jb 0x50a530
lea rbx, [rcx + 1]
mov qword [rsp + 0xa0], rbx
mov byte [rsi + rcx], al
jmp 0x50a472
mov dword [rsp + 0x4c], eax
lea rax, [0x00614000]
mov qword [rsp], rax
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rbx
call fcn.0044ddc0
mov rsi, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x98], rsi
mov eax, dword [rsp + 0x4c]
jmp 0x50a51c
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x90], rcx
jmp 0x50a4fb
lea rax, [rsp + 0x90]
mov qword [rsp], rax
nop
call fcn.005083a0
jmp 0x50a472
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
call fcn.00460d00
mov esi, dword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
jmp 0x50a4af
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rcx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rbx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
lea rcx, [rsp + 0x90]
mov qword [rsp], rcx
mov dword [rsp + 8], eax
call fcn.005083a0
jmp 0x50a415
mov qword [rsp + 0x70], rsi
lea rax, [0x00614000]
mov qword [rsp], rax
mov qword [rsp + 8], r10
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], r8
call fcn.0044ddc0
mov r10, qword [rsp + 0x28]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
jmp 0x50a3b3
mov qword [rsp + 0x90], rdi
nop
jmp 0x50a389
mov qword [rsp + 0x60], r8
lea rax, [0x00614000]
mov qword [rsp], rax
mov qword [rsp + 8], r8
lea rcx, [rdx + r10*2]
lea rcx, [rcx + 4]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x10], rcx
call fcn.0044dcc0
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
cmp rax, rcx
mov rdx, rcx
cmovl rcx, rax
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x98]
cmp rax, rbx
jne 0x50a725
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xd0]
cmp rcx, rbx
mov qword [rsp + 0xa0], rdx
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x50]
mov rdx, rbx
mov ebx, dword [rsp + 0x48]
lea rdi, [rsp + 0x90]
nop dword [rax + rax]
jmp 0x50a363
mov qword [rsp + 0x80], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
nop dword [rax + rax]
call fcn.0046d6c0
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xd0]
cmp rcx, rbx
mov rax, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x60]
jmp 0x50a6ea
lea rdi, [rsp + 0x90]
mov qword [rsp + 0x90], rdi
jmp 0x50a31a
mov ebx, dword [rsp + 0x48]
nop dword [rax]
jmp 0x50a2f6
test ecx, ecx
jge 0x50a79a
mov rcx, 0xffffffffffffffff
mov ebx, eax
mov rax, rcx
jmp 0x50a2f6
cmp ecx, 0x7f
jg 0x50a7a6
mov ecx, 1
jmp 0x50a790
cmp ecx, 0x7ff
jg 0x50a7b5
mov ecx, 2
jmp 0x50a790
lea ebx, [rcx - 0xd800]
nop dword [rax + rax]
cmp ebx, 0x7ff
ja 0x50a7d1
mov rcx, 0xffffffffffffffff
jmp 0x50a790
cmp ecx, 0xffff
jg 0x50a7e2
mov ecx, 3
nop
jmp 0x50a790
cmp ecx, 0x10ffff
jg 0x50a7f1
mov ecx, 4
jmp 0x50a790
mov rcx, 0xffffffffffffffff
jmp 0x50a790
mov qword [rsp], rbx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.00460d00
mov esi, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp 0x50a250
mov rbx, rcx
mov rax, qword [rsp + 0xc8]
jmp 0x50a44f
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a15c0]
mov qword [rsp + 8], rax
call fcn.00438920
call fcn.0046ce80
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a15c0]
mov qword [rsp + 8], rax
call fcn.00438920
call fcn.0046ce00
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a19f0]
mov qword [rsp + 8], rax
call fcn.00438920
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a15c0]
mov qword [rsp + 8], rax
call fcn.00438920
mov rax, rdx
call fcn.0046ce80
nop
call fcn.0046abe0
jmp fcn.0050a1c0