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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4d4acc
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
lea rdx, [rdi - 0xc]
cmp rdx, 4
ja 0x4d4931
test rcx, rcx
jle 0x4d48fb
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x48], rax
mov rcx, rbx
mov rbx, rax
lea rax, [0x006d3080]
nop dword [rax]
call fcn.0040b3a0
test rax, rax
jne 0x4d48db
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x70]
call rdx
nop
cmp rax, 0x10
jne 0x4d48a5
lea rax, [0x006bc7e0]
call fcn.0040daa0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + 0x28]
mov rbx, rax
mov edi, 0x10
mov rsi, rbx
mov r8, rdi
mov r9, rdi
mov rax, qword [rsp + 0x70]
mov rcx, rdi
call rdx
lea rax, [0x006f65c0]
call fcn.0040daa0
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
cmp dword [0x00a04ed0], 0
jne 0x4d4847
mov rdx, qword [rsp + 0x70]
mov qword [rax + 8], rdx
jmp 0x4d4855
lea rdi, [rax + 8]
mov rdx, qword [rsp + 0x70]
call fcn.00465b40
mov rdx, qword [rsp + 0x78]
mov qword [rax + 0x10], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rax + 0x18], rdx
nop
nop
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx]
bswap rsi
mov rdx, qword [rdx + 8]
mov qword [rsp + 0x38], rsi
bswap rdx
mov qword [rsp + 0x40], rdx
mov qword [rax + 0xa0], rsi
mov qword [rax + 0xa8], rdx
mov ecx, 2
nop dword [rax + rax]
jmp 0x4d4980
lea rax, [0x006d8800]
call fcn.0040daa0
mov qword [rax + 8], 0x2c
lea rcx, [0x0072c16a]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x007f1c00]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rdx, qword [rax + 0x18]
mov rax, rbx
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call rdx
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x006d8800]
call fcn.0040daa0
mov qword [rax + 8], 0x64
lea rcx, [0x00732c32]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x007f1c00]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x006d8800]
call fcn.0040daa0
mov qword [rax + 8], 0x27
lea rcx, [0x0072a55c]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x007f1c00]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
shl rdx, 4
mov qword [rax + rdx + 0x20], rsi
mov qword [rax + rdx + 0x28], r8
lea rcx, [r10 + 2]
nop dword [rax]
cmp rcx, 0x10
jge 0x4d4a8c
mov rdx, rcx
shr rcx, 0x3f
lea rsi, [rdx + rcx]
mov r8, rsi
sar rsi, 1
mov r9, rdx
shl rdx, 2
and edx, 0xc
mov r10, r9
sar r9, 2
and r9d, 3
or r9, rdx
mov rdx, r9
shl r9, 1
and r9d, 0xa
sar rdx, 1
and edx, 5
or rdx, r9
shl rsi, 2
and esi, 0xc
sar r8, 3
and r8d, 3
or r8, rsi
mov rsi, r8
shl r8, 1
and r8d, 0xa
sar rsi, 1
and esi, 5
or rsi, r8
cmp rsi, 0x10
jae 0x4d4abe
shl rsi, 4
mov r8, qword [rax + rsi + 0x28]
mov rsi, qword [rax + rsi + 0x20]
mov r9, rsi
shr rsi, 1
movabs r11, 0xe100000000000000
xor r11, rsi
test r8, 1
cmovne rsi, r11
shr r8, 1
shl r9, 0x3f
or r9, r8
cmp rdx, 0x10
jae 0x4d4ab1
shl rdx, 4
mov qword [rax + rdx + 0x20], rsi
mov qword [rax + rdx + 0x28], r9
lea rdx, [r10 + 1]
mov r8, rdx
shl rdx, 2
and edx, 0xc
sar r8, 2
and r8d, 3
or r8, rdx
mov rdx, r8
shl r8, 1
and r8d, 0xa
sar rdx, 1
and edx, 5
or rdx, r8
mov r8, qword [rsp + 0x38]
xor rsi, r8
mov r8, qword [rsp + 0x40]
xor r8, r9
nop
cmp rdx, 0x10
jb 0x4d4967
jmp 0x4d4aa4
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x007f4070]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rax, rdx
mov ecx, 0x10
call fcn.00465ec0
mov rax, rdx
mov ecx, 0x10
call fcn.00465ec0
mov rax, rsi
mov ecx, 0x10
call fcn.00465ec0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463860
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004d4760