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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ba6cc
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 0x4ba531
test rcx, rcx
jle 0x4ba4fb
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, [0x0067b1c0]
nop dword [rax]
call fcn.0040b320
test rax, rax
jne 0x4ba4db
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x70]
call rdx
nop
cmp rax, 0x10
jne 0x4ba4a5
lea rax, [0x00668900]
call fcn.0040da20
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, [0x00698580]
call fcn.0040da20
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
cmp dword [0x00918a90], 0
jne 0x4ba447
mov rdx, qword [rsp + 0x70]
mov qword [rax + 8], rdx
jmp 0x4ba455
lea rdi, [rax + 8]
mov rdx, qword [rsp + 0x70]
call fcn.00465720
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 0x4ba580
lea rax, [0x0067fd60]
call fcn.0040da20
mov qword [rax + 8], 0x2c
lea rcx, [0x006c7f4c]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0072e7e0]
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, [0x0067fd60]
call fcn.0040da20
mov qword [rax + 8], 0x64
lea rcx, [0x006cd8f3]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0072e7e0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x0067fd60]
call fcn.0040da20
mov qword [rax + 8], 0x27
lea rcx, [0x006c6527]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0072e7e0]
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 0x4ba68c
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 0x4ba6be
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 0x4ba6b1
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 0x4ba567
jmp 0x4ba6a4
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x007308c8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rax, rdx
mov ecx, 0x10
call fcn.00465aa0
mov rax, rdx
mov ecx, 0x10
call fcn.00465aa0
mov rax, rsi
mov ecx, 0x10
call fcn.00465aa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463440
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004ba360