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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4175bc
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdi
test rbx, rbx
je 0x4175a8
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rax
movzx ecx, byte [rbx + 8]
test cl, 4
je 0x417239
lea rax, [0x01042672]
mov ebx, 0x15
call fcn.0043dd60
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rax + 0x48]
mov rcx, qword [rdx]
mov esi, dword [rbx + 0xc]
lea rax, [rsp + 0x80]
mov rbx, rsi
call rcx
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x78]
movzx ecx, byte [rbx + 8]
xor ecx, 4
mov byte [rbx + 8], cl
cmp qword [rbx + 0x10], 0
jne 0x4172b3
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx + 0x40]
mov rax, qword [rbx]
mov ecx, 1
nop dword [rax]
call fcn.00410820
cmp dword [0x01c09e00], 0
jne 0x417295
mov rbx, qword [rsp + 0x78]
jmp 0x4172aa
call fcn.00472500
mov qword [r11], rax
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rbx + 0x10]
mov qword [r11 + 8], rdx
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x70]
jmp 0x4172dc
mov rax, rdx
nop dword [rax]
call fcn.004139e0
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
mov rdx, qword [rsp + 0x70]
movzx ecx, byte [rbx + 9]
mov esi, 1
shl rsi, cl
lea rcx, [rsi - 1]
and rcx, rax
cmp qword [rbx + 0x18], 0
je 0x417319
mov qword [rsp + 0x30], rcx
mov rax, rdx
nop
call fcn.00417960
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
movzx esi, word [rdx + 0x52]
imul rcx, rsi
mov rsi, rax
shr rax, 0x38
add rcx, qword [rbx + 0x10]
cmp al, 5
jae 0x417333
add eax, 5
mov byte [rsp + 0x1f], al
xor edi, edi
xor r8d, r8d
jmp 0x4173b2
cmp qword [rbx + 0x18], 0
jne 0x4174d7
mov r9, qword [rbx]
inc r9
movzx r10d, byte [rbx + 9]
cmp r9, 8
jle 0x41737f
mov r11, rcx
mov ecx, r10d
mov r12d, 1
shl r12, cl
shr r12, 1
lea r12, [r12 + r12*2]
shl r12, 2
cmp r12, r9
jb 0x4172ba
jmp 0x417385
mov r11, rcx
mov ecx, r10d
cmp cl, 0xf
jbe 0x41738f
mov ecx, 0xf
movzx r9d, word [rbx + 0xa]
and ecx, 0xf
mov r10d, 1
shl r10d, cl
cmp r9w, r10w
jae 0x4172ba
jmp 0x4174da
mov rcx, r9
mov qword [rsp + 0x58], rcx
xor r9d, r9d
jmp 0x4173e0
movzx r9d, word [rdx + 0x52]
mov r10, rcx
lea r9, [r10 + r9]
lea r9, [r9 - 8]
mov r9, qword [r9]
test r9, r9
jne 0x4173af
jmp 0x41733e
inc r9
nop dword [rax]
cmp r9, 8
jae 0x4173bc
test byte [rcx], al
movzx r10d, byte [rcx + r9]
cmp al, r10b
je 0x41740d
cmp r10b, 1
ja 0x417403
test rdi, rdi
jne 0x417403
mov rdi, rcx
mov r8, r9
test r10b, r10b
jne 0x4173d9
jmp 0x41733e
mov r10, r9
shl r9, 4
mov r11, qword [rsp + 0x88]
mov r12, rcx
lea r9, [r9 + r12]
lea r9, [r9 + 8]
cmp qword [r9 + 8], r11
je 0x417432
mov r9, r10
jmp 0x4173d9
mov r12, qword [r9]
mov r13, qword [rsp + 0x80]
nop dword [rax]
cmp r13, r12
jne 0x41744a
xor r11d, r11d
jmp 0x4174a0
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x50], rdi
mov rax, r12
mov rbx, r13
mov rcx, r11
call fcn.00406c40
xor eax, 1
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x38]
mov r11d, eax
movzx eax, byte [rsp + 0x1f]
nop
test r11b, r11b
je 0x4174ad
mov r9, r10
jmp 0x4173d9
mov rsi, qword [rsp + 0x80]
cmp dword [0x01c09e00], 0
je 0x4174cf
nop
call fcn.00472500
mov qword [r11], rsi
mov rdi, qword [r9]
mov qword [r11 + 8], rdi
mov qword [r9], rsi
jmp 0x41755b
mov r11, rcx
test rdi, rdi
jne 0x417502
mov rax, rbx
mov rbx, rdx
mov rcx, r11
call fcn.00411900
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rdi, rax
xor r8d, r8d
movzx eax, byte [rsp + 0x1f]
test byte [rdi], al
mov rcx, r8
and r8d, 7
mov byte [rdi + r8], al
mov rsi, rcx
shl rcx, 4
mov r8, qword [rsp + 0x88]
mov r9, rdi
lea rcx, [rdi + rcx]
lea rcx, [rcx + 8]
mov rdi, qword [rsp + 0x80]
mov qword [rcx + 8], r8
cmp dword [0x01c09e00], 0
je 0x41754f
nop
call fcn.00472500
mov qword [r11], rdi
mov r8, qword [rcx]
mov qword [r11 + 8], r8
mov qword [rcx], rdi
inc qword [rbx]
mov rcx, r9
mov r10, rsi
movzx edx, byte [rdx + 0x51]
imul rdx, r10
movzx esi, byte [rbx + 8]
lea rax, [rdx + rcx]
lea rax, [rax + 0x88]
test sil, 4
jne 0x417598
mov qword [rsp + 0x40], rax
lea rax, [0x01042672]
mov ebx, 0x15
call fcn.0043dd60
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x78]
movzx ecx, byte [rbx + 8]
and ecx, 0xfffffffb
mov byte [rbx + 8], cl
add rsp, 0x60
pop rbp
ret
lea rax, [0x00ee2440]
lea rbx, [0x01419670]
call fcn.0043d500
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004705e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004171e0