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

Disassembly:
mov r11, rsp
push rbp
push rsi
lea rbp, [r11 - 0x38]
sub rsp, 0x128
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rbp + 8], rax
mov qword [r11 + 0x10], rbx
movabs rax, 0x5443454e4e4f43
mov qword [r11 + 0x18], rdi
xor ebx, ebx
mov dword [rsp + 0x38], ebx
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov r14, qword [rcx + 8]
mov qword [rbp], rax
mov qword [r11 - 0x28], r15
lea rdx, [r14 + 0xb0]
mov rax, qword [rdx]
cmp dword [rax + 4], ebx
jne 0x140324b91
lea rcx, [r14 + 0x88]
lea rdx, [rsp + 0x78]
call fcn.1403043e0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14036cd80
lea rax, [rsp + 0x50]
lea edi, [rbx + 3]
jmp 0x140324ba0
lea rcx, [rsp + 0x70]
call fcn.1403cd010
mov edi, 4
mov rcx, qword [rax]
or esi, 0xffffffff
mov qword [rsp + 0x48], rcx
lea rcx, [0x1400495e0]
mov qword [rax], rcx
test dil, 4
je 0x140324beb
mov rcx, qword [rsp + 0x70]
and edi, 0xfffffffb
mov eax, dword [rcx]
test eax, eax
je 0x140324bdd
cmp eax, esi
je 0x140324beb
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140324beb
mov rcx, qword [rsp + 0x70]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
test dil, 2
je 0x140324c22
mov rcx, qword [rsp + 0x50]
and edi, 0xfffffffd
mov eax, dword [rcx]
test eax, eax
je 0x140324c14
cmp eax, 0xffffffff
je 0x140324c22
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140324c22
mov rcx, qword [rsp + 0x50]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
test dil, 1
je 0x140324c56
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x140324c48
cmp eax, 0xffffffff
je 0x140324c56
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140324c56
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
movzx edx, word [r14 + 0x90]
lea rcx, [rbp - 0x80]
mov r8d, 0xa
mov byte [rsp + 0x30], 0x3a
call fcn.14037b790
mov r15, rax
mov rcx, qword [rax]
mov r8d, dword [rcx + 4]
mov rcx, qword [rsp + 0x48]
mov edi, dword [rcx + 4]
lea rcx, [rsp + 0x40]
inc edi
add edi, r8d
xor r8d, r8d
mov edx, edi
call fcn.14037a310
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov rcx, qword [rsp + 0x48]
mov r11, r8
mov rax, qword [rcx + 0x10]
movsxd rdx, dword [rcx + 4]
add rdx, rax
add rdx, rcx
lea r9, [rax + rcx]
mov r10, rdx
sub r10, r9
mov rcx, rbx
cmp r9, rdx
cmova r10, rbx
test r10, r10
je 0x140324cf6
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
mov byte [r8], al
inc rcx
inc r8
cmp rcx, r10
jne 0x140324ce0
movzx eax, byte [rsp + 0x30]
mov byte [r8], al
inc r8
mov rcx, qword [r15]
movsxd rax, dword [rcx + 4]
add rax, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x10]
add rax, rcx
add rdx, rcx
mov rcx, rax
sub rcx, rdx
cmp rdx, rax
cmova rcx, rbx
test rcx, rcx
je 0x140324d45
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r8], al
inc rbx
inc r8
cmp rbx, rcx
jne 0x140324d30
mov rcx, r8
movsxd rax, edi
sub rcx, r11
cmp rax, rcx
je 0x140324d63
sub r8d, r11d
lea rcx, [rsp + 0x40]
mov edx, r8d
call fcn.14037c870
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x140324d81
cmp eax, 0xffffffff
je 0x140324d8f
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140324d8f
mov rcx, qword [rbp - 0x80]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
mov r8d, esi
lea rdx, [rbp]
lea rcx, [rsp + 0x38]
call fcn.14037a370
mov dl, 0x20
lea rcx, [rsp + 0x38]
call fcn.14037a9d0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.14037a900
lea rdx, [0x14000f500]
lea rcx, [rsp + 0x38]
call fcn.14037aa50
lea rdx, [0x14000f510]
lea rcx, [rsp + 0x38]
call fcn.14037aa50
lea rax, [0x14000f534]
xor r8d, r8d
mov qword [rbp - 0x60], rax
lea r13, [0x14000f530]
lea rax, [rsp + 0x48]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x60]
lea rcx, [rsp + 0x38]
mov qword [rbp - 0x50], rax
call fcn.140322fd0
mov r8d, esi
lea rdx, [0x14000e888]
lea rcx, [rsp + 0x58]
call fcn.14037a370
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0xa8]
call fcn.14030c020
mov rcx, qword [rsp + 0x58]
test al, al
sete bl
mov eax, dword [rcx]
test eax, eax
je 0x140324e5f
cmp eax, 0xffffffff
je 0x140324e6d
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140324e6d
mov rcx, qword [rsp + 0x58]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
test bl, bl
je 0x140324e82
lea rdx, [0x14000f540]
lea rcx, [rsp + 0x38]
call fcn.14037aa50
lea rdx, [rsp + 0x68]
lea rcx, [r14 + 0xa8]
call fcn.14030d330
mov rax, qword [rsp + 0x68]
movsxd rdi, dword [rax + 0xc]
movsxd rbx, dword [rax + 8]
add rdi, 2
add rbx, 2
lea rdi, [rax + rdi*8]
lea rbx, [rax + rbx*8]
cmp rbx, rdi
je 0x140324f55
lea rax, [rbp - 0x30]
mov qword [rsp + 0x158], r12
mov qword [rbp - 0x20], rax
lea r12, [0x1401ad7c4]
mov qword [rbp - 0x18], r13
nop dword [rax]
nop dword [rax + rax]
mov r8, rbx
mov qword [rbp - 0x40], rbx
lea rdx, [rbp - 0x78]
mov qword [rbp - 0x38], r12
lea rcx, [r14 + 0xa8]
call fcn.14030d290
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], rcx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
xor r8d, r8d
call fcn.140323130
mov rcx, qword [rbp - 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x140324f36
cmp eax, 0xffffffff
je 0x140324f44
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140324f44
mov rcx, qword [rbp - 0x78]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
add rbx, 8
cmp rbx, rdi
jne 0x140324ee0
mov r12, qword [rsp + 0x158]
mov rbx, qword [r14 + 0xd0]
test rbx, rbx
je 0x140325066
cmp dword [rbx + 0x20], 0
je 0x140325066
mov r8d, esi
mov byte [r14 + 0xde], 1
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.14037a370
lea rax, [0x14000f560]
lea rdx, [rbp - 0x68]
mov qword [rbp - 0x10], rax
lea rcx, [r14 + 0xa8]
call fcn.14030c070
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
mov rcx, rbx
lea rdx, [rbp - 0x70]
call fcn.14032ddd0
xor r8d, r8d
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140322ea0
mov rcx, qword [rbp - 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x140324ff1
cmp eax, 0xffffffff
je 0x140324fff
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140324fff
mov rcx, qword [rbp - 0x70]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
mov rcx, qword [rbp - 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x14032501d
cmp eax, 0xffffffff
je 0x14032502b
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14032502b
mov rcx, qword [rbp - 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x14032504b
cmp eax, 0xffffffff
je 0x140325059
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140325059
mov rcx, qword [rsp + 0x60]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.14037aa50
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.14037aa50
mov rax, qword [rsp + 0x38]
mov rcx, qword [r14 + 0xb8]
mov rdx, qword [rax + 0x10]
movsxd r8, dword [rax + 4]
add rdx, rax
call fcn.1403841a0
mov r15, qword [rsp + 0x110]
mov r13, qword [rsp + 0x120]
mov dword [r14 + 0xc8], 1
mov rdi, qword [rsp + 0x68]
mov eax, dword [rdi]
test eax, eax
je 0x1403250ca
cmp eax, 0xffffffff
je 0x14032512c
mov eax, esi
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x14032512c
mov rdi, qword [rsp + 0x68]
movsxd rbx, dword [rdi + 0xc]
movsxd r14, dword [rdi + 8]
add rbx, 2
add r14, 2
lea rbx, [rdi + rbx*8]
lea r14, [rdi + r14*8]
cmp r14, rbx
je 0x140325124
nop word [rax + rax]
mov rcx, qword [rbx - 8]
sub rbx, 8
mov eax, dword [rcx]
test eax, eax
je 0x14032510e
cmp eax, 0xffffffff
je 0x14032511f
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14032511f
mov rcx, qword [rbx]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
cmp rbx, r14
jne 0x1403250f0
mov rcx, rdi
call fcn.1404e1e20
mov rcx, qword [rsp + 0x38]
mov r14, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x148]
mov eax, dword [rcx]
test eax, eax
je 0x140325164
cmp eax, 0xffffffff
je 0x140325172
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140325172
mov rcx, qword [rsp + 0x38]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x140325192
cmp eax, 0xffffffff
je 0x1403251a0
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1403251a0
mov rcx, qword [rsp + 0x40]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1403251be
cmp eax, 0xffffffff
je 0x1403251cc
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1403251cc
mov rcx, qword [rsp + 0x48]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1404e17d0
add rsp, 0x128
pop rsi
pop rbp
ret