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

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x50dd99
sub rsp, 0xc0
mov qword [rsp + 0xb8], rbp
lea rbp, [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xd0], rbx
movups xmmword [rsp + 0x98], xmm15
movups xmmword [rsp + 0xa8], xmm15
xor edx, edx
jmp 0x50d811
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x78]
cmp rcx, rdx
jle 0x50dbb0
mov qword [rsp + 0x58], rdx
movzx esi, byte [rbx + rdx]
cmp esi, 0x80
jge 0x50d831
lea rdi, [rdx + 1]
jmp 0x50d84c
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
call fcn.0045d080
mov esi, eax
mov rdi, rbx
mov rax, qword [rsp + 0xc8]
mov dword [rsp + 0x4c], esi
mov qword [rsp + 0x78], 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 0x50d885
cmp ecx, 0xfffd
jne 0x50d7f4
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jmp 0x50d8a3
cmp ecx, 0xfffd
jne 0x50d8f2
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x58]
nop word [rax + rax]
cmp rcx, rdx
jb 0x50dd90
mov rbx, rcx
sub rbx, rdx
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and rbx, rdx
mov rdi, qword [rsp + 0xd0]
lea rax, [rdi + rbx]
mov rbx, rsi
call fcn.00470c40
cmp rbx, 1
je 0x50d8eb
mov r8d, dword [rsp + 0x48]
nop dword [rax + rax]
cmp eax, r8d
je 0x50d7f4
jmp 0x50d95f
mov r8d, dword [rsp + 0x48]
jmp 0x50d95f
test ecx, ecx
jge 0x50d900
mov rcx, 0xffffffffffffffff
jmp 0x50d959
cmp ecx, 0x7f
jg 0x50d90c
mov ecx, 1
jmp 0x50d959
cmp ecx, 0x7ff
jg 0x50d91b
mov ecx, 2
jmp 0x50d959
lea r8d, [rcx - 0xd800]
cmp r8d, 0x7ff
ja 0x50d934
mov rcx, 0xffffffffffffffff
jmp 0x50d959
cmp ecx, 0xffff
jg 0x50d943
mov ecx, 3
jmp 0x50d959
cmp ecx, 0x10ffff
jg 0x50d952
mov ecx, 4
jmp 0x50d959
mov rcx, 0xffffffffffffffff
mov r8d, eax
mov rbx, rcx
nop
mov r9, qword [rsp + 0x98]
test r9, r9
je 0x50d97f
lea r10, [rsp + 0x98]
cmp r9, r10
je 0x50d997
jmp 0x50dd7d
lea r9, [rsp + 0x98]
mov qword [rsp + 0x98], r9
lea r10, [rsp + 0x98]
mov rdx, qword [rsp + 0xd8]
lea r9, [rdx + 4]
test r9, r9
jl 0x50dd6a
mov qword [rsp + 0x50], rbx
mov r11, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov r13, r12
sub r12, r11
cmp r12, r9
jl 0x50d9d9
mov rcx, qword [rsp + 0x58]
cmp rdx, rcx
jmp 0x50da8a
mov qword [rsp + 0x60], r11
nop
lea rcx, [rdx + r13*2]
lea rcx, [rcx + 4]
mov qword [rsp + 0x68], rcx
lea rax, [0x006bb680]
mov rbx, r11
call fcn.0044a940
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
cmp rdx, rcx
mov rsi, rcx
cmovl rcx, rdx
mov rbx, qword [rsp + 0xa0]
cmp rax, rbx
jne 0x50da31
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x58]
cmp rdx, rcx
jmp 0x50da5b
mov qword [rsp + 0x90], rax
call fcn.00466860
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x58]
cmp rdx, rcx
mov rax, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rsi
mov r8, qword [rsp + 0x68]
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xa0], rax
mov rbx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
lea r10, [rsp + 0x98]
jb 0x50dd65
nop
mov r9, qword [rsp + 0x98]
test r9, r9
je 0x50daaa
nop
cmp r9, r10
je 0x50dab2
jmp 0x50dd51
mov qword [rsp + 0x98], r10
mov r9, qword [rsp + 0xa8]
lea r11, [rcx + r9]
mov r12, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
cmp r12, r11
jae 0x50dafd
mov qword [rsp + 0x78], r9
mov rbx, r11
mov rdi, rcx
lea rsi, [0x006bb680]
mov rcx, r12
call fcn.0044aa20
mov r9, qword [rsp + 0x78]
mov r12, rcx
mov r11, rbx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x88], rax
lea rdx, [rax + r9]
mov rbx, qword [rsp + 0xd0]
mov rax, rdx
nop
call fcn.00466860
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0xb0], rdx
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rdx
mov ebx, dword [rsp + 0x48]
test ebx, ebx
jl 0x50db65
lea rax, [rsp + 0x98]
nop
call fcn.005099e0
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
lea rax, [rdi + rsi]
mov rcx, qword [rsp + 0xd8]
nop dword [rax + rax]
cmp rcx, rax
jb 0x50dd4c
sub rcx, rax
mov rsi, rcx
neg rcx
sar rcx, 0x3f
and rax, rcx
mov rdi, qword [rsp + 0xd0]
lea rbx, [rdi + rax]
mov rax, qword [rsp + 0xc8]
mov rcx, rsi
cmp qword [rsp + 0xb0], 0
je 0x50dbcc
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rbx
xor edx, edx
jmp 0x50dc00
mov rax, rbx
mov rbx, rcx
mov rbp, qword [rsp + 0xb8]
add rsp, 0xc0
ret
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
cmp rdx, rcx
jge 0x50dcfc
movzx esi, byte [rdx + rbx]
cmp esi, 0x80
jge 0x50dc1b
lea rdi, [rdx + 1]
jmp 0x50dc36
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
call fcn.0045d080
mov esi, eax
mov rdi, rbx
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x70], rdi
mov rcx, qword [rax]
mov rdx, rax
mov eax, esi
call rcx
test eax, eax
jl 0x50dbe2
cmp eax, 0x80
jge 0x50dce8
nop
nop
mov r8, qword [rsp + 0x98]
nop
test r8, r8
je 0x50dc77
lea r9, [rsp + 0x98]
cmp r8, r9
je 0x50dc87
jmp 0x50dd39
lea r8, [rsp + 0x98]
mov qword [rsp + 0x98], r8
mov rbx, qword [rsp + 0xa8]
inc rbx
mov r8, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
cmp rcx, rbx
jae 0x50dcd6
mov dword [rsp + 0x44], eax
mov rax, r8
mov edi, 1
lea rsi, [0x006bb680]
call fcn.0044aa20
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xa0], rax
mov r8, rax
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0xa8], rbx
mov byte [rbx + r8 - 1], al
jmp 0x50dbe2
mov ebx, eax
lea rax, [rsp + 0x98]
call fcn.005099e0
jmp 0x50dbe2
mov rax, qword [rsp + 0xa0]
mov rcx, rax
neg rax
mov rbx, qword [rsp + 0xa8]
cmp rbx, rax
ja 0x50dd2a
mov rax, rcx
mov rbp, qword [rsp + 0xb8]
add rsp, 0xc0
ret
test rcx, rcx
je 0x50dd34
call fcn.0045cf80
call fcn.0045cfc0
lea rax, [0x006bb4c0]
lea rbx, [0x007f0e90]
call fcn.00436580
call fcn.00465f80
lea rax, [0x006bb4c0]
lea rbx, [0x007f0e90]
nop
call fcn.00436580
call fcn.00465f00
lea rax, [0x006bb4c0]
lea rbx, [0x007f0ea0]
call fcn.00436580
lea rax, [0x006bb4c0]
lea rbx, [0x007f0e90]
call fcn.00436580
mov rax, rdx
call fcn.00465f80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00463860
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.0050d7a0