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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x10]
cmp rax, qword [rcx + 0x10]
jbe 0x4a5afa
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov rax, qword [rsp + 0xa8]
mov rcx, rax
and rax, 0x1f
mov qword [rsp + 0x28], rax
cmp rax, 0x11
jne 0x4a5943
test rcx, 0x100
je 0x4a58f7
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x40]
mov rax, qword [rax + 0x38]
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
jl 0x4a58ae
mov rdi, qword [rsp + 0xb8]
cmp rdi, rsi
jl 0x4a58ae
cmp rdi, rdx
jg 0x4a58ae
lea r8, [0x0066d200]
mov qword [rsp], r8
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xb0]
sub rcx, rdx
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x20]
sub rcx, rdx
mov qword [rax + 0x10], rcx
test rcx, rcx
jle 0x4a587b
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rcx + 0x30]
mov esi, dword [0x008b4340]
mov rbx, qword [rbx]
imul rdx, rbx
mov rbx, qword [rsp + 0x38]
add rdx, rbx
test esi, esi
jne 0x4a5861
mov qword [rax], rdx
test byte [rcx], al
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xa8]
and rax, 0x60
or rax, 0x80
or rax, 0x17
mov qword [rsp + 0xd0], rax
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov qword [rsp], rax
mov qword [rsp + 8], rdx
call fcn.00410240
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
jmp 0x4a5821
mov ecx, dword [0x008b4340]
test ecx, ecx
jne 0x4a5894
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x30]
jmp 0x4a5821
mov qword [rsp], rax
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 8], rcx
call fcn.00410240
mov rax, qword [rsp + 0x48]
jmp 0x4a588d
lea rax, [0x006dc342]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0x2e
lea rax, [0x0066fb00]
mov qword [rsp], rax
lea rax, [rsp + 0x58]
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
lea rax, [0x006dcda5]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0x31
lea rax, [0x0066fb00]
mov qword [rsp], rax
lea rax, [rsp + 0x78]
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
cmp rax, 0x17
jne 0x4a5965
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov rax, qword [rsp + 0x98]
jmp 0x4a5769
cmp rax, 0x18
jne 0x4a5a88
mov rax, qword [rsp + 0xb0]
test rax, rax
jl 0x4a5a3f
mov rdx, qword [rsp + 0xb8]
cmp rdx, rax
jl 0x4a5a3f
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rbx + 8]
cmp rdx, rsi
jg 0x4a5a3f
lea rsi, [0x006968c0]
mov qword [rsp], rsi
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xb0]
sub rdx, rbx
mov qword [rax + 8], rdx
add rcx, rbx
mov edx, dword [0x008b4340]
test edx, edx
jne 0x4a5a2a
mov qword [rax], rcx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xd0], rax
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov qword [rsp], rax
mov qword [rsp + 8], rcx
call fcn.00410240
mov rax, qword [rsp + 0x50]
jmp 0x4a59f2
lea rax, [0x006dd7ef]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0x35
lea rax, [0x0066fb00]
mov qword [rsp], rax
lea rax, [rsp + 0x68]
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
lea rcx, [0x006960a0]
mov qword [rsp], rcx
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x40], rax
mov qword [rax + 8], 0x13
mov ecx, dword [0x008b4340]
test ecx, ecx
jne 0x4a5ade
lea rcx, [0x006d3e71]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x10], rcx
lea rcx, [0x00681000]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.0042a540
ud2
mov qword [rsp], rax
lea rcx, [0x006d3e71]
mov qword [rsp + 8], rcx
call fcn.00410240
mov rax, qword [rsp + 0x40]
jmp 0x4a5abe
call fcn.00452210
jmp fcn.004a56f0