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

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x639f5f
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb0], rsi
test r8, r8
je 0x639f29
nop
cmp r8, 2
jne 0x639ea9
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x639bae
cmp rcx, 0xff
jg 0x639bae
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x639bae
cmp rcx, 0xff
jle 0x639be6
lea rax, [0x00690f40]
call fcn.0040d960
mov qword [rax + 8], 0x19
lea rcx, [0x006d12be]
mov qword [rax], rcx
mov rbx, rax
lea rax, [0x00742c00]
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0xb0], rsi
lea rax, [0x0067ab00]
call fcn.0040d960
mov byte [rax], 1
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 8]
mov qword [rsp + 0x58], rdx
mov ebx, 2
mov edi, 1
lea rsi, [0x006796c0]
mov rcx, rdi
call fcn.0044a920
mov rdx, qword [rsp + 0x58]
mov byte [rax + 1], dl
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 2]
mov rdi, qword [rdx]
cmp rcx, rsi
jae 0x639c7d
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x70], rdi
mov rdi, rbx
mov rbx, rsi
lea rsi, [0x006796c0]
call fcn.0044a920
mov rdi, qword [rsp + 0x70]
mov rsi, rbx
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x68], rax
lea rdx, [rax + 2]
mov rax, rdx
mov r9, rbx
mov rbx, rdi
mov rcx, r9
nop dword [rax]
call fcn.00466740
mov rbx, qword [rsp + 0x48]
inc rbx
mov rdx, qword [rsp + 0x90]
mov rsi, qword [rdx + 0x18]
mov rcx, qword [rsp + 0x50]
nop
cmp rcx, rbx
jb 0x639ccc
mov rax, qword [rsp + 0x68]
jmp 0x639cf4
mov qword [rsp + 0x58], rsi
mov rax, qword [rsp + 0x68]
mov edi, 1
lea rsi, [0x006796c0]
call fcn.0044a920
mov rdx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x58]
mov byte [rbx + rax - 1], sil
mov rdi, qword [rdx + 0x18]
lea r8, [rbx + rdi]
mov rdx, qword [rdx + 0x10]
cmp rcx, r8
jae 0x639d3a
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x70], rdx
mov rbx, r8
lea rsi, [0x006796c0]
call fcn.0044a920
mov rdx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
mov r8, rbx
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r8
lea rsi, [rax + rbx]
mov rbx, rdx
mov rax, rsi
mov rcx, rdi
call fcn.00466740
mov rdx, qword [rsp + 0x78]
mov rsi, qword [rdx + 0x20]
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
call rsi
nop dword [rax]
test rbx, rbx
jne 0x639e93
mov rdx, qword [rsp + 0x50]
cmp rdx, 2
jb 0x639f54
lea rax, [0x0068d2a0]
mov rbx, qword [rsp + 0x78]
call fcn.0040b120
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
mov edi, 2
mov rsi, qword [rsp + 0x50]
mov r8, rdi
call fcn.00470440
test rbx, rbx
jne 0x639e7d
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jbe 0x639f4a
mov rsi, qword [rsp + 0x68]
cmp byte [rsi], 1
jne 0x639e45
cmp rdx, 1
jbe 0x639f3d
cmp byte [rsi + 1], 0
je 0x639e31
lea rax, [0x00690f40]
call fcn.0040d960
mov qword [rax + 8], 0x27
lea rcx, [0x006d7c84]
mov qword [rax], rcx
mov rbx, rax
lea rax, [0x00742c00]
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
lea rax, [0x00690f40]
call fcn.0040d960
mov qword [rax + 8], 0x21
lea rcx, [0x006d50b4]
mov qword [rax], rcx
mov rbx, rax
lea rax, [0x00742c00]
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rax, rbx
mov rbx, rcx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rax, rbx
mov rbx, rcx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rax, r8
mov ebx, 0xa
call fcn.00480f20
mov ecx, 0x22
mov rdi, rax
mov rsi, rbx
xor eax, eax
lea rbx, [0x006d5c3b]
call fcn.0044e760
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rbx
lea rax, [0x00690f40]
call fcn.0040d960
mov rcx, qword [rsp + 0x40]
mov qword [rax + 8], rcx
cmp dword [0x0092b0b0], 0
jne 0x639f02
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
nop
jmp 0x639f0f
mov rdi, rax
mov rcx, qword [rsp + 0x60]
call fcn.00465a00
mov rbx, rax
lea rax, [0x00742c00]
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov eax, 1
mov rcx, rax
call fcn.00465da0
xor eax, eax
mov rcx, rax
call fcn.00465da0
mov ecx, 2
call fcn.00465e20
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
mov qword [rsp + 0x30], r8
nop dword [rax]
call fcn.00463740
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]
mov r8, qword [rsp + 0x30]
jmp fcn.00639b40