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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x18]
cmp rax, qword [rcx + 0x10]
jbe 0x499175
sub rsp, 0x98
mov qword [rsp + 0x90], rbp
lea rbp, [rsp + 0x90]
mov rax, qword [rsp + 0xa8]
cmp rax, 0xffff
jg 0x4990f0
mov rcx, qword [rsp + 0xb8]
cmp rcx, 0xffff
jg 0x499074
lea rdx, [rax + 3]
mov qword [rsp + 0x40], rdx
test rcx, rcx
jle 0x499064
lea rbx, [rax + rcx + 5]
movzx esi, byte [rsp + 0xd0]
or esi, 2
mov rdi, qword [rsp + 0xc8]
test rdi, rdi
je 0x498e51
or esi, 4
mov byte [rsp + 0x3f], sil
lea r8, [0x0066fcc0]
mov qword [rsp], r8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbx
call fcn.0043e630
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x48], rdx
test rdx, rdx
jbe 0x49905d
movzx ebx, byte [rsp + 0x3f]
mov byte [rax], bl
cmp rdx, 1
jbe 0x499056
mov rbx, qword [rsp + 0xa8]
mov rsi, rbx
sar rbx, 8
mov byte [rax + 1], bl
cmp rdx, 2
jbe 0x49904f
mov byte [rax + 2], sil
lea rbx, [rcx - 4]
sar rbx, 0x3f
xor rbx, 0xffffffffffffffff
and rbx, 3
add rbx, rax
lea rdi, [rdx - 3]
cmp rdi, rsi
jle 0x499047
mov qword [rsp], rbx
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
call fcn.00455480
mov rax, qword [rsp + 0xb8]
test rax, rax
jle 0x499037
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
cmp rcx, rdx
ja 0x499030
sub rdx, rcx
mov rbx, qword [rsp + 0x50]
sub rbx, rcx
lea rsi, [rbx - 1]
sar rsi, 0x3f
xor rsi, 0xffffffffffffffff
and rcx, rsi
mov rsi, qword [rsp + 0x58]
lea rdi, [rsi + rcx]
test rdx, rdx
jbe 0x499029
mov r8, rax
sar rax, 8
mov byte [rsi + rcx], al
cmp rdx, 1
jbe 0x499022
mov byte [rsi + rcx + 1], r8b
lea rax, [rbx - 3]
sar rax, 0x3f
xor rax, 0xffffffffffffffff
and rax, 2
add rax, rdi
lea rcx, [rdx - 2]
cmp rcx, r8
jle 0x49901a
mov qword [rsp], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], r8
call fcn.00455480
mov rax, qword [rsp + 0xc8]
test rax, rax
jne 0x498fd1
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xd8], rax
mov rbp, qword [rsp + 0x90]
add rsp, 0x98
ret
lea rax, [0x006de64c]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x3d
lea rax, [0x0066fb00]
mov qword [rsp], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 8], rax
call fcn.0040ccd0
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
call fcn.0042a540
ud2
mov r8, rcx
jmp 0x498f8c
call fcn.004293e0
ud2
call fcn.004293e0
ud2
call fcn.00429450
ud2
mov rax, qword [rsp + 0xc8]
test rax, rax
jmp 0x498fb2
mov rsi, rdi
jmp 0x498ee8
call fcn.004293e0
ud2
call fcn.004293e0
ud2
call fcn.004293e0
ud2
mov rbx, rdx
movzx esi, byte [rsp + 0xd0]
jmp 0x498e41
mov qword [rsp], 0
lea rax, [0x006d8aeb]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0x20
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rcx
call fcn.004424a0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, [0x0066fb00]
mov qword [rsp], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 8], rax
call fcn.0040ccd0
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
call fcn.0042a540
ud2
mov qword [rsp], 0
lea rcx, [0x006d9180]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x21
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rax
call fcn.004424a0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rax
lea rax, [0x0066fb00]
mov qword [rsp], rax
lea rax, [rsp + 0x80]
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.00498dc0