Function at 0x1800698d0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x598]
sub rsp, 0x698
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rbp + 0x580], rax
mov rbx, qword [rbp + 0x600]
mov rax, rdx
mov r15, qword [rbp + 0x618]
mov r14, rcx
mov rcx, rax
xor edx, edx
mov r12, r9
mov r13, r8
call qword [sym.imp.USER32.dll_GetWindow]
mov rsi, rax
test rax, rax
je 0x180069cce
nop
cmp byte [rbp + 0x608], 0
je 0x180069950
mov edx, 4
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
jne 0x180069cb4
movzx edi, byte [rbp + 0x610]
test dil, dil
je 0x18006996d
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x180069cb4
test r13, r13
jne 0x180069b2c
test r12, r12
jne 0x1800699ff
test r15, r15
je 0x1800699df
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r12d
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [rsp + 0x40]
xor r9d, r9d
mov r8, r15
mov rcx, r14
call fcn.1800649f0
test eax, eax
je 0x180069c72
test rbx, rbx
je 0x180069e0f
mov eax, dword [r14]
test eax, eax
jne 0x180069b0d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1800699d0
jmp 0x180069b0a
test rbx, rbx
je 0x180069e0f
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1800699f0
jmp 0x180069b0d
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x208
call fcn.180095d50
mov r8d, 0x104
lea rdx, [rbp + 0x160]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rcx, [rbp + 0x160]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180069a40
cmp rax, 1
jbe 0x180069c72
mov rdx, r12
lea rcx, [rbp + 0x160]
call fcn.180096278
test rax, rax
je 0x180069c72
test r15, r15
je 0x180069ae9
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [rsp + 0x40]
xor r9d, r9d
mov r8, r15
mov rcx, r14
call fcn.1800649f0
test eax, eax
je 0x180069c72
test rbx, rbx
je 0x180069e0f
mov eax, dword [r14]
test eax, eax
jne 0x180069acd
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x180069ac0
mov dword [r14], eax
mov rcx, rbx
cmp eax, 1
jg 0x180069b15
mov r8, rsi
lea rdx, [0x1800d03a4]
call fcn.18006b8d0
jmp 0x180069c72
test rbx, rbx
je 0x180069e0f
mov eax, dword [r14]
test eax, eax
jne 0x180069b0d
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x180069b00
mov dword [r14], eax
mov rcx, rbx
cmp eax, 1
jle 0x180069ad5
mov r9, rsi
lea rdx, str._s__d
mov r8, rbx
call fcn.18006b8d0
jmp 0x180069c72
xor edx, edx
mov r8d, 0x208
test r12, r12
je 0x180069d31
lea rcx, [rbp + 0x370]
call fcn.180095d50
mov r8d, 0x104
lea rdx, [rbp + 0x370]
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, [rbp + 0x370]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x180069b93
cmp rax, 1
jbe 0x180069c72
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x180069bb3
cmp rax, 1
jbe 0x180069c72
mov rdx, r12
lea rcx, [rbp + 0x370]
call fcn.180096278
mov rdx, r13
lea rcx, [rsp + 0x50]
mov rdi, rax
call fcn.180096278
test rdi, rdi
je 0x180069c6b
test rax, rax
je 0x180069c6b
test r15, r15
je 0x180069d07
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [rsp + 0x40]
xor r9d, r9d
mov r8, r15
mov rcx, r14
call fcn.1800649f0
test eax, eax
je 0x180069c6b
test rbx, rbx
je 0x180069e0f
mov eax, dword [r14]
test eax, eax
jne 0x180069c4d
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x180069c40
mov dword [r14], eax
mov rcx, rbx
cmp eax, 1
jle 0x180069cf3
mov r9, rsi
lea rdx, str._s__d
mov r8, rbx
call fcn.18006b8d0
movzx edi, byte [rbp + 0x610]
mov edx, 5
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
je 0x180069cb4
movzx ecx, byte [rbp + 0x608]
mov r9, r12
mov qword [rsp + 0x38], r15
mov r8, r13
mov byte [rsp + 0x30], dil
mov rdx, rax
mov byte [rsp + 0x28], cl
mov rcx, r14
mov qword [rsp + 0x20], rbx
call fcn.1800698d0
test eax, eax
jne 0x180069cce
mov edx, 2
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
mov rsi, rax
test rax, rax
jne 0x180069930
xor eax, eax
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.180093c30
add rsp, 0x698
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8, rsi
lea rdx, [0x1800d03a4]
call fcn.18006b8d0
jmp 0x180069c6b
test rbx, rbx
je 0x180069e0f
mov eax, dword [r14]
test eax, eax
jne 0x180069c4d
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x180069d22
jmp 0x180069c4a
lea rcx, [rsp + 0x50]
call fcn.180095d50
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180069d60
cmp rax, 1
jbe 0x180069c72
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.180096278
test rax, rax
je 0x180069c72
test r15, r15
je 0x180069de5
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [rsp + 0x40]
xor r9d, r9d
mov r8, r15
mov rcx, r14
call fcn.1800649f0
test eax, eax
je 0x180069c72
test rbx, rbx
je 0x180069e0f
mov eax, dword [r14]
test eax, eax
jne 0x180069b0d
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x180069dd6
jmp 0x180069b0a
test rbx, rbx
je 0x180069e0f
mov eax, dword [r14]
test eax, eax
jne 0x180069b0d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x180069e00
jmp 0x180069b0a
mov eax, esi
jmp 0x180069cd0