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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x410d6c
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rbx, qword [rax + 0x18]
movzx esi, byte [rbx + 8]
test sil, 4
jne 0x410d5a
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], rbx
mov rsi, qword [rax + 0x10]
mov qword [rsp + 0x40], rsi
mov r8, qword [rax + 0x50]
mov r9, qword [rax + 0x28]
movzx r10d, byte [rax + 0x4b]
mov r11, qword [rax + 0x58]
jmp 0x4108ea
movzx r12d, word [rsi + 0x52]
lea r12, [r11 + r12]
lea r12, [r12 - 8]
test byte [rsi], al
mov r9, qword [r12]
xor r10d, r10d
mov r11, rdx
test r9, r9
je 0x410900
mov rdx, r11
mov r11, r9
jmp 0x4109bf
cmp qword [rax + 0x40], r8
jne 0x410910
cmp byte [rax + 0x49], 0
jne 0x4109d0
mov r9, qword [rbx + 0x18]
test r9, r9
je 0x410985
movzx r10d, byte [rax + 0x4a]
nop
cmp byte [rbx + 9], r10b
jne 0x410985
mov r10, qword [rax + 0x18]
movzx r11d, byte [r10 + 9]
movzx r10d, byte [r10 + 8]
test r10b, 8
jne 0x41093d
dec r11d
mov ecx, r11d
mov r10d, 1
shl r10, cl
dec r10
and r10, r8
movzx r11d, word [rsi + 0x52]
imul r10, r11
nop
lea r12, [r9 + r10]
movzx r9d, byte [r10 + r9]
add r9d, 0xfffffffe
cmp r9b, 3
jae 0x41097d
imul r11, r8
add r11, qword [rax + 0x20]
mov rcx, 0xffffffffffffffff
jmp 0x410999
mov rcx, r8
mov r11, r12
jmp 0x410999
movzx r11d, word [rsi + 0x52]
imul r11, r8
add r11, qword [rax + 0x20]
mov rcx, 0xffffffffffffffff
inc r8
movzx r9d, byte [rax + 0x4a]
mov rdx, rcx
mov ecx, r9d
mov r10d, 1
shl r10, cl
cmp r10, r8
jne 0x4109bc
mov byte [rax + 0x49], 1
xor r8d, r8d
xor r10d, r10d
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x58], r11
jmp 0x410a00
cmp dword [0x011546d0], 0
jne 0x4109df
movups xmmword [rax], xmm15
jmp 0x4109f2
mov rdi, rax
xor ecx, ecx
call fcn.004657c0
lea rdi, [rax + 8]
call fcn.004657c0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
inc r10d
nop
cmp r10b, 8
jae 0x4108d0
test byte [r11], al
movzx r9d, byte [rax + 0x48]
add r9d, r10d
mov r12d, r9d
and r9d, 7
movzx r13d, byte [r11 + r9]
cmp r13b, 1
jbe 0x4109fc
cmp r13b, 4
je 0x4109fc
and r12d, 7
movzx r13d, byte [rsi + 0x50]
mov r15, r12
imul r12, r13
mov rcx, r11
lea r12, [r12 + r11]
lea r12, [r12 + 8]
mov rdi, r8
mov r8d, dword [rsi + 0x54]
bt r8d, 0
jae 0x410a5b
mov r12, qword [r12]
mov byte [rsp + 0x1f], r10b
mov qword [rsp + 0x48], r12
movzx r12d, byte [rsi + 0x51]
imul r12, r15
lea r12, [r12 + r13*8]
lea r11, [r12 + r11]
lea r11, [r11 + 8]
mov qword [rsp + 0x38], r11
nop
cmp rdx, 0xffffffffffffffff
je 0x410bbe
movzx r12d, byte [rbx + 8]
test r12b, 8
jne 0x410bbe
mov qword [rsp + 0x30], r9
bt r8d, 2
jae 0x410aad
mov r8d, 1
jmp 0x410af3
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x48]
mov rbx, rax
call rcx
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x38]
mov r8d, eax
mov rax, qword [rsp + 0x70]
test r8b, r8b
jne 0x410b37
movzx r8d, byte [rax + 0x4a]
dec r8d
cmp r8b, 0x40
sbb r12, r12
mov r13, rcx
mov ecx, r8d
mov r15, rdx
shr rdx, cl
and rdx, r12
movzx r8d, byte [r13 + r9]
and r8d, 1
cmp r8, rdx
je 0x410bc4
mov rdx, r15
mov r8, rdi
mov r11, r13
jmp 0x4109fc
mov rdx, qword [rsi + 0x48]
mov rcx, qword [rdx]
mov edi, dword [rbx + 0xc]
mov rax, qword [rsp + 0x48]
mov rbx, rdi
call rcx
mov rdi, qword [rsp + 0x70]
movzx ecx, byte [rdi + 0x4a]
mov esi, 1
shl rsi, cl
lea rcx, [rsi - 1]
and rax, rcx
mov rcx, qword [rsp + 0x20]
cmp rcx, rax
je 0x410b92
mov rax, rdi
mov rdx, rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x58]
jmp 0x4109fc
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x38]
mov r13, qword [rsp + 0x58]
mov r15, rcx
jmp 0x410bc4
mov r13, rcx
mov r15, rdx
movzx r8d, byte [r13 + r9]
cmp r8b, 2
je 0x410bdd
cmp r8b, 3
je 0x410bdd
mov ecx, 1
jmp 0x410c32
mov r8d, dword [rsi + 0x54]
bt r8d, 2
jae 0x410bef
mov ecx, 1
jmp 0x410c2f
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x48]
mov rbx, rax
call rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x38]
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov ecx, eax
mov rax, qword [rsp + 0x70]
xor ecx, 1
test cl, cl
jne 0x410cbf
mov rax, rsi
mov rcx, qword [rsp + 0x48]
call fcn.0040fae0
test rax, rax
jne 0x410c75
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x58]
jmp 0x4109fc
cmp dword [0x011546d0], 0
jne 0x410c8c
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov qword [rcx + 8], rbx
jmp 0x410ca5
mov rdi, qword [rsp + 0x70]
call fcn.004656c0
lea rax, [rdi + 8]
mov rcx, rdi
mov rdi, rax
call fcn.00465800
mov rax, rcx
mov rdi, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
jmp 0x410d18
cmp dword [0x011546d0], 0
jne 0x410cd2
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
jmp 0x410ce8
mov rcx, rdi
mov rdi, rax
mov rdx, qword [rsp + 0x48]
nop dword [rax]
call fcn.004657e0
mov rdi, rcx
mov ecx, dword [rsi + 0x54]
bt ecx, 1
jae 0x410cf4
mov r11, qword [r11]
cmp dword [0x011546d0], 0
jne 0x410d03
mov qword [rax + 8], r11
jmp 0x410d18
lea rcx, [rax + 8]
mov rdx, rdi
mov rdi, rcx
mov rbx, r11
call fcn.00465800
mov rdi, rdx
mov qword [rax + 0x50], rdi
nop dword [rax]
cmp qword [rax + 0x28], r13
je 0x410d45
cmp dword [0x011546d0], 0
jne 0x410d35
mov qword [rax + 0x28], r13
jmp 0x410d45
lea rdi, [rax + 0x28]
mov rcx, r13
nop dword [rax]
call fcn.004657c0
lea ecx, [r10 + 1]
mov byte [rax + 0x4b], cl
mov qword [rax + 0x58], r15
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x00ad5365]
mov ebx, 0x26
call fcn.00437b60
nop
mov qword [rsp + 8], rax
call fcn.00463440
mov rax, qword [rsp + 8]
nop dword [rax + rax]
jmp fcn.00410880