Function at 0x18009d580
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x208]
sub rsp, 0x300
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1018
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18009d958
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x78], xmm1
xor esi, esi
mov word [rsp + 0x78], si
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], si
jne 0x18009d630
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x78]
call fcn.180005cd0
nop
lea rdx, [rdi + 0x118]
lea r8, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.180160610
mov rbx, rax
lea rax, [rsp + 0x78]
cmp rax, rbx
je 0x18009d694
lea rcx, [rsp + 0x78]
call fcn.180005c50
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x18009d6d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009d6d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009d6d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], si
lea rbx, [rdi + 0x210]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18009d6fc
mov rcx, qword [rbx]
lea r9, [rsp + 0x78]
mov r8, qword [rsp + 0x78]
mov r10, qword [rbp - 0x70]
cmp r10, 8
cmovae r9, r8
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbx + 0x10]
jne 0x18009d749
test rdx, rdx
je 0x18009d908
sub r9, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x18009d749
add rcx, 2
sub rdx, 1
jne 0x18009d730
jmp 0x18009d908
lea rdx, [rsp + 0x78]
cmp r10, 8
cmovae rdx, r8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x58], xmm1
mov word [rbp - 0x68], si
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x18009d780
lea rcx, [rbp - 0x68]
call fcn.180005cd0
nop
cmp qword [rbx + 0x18], 8
jb 0x18009d79f
mov rbx, qword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x38], xmm1
mov word [rbp - 0x48], si
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x18009d7c0
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.180005cd0
nop
mov rcx, qword [rdi + 0x1f0]
mov rax, qword [rcx]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x48]
call qword [rax + 0x90]
test eax, eax
sete bl
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x18009d838
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009d833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009d833
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], si
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x18009d88c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009d887
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009d887
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], si
test bl, bl
je 0x18009d8ff
mov eax, dword [rdi + 0x1d0]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rsi
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x104c
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi + 0x1d0], 0xffffffff
mov r8, qword [rsp + 0x78]
mov r10, qword [rbp - 0x70]
cmp r10, 8
jb 0x18009d946
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x18009d93e
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009d93e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], si
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret