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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4b3529
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
lea rdx, [rdi - 0xc]
cmp rdx, 4
ja 0x4b339f
test rcx, rcx
jle 0x4b336d
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, [0x0066dc80]
call fcn.0040b0a0
nop dword [rax]
test rax, rax
jne 0x4b3351
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x70]
call rdx
nop dword [rax]
cmp rax, 0x10
jne 0x4b331f
lea rax, [0x0065e220]
call fcn.0040d680
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, [0x0068ee60]
call fcn.0040d680
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
cmp dword [0x00921500], 0
jne 0x4b32c3
mov rdx, qword [rsp + 0x70]
jmp 0x4b32d0
call fcn.004665a0
mov rdx, qword [rsp + 0x70]
mov qword [r11], rdx
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rax + 0x10], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rax + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx]
bswap rsi
mov rdx, qword [rdx + 8]
bswap rdx
nop
nop
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdx
mov qword [rax + 0xa0], rsi
mov qword [rax + 0xa8], rdx
mov ecx, 2
jmp 0x4b33e3
lea rax, [0x00673e00]
call fcn.0040d680
mov qword [rax + 8], 0x2c
lea rcx, [0x006bff22]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x00728640]
mov rdi, rax
xor eax, eax
add rsp, 0x58
pop rbp
ret
mov rdx, qword [rax + 0x18]
mov rax, rbx
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call rdx
add rsp, 0x58
pop rbp
ret
lea rax, [0x00673e00]
call fcn.0040d680
mov qword [rax + 8], 0x64
lea rcx, [0x006c576e]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x00728640]
mov rdi, rax
xor eax, eax
add rsp, 0x58
pop rbp
ret
lea rax, [0x00673e00]
call fcn.0040d680
mov qword [rax + 8], 0x27
lea rcx, [0x006be445]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x00728640]
mov rdi, rax
xor eax, eax
add rsp, 0x58
pop rbp
ret
shl rdx, 4
mov qword [rax + rdx + 0x20], r11
mov qword [rax + rdx + 0x28], r9
lea rcx, [r10 + 2]
cmp rcx, 0x10
jge 0x4b34ed
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
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
or rdx, r9
cmp rsi, 0x10
jae 0x4b351b
shl rsi, 4
mov r8, qword [rax + rsi + 0x28]
mov r9, r8
shr r8, 1
mov rsi, qword [rax + rsi + 0x20]
mov r11, rsi
shl rsi, 0x3f
shr r11, 1
movabs r12, 0xe100000000000000
xor r12, r11
or rsi, r8
test r9, 1
cmovne r11, r12
cmp rdx, 0x10
jae 0x4b350e
shl rdx, 4
mov qword [rax + rdx + 0x20], r11
mov qword [rax + rdx + 0x28], rsi
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]
mov r9, qword [rsp + 0x40]
xor r11, r8
xor r9, rsi
cmp rdx, 0x10
jb 0x4b33d1
jmp 0x4b3501
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0072a670]
add rsp, 0x58
pop rbp
ret
mov rax, rdx
mov ecx, 0x10
call fcn.00466960
mov rax, rdx
mov ecx, 0x10
call fcn.00466960
mov rax, rsi
mov ecx, 0x10
call fcn.00466960
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop dword [rax]
call fcn.004646a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004b31e0