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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41003a
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rbx, qword [rax + 0x18]
mov qword [rsp + 0x50], rbx
movzx esi, byte [rbx + 8]
test sil, 4
je 0x40fb8f
lea rax, [0x006d8d6c]
mov ebx, 0x26
nop dword [rax]
call fcn.00436c60
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rax + 0x10]
mov qword [rsp + 0x40], rsi
mov r8, qword [rax + 0x50]
mov r9, qword [rax + 0x28]
movzx r10d, byte [rax + 0x4b]
mov r11, qword [rax + 0x58]
jmp 0x40fbc5
movzx r12d, word [rsi + 0x52]
lea r12, [r11 + r12]
lea r12, [r12 - 8]
test byte [rsi], al
mov r9, qword [r12]
xor r10d, r10d
mov r11, rdx
test r9, r9
je 0x40fbd5
mov rdx, r11
mov r11, r9
jmp 0x40fc99
cmp qword [rax + 0x40], r8
jne 0x40fbe6
cmp byte [rax + 0x49], 0
nop
jne 0x40fcaa
mov r9, qword [rbx + 0x18]
test r9, r9
je 0x40fc5f
movzx r10d, byte [rax + 0x4a]
cmp byte [rbx + 9], r10b
jne 0x40fc5f
mov r10, qword [rax + 0x18]
movzx r11d, byte [r10 + 9]
movzx r10d, byte [r10 + 8]
test r10b, 8
jne 0x40fc11
dec r11d
mov ecx, r11d
mov r10d, 1
shl r10, cl
dec r10
and r10, r8
movzx r11d, word [rsi + 0x52]
imul r10, r11
lea r12, [r9 + r10]
movzx r9d, byte [r10 + r9]
add r9d, 0xfffffffe
nop
nop word [rax + rax]
cmp r9b, 3
jae 0x40fc57
imul r11, r8
add r11, qword [rax + 0x20]
mov rcx, 0xffffffffffffffff
jmp 0x40fc73
mov rcx, r8
mov r11, r12
jmp 0x40fc73
movzx r11d, word [rsi + 0x52]
imul r11, r8
add r11, qword [rax + 0x20]
mov rcx, 0xffffffffffffffff
inc r8
movzx r9d, byte [rax + 0x4a]
mov rdx, rcx
mov ecx, r9d
mov r10d, 1
shl r10, cl
cmp r10, r8
jne 0x40fc96
mov byte [rax + 0x49], 1
xor r8d, r8d
xor r10d, r10d
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x58], r11
jmp 0x40fce0
cmp dword [0x01328750], 0
jne 0x40fcb9
movups xmmword [rax], xmm15
jmp 0x40fcce
mov rdi, rax
xor ecx, ecx
nop
call fcn.00465680
lea rdi, [rax + 8]
call fcn.00465680
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
inc r10d
nop dword [rax + rax]
cmp r10b, 8
jae 0x40fbab
test byte [r11], al
movzx r9d, byte [rax + 0x48]
add r9d, r10d
mov r12d, r9d
and r9d, 7
movzx r13d, byte [r11 + r9]
cmp r13b, 1
jbe 0x40fcd8
cmp r13b, 4
je 0x40fcd8
and r12d, 7
movzx r13d, byte [rsi + 0x50]
mov r15, r13
imul r13, r12
mov rcx, r11
lea r13, [r13 + r11]
lea r13, [r13 + 8]
mov rdi, r8
mov r8d, dword [rsi + 0x54]
bt r8d, 0
jae 0x40fd3b
mov r13, qword [r13]
mov byte [rsp + 0x1f], r10b
mov qword [rsp + 0x48], r13
movzx r13d, byte [rsi + 0x51]
imul r13, r12
lea r12, [r13 + r15*8]
lea r11, [r12 + r11]
lea r11, [r11 + 8]
mov qword [rsp + 0x38], r11
cmp rdx, 0xffffffffffffffff
je 0x40fe9e
movzx r12d, byte [rbx + 8]
test r12b, 8
jne 0x40fe9e
mov qword [rsp + 0x30], r9
bt r8d, 2
jae 0x40fd8d
mov r8d, 1
jmp 0x40fdd3
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x48]
mov rbx, rax
call rcx
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x38]
mov r8d, eax
mov rax, qword [rsp + 0x70]
test r8b, r8b
jne 0x40fe17
movzx r8d, byte [rax + 0x4a]
dec r8d
cmp r8b, 0x40
sbb r12, r12
mov r13, rcx
mov ecx, r8d
mov r15, rdx
shr rdx, cl
and rdx, r12
movzx r8d, byte [r13 + r9]
and r8d, 1
cmp r8, rdx
je 0x40fea4
mov rdx, r15
mov r8, rdi
mov r11, r13
jmp 0x40fcd8
mov rdx, qword [rsi + 0x48]
mov rcx, qword [rdx]
mov edi, dword [rbx + 0xc]
mov rax, qword [rsp + 0x48]
mov rbx, rdi
call rcx
mov rdi, qword [rsp + 0x70]
movzx ecx, byte [rdi + 0x4a]
mov esi, 1
shl rsi, cl
lea rcx, [rsi - 1]
and rax, rcx
mov rcx, qword [rsp + 0x20]
cmp rcx, rax
je 0x40fe72
mov rax, rdi
mov rdx, rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x58]
jmp 0x40fcd8
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x38]
mov r13, qword [rsp + 0x58]
mov r15, rcx
jmp 0x40fea4
mov r13, rcx
mov r15, rdx
movzx r8d, byte [r13 + r9]
cmp r8b, 2
je 0x40febd
cmp r8b, 3
je 0x40febd
mov ecx, 1
jmp 0x40ff12
mov r8d, dword [rsi + 0x54]
bt r8d, 2
jae 0x40fecf
mov ecx, 1
jmp 0x40ff0f
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x48]
mov rbx, rax
call rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x38]
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov ecx, eax
mov rax, qword [rsp + 0x70]
xor ecx, 1
test cl, cl
jne 0x40ffa2
mov rax, rsi
mov rcx, qword [rsp + 0x48]
call fcn.0040ed60
test rax, rax
jne 0x40ff55
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x58]
jmp 0x40fcd8
cmp dword [0x01328750], 0
jne 0x40ff6c
mov rdi, qword [rsp + 0x70]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
jmp 0x40ff88
mov rdi, qword [rsp + 0x70]
call fcn.00465580
lea rax, [rdi + 8]
mov rcx, rdi
mov rdi, rax
call fcn.004656c0
mov rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
jmp 0x40fff8
cmp dword [0x01328750], 0
jne 0x40ffb5
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
jmp 0x40ffc8
mov rcx, rdi
mov rdi, rax
mov rdx, qword [rsp + 0x48]
call fcn.004656a0
mov rdi, rcx
mov ecx, dword [rsi + 0x54]
bt ecx, 1
jae 0x40ffd4
mov r11, qword [r11]
cmp dword [0x01328750], 0
jne 0x40ffe3
mov qword [rax + 8], r11
jmp 0x40fff8
lea rcx, [rax + 8]
mov rdx, rdi
mov rdi, rcx
mov rbx, r11
call fcn.004656c0
mov rdi, rdx
mov qword [rax + 0x50], rdi
nop dword [rax]
cmp qword [rax + 0x28], r13
je 0x410025
cmp dword [0x01328750], 0
jne 0x410015
mov qword [rax + 0x28], r13
jmp 0x410025
lea rdi, [rax + 0x28]
mov rcx, r13
nop dword [rax]
call fcn.00465680
lea ecx, [r10 + 1]
mov byte [rax + 0x4b], cl
mov qword [rax + 0x58], r15
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov qword [rsp + 8], rax
nop
call fcn.004633c0
mov rax, qword [rsp + 8]
jmp fcn.0040fb40