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

Disassembly:
lea r12, [rsp - 0x38]
cmp r12, qword [r14 + 0x10]
jbe 0x5033cc
sub rsp, 0xb8
mov qword [rsp + 0xb0], rbp
lea rbp, [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xd8], rdi
test rbx, rbx
je 0x502f10
nop dword [rax + rax]
cmp rbx, 1
je 0x502ef6
lea rdx, [rbx - 1]
mov r8, rsi
imul rsi, rdx
xor r9d, r9d
jmp 0x502f37
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
lea r10, [r9 + 1]
shl r9, 4
mov r11, qword [rax + r9 + 8]
add rsi, r11
mov r9, r10
cmp rbx, r9
jg 0x502f24
movups xmmword [rsp + 0x90], xmm15
movups xmmword [rsp + 0xa0], xmm15
nop
lea r9, [rsp + 0x90]
mov qword [rsp + 0x90], r9
nop
test rsi, rsi
jl 0x5033b8
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xc0], rax
mov rbx, qword [rsp + 0xa0]
mov r10, qword [rsp + 0xa8]
mov r11, r10
sub r10, rbx
cmp rsi, r10
jle 0x50304a
mov qword [rsp + 0x38], rbx
nop
lea rcx, [rsi + r11*2]
mov qword [rsp + 0x40], rcx
lea rax, [0x006578a0]
call fcn.0044a840
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
cmp rdx, rcx
mov rsi, rcx
cmovl rcx, rdx
mov rbx, qword [rsp + 0x98]
cmp rax, rbx
je 0x503003
mov qword [rsp + 0x88], rax
call fcn.004662e0
mov rax, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x38]
mov qword [rsp + 0xa0], rsi
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0xd8]
mov r8, qword [rsp + 0x60]
lea r9, [rsp + 0x90]
mov r10, qword [rax + 8]
mov rbx, qword [rax]
nop
mov r11, qword [rsp + 0x90]
test r11, r11
je 0x50306a
nop
cmp r11, r9
je 0x503072
jmp 0x5033a5
mov qword [rsp + 0x90], r9
mov r11, qword [rsp + 0xa0]
lea r12, [r10 + r11]
mov r13, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x98]
cmp r13, r12
jae 0x5030d2
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x78], rbx
mov rax, r15
mov rbx, r12
mov rcx, r13
mov rdi, r10
lea rsi, [0x006578a0]
call fcn.0044a920
mov r10, qword [rsp + 0x30]
mov r11, qword [rsp + 0x58]
mov r15, rax
mov r13, rcx
mov r12, rbx
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x80], r15
lea rax, [r15 + r11]
mov rcx, r10
call fcn.004662e0
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0xa8], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x98], rdx
mov rdx, qword [rsp + 0xd0]
dec rdx
neg rdx
sar rdx, 0x3f
and edx, 0x10
mov rsi, qword [rsp + 0xc0]
add rdx, rsi
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0xd8]
xor eax, eax
jmp 0x5031c5
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x80], rax
add rdx, rax
mov rax, rdx
mov rbx, qword [rsp + 0x70]
mov rcx, rdi
call fcn.004662e0
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0xa8], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x98], rdx
mov rdx, qword [rsp + 0x88]
add rdx, 0x10
mov rax, qword [rsp + 0x58]
inc rax
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0xd8]
cmp rax, rsi
jge 0x50333e
mov r9, qword [rdx + 8]
mov r10, qword [rdx]
nop
nop
mov r11, qword [rsp + 0x90]
nop
test r11, r11
je 0x5031f7
lea r12, [rsp + 0x90]
cmp r11, r12
je 0x50320f
jmp 0x50338e
lea r11, [rsp + 0x90]
mov qword [rsp + 0x90], r11
lea r12, [rsp + 0x90]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x88], rdx
mov r11, qword [rsp + 0xa0]
lea rbx, [rdi + r11]
mov rcx, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x98]
cmp rcx, rbx
jae 0x503270
mov qword [rsp + 0x50], r11
mov rax, r13
lea rsi, [0x006578a0]
call fcn.0044a920
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0xd8]
mov r11, qword [rsp + 0x50]
mov r13, rax
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x80], r13
lea rax, [r13 + r11]
mov rbx, r8
mov rcx, rdi
call fcn.004662e0
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0xa8], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x98], rdx
nop
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x5032dc
lea r8, [rsp + 0x90]
cmp rdx, r8
je 0x5032f4
jmp 0x50337b
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x90], rdx
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x28]
lea rbx, [rdi + rdx]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x98]
cmp rcx, rbx
jae 0x503150
mov qword [rsp + 0x50], rdx
lea rsi, [0x006578a0]
call fcn.0044a920
mov rdx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x28]
jmp 0x503150
mov rax, qword [rsp + 0x98]
mov rcx, rax
neg rax
mov rbx, qword [rsp + 0xa0]
cmp rbx, rax
ja 0x50336c
mov rax, rcx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
test rcx, rcx
je 0x503376
call fcn.0045cf80
call fcn.0045cfc0
lea rax, [0x006576e0]
lea rbx, [0x00718800]
call fcn.00436420
lea rax, [0x006576e0]
lea rbx, [0x00718800]
nop dword [rax]
call fcn.00436420
lea rax, [0x006576e0]
lea rbx, [0x00718800]
call fcn.00436420
lea rax, [0x006576e0]
lea rbx, [0x00718810]
call fcn.00436420
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call fcn.004632e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp fcn.00502ea0