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

Disassembly:
lea r12, [rsp - 0xa0]
cmp r12, qword [r14 + 0x10]
jbe 0x5baca9
push rbp
mov rbp, rsp
sub rsp, 0x118
movq qword [rsp + 0x110], xmm15
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x140], rdi
mov qword [rsp + 0x128], rax
mov byte [rsp + 0x4f], 0
mov qword [rsp + 0x50], 0
movups xmmword [rsp + 0xa0], xmm15
cmp qword [rax + 0x20], 0
nop dword [rax + rax]
je 0x5ba69f
cmp bl, 0x16
jne 0x5ba643
mov rdx, qword [rax + 0x20]
mov r8, qword [rdx + 8]
test r8, r8
je 0x5ba391
mov rdx, qword [rdx]
lea r8, [r8 + r8*2]
shl r8, 4
lea rdx, [rdx + r8]
lea rdx, [rdx - 0x30]
jmp 0x5ba393
xor edx, edx
mov r8, qword [rax + 0x288]
test rdx, rdx
je 0x5ba3af
cmp qword [rdx], 3
jne 0x5ba3af
cmp qword [rdx + 8], r8
je 0x5ba51c
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xf0], xmm15
movups xmmword [rsp + 0x100], xmm15
mov qword [rsp + 0xe0], 3
mov qword [rsp + 0xe8], r8
mov rdx, qword [rax + 0x20]
mov r8, qword [rdx + 0x10]
mov rbx, qword [rdx + 8]
inc rbx
mov r9, qword [rdx]
cmp r8, rbx
jae 0x5ba456
mov qword [rsp + 0x90], rdx
mov rax, r9
mov rcx, r8
mov edi, 1
lea rsi, [0x0068f9a0]
call fcn.0044b880
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x10], rcx
cmp dword [0x00921500], 0
je 0x5ba438
call fcn.004665c0
mov qword [r11], rax
mov r8, qword [rdx]
mov qword [r11 + 8], r8
mov qword [rdx], rax
mov rcx, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x140]
mov r9, rax
mov rax, qword [rsp + 0x128]
mov qword [rdx + 8], rbx
lea rdx, [rbx + rbx*2]
shl rdx, 4
lea rbx, [r9 + rdx]
lea rbx, [rbx - 0x30]
cmp dword [0x00921500], 0
je 0x5ba4c9
mov qword [rsp + 0x88], r9
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x68], rdx
lea rax, [0x0068f9a0]
lea rcx, [rsp + 0xe0]
call fcn.00413880
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x140]
mov r9, qword [rsp + 0x88]
lea rdx, [rdx + r9]
lea rdx, [rdx - 0x20]
movups xmm0, xmmword [rsp + 0xe0]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [rdx + 0x10], xmm0
mov rdx, qword [rax + 0x20]
mov r8, qword [rdx + 8]
lea r9, [r8 - 1]
nop
cmp r8, r9
jbe 0x5bac77
lea r8, [r8 + r8*2]
shl r8, 4
mov r9, qword [rdx]
lea rdx, [r9 + r8]
lea rdx, [rdx - 0x30]
mov qword [rsp + 0x78], rdx
mov r8, qword [rdx + 0x20]
mov r9, qword [rdx + 0x18]
lea rbx, [rdi + r9]
mov r10, qword [rdx + 0x10]
cmp r8, rbx
jae 0x5ba568
mov qword [rsp + 0x68], r9
mov rax, r10
mov rcx, r8
lea rsi, [0x0065bae0]
call fcn.0044b880
mov rdi, qword [rsp + 0x140]
mov r9, qword [rsp + 0x68]
mov r10, rax
mov r8, rcx
mov rcx, qword [rsp + 0x138]
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x98], r10
mov qword [rsp + 0x70], rbx
lea rax, [r9 + r10]
mov rbx, rcx
mov rcx, rdi
call fcn.00467360
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov qword [rsi + 0x18], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rsi + 0x20], rdx
cmp dword [0x00921500], 0
jne 0x5ba5b3
mov rdx, qword [rsp + 0x98]
jmp 0x5ba5cb
call fcn.004665c0
mov rdx, qword [rsp + 0x98]
mov qword [r11], rdx
mov rdi, qword [rsi + 0x10]
mov qword [r11 + 8], rdi
mov qword [rsi + 0x10], rdx
mov rax, qword [rsp + 0x128]
cmp byte [rax + 0x320], 0
nop
jne 0x5ba5ec
call fcn.005ba200
test rbx, rbx
jne 0x5ba614
mov rdx, qword [rsp + 0x140]
mov qword [rsp + 0x50], rdx
movups xmmword [rsp + 0xa0], xmm15
mov rax, qword [rsp + 0x50]
xor ebx, ebx
xor ecx, ecx
add rsp, 0x118
pop rbp
ret
mov qword [rsp + 0x50], 0
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rcx
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x118
pop rbp
ret
lea rax, [0x00673e00]
call fcn.0040d680
mov qword [rax + 8], 0x44
lea rcx, [0x006c43b3]
mov qword [rax], rcx
mov qword [rsp + 0x50], 0
lea rcx, [0x00728640]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
add rsp, 0x118
pop rbp
ret
mov byte [rsp + 0x130], bl
mov qword [rsp + 0x148], rsi
lea rax, [0x008c0420]
call fcn.00481500
lea rcx, [0x00658920]
cmp rax, rcx
jne 0x5bac68
mov r8, qword [rbx]
mov r9, qword [rbx + 8]
mov r10, qword [rbx + 0x10]
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], r9
mov qword [rsp + 0xc0], r10
movups xmmword [rsp + 0xc8], xmm15
mov qword [rsp + 0xd8], 0
lea r8, [0x005bad00]
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xd0], rbx
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xd8], r8
lea r8, [rsp + 0xc8]
mov qword [rsp + 0x110], r8
mov byte [rsp + 0x4f], 1
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x138]
xor ebx, ebx
jmp 0x5ba787
mov rdi, qword [rsp + 0x68]
sub rdi, rax
mov r8, rdi
neg rdi
sar rdi, 0x3f
and rdi, rax
sub rcx, rax
mov r9, qword [rsp + 0x98]
lea rdx, [r9 + rdi]
mov rax, rcx
mov rcx, r8
mov rbx, rsi
mov qword [rsp + 0x58], rbx
test rax, rax
je 0x5baa47
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x98], rdx
mov rax, qword [rsp + 0x128]
movzx ebx, byte [rsp + 0x130]
call fcn.005b9e80
mov rcx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0x70]
cmp rax, r8
mov rdx, r8
cmovl rdx, rax
mov qword [rsp + 0x60], rdx
cmp rcx, 5
jge 0x5ba80b
lea rax, [0x0065bae0]
mov ebx, 5
xor ecx, ecx
call fcn.0044b640
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rdi, rax
mov ecx, 5
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], 5
mov qword [rsp + 0xc0], rcx
movzx r12d, byte [rsp + 0x130]
mov byte [rdi], r12b
mov rax, qword [rsp + 0x128]
movzx r13d, word [rax + 0x48]
test r13w, r13w
jne 0x5ba84e
mov r13d, 0x301
jmp 0x5ba85f
cmp r13w, 0x304
mov r15d, 0x303
cmove r13w, r15w
mov rcx, qword [rsp + 0xb8]
cmp rcx, 1
jbe 0x5bac5e
mov r15, qword [rsp + 0xb0]
mov ecx, r13d
shr r13w, 8
mov byte [r15 + 1], r13b
mov r13, qword [rsp + 0xb8]
cmp r13, 2
jbe 0x5bac51
mov r13, qword [rsp + 0xb0]
mov byte [r13 + 2], cl
mov rcx, qword [rsp + 0xb8]
cmp rcx, 3
jbe 0x5bac47
mov r13, qword [rsp + 0xb0]
mov rcx, rdx
sar rdx, 8
mov byte [r13 + 3], dl
mov r13, qword [rsp + 0xb8]
cmp r13, 4
jbe 0x5bac3a
mov r13, qword [rsp + 0xb0]
mov byte [r13 + 4], cl
mov rdx, qword [rsp + 0x68]
cmp rdx, rcx
jb 0x5bac35
mov r13, qword [rax + 0x50]
mov r15, qword [r13]
nop dword [rax]
test r15, r15
je 0x5ba90b
mov r13, qword [r13 + 8]
jmp 0x5ba919
mov r15, qword [0x008cc3c0]
mov r13, qword [0x008cc3c8]
lea r12, [rax + 0x210]
mov rbx, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
mov r8, rcx
mov r9, rdx
mov r10, r15
mov r11, r13
mov rcx, rsi
mov rsi, qword [rsp + 0x98]
mov rax, r12
call fcn.005b5e20
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc0], rcx
test rdi, rdi
jne 0x5ba9fd
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
mov rax, qword [rsp + 0x128]
call fcn.005ba0a0
test rbx, rbx
jne 0x5ba9b3
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
add rsi, rax
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
jae 0x5ba75a
jmp 0x5bac30
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rcx
mov byte [rsp + 0x4f], 0
mov rdx, qword [rsp + 0x110]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
add rsp, 0x118
pop rbp
ret
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], rsi
mov byte [rsp + 0x4f], 0
mov rdx, qword [rsp + 0x110]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
add rsp, 0x118
pop rbp
ret
movzx esi, byte [rsp + 0x130]
cmp sil, 0x14
jne 0x5babdc
mov rax, qword [rsp + 0x128]
cmp word [rax + 0x48], 0x304
je 0x5babdc
mov rsi, qword [rax + 0x268]
test rsi, rsi
je 0x5bab67
cmp word [rax + 0x228], 0x304
je 0x5bab67
mov rdi, qword [rax + 0x270]
mov qword [rax + 0x230], rsi
cmp dword [0x00921500], 0
je 0x5baab6
call fcn.004665c0
mov qword [r11], rdi
mov rsi, qword [rax + 0x238]
mov qword [r11 + 8], rsi
mov qword [rax + 0x238], rdi
mov rsi, qword [rax + 0x278]
mov rdi, qword [rax + 0x280]
mov qword [rax + 0x240], rsi
cmp dword [0x00921500], 0
je 0x5baaf3
nop dword [rax + rax]
call fcn.004665c0
mov qword [r11], rdi
mov rsi, qword [rax + 0x248]
mov qword [r11 + 8], rsi
mov qword [rax + 0x248], rdi
mov qword [rax + 0x268], 0
cmp dword [0x00921500], 0
je 0x5bab1d
mov rsi, qword [rax + 0x270]
call fcn.004665a0
mov qword [r11], rsi
mov qword [rax + 0x270], 0
mov qword [rax + 0x278], 0
cmp dword [0x00921500], 0
je 0x5bab4b
mov rsi, qword [rax + 0x280]
call fcn.004665a0
mov qword [r11], rsi
mov qword [rax + 0x280], 0
mov qword [rax + 0x250], 0
xor ecx, ecx
xor edx, edx
jmp 0x5bab75
lea rcx, [0x00728960]
lea rdx, [0x0089c5a0]
test rcx, rcx
je 0x5babdc
lea rsi, [0x00728960]
cmp rcx, rsi
jne 0x5bac1a
movzx ebx, byte [rdx]
call fcn.005b9a20
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rbx
mov byte [rsp + 0x4f], 0
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rdx]
call rcx
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
add rsp, 0x118
pop rbp
ret
mov qword [rsp + 0x50], rbx
movups xmmword [rsp + 0xa0], xmm15
mov byte [rsp + 0x4f], 0
mov rdx, qword [rsp + 0x110]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
add rsp, 0x118
pop rbp
ret
mov rbx, qword [0x00728968]
mov rax, rcx
lea rcx, [0x0066e000]
call fcn.0040ab20
call fcn.00466a20
call fcn.004669e0
mov eax, 4
mov rcx, r13
call fcn.00466960
mov eax, 3
call fcn.00466960
mov eax, 2
mov rcx, r13
call fcn.00466960
mov eax, 1
call fcn.00466960
mov rbx, rcx
lea rcx, [0x00665260]
call fcn.0040aa60
mov rax, r9
mov rcx, r8
nop dword [rax]
call fcn.00466960
nop
call fcn.00435fa0
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
add rsp, 0x118
pop rbp
ret
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call fcn.004646a0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
nop
jmp fcn.005ba300