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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x20]
cmp rax, qword [rcx + 0x10]
jbe 0x49834a
sub rsp, 0xa0
mov qword [rsp + 0x98], rbp
lea rbp, [rsp + 0x98]
mov rax, qword [rsp + 0xc8]
test rax, 0x200
je 0x4982f8
mov rcx, qword [rsp + 0xb8]
movzx edx, byte [rcx + 0x17]
mov byte [rsp + 0x4f], dl
mov qword [rsp], rcx
mov rbx, qword [rsp + 0xc0]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rax
call fcn.004a5c40
mov rax, qword [rsp + 0xc8]
mov rcx, rax
and rax, 0x1e0
movzx edx, byte [rsp + 0x4f]
and edx, 0x1f
or rax, rdx
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x80], rdx
mov rbx, qword [rsp + 0x18]
test rbx, rbx
je 0x498121
mov rbx, qword [rbx + 8]
lea rsi, [0x006c7880]
cmp rsi, rbx
jne 0x4982dc
lea rbx, [0x006e04f8]
mov qword [rsp + 0x70], rbx
test byte [rbx], al
mov rbx, qword [0x006e04f8]
mov qword [rsp + 0x58], rbx
mov qword [rsp], rdx
mov qword [rsp + 8], 0
call fcn.004a11c0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rcx, [0x006a8a60]
mov qword [rsp], rcx
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
test byte [rax], al
mov ecx, dword [0x008b4340]
lea rdx, [rax + 8]
test ecx, ecx
jne 0x4982bf
mov rcx, qword [rsp + 0x60]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xc8]
mov rdx, rcx
sar rcx, 0xa
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x28], rcx
mov ecx, dword [0x008b4340]
lea rbx, [rax + 0x18]
lea rsi, [rax + 0x20]
mov qword [rsp + 0x78], rsi
test ecx, ecx
jne 0x49827c
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x18], rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x20], rcx
mov rcx, qword [rax + 0x20]
mov rbx, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
mov rdi, qword [rax + 0x28]
mov qword [rsp + 0x28], rsi
mov rsi, qword [rsp + 0xa8]
mov qword [rsp], rsi
mov rsi, qword [rsp + 0xb0]
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004a2f80
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xc8]
and rax, 0x60
or rax, 0x13
mov qword [rsp + 0xe0], rax
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
mov qword [rsp], rbx
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 8], rcx
call fcn.00410240
mov rax, qword [rsp + 0x78]
mov qword [rsp], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 8], rax
call fcn.00410240
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xc8]
jmp 0x4981f5
mov qword [rsp], rdx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 8], rcx
call fcn.00410240
mov rax, qword [rsp + 0x68]
jmp 0x4981a6
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
lea rax, [0x006bdfe0]
mov qword [rsp + 0x10], rax
call fcn.0040cb00
ud2
lea rax, [0x006ddf1b]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 0x37
lea rax, [0x0066fb00]
mov qword [rsp], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 8], rax
call fcn.0040ccd0
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x10]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.0042a540
ud2
call fcn.00452210
jmp fcn.00498070