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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4c1f6c
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x78]
mov rcx, rax
and rax, 1
cmp rax, 1
je 0x4c1f4e
cmp rcx, 2
jne 0x4c1f1a
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rbx, qword [rax + 8]
cmp rbx, 1
jg 0x4c1e96
xor edx, edx
mov ebx, 1
jmp 0x4c1b90
add rsi, 2
mov ebx, edx
mov rdx, rsi
cmp rdx, rcx
jge 0x4c1c54
jae 0x4c1f47
mov rsi, rdx
shl rdx, 4
mov rdx, qword [rax + rdx + 8]
cmp rdx, 1
jne 0x4c1bd5
lea rdx, [rsi + 1]
cmp rdx, rcx
jae 0x4c1f40
shl rdx, 4
mov rdx, qword [rax + rdx + 8]
cmp rdx, 1
je 0x4c1bd1
xor edx, edx
jmp 0x4c1b87
mov edx, ebx
jmp 0x4c1b87
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x10], rax
call fcn.004c29d0
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x48], rax
lea rcx, [0x00668a20]
mov qword [rsp], rcx
call fcn.00410b80
mov rax, qword [rsp + 8]
lea rcx, [0x006f92e0]
mov qword [rax], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rax + 8]
test ecx, ecx
jne 0x4c1c42
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rcx, rax
mov rax, qword [rsp + 0x48]
call fcn.004553b0
mov rax, rcx
jmp 0x4c1c30
test bl, bl
je 0x4c1d4d
lea rax, [0x0065d5c0]
mov qword [rsp], rax
call fcn.00410b80
mov rax, qword [rsp + 8]
xor ecx, ecx
jmp 0x4c1c7b
mov byte [rax + rcx], cl
inc rcx
cmp rcx, 0x100
jl 0x4c1c75
mov rcx, qword [rsp + 0x78]
lea rdx, [rcx - 2]
mov rbx, qword [rsp + 0x70]
jmp 0x4c1ca0
movzx r8d, byte [rdx]
mov byte [rax + rdi], r8b
lea rdx, [rsi - 2]
test rdx, rdx
jl 0x4c1cee
cmp rdx, rcx
jae 0x4c1f39
mov rsi, rdx
shl rdx, 4
mov rdi, qword [rbx + rdx]
mov rdx, qword [rbx + rdx + 8]
test rdx, rdx
jbe 0x4c1f39
lea rdx, [rsi + 1]
movzx edi, byte [rdi]
cmp rdx, rcx
jae 0x4c1f32
shl rdx, 4
mov r8, qword [rbx + rdx + 8]
mov rdx, qword [rbx + rdx]
test r8, r8
ja 0x4c1c94
jmp 0x4c1f32
mov qword [rsp + 0x58], rax
lea rax, [0x00668a20]
mov qword [rsp], rax
call fcn.00410b80
mov rax, qword [rsp + 8]
lea rcx, [0x006f9260]
mov qword [rax], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rax + 8]
test ecx, ecx
jne 0x4c1d3b
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rcx, rax
mov rax, qword [rsp + 0x58]
call fcn.004553b0
mov rax, rcx
jmp 0x4c1d29
lea rax, [0x0065d620]
mov qword [rsp], rax
call fcn.00410b80
mov rax, qword [rsp + 8]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x78]
lea rdx, [rcx - 2]
jmp 0x4c1d83
mov rbx, qword [rsp + 0x30]
lea rdx, [rbx - 2]
mov rax, rsi
mov rcx, qword [rsp + 0x78]
test rdx, rdx
jl 0x4c1e3c
cmp rdx, rcx
jae 0x4c1f2b
mov rbx, rdx
shl rdx, 4
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsi + rdx + 8]
mov rdx, qword [rsi + rdx]
test rdi, rdi
jbe 0x4c1f2b
lea rdi, [rbx + 1]
movzx edx, byte [rdx]
cmp rdi, rcx
jae 0x4c1f24
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rbx
shl rdi, 4
mov rax, qword [rdi + rsi + 8]
mov rcx, qword [rdi + rsi]
mov qword [rsp], 0
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.00441fb0
mov rax, qword [rsp + 0x38]
lea rax, [rax + rax*2]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x50]
mov qword [rsi + rax*8 + 8], rbx
mov qword [rsi + rax*8 + 0x10], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rsi + rax*8]
test ecx, ecx
jne 0x4c1e2f
mov qword [rsi + rax*8], rdx
jmp 0x4c1d72
mov rax, rdx
call fcn.004553b0
jmp 0x4c1d72
lea rax, [0x00668a20]
mov qword [rsp], rax
call fcn.00410b80
mov rax, qword [rsp + 8]
lea rcx, [0x006f92a0]
mov qword [rax], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rax + 8]
test ecx, ecx
jne 0x4c1e84
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rcx, rax
mov rax, qword [rsp + 0x50]
call fcn.004553b0
mov rax, rcx
jmp 0x4c1e72
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
call fcn.004c34f0
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea rcx, [0x00668a20]
mov qword [rsp], rcx
call fcn.00410b80
mov rax, qword [rsp + 8]
lea rcx, [0x006f9320]
mov qword [rax], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rax + 8]
test ecx, ecx
jne 0x4c1f08
mov rcx, qword [rsp + 0x40]
mov qword [rax + 8], rcx
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rcx, rax
mov rax, qword [rsp + 0x40]
call fcn.004553b0
mov rax, rcx
jmp 0x4c1ef6
mov rax, qword [rsp + 0x70]
jmp 0x4c1b7e
call fcn.00429b50
ud2
call fcn.00429b50
ud2
call fcn.00429b50
ud2
call fcn.00429b50
ud2
call fcn.00429b50
ud2
call fcn.00429b50
ud2
lea rax, [0x00649960]
mov qword [rsp], rax
lea rax, [0x006f6ee0]
mov qword [rsp + 8], rax
call fcn.0042aba0
ud2
call fcn.00452950
jmp fcn.004c1b20