(1) Lolita knows Humbert has no living relatives and immediately realizes something is very wrong .
(2) Lolita knows that Humbert has no living relatives and immediately realizes that something is very wrong .

Do these two sentences mean the same thing?
yes