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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48fb8c
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 0x48f9f1
test rcx, rcx
jle 0x48f9bb
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, [0x00669ac0]
nop dword [rax]
call fcn.0040b260
test rax, rax
jne 0x48f99b
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x70]
call rdx
nop
cmp rax, 0x10
jne 0x48f965
lea rax, [0x006583e0]
call fcn.0040d960
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, [0x00685720]
call fcn.0040d960
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
cmp dword [0x008f2cf0], 0
jne 0x48f907
mov rdx, qword [rsp + 0x70]
mov qword [rax + 8], rdx
jmp 0x48f915
lea rdi, [rax + 8]
mov rdx, qword [rsp + 0x70]
call fcn.004655c0
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 0x48fa40
lea rax, [0x0066df60]
call fcn.0040d960
mov qword [rax + 8], 0x2c
lea rcx, [0x006b354b]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x007191c0]
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, [0x0066df60]
call fcn.0040d960
mov qword [rax + 8], 0x64
lea rcx, [0x006b8c13]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x007191c0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x0066df60]
call fcn.0040d960
mov qword [rax + 8], 0x27
lea rcx, [0x006b1d99]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x007191c0]
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 0x48fb4c
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 0x48fb7e
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 0x48fb71
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 0x48fa27
jmp 0x48fb64
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0071b1a8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rax, rdx
mov ecx, 0x10
call fcn.00465940
mov rax, rdx
mov ecx, 0x10
call fcn.00465940
mov rax, rsi
mov ecx, 0x10
call fcn.00465940
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004632e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0048f820