Function at 0x1800610b0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1800d7030]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov qword [rsp + 0x30], rdx
xor esi, esi
call fcn.180060ff0
mov dword [0x1801f3080], eax
test eax, eax
jne 0x180061138
mov eax, 1
mov word [0x1801f30c8], ax
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x18009ec78]
mov rcx, rdi
call fcn.180003170
nop
lea rcx, [rdi + 0x20]
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x18009ec78]
call fcn.180003170
nop
jmp 0x1800611da
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetTopWindow]
mov rbx, rax
test rax, rax
je 0x1800611a2
mov r14d, 2
nop
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x18006118e
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [0x180229bec], eax
test eax, eax
je 0x18006118e
lea rdx, [0x180229bf0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0x1801f3080]
cmp dword [0x180229bf0], eax
je 0x1800611ff
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
test rax, rax
jne 0x180061150
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov qword [rdi + 0x20], rsi
mov qword [rdi + 0x30], rsi
mov qword [rdi + 0x38], 0xf
mov byte [rdi + 0x20], 0
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180096080
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov r8d, dword [0x180229bec]
inc r8d
lea rbp, [0x180229e60]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [r8 + rbp], sil
jne 0x180061235
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.180003170
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
setae r10b
mov r9, qword [rsp + 0x40]
cmovae rcx, r9
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x18006136e
lea rax, [rdx - 1]
cmp rax, 0xffffffffffffffff
cmovb rbx, rax
add rbx, rcx
cmp byte [rbx], 0x2d
je 0x180061297
cmp rbx, rcx
je 0x18006136e
dec rbx
cmp byte [rbx], 0x2d
jne 0x180061286
sub rbx, rcx
cmp rbx, 0xffffffffffffffff
je 0x18006136e
mov eax, 3
mov word [0x1801f30c8], ax
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
lea r8, [rbx - 1]
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rsp + 0x40]
test r10b, r10b
cmovne rdx, r9
mov rcx, rdi
call fcn.180003170
nop
mov r8, qword [rsp + 0x50]
add rbx, 2
lea rcx, [rdi + 0x20]
mov qword [rsp + 0x28], rcx
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
cmp r8, rbx
jb 0x1800613f6
mov rax, r8
sub rax, rbx
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
add rdx, rbx
call fcn.180003170
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1800611da
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180061364
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800613ef
call fcn.180096610
jmp 0x1800611da
mov word [0x1801f30c8], r14w
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x18009ec78]
mov rcx, rdi
call fcn.180003170
nop
lea rcx, [rdi + 0x20]
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x18009ec78]
call fcn.180003170
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1800611da
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180061364
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180061364
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180004060
int3