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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x49a200
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov rcx, rax
and rax, 0x1f
cmp rax, 0x11
jne 0x49a098
bt ecx, 8
jae 0x49a190
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x40]
mov rax, qword [rax + 0x38]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
nop
test rsi, rsi
jl 0x49a158
mov rdi, qword [rsp + 0x60]
cmp rsi, rdi
jg 0x49a158
nop word [rax + rax]
cmp rdi, rdx
jg 0x49a158
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x10], rdx
lea rax, [0x00611a40]
mov qword [rsp], rax
call fcn.0040e560
mov rdi, qword [rsp + 8]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
sub rax, rcx
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x10]
sub rax, rcx
mov qword [rdi + 0x10], rax
test rax, rax
jle 0x49a074
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x30]
mov rdx, qword [rdx]
imul rcx, rdx
mov rdx, qword [rsp + 0x28]
add rcx, rdx
cmp dword [0x00811460], 0
jne 0x49a06d
mov qword [rdi], rcx
test byte [rax], al
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0x50]
test rax, 0x60
mov eax, 0
mov ecx, 0x20
cmovne rax, rcx
or rax, 0x97
mov qword [rsp + 0x78], rax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
call fcn.0046ca20
jmp 0x49a033
cmp dword [0x00811460], 0
jne 0x49a08c
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov rax, qword [rsp + 0x20]
jmp 0x49a033
mov rax, qword [rsp + 0x28]
call fcn.0046c920
jmp 0x49a085
cmp rax, 0x17
jne 0x49a0b4
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov rax, qword [rsp + 0x40]
jmp 0x499f9a
cmp rax, 0x18
jne 0x49a1ac
mov rax, qword [rsp + 0x58]
test rax, rax
jl 0x49a174
mov rdx, qword [rsp + 0x60]
cmp rax, rdx
jg 0x49a174
mov rbx, qword [rsp + 0x48]
nop
cmp qword [rbx + 8], rdx
jl 0x49a174
lea rax, [0x0062db60]
mov qword [rsp], rax
call fcn.0040e560
mov rdi, qword [rsp + 8]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
cmp qword [rcx + 8], rax
jle 0x49a12e
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x60]
sub rdx, rax
nop
mov qword [rdi + 8], rdx
add rax, rcx
cmp dword [0x00811460], 0
jne 0x49a151
mov qword [rdi], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
call fcn.0046c920
jmp 0x49a12e
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a1830]
mov qword [rsp + 8], rax
call fcn.00438920
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a1820]
mov qword [rsp + 8], rax
call fcn.00438920
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a1810]
mov qword [rsp + 8], rax
call fcn.00438920
mov qword [rsp + 0x18], rax
lea rax, [0x0062e740]
mov qword [rsp], rax
nop dword [rax]
call fcn.0040e560
mov rax, qword [rsp + 8]
mov qword [rax + 8], 0x13
lea rcx, [0x0065e5cc]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x18]
mov qword [rax + 0x10], rcx
lea rcx, [0x0061b9a0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00438920
nop
nop dword [rax + rax]
call fcn.0046abe0
jmp fcn.00499f40