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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rsi, qword [rcx + 0x10]
cmp rsi, 0xfffffffffffffade
je 0x4c1fa6
lea rax, [rsp + 0x370]
sub rax, rsi
cmp rax, 0x1b70
jbe 0x4c1fa6
sub rsp, 0x1880
mov qword [rsp + 0x1878], rbp
lea rbp, [rsp + 0x1878]
mov rax, qword [rsp + 0x1890]
mov rcx, rax
sar rax, 0x3f
mov rdx, rcx
sub rcx, rax
and rcx, 1
add rax, rcx
cmp rax, 1
je 0x4c1f5d
cmp rdx, 2
jne 0x4c1f50
mov rax, qword [rsp + 0x1888]
mov rcx, qword [rax + 8]
mov rbx, qword [rax]
cmp rcx, 1
jg 0x4c1eb9
xor ecx, ecx
mov ebx, 1
cmp rcx, rdx
jge 0x4c1b0c
jae 0x4c1eb2
mov rsi, rcx
shl rcx, 4
mov rdi, qword [rax + rcx + 8]
cmp rdi, 1
jne 0x4c1e20
lea rdi, [rsi + 1]
cmp rdi, rdx
jae 0x4c1e19
mov rcx, qword [rax + rcx + 0x18]
cmp rcx, 1
je 0x4c1e12
xor ecx, ecx
add rsi, 2
mov ebx, ecx
mov rcx, rsi
cmp rcx, rdx
jl 0x4c1ac4
test bl, bl
je 0x4c1c2e
lea rcx, [0x00683b20]
mov qword [rsp], rcx
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x60], rax
xor ecx, ecx
cmp rcx, 0x100
jge 0x4c1b48
mov byte [rax + rcx], cl
inc rcx
cmp rcx, 0x100
jl 0x4c1b39
mov rcx, qword [rsp + 0x1890]
lea rdx, [rcx - 2]
mov rbx, qword [rsp + 0x1888]
test rdx, rdx
jl 0x4c1bb3
cmp rdx, rcx
jae 0x4c1c27
mov rsi, rdx
shl rdx, 4
mov rdi, qword [rbx + rdx]
mov r8, qword [rbx + rdx + 8]
test r8, r8
jbe 0x4c1c27
lea r8, [rsi + 1]
movzx edi, byte [rdi]
cmp r8, rcx
jae 0x4c1c20
mov r8, qword [rbx + rdx + 0x18]
mov rdx, qword [rbx + rdx + 0x10]
test r8, r8
jbe 0x4c1c20
movzx r8d, byte [rdx]
mov byte [rax + rdi], r8b
lea rdx, [rsi - 2]
test rdx, rdx
jge 0x4c1b61
lea rcx, [0x0068e4a0]
mov qword [rsp], rcx
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
lea rcx, [0x007e7580]
mov qword [rax], rcx
mov ecx, dword [0x008b4340]
lea rdx, [rax + 8]
test ecx, ecx
jne 0x4c1c06
mov rcx, qword [rsp + 0x60]
mov qword [rax + 8], rcx
mov qword [rsp + 0x18a0], rax
mov rbp, qword [rsp + 0x1878]
add rsp, 0x1880
ret
mov qword [rsp], rdx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 8], rcx
call fcn.00410240
mov rax, qword [rsp + 0x48]
jmp 0x4c1bee
call fcn.004293e0
ud2
call fcn.004293e0
ud2
lea rcx, [0x00683b80]
mov qword [rsp], rcx
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x78]
mov rcx, 0x300
mov rdx, rax
xor eax, eax
rep stosq qword [rdi], rax
mov eax, dword [0x008b4340]
test eax, eax
jne 0x4c1de9
mov rdi, rdx
lea rsi, [rsp + 0x78]
mov rcx, 0x300
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rsp + 0x1890]
lea rcx, [rax - 2]
mov qword [rsp + 0x30], rcx
test rcx, rcx
jl 0x4c1d56
cmp rcx, rax
jae 0x4c1de2
mov rbx, rcx
shl rcx, 4
mov rsi, qword [rsp + 0x1888]
mov rdi, qword [rsi + rcx + 8]
mov r8, qword [rsi + rcx]
test rdi, rdi
jbe 0x4c1de2
lea rdi, [rbx + 1]
movzx r8d, byte [r8]
mov qword [rsp + 0x38], r8
cmp rdi, rax
jae 0x4c1ddb
mov rdi, qword [rsi + rcx + 0x18]
mov rcx, qword [rsi + rcx + 0x10]
mov qword [rsp], 0
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdi
call fcn.00442830
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x38]
lea rbx, [rbx + rbx*2]
mov rsi, qword [rsp + 0x58]
mov qword [rsi + rbx*8 + 8], rcx
mov qword [rsi + rbx*8 + 0x10], rax
mov eax, dword [0x008b4340]
lea rcx, [rsi + rbx*8]
test eax, eax
jne 0x4c1dc3
mov qword [rsi + rbx*8], rdx
mov rbx, qword [rsp + 0x30]
lea rcx, [rbx - 2]
mov rax, qword [rsp + 0x1890]
mov rdx, rsi
mov qword [rsp + 0x30], rcx
test rcx, rcx
jge 0x4c1c96
lea rax, [0x0068e4a0]
mov qword [rsp], rax
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
lea rcx, [0x007e75c0]
mov qword [rax], rcx
mov ecx, dword [0x008b4340]
lea rdx, [rax + 8]
test ecx, ecx
jne 0x4c1da9
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
mov qword [rsp + 0x18a0], rax
mov rbp, qword [rsp + 0x1878]
add rsp, 0x1880
ret
mov qword [rsp], rdx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 8], rcx
call fcn.00410240
mov rax, qword [rsp + 0x48]
jmp 0x4c1d91
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
call fcn.00410240
mov rsi, qword [rsp + 0x58]
jmp 0x4c1d34
call fcn.004293e0
ud2
call fcn.004293e0
ud2
lea rax, [0x00683b80]
mov qword [rsp], rax
mov qword [rsp + 8], rdx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x10], rax
call fcn.004103b0
mov rdx, qword [rsp + 0x58]
jmp 0x4c1c7c
mov ecx, ebx
jmp 0x4c1afe
call fcn.004293e0
ud2
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov rax, qword [rsp + 0x1898]
mov qword [rsp + 0x10], rax
call fcn.004c2b60
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [0x0068e4a0]
mov qword [rsp], rcx
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
lea rcx, [0x007e7600]
mov qword [rax], rcx
mov ecx, dword [0x008b4340]
lea rdx, [rax + 8]
test ecx, ecx
jne 0x4c1e98
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov qword [rsp + 0x18a0], rax
mov rbp, qword [rsp + 0x1878]
add rsp, 0x1880
ret
mov qword [rsp], rdx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 8], rcx
call fcn.00410240
mov rax, qword [rsp + 0x48]
jmp 0x4c1e80
call fcn.004293e0
ud2
mov rdx, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], rax
mov qword [rsp], rbx
mov qword [rsp + 8], rcx
call fcn.004c3710
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea rcx, [0x0068e4a0]
mov qword [rsp], rcx
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
lea rcx, [0x007e7640]
mov qword [rax], rcx
mov ecx, dword [0x008b4340]
lea rdx, [rax + 8]
test ecx, ecx
jne 0x4c1f36
mov rcx, qword [rsp + 0x40]
mov qword [rax + 8], rcx
mov qword [rsp + 0x18a0], rax
mov rbp, qword [rsp + 0x1878]
add rsp, 0x1880
ret
mov qword [rsp], rdx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 8], rcx
call fcn.00410240
mov rax, qword [rsp + 0x48]
jmp 0x4c1f1e
mov rax, qword [rsp + 0x1888]
jmp 0x4c1ab8
lea rax, [0x006daad2]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0x27
lea rax, [0x0066fb00]
mov qword [rsp], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 8], rax
call fcn.0040ccd0
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x10]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.0042a540
ud2
call fcn.00452210
jmp fcn.004c1a20