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

Disassembly:
lea r12, [rsp - 0x28]
cmp r12, qword [r14 + 0x10]
jbe 0x487e7e
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rbx
movups xmmword [rsp + 0x80], xmm15
movups xmmword [rsp + 0x90], xmm15
xor edx, edx
jmp 0x487a25
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x68]
cmp rcx, rdx
jle 0x487ccd
mov qword [rsp + 0x58], rdx
movzx esi, byte [rbx + rdx]
cmp esi, 0x80
jge 0x487a45
lea rdi, [rdx + 1]
jmp 0x487a60
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
call fcn.0045d600
mov esi, eax
mov rdi, rbx
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x4c], esi
mov qword [rsp + 0x68], rdi
mov rcx, qword [rax]
mov rdx, rax
mov eax, esi
call rcx
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x4c]
cmp eax, ecx
jne 0x487aa0
nop
cmp ecx, 0xfffd
jne 0x487a08
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jmp 0x487ab8
cmp ecx, 0xfffd
jne 0x487aff
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jb 0x487e75
mov rbx, rcx
sub rbx, rdx
mov rsi, rbx
neg rsi
sar rsi, 0x3f
and rsi, rdx
mov rdi, qword [rsp + 0xb8]
lea rax, [rdi + rsi]
nop dword [rax]
call fcn.004741a0
cmp rbx, 1
je 0x487af9
mov esi, dword [rsp + 0x48]
cmp eax, esi
je 0x487a08
jmp 0x487b6e
mov esi, dword [rsp + 0x48]
jmp 0x487b6e
nop
test ecx, ecx
jge 0x487b0d
mov rcx, 0xffffffffffffffff
jmp 0x487b6b
cmp ecx, 0x7f
jg 0x487b20
mov ecx, 1
jmp 0x487b6b
cmp ecx, 0x7ff
jg 0x487b2f
mov ecx, 2
jmp 0x487b6b
lea edx, [rcx - 0xd800]
cmp edx, 0x7ff
ja 0x487b46
mov rcx, 0xffffffffffffffff
jmp 0x487b6b
cmp ecx, 0xffff
jg 0x487b55
mov ecx, 3
jmp 0x487b6b
cmp ecx, 0x10ffff
jg 0x487b64
mov ecx, 4
jmp 0x487b6b
mov rcx, 0xffffffffffffffff
mov rbx, rcx
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0xc0]
lea rdx, [rcx + 4]
lea rax, [rsp + 0x80]
mov rbx, rdx
call fcn.004840a0
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x58]
nop dword [rax]
cmp rdx, rcx
jb 0x487e70
mov r8, qword [rsp + 0x80]
nop
test r8, r8
je 0x487bca
lea r9, [rsp + 0x80]
nop
cmp r8, r9
je 0x487bda
jmp 0x487e5d
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], r8
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x90]
lea rbx, [rcx + r9]
mov rax, qword [rsp + 0x88]
cmp r8, rbx
jae 0x487c1f
mov qword [rsp + 0x68], r9
mov rdi, rcx
lea rsi, [0x0065bae0]
mov rcx, r8
call fcn.0044b880
mov r9, qword [rsp + 0x68]
mov r8, rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x78], rax
lea rdx, [rax + r9]
mov rax, rdx
mov rbx, qword [rsp + 0xb8]
nop dword [rax]
call fcn.00467360
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x90], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x98], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x88], rdx
mov ebx, dword [rsp + 0x48]
test ebx, ebx
jl 0x487c85
lea rax, [rsp + 0x80]
nop dword [rax]
call fcn.00484140
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
lea rax, [rdi + rsi]
mov rcx, qword [rsp + 0xc0]
nop dword [rax + rax]
cmp rcx, rax
jb 0x487e58
sub rcx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
mov rsi, qword [rsp + 0xb8]
lea rbx, [rsi + rax]
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x98], 0
je 0x487ce6
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rcx
xor edx, edx
jmp 0x487d0c
mov rax, rbx
mov rbx, rcx
add rsp, 0xa0
pop rbp
ret
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jge 0x487e11
movzx esi, byte [rdx + rbx]
nop dword [rax]
cmp esi, 0x80
jge 0x487d2e
lea rdi, [rdx + 1]
jmp 0x487d49
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
call fcn.0045d600
mov esi, eax
mov rdi, rbx
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rdi
mov rcx, qword [rax]
mov rdx, rax
mov eax, esi
call rcx
test eax, eax
jl 0x487cf5
nop dword [rax]
cmp eax, 0x80
jge 0x487dfd
mov r8, qword [rsp + 0x80]
nop
nop
test r8, r8
je 0x487d8c
lea r9, [rsp + 0x80]
cmp r8, r9
je 0x487d9c
jmp 0x487e45
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], r8
mov rcx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
inc rbx
mov r8, qword [rsp + 0x88]
cmp rcx, rbx
jae 0x487deb
mov dword [rsp + 0x44], eax
mov rax, r8
mov edi, 1
lea rsi, [0x0065bae0]
call fcn.0044b880
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x88], rax
mov r8, rax
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x90], rbx
mov byte [rbx + r8 - 1], al
jmp 0x487cf5
mov ebx, eax
lea rax, [rsp + 0x80]
call fcn.00484140
jmp 0x487cf5
mov rax, qword [rsp + 0x88]
mov rcx, rax
neg rcx
mov rbx, qword [rsp + 0x90]
cmp rbx, rcx
ja 0x487e35
add rsp, 0xa0
pop rbp
ret
test rax, rax
je 0x487e40
call fcn.0045d440
nop
call fcn.0045d480
lea rax, [0x0065b7a0]
lea rbx, [0x007274e0]
call fcn.00436ac0
call fcn.00466a20
lea rax, [0x0065b7a0]
lea rbx, [0x007274e0]
call fcn.00436ac0
call fcn.004669a0
mov rax, rdx
call fcn.00466a20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004646a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004879c0