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

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x4ec206
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 0x4ec1ee
mov byte [rsp + 0xd0], bl
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xd8], rcx
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 + 0x40], rdi
mov r8, rcx
cmovne rcx, rsi
mov qword [rsp + 0x30], rcx
test r10b, r10b
jne 0x4ebffd
mov rax, rdx
call fcn.00480e60
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
movzx ebx, byte [rsp + 0xd0]
mov rdi, qword [rsp + 0x40]
mov r8, qword [rsp + 0xd8]
mov r9, qword [rsp + 0xc8]
mov r11, qword [rsp + 0xe0]
cmp qword [r9 + 0x30], 0
jne 0x4ec107
mov qword [r9 + 0x30], r8
cmp dword [0x00921500], 0
je 0x4ec02b
mov rax, r11
call fcn.004665c0
mov qword [r11], rax
mov rsi, qword [r9 + 0x38]
mov qword [r11 + 8], rsi
mov r11, rax
mov qword [r9 + 0x38], r11
mov qword [r9 + 0x40], rcx
cmp dword [0x00921500], 0
je 0x4ec053
mov rax, r11
nop
call fcn.004665c0
mov qword [r11], rdi
mov rsi, qword [r9 + 0x48]
mov qword [r11 + 8], rsi
mov r11, rax
mov qword [r9 + 0x48], rdi
movups xmmword [rsp + 0x48], xmm15
mov rsi, qword [r9 + 0x18]
test rsi, rsi
je 0x4ec082
lea r10, [0x009210c7]
cmp rsi, r10
je 0x4ec082
mov r10, qword [r9 + 0x20]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r10
jmp 0x4ec088
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0065c6e0]
cmp qword [rsp + 0x48], rsi
jne 0x4ec09d
mov r10, qword [rsp + 0x50]
jmp 0x4ec0a0
xor r10d, r10d
test r10, r10
je 0x4ec0af
mov rax, r10
call fcn.00406060
jmp 0x4ec0c5
lea rax, [r9 + 0x18]
mov rcx, qword [0x008cc008]
mov rbx, rsi
nop dword [rax]
call fcn.0046c060
mov rdx, qword [rsp + 0xc8]
mov rbx, qword [rdx + 0x28]
lea rdi, [rsp + 0x58]
lea rdi, [rdi - 0x20]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466c8b
mov rbp, qword [rbp]
lea rax, [0x0066b660]
lea rcx, [rsp + 0x58]
nop
call fcn.0040f4e0
jmp 0x4ec165
nop
mov ebx, 0xffffffff
lock xadd dword [r9 + 0x10], ebx
dec ebx
test ebx, ebx
je 0x4ec125
mov rax, rdx
nop dword [rax]
call fcn.00481140
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 + 0x40]
call rdx
lea rax, [rsp + 0x58]
nop dword [rax]
call fcn.0040f780
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x4ec12e
cmp dword [0x00921500], 0
jne 0x4ec182
mov rdi, qword [rsp + 0xc8]
jmp 0x4ec196
mov rdi, qword [rsp + 0xc8]
mov rdx, qword [rdi + 0x28]
call fcn.004665a0
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 0x4ec1c1
mov rax, qword [rsp + 0x38]
call fcn.00481140
mov rdi, qword [rsp + 0xc8]
movzx edx, byte [rsp + 0xd0]
test dl, dl
je 0x4ec1e5
mov rax, qword [rdi]
mov rbx, qword [rdi + 8]
lea rcx, [0x00729f18]
nop dword [rax + rax]
call fcn.004eb2e0
add rsp, 0xb8
pop rbp
ret
lea rax, [0x0065b7a0]
lea rbx, [0x00727ef0]
nop dword [rax]
call fcn.00436ac0
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.004646a0
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.004ebf20