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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x418b7c
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdi
test rbx, rbx
je 0x418b68
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
movzx ecx, byte [rbx + 8]
test cl, 4
je 0x4187f9
lea rax, [0x0109eebd]
mov ebx, 0x15
call fcn.004400a0
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 0x418873
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx + 0x40]
mov rax, qword [rbx]
mov ecx, 1
nop dword [rax]
call fcn.00411dc0
cmp dword [0x0203df10], 0
jne 0x418855
mov rbx, qword [rsp + 0x78]
jmp 0x41886a
call fcn.00479b20
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 0x41889c
mov rax, rdx
nop dword [rax]
call fcn.00414fa0
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 0x4188d9
mov qword [rsp + 0x30], rcx
mov rax, rdx
nop
call fcn.00418f00
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 0x4188f3
add eax, 5
mov byte [rsp + 0x1f], al
xor edi, edi
xor r8d, r8d
jmp 0x418972
cmp qword [rbx + 0x18], 0
jne 0x418a97
mov r9, qword [rbx]
inc r9
movzx r10d, byte [rbx + 9]
cmp r9, 8
jle 0x41893f
mov r11, rcx
mov ecx, r10d
mov r12d, 1
shl r12, cl
shr r12, 1
lea r13, [r12 + r12*2]
lea r12, [r12 + r13*4]
cmp r12, r9
jb 0x41887a
jmp 0x418945
mov r11, rcx
mov ecx, r10d
cmp cl, 0xf
jbe 0x41894f
mov ecx, 0xf
movzx r9d, word [rbx + 0xa]
and ecx, 0xf
mov r10d, 1
shl r10d, cl
cmp r9w, r10w
jae 0x41887a
jmp 0x418a9a
mov rcx, r9
mov qword [rsp + 0x58], rcx
xor r9d, r9d
jmp 0x4189a0
movzx r9d, word [rdx + 0x52]
mov r10, rcx
lea r9, [r10 + r9]
lea r9, [r9 - 8]
mov r9, qword [r9]
test r9, r9
jne 0x41896f
jmp 0x4188fe
inc r9
nop dword [rax]
cmp r9, 8
jae 0x41897c
test byte [rcx], al
movzx r10d, byte [rcx + r9]
cmp al, r10b
je 0x4189cd
cmp r10b, 1
ja 0x4189c3
test rdi, rdi
jne 0x4189c3
mov rdi, rcx
mov r8, r9
test r10b, r10b
jne 0x418999
jmp 0x4188fe
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 0x4189f2
mov r9, r10
jmp 0x418999
mov r12, qword [r9]
mov r13, qword [rsp + 0x80]
nop dword [rax]
cmp r13, r12
jne 0x418a0a
xor r11d, r11d
jmp 0x418a60
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.00406a80
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 0x418a6d
mov r9, r10
jmp 0x418999
mov rsi, qword [rsp + 0x80]
cmp dword [0x0203df10], 0
je 0x418a8f
nop
call fcn.00479b20
mov qword [r11], rsi
mov rdi, qword [r9]
mov qword [r11 + 8], rdi
mov qword [r9], rsi
jmp 0x418b1b
mov r11, rcx
test rdi, rdi
jne 0x418ac2
mov rax, rbx
mov rbx, rdx
mov rcx, r11
call fcn.00412fe0
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 [0x0203df10], 0
je 0x418b0f
nop
call fcn.00479b20
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 0x418b58
mov qword [rsp + 0x40], rax
lea rax, [0x0109eebd]
mov ebx, 0x15
call fcn.004400a0
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, [0x00f36240]
lea rbx, [0x0179d430]
call fcn.0043f400
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00477be0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004187a0