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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4979c8
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov rax, qword [rsp + 0x90]
movzx ecx, byte [rax + 0x17]
and ecx, 0x1f
nop word [rax + rax]
cmp rcx, 0x14
jne 0x497715
mov rcx, qword [rax + 0x38]
mov rdx, qword [rsp + 0xa8]
nop word [rax + rax]
nop
cmp qword [rax + 0x40], rdx
jbe 0x4979ab
mov qword [rsp + 0x60], rcx
mov ebx, dword [rcx + rdx*8]
mov qword [rsp], rax
mov dword [rsp + 8], ebx
call fcn.004679a0
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
test al, 1
je 0x497928
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx]
nop word [rax + rax]
test rdx, rdx
je 0x4978a5
mov rbx, qword [rdx + 8]
mov rax, qword [rsp + 0xa8]
nop word [rax + rax]
nop
cmp rax, 0x186a0
jae 0x49789b
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + rax*8 + 4]
mov rdx, qword [rsp + 0x90]
mov qword [rsp], rdx
mov dword [rsp + 8], ecx
call fcn.00467a00
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*8]
lea rax, [rax + 0x18]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xc0], rax
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp], rax
call fcn.0048e600
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0xa8]
cmp qword [rsp + 0x10], rcx
jbe 0x49787f
shl rcx, 4
mov edx, dword [rax + rcx + 4]
mov dword [rsp + 0x4c], edx
mov ebx, dword [rax + rcx + 8]
mov dword [rsp + 0x48], ebx
mov eax, dword [rax + rcx]
mov rcx, qword [rsp + 0x90]
mov qword [rsp], rcx
mov dword [rsp + 8], eax
nop dword [rax]
call fcn.004679a0
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
test al, 1
je 0x4977fa
lea rax, [0x00614080]
mov qword [rsp], rax
call fcn.0040e560
mov rax, qword [rsp + 8]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x90]
mov qword [rsp], rcx
mov edx, dword [rsp + 0x48]
mov dword [rsp + 8], edx
call fcn.00467a60
mov rax, qword [rsp + 0x10]
cmp dword [0x00811460], 0
jne 0x4977ee
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp], rax
mov ecx, dword [rsp + 0x4c]
mov dword [rsp + 8], ecx
call fcn.00467a00
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x68]
jmp 0x4976f3
mov rdi, qword [rsp + 0x68]
call fcn.0046c920
jmp 0x4977be
mov qword [rsp], 0
lea rax, [0x0065b518]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 9
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea rax, [0x0065ed9c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x15
call fcn.00451ee0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
nop
call fcn.0040b600
mov rax, qword [rsp + 0x10]
lea rcx, [0x00613e40]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00438920
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a1720]
mov qword [rsp + 8], rax
call fcn.00438920
mov ecx, 0x186a0
call fcn.0046cdc0
mov qword [rsp], 0
lea rax, [0x0065b518]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 9
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea rax, [0x006639ce]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x21
call fcn.00451ee0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
call fcn.0040b600
mov rax, qword [rsp + 0x10]
lea rcx, [0x00613e40]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00438920
mov qword [rsp], 0
lea rax, [0x0065b518]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 9
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea rax, [0x0065ed9c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x15
call fcn.00451ee0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
call fcn.0040b600
mov rax, qword [rsp + 0x10]
lea rcx, [0x00613e40]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00438920
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a1720]
mov qword [rsp + 8], rax
call fcn.00438920
nop
call fcn.0046abe0
jmp fcn.004975e0