Function at 0x180012af0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4d8
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rax, qword [rsp + 0x540]
mov r13, rcx
xor ecx, ecx
mov dword [r9], ecx
mov dword [rax], ecx
mov rsi, r9
mov dword [r8], ecx
mov qword [rsp + 0x98], r8
mov rdi, rdx
mov ebx, ecx
mov r14d, ecx
mov r15d, ecx
mov dword [rsp + 0x80], ecx
mov ebp, ecx
mov r12, rcx
mov qword [rsp + 0x88], rcx
test rdx, rdx
je 0x180012d22
mov rcx, rdx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x180012d20
cmp dword [rsp + 0x550], ebx
je 0x180012b98
mov rax, qword [r13]
mov r8, qword [rsp + 0x98]
mov rdx, rdi
mov rcx, r13
call qword [rax + 0x108]
test eax, eax
je 0x180012d20
cmp dword [rsp + 0x548], ebx
je 0x180012bad
mov ecx, 1
mov ebx, ecx
jmp 0x180012d1e
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
bt rax, 0x1e
mov r12, rax
jb 0x180012d20
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov rcx, rdi
mov r14d, eax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
mov edx, 0xffffffec
mov rcx, rdi
mov r15d, eax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
lea r8, [rsp + 0x90]
mov rdx, rdi
movzx ecx, al
mov qword [rsp + 0x88], rax
mov eax, ebx
and cl, 0x80
cmp cl, 0x80
mov ecx, 1
cmovne eax, ecx
lea rcx, [r13 + 0x150]
mov dword [rsp + 0x80], eax
xor eax, eax
mov dword [rsp + 0x90], eax
call fcn.18000ab60
test eax, eax
je 0x180012c52
cmp dword [rsp + 0x90], ebx
je 0x180012c48
mov ebp, 4
jmp 0x180012d0d
mov ebp, 5
jmp 0x180012d20
mov ecx, 0x80000000
mov rax, r12
and rax, rcx
cmp rax, rcx
je 0x180012c8b
mov ecx, 0x80880000
mov rax, r12
and rax, rcx
cmp rax, rcx
je 0x180012c8b
cmp dword [rsp + 0x80], ebx
je 0x180012d20
mov ecx, 1
mov ebp, ecx
jmp 0x180012d12
bt r12, 0x12
mov rax, qword [rsp + 0x88]
jb 0x180012cc4
bt r12, 0x11
jb 0x180012cc4
bt rax, 0x12
jb 0x180012cc4
mov rax, qword [r13]
mov rdx, rdi
mov rcx, r13
call qword [rax + 0xa8]
test eax, eax
je 0x180012d20
mov rax, qword [rsp + 0x88]
cmp dword [rsp + 0x80], ebx
je 0x180012d20
bt rax, 0x13
jae 0x180012d08
test al, 4
je 0x180012d08
cmp dword [0x1800acaa0], ebx
je 0x180012ebc
lea r9, str.CTWindowTrace::IsRelatedWndNew__LAYERED___hWnd:__08x_
lea r8, [0x180078c50]
lea rcx, [0x1800ac1b8]
or edx, 0xffffffff
mov qword [rsp + 0x20], rdi
call fcn.18002d570
jmp 0x180012d20
mov ebp, 2
mov ecx, 1
mov ebx, ecx
test r14d, r14d
je 0x180012d20
test r15d, r15d
je 0x180012d20
mov dword [rsi], ecx
xor ecx, ecx
cmp dword [0x1800acaa0], 0
je 0x180012e13
mov word [rsp + 0x2b0], cx
lea rcx, [rsp + 0x2b2]
xor edx, edx
mov r8d, 0x206
call fcn.18002f310
lea rdx, [rsp + 0x2b0]
mov r8d, 0x103
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
xor eax, eax
lea rcx, [rsp + 0xa2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xa0], ax
call fcn.18002f310
lea rdx, [rsp + 0xa0]
mov r8d, 0x103
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x1800acaa0], 0
je 0x180012e13
lea rax, [rsp + 0xa0]
lea r9, str.CTWindowTrace::IsRelatedWndNew_1__hWnd:__08x___bRet:__d__bEnsure:__d__Type___d___visible:__d__enable:__d__notoolwindow:__d___style:__08x__exstyle:__08x___Class:__s___Text:__s_
lea r8, [0x180078c50]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x2b0]
lea rcx, [0x1800ac1b8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x88]
or edx, 0xffffffff
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x80]
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x50], eax
mov eax, dword [rsi]
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call fcn.18002d570
test ebx, ebx
je 0x180012ebc
cmp dword [rsp + 0x550], 0
mov r12, qword [rsp + 0x98]
jne 0x180012e4f
mov rax, qword [r13]
mov r8, r12
mov rdx, rdi
mov rcx, r13
call qword [rax + 0x108]
xor r13d, r13d
test eax, eax
jne 0x180012e52
lea ebp, [rax + 4]
mov ebx, r13d
jmp 0x180012e52
xor r13d, r13d
cmp dword [0x1800acaa0], 0
je 0x180012e93
mov eax, dword [r12]
lea r9, str.CTWindowTrace::IsRelatedWndNew_2__hWnd:__08x___bRet:__d__bEnsure:__d__Type___d___tid:__6d_
lea r8, [0x180078c50]
mov dword [rsp + 0x40], eax
mov eax, dword [rsi]
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], eax
lea rcx, [0x1800ac1b8]
or edx, 0xffffffff
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call fcn.18002d570
test ebx, ebx
je 0x180012ebc
cmp dword [0x1800a7bb8], 0
je 0x180012ebc
mov eax, 1
lea rcx, [0x1800a7bb0]
mov rdx, rdi
mov dword [rsi], eax
call fcn.18000ba10
test eax, eax
cmove ebx, r13d
mov eax, ebx
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.18002f2e0
add rsp, 0x4d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret