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

Disassembly:
lea r12, [rsp - 0x38]
cmp r12, qword [r14 + 0x10]
jbe 0x5394fe
sub rsp, 0xb8
mov qword [rsp + 0xb0], rbp
lea rbp, [rsp + 0xb0]
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x90], rcx
mov rax, rbx
mov rbx, rcx
mov rcx, rdi
xor edi, edi
nop
call fcn.005387a0
test rax, rax
jne 0x539039
test rcx, rcx
jne 0x538f48
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x90], r8
nop
nop
mov rcx, r9
and r9, 0x1f
cmp r9, 0x11
je 0x538d6c
nop dword [rax + rax]
cmp r9, 0x14
je 0x538d78
cmp r9, 0x17
jne 0x538da3
mov qword [rsp + 0x60], r9
xor eax, eax
jmp 0x5390d3
mov rax, rsi
mov rbx, r8
nop
call fcn.00494a80
test rax, rax
je 0x538e79
mov rcx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov rax, rsi
mov rbx, r8
call fcn.004974a0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], rbx
lea rax, [0x00a84900]
call fcn.0040e6a0
mov qword [rax + 8], 5
lea rdx, [0x00abc9ab]
mov qword [rax], rdx
mov rdx, qword [rsp + 0x88]
mov qword [rax + 0x10], rdx
cmp dword [0x011546d0], 0
jne 0x538dff
mov rdx, qword [rsp + 0x80]
mov qword [rax + 0x18], rdx
jmp 0x538e10
lea rdi, [rax + 0x18]
mov rdx, qword [rsp + 0x80]
call fcn.004657e0
mov rdx, qword [rsp + 0xc0]
mov rsi, qword [rdx + 0x18]
mov qword [rax + 0x20], rsi
cmp qword [rdx + 0x70], 0
jne 0x538e5d
lea rbx, [0x00dbe5a0]
mov rcx, rax
mov rax, rdx
call fcn.00537fe0
mov rdx, qword [rsp + 0xc0]
mov qword [rdx + 0x70], rax
cmp dword [0x011546d0], 0
jne 0x538e54
mov qword [rdx + 0x78], rbx
jmp 0x538e5d
lea rdi, [rdx + 0x78]
call fcn.00465800
mov rax, rdx
call fcn.00538120
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov rax, qword [rsp + 0xc0]
call fcn.0053d340
call fcn.0040bce0
nop
cmp byte [0x010fe060], 0
je 0x538ec7
lea rdx, [0x009d8de0]
mov qword [0x010fe068], rdx
cmp dword [0x011546d0], 0
jne 0x538eb5
mov qword [0x010fe070], rax
jmp 0x538ece
lea rdi, [0x010fe070]
nop dword [rax]
call fcn.004656c0
jmp 0x538ece
lea rdx, [0x009d8de0]
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x538f0a
movzx r9d, byte [rdx + 0x17]
mov r10d, r9d
and r9d, 0x1f
mov r11, r9
bts r9, 7
test r10b, 0x20
cmove r11, r9
nop
jmp 0x538f11
xor r11d, r11d
xor edx, edx
xor eax, eax
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov rdi, rdx
mov rsi, rax
mov r8, r11
mov rax, qword [rsp + 0x98]
call fcn.004959c0
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
nop dword [rax]
call fcn.004974a0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], rbx
lea rax, [0x00a84900]
nop dword [rax]
call fcn.0040e6a0
mov qword [rax + 8], 5
lea rdx, [0x00abc9ab]
mov qword [rax], rdx
mov rdx, qword [rsp + 0x88]
mov qword [rax + 0x10], rdx
cmp dword [0x011546d0], 0
jne 0x538fba
mov rdx, qword [rsp + 0x80]
mov qword [rax + 0x18], rdx
jmp 0x538fcb
lea rdi, [rax + 0x18]
mov rdx, qword [rsp + 0x80]
call fcn.004657e0
mov rdx, qword [rsp + 0xc0]
mov rsi, qword [rdx + 0x18]
mov qword [rax + 0x20], rsi
cmp qword [rdx + 0x70], 0
jne 0x539018
lea rbx, [0x00dbe5a0]
mov rcx, rax
mov rax, rdx
call fcn.00537fe0
mov rdx, qword [rsp + 0xc0]
mov qword [rdx + 0x70], rax
cmp dword [0x011546d0], 0
jne 0x53900f
mov qword [rdx + 0x78], rbx
jmp 0x539018
lea rdi, [rdx + 0x78]
call fcn.00465800
mov rax, rdx
nop dword [rax + rax]
call fcn.00538120
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x30], rax
nop
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x58], rcx
call fcn.00538120
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rcx + 0x10]
mov rbx, qword [rcx]
mov rcx, qword [rcx + 0x18]
cmp rdx, rcx
jb 0x5390cb
mov rsi, qword [rsp + 0x58]
lea rax, [rsi - 1]
nop dword [rax + rax]
cmp rcx, rax
jb 0x5390c6
mov r8, qword [rsp + 0x30]
mov r8, qword [r8 + 0x18]
sub rdx, rsi
lea rdi, [rdx + 1]
mov rdx, rdi
neg rdi
sar rdi, 0x3f
and rax, rdi
sub rcx, rsi
add rbx, rax
inc rcx
mov rax, qword [rsp + 0x68]
mov rdi, rdx
call r8
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
call fcn.00465c20
call fcn.00465be0
mov rax, rdx
mov qword [rsp + 0x38], rax
mov ebx, 9
mov rax, qword [rsp + 0xc0]
call fcn.005382a0
mov rcx, qword [rsp + 0xc0]
cmp qword [rcx + 0x20], 8
je 0x53936f
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x17
jne 0x539292
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.00492540
mov rdx, qword [rsp + 0x38]
cmp rax, rdx
jg 0x539248
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.00492540
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x98]
call fcn.00492540
mov qword [rsp + 0x50], rax
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x98]
call fcn.004974a0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], rbx
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
call fcn.00493dc0
mov rdx, qword [rsp + 0x50]
mov rsi, rdx
shr rdx, 0x3f
add rdx, rsi
sar rdx, 1
mov rsi, qword [rsp + 0x58]
lea rdi, [rdx + rsi]
cmp rdi, 4
mov edx, 4
cmovl rdi, rdx
mov rbx, qword [rsp + 0x80]
mov rcx, rax
mov rax, qword [rsp + 0x88]
call fcn.00498120
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x48], rcx
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov r8, qword [rsp + 0x40]
call fcn.00497ce0
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x48]
call fcn.004959c0
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
nop dword [rax]
call fcn.00493dc0
mov rdx, qword [rsp + 0x38]
cmp rax, rdx
jg 0x539292
lea rdi, [rdx + 1]
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.00496300
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.00493dc0
mov rdi, qword [rsp + 0x38]
cmp rax, rdi
jle 0x5392ed
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.004932c0
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
mov rax, qword [rsp + 0xc0]
call fcn.00538540
test rax, rax
je 0x53930a
jmp 0x53934f
mov rax, qword [rsp + 0xc0]
xor ebx, ebx
xor ecx, ecx
xor edi, edi
nop dword [rax + rax]
call fcn.00538540
test rax, rax
jne 0x53935f
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x20], 9
jne 0x53932d
mov ebx, 9
nop
call fcn.005382a0
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x38]
inc rdx
mov rsi, qword [rax + 0x20]
cmp rsi, 8
je 0x539374
nop
cmp rsi, 7
je 0x5390d0
jmp 0x5394ea
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x38], rdx
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.00493dc0
mov rdi, qword [rsp + 0x38]
cmp rax, rdi
jle 0x53940d
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x11
jne 0x5393ec
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
nop dword [rax]
call fcn.004974a0
mov rdx, qword [rax + 0x48]
mov rax, rbx
call rdx
call fcn.004983c0
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x48], rcx
mov rdx, qword [rsp + 0x38]
jmp 0x5394b8
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.00496300
mov rax, qword [rsp + 0x38]
jmp 0x53947c
test rdi, rdi
jne 0x539468
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x17
jne 0x539468
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.004974a0
xor ecx, ecx
mov rdi, rcx
nop dword [rax]
call fcn.00498120
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.004959c0
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov rdi, rax
nop
jmp 0x53940d
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.004932c0
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x48]
call fcn.004959c0
mov rdx, qword [rsp + 0x38]
inc rdx
mov qword [rsp + 0x38], rdx
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.00493dc0
mov rdi, qword [rsp + 0x38]
nop dword [rax]
cmp rax, rdi
jg 0x539482
mov rax, rdi
jmp 0x53947c
lea rax, [0x009e4c00]
lea rbx, [0x00db4740]
call fcn.004373c0
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.00538cc0