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

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x4f7326
push rbp
mov rbp, rsp
sub rsp, 0xb8
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], r8
nop word [rax + rax]
test rcx, rcx
je 0x4f730e
mov qword [rsp + 0xc8], rax
mov byte [rsp + 0xd0], bl
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rdi
lea rdx, [rax + 0x10]
mov qword [rsp + 0x38], rdx
mov r9, rax
xor eax, eax
mov r10d, 1
lock cmpxchg dword [r9 + 0x10], r10d
sete r10b
test rsi, rsi
mov r11, rdi
cmovne rdi, r8
mov qword [rsp + 0x50], rdi
mov r8, rcx
cmovne rcx, rsi
mov qword [rsp + 0x30], rcx
test r10b, r10b
jne 0x4f713d
mov rax, rdx
call fcn.0046b320
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
movzx ebx, byte [rsp + 0xd0]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0xd8]
mov r9, qword [rsp + 0xc8]
mov r11, qword [rsp + 0xe0]
cmp qword [r9 + 0x30], 0
jne 0x4f7230
mov qword [r9 + 0x30], r8
cmp dword [0x0092d940], 0
je 0x4f7177
mov rax, r11
call fcn.0045fe80
mov qword [r11], rax
mov rsi, qword [r9 + 0x38]
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rdi
mov rsi, qword [r9 + 0x48]
mov qword [r11 + 0x18], rsi
mov r11, rax
mov qword [r9 + 0x38], r11
mov qword [r9 + 0x40], rcx
mov qword [r9 + 0x48], rdi
movups xmmword [rsp + 0x40], xmm15
mov rsi, qword [r9 + 0x18]
test rsi, rsi
je 0x4f71ae
lea r10, [0x0092d4d7]
cmp rsi, r10
je 0x4f71ae
mov r10, qword [r9 + 0x20]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r10
jmp 0x4f71b4
movups xmmword [rsp + 0x40], xmm15
lea rsi, [0x0066dfc0]
nop dword [rax + rax]
cmp qword [rsp + 0x40], rsi
jne 0x4f71ce
mov r10, qword [rsp + 0x48]
jmp 0x4f71d1
xor r10d, r10d
test r10, r10
je 0x4f71e2
mov rax, r10
call fcn.00406a80
nop
jmp 0x4f71f5
lea rax, [r9 + 0x18]
mov rcx, qword [0x008a65d0]
mov rbx, rsi
call fcn.00465b20
mov rdx, qword [rsp + 0xc8]
mov rbx, qword [rdx + 0x28]
lea rdi, [rsp + 0x58]
lea rdi, [rdi - 0x20]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004604cb
mov rbp, qword [rbp]
lea rax, [0x0067cca0]
lea rcx, [rsp + 0x58]
call fcn.0040f2e0
jmp 0x4f7288
nop
mov ebx, 0xffffffff
lock xadd dword [r9 + 0x10], ebx
dec ebx
nop
test ebx, ebx
je 0x4f724c
mov rax, rdx
call fcn.0046b600
add rsp, 0xb8
pop rbp
ret
mov r9, qword [rdx]
mov rax, qword [rdx + 8]
mov rdx, qword [r9 + 0x20]
xor ebx, ebx
mov rcx, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0x30]
mov r8, qword [rsp + 0x50]
call rdx
lea rax, [rsp + 0x58]
call fcn.0040f500
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x4f7255
cmp dword [0x0092d940], 0
jne 0x4f72a5
mov rdi, qword [rsp + 0xc8]
jmp 0x4f72b9
mov rdi, qword [rsp + 0xc8]
mov rdx, qword [rdi + 0x28]
call fcn.0045fe20
mov qword [r11], rdx
mov qword [rdi + 0x28], 0
nop
mov ebx, 0xffffffff
lock xadd dword [rdi + 0x10], ebx
dec ebx
test ebx, ebx
je 0x4f72e4
mov rax, qword [rsp + 0x38]
call fcn.0046b600
mov rdi, qword [rsp + 0xc8]
movzx edx, byte [rsp + 0xd0]
test dl, dl
je 0x4f7305
mov rax, qword [rdi]
mov rbx, qword [rdi + 8]
lea rcx, [0x00742d98]
nop
call fcn.004f6360
add rsp, 0xb8
pop rbp
ret
lea rax, [0x0066d140]
lea rbx, [0x00740a40]
nop dword [rax]
call fcn.004337c0
nop
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.0045df00
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.004f7060