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

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x538b6d
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
lea rax, [0x00644f2d]
mov ebx, 7
call fcn.004a73e0
jmp 0x538680
mov rax, rdi
mov rbx, rsi
nop
test rbx, rbx
je 0x53889c
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], rbx
mov ecx, 0x2c
call fcn.004cd780
nop dword [rax]
test rax, rax
jge 0x5386b5
mov rdx, qword [rsp + 0x70]
xor esi, esi
xor edi, edi
mov rax, qword [rsp + 0x30]
jmp 0x5386d9
mov rdx, qword [rsp + 0x30]
sub rdx, rax
dec rdx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
lea rdi, [rax + 1]
and rdi, rdx
mov rdx, qword [rsp + 0x70]
add rdi, rdx
cmp rax, 4
jl 0x538679
cmp dword [rdx], 0x2e757063
jne 0x538679
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x58], rsi
mov rbx, rax
mov ecx, 0x3d
mov rax, rdx
call fcn.004cd780
test rax, rax
jl 0x53884d
lea rdx, [rax - 4]
mov qword [rsp + 0x20], rdx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 4
mov rdi, qword [rsp + 0x70]
lea rbx, [rdi + rdx]
mov qword [rsp + 0x68], rbx
mov r8, qword [rsp + 0x28]
sub r8, rax
lea r9, [r8 - 1]
mov qword [rsp + 0x18], r9
mov r10, r9
neg r9
sar r9, 0x3f
lea r11, [rax + 1]
and r11, r9
lea r9, [rdi + r11]
mov qword [rsp + 0x60], r9
cmp r8, 3
jne 0x538776
movzx r11d, word [rdi + r11]
cmp r11w, 0x6e6f
je 0x538795
jmp 0x5387dd
cmp r8, 4
jne 0x5387dd
movzx r12d, word [rdi + r11]
cmp r12w, 0x666f
jne 0x5387dd
movzx r11d, byte [rdi + r11 + 2]
cmp r11b, 0x66
jne 0x5387dd
cmp rax, 7
jne 0x5387c5
movzx r9d, word [rdi + rdx]
cmp r9w, 0x6c61
jne 0x5387c5
movzx edx, byte [rdi + rdx + 2]
cmp dl, 0x6c
jne 0x5387c5
mov rdx, qword [0x007e09a8]
xor eax, eax
nop dword [rax + rax]
jmp 0x538b27
mov qword [rsp + 0x50], r8
mov rdx, qword [0x007e09a8]
mov qword [rsp + 0x48], rdx
xor eax, eax
jmp 0x538a33
nop dword [rax]
call fcn.00438460
lea rax, [0x0064c03d]
mov ebx, 0x18
call fcn.00438d00
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x18]
call fcn.00438d00
lea rax, [0x00650121]
mov ebx, 0x20
call fcn.00438d00
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x20]
call fcn.00438d00
lea rax, [0x0064444d]
mov ebx, 2
call fcn.00438d00
call fcn.004384e0
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x80]
jmp 0x538679
call fcn.00438460
lea rax, [0x00653921]
mov ebx, 0x29
nop
call fcn.00438d00
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x28]
call fcn.00438d00
lea rax, [0x0064444d]
mov ebx, 2
call fcn.00438d00
call fcn.004384e0
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x80]
jmp 0x538679
mov rax, qword [0x007e09a8]
mov rcx, qword [0x007e09a0]
test rax, rax
je 0x5388b8
mov qword [rsp + 0x58], rax
xor edx, edx
jmp 0x5388cc
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
add rcx, 0x20
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x88], xmm0
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x98], xmm0
cmp byte [rsp + 0xa0], 0
je 0x538a1e
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x78], rcx
movzx ebx, byte [rsp + 0xa1]
test bl, bl
je 0x53899e
mov rsi, qword [rsp + 0x98]
cmp byte [rsi], 0
je 0x53892a
nop dword [rax + rax]
test bl, bl
jne 0x5389a8
jmp 0x53899e
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x48], rcx
call fcn.00438460
lea rax, [0x00650828]
mov ebx, 0x21
call fcn.00438d00
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x48]
call fcn.00438d00
lea rax, [0x0064b976]
mov ebx, 0x17
nop dword [rax + rax]
call fcn.00438d00
call fcn.004384e0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x50]
jmp 0x538a1e
cmp byte [rsp + 0xa2], 0
jne 0x5389b4
mov rsi, qword [rsp + 0x98]
mov byte [rsi], bl
jmp 0x538a1e
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x48], rcx
call fcn.00438460
lea rax, [0x00651114]
mov ebx, 0x22
call fcn.00438d00
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x48]
call fcn.00438d00
lea rax, [0x0064c265]
mov ebx, 0x18
call fcn.00438d00
call fcn.004384e0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x50]
inc rdx
cmp rax, rdx
jg 0x5388c8
jmp 0x5388b8
lea rax, [rdi + 1]
cmp rax, rdx
jge 0x538ac8
mov rdi, rax
shl rax, 5
mov r9, qword [0x007e09a0]
mov rcx, qword [r9 + rax + 8]
mov r9, qword [r9 + rax]
cmp rcx, rsi
jne 0x538a2f
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
mov rax, r9
call fcn.00402c80
test al, al
jne 0x538a89
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
jmp 0x538a2f
mov rdx, qword [0x007e09a0]
mov r8, qword [rsp + 0x38]
mov byte [rdx + r8 + 0x18], 1
mov rdx, qword [0x007e09a0]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x19]
mov r8, qword [rsp + 0x50]
cmp r8, 3
sete byte [rdx]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x80]
jmp 0x538679
call fcn.00438460
lea rax, [0x006528ce]
mov ebx, 0x26
call fcn.00438d00
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x20]
call fcn.00438d00
lea rax, [0x0064444d]
mov ebx, 2
call fcn.00438d00
nop
call fcn.004384e0
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x80]
jmp 0x538679
mov r9, qword [0x007e09a0]
mov byte [r9 + rax + 0x19], dil
lea rax, [rsi + 1]
cmp rax, rdx
jge 0x538b5b
mov rsi, rax
shl rax, 5
mov rdi, qword [0x007e09a0]
mov byte [rdi + rax + 0x18], 1
nop
cmp r8, 3
jne 0x538b4d
mov edi, 1
jmp 0x538b17
mov rdi, qword [0x007e09a0]
movzx edi, byte [rdi + rax + 0x1a]
jmp 0x538b17
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x80]
jmp 0x538679
call fcn.0045f280
jmp fcn.00538640