Function at 0x180069e40
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x488
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r14, qword [rsp + 0x4f0]
xor edi, edi
xor r15b, r15b
mov dword [r9], edi
mov r12, r9
mov rbp, r8
mov rbx, rdx
mov r13, rcx
test r14, r14
je 0x18006a10f
mov rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], di
jne 0x180069e92
cmp rax, 1
jb 0x18006a108
add rcx, 0xc
xor edx, edx
mov r8d, 0x104
call fcn.180095d50
xor r9d, r9d
mov dword [r13 + 8], edi
mov r8, r14
xor edx, edx
mov rcx, r13
call fcn.1800649f0
test eax, eax
je 0x18006a108
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindow]
mov rsi, rax
test rax, rax
je 0x18006a343
nop
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x18006a0e0
mov edx, 4
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
jne 0x18006a0e0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [rsp + 0x40]
xor r9d, r9d
mov r8, r14
mov rcx, r13
call fcn.1800649f0
test eax, eax
je 0x18006a0e0
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x180069f60
cmp rax, 1
jae 0x180069f95
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbp + rax*2], 0
jne 0x180069f80
cmp rax, 1
jb 0x18006a0ff
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.180095d50
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClassNameW]
xor edx, edx
lea rcx, [rsp + 0x260]
mov r8d, 0x208
call fcn.180095d50
mov r8d, 0x104
lea rdx, [rsp + 0x260]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x180069ff3
cmp rax, 1
jbe 0x18006a088
lea rcx, [rsp + 0x260]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18006a016
cmp rax, 1
jbe 0x18006a088
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180096278
mov rdx, rbp
lea rcx, [rsp + 0x260]
mov rdi, rax
call fcn.180096278
mov rdx, rax
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x18006a050
cmp rcx, 1
jb 0x18006a069
test rdi, rdi
jne 0x18006a0ff
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], 0
jne 0x18006a070
cmp rax, 1
jb 0x18006a086
test rdx, rdx
jne 0x18006a0ff
xor edi, edi
mov edx, 5
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
je 0x18006a0e0
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x18006a0a2
test rcx, rcx
mov qword [rsp + 0x38], r14
mov byte [rsp + 0x30], r15b
mov r9, rbx
cmove r9, rdi
mov byte [rsp + 0x28], r15b
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rax
mov rcx, r13
call fcn.1800698d0
test eax, eax
jne 0x18006a33c
mov edx, 2
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
mov rsi, rax
test rax, rax
jne 0x180069f00
jmp 0x18006a343
mov dword [r12], esi
jmp 0x18006a340
xor al, al
jmp 0x18006a347
mov r14d, dword [rsp + 0x4f8]
test r14d, r14d
je 0x18006a343
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindow]
mov rsi, rax
test rax, rax
je 0x18006a343
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x18006a320
mov edx, 4
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
jne 0x18006a320
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp r14d, dword [rsp + 0x40]
jne 0x18006a320
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x18006a1a0
cmp rax, 1
jae 0x18006a1d5
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbp + rax*2], 0
jne 0x18006a1c0
cmp rax, 1
jb 0x18006a0ff
xor edx, edx
lea rcx, [rsp + 0x260]
mov r8d, 0x208
call fcn.180095d50
mov r8d, 0x104
lea rdx, [rsp + 0x260]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClassNameW]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.180095d50
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x260]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18006a236
cmp rax, 1
jbe 0x18006a2cc
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18006a256
cmp rax, 1
jbe 0x18006a2cc
mov rdx, rbx
lea rcx, [rsp + 0x260]
call fcn.180096278
mov rdx, rbp
lea rcx, [rsp + 0x50]
mov rdi, rax
call fcn.180096278
mov rdx, rax
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x18006a290
cmp rcx, 1
jb 0x18006a2a9
test rdi, rdi
jne 0x18006a0ff
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], 0
jne 0x18006a2b0
cmp rax, 1
jb 0x18006a2ca
test rdx, rdx
jne 0x18006a0ff
xor edi, edi
mov edx, 5
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
je 0x18006a320
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x18006a2e6
test rcx, rcx
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x30], r15b
mov r9, rbx
cmove r9, rdi
mov byte [rsp + 0x28], r15b
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rax
mov rcx, r13
call fcn.1800698d0
test eax, eax
jne 0x18006a33c
mov edx, 2
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
mov rsi, rax
test rax, rax
jne 0x18006a150
jmp 0x18006a343
mov dword [r12], eax
mov r15b, 1
movzx eax, r15b
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180093c30
add rsp, 0x488
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret