Function at 0x140077530
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov r13, rcx
call fcn.140077e80
mov rsi, rax
mov r8d, 0x100
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
xor r15b, r15b
xor r12b, r12b
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
lea r8d, [rbx + 0x24]
lea rdx, str.VWdsYm11cSxTRyxBbXBjLEFtcGNVZ2xibXU
lea rcx, [rsp + 0x60]
call fcn.140030750
nop
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea r14, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r14, qword [rsp + 0x60]
movabs rbx, 0x7ffffffffffffffe
mov rdi, qword [rsp + 0x70]
cmp rdi, rbx
ja 0x140077807
mov qword [rsp + 0x38], 7
cmp rdi, 8
jae 0x1400775fb
mov qword [rsp + 0x30], rdi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.140185440
jmp 0x140077646
mov rax, rdi
or rax, 7
cmp rax, rbx
ja 0x140077616
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x20]
call fcn.140030fc0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140185440
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14004bc20
lea rcx, [rbp - 0x70]
mov rdx, qword [rax]
sub rdx, rcx
nop
movzx ebx, word [rcx]
movzx eax, word [rcx + rdx]
sub ebx, eax
jne 0x140077673
add rcx, 2
test eax, eax
jne 0x140077660
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140077693
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
jne 0x1400777a3
mov r8d, 0x100
lea rdx, [rbp + 0x190]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [rbp + 0x3d8], ebx
lea rdx, [rbp + 0x3d8]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0x140223270]
cmp dword [rbp + 0x3d8], eax
jne 0x140077726
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x50], eax
jne 0x14007771f
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x58], eax
jne 0x14007771f
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x54], eax
jne 0x14007771f
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x5c], eax
je 0x140077726
mov qword [r13 + 8], rsi
mov r15b, 1
mov rcx, qword [r13 + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x3e8]
mov rdx, rsi
call qword [rax + 0x30]
test eax, eax
jne 0x1400777a3
mov rcx, qword [rbp + 0x3e8]
mov rax, qword [rcx]
lea r8, [rbp - 0x78]
mov edx, 0x2719
call qword [rax + 0x80]
test eax, eax
jne 0x140077788
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400777a3
mov rax, qword [rbx]
lea rdx, [rbp + 0x3e0]
mov rcx, rbx
call qword [rax + 0x58]
cmp dword [rbp + 0x3e0], 0
setne r12b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x3e8]
mov rax, qword [rcx]
call qword [rax + 0x10]
test r12b, r12b
je 0x1400777a3
test r15b, r15b
je 0x1400777a3
mov bl, 1
jmp 0x1400777a5
xor bl, bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400777e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400777de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077801
call fcn.140183144
movzx eax, bl
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140189c24
nop
call fcn.140030df0
nop
int3