Function at 0x14007aab0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
xor r14d, r14d
mov ebx, r14d
mov dword [rbp + 0x198], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetTopWindow]
mov rdi, rax
test rax, rax
je 0x14007ad41
lea r12, [0x1403c36e8]
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea r13, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
nop dword [rax]
mov r8d, 0x100
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x14007ad27
mov qword [rsp + 0x60], r12
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or ebx, 1
mov dword [rbp + 0x198], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rsp + 0x68], r13
mov qword [rbp - 0x30], r14
mov dword [rbp - 0x28], 4
lea rdx, [0x1403c40d0]
lea rcx, [rsp + 0x60]
call fcn.14008b390
mov edx, esi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov word [rbp + 0x190], 0x29
mov byte [rbp + 0x192], 0
lea rdx, [rbp + 0x190]
mov rcx, rax
call fcn.14008b390
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov r9d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], r9
mov byte [rsp + 0x20], 0
or ebx, 4
mov dword [rbp + 0x198], ebx
movups xmmword [rsp + 0x40], xmm0
mov ecx, dword [rbp - 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14007ac2a
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x14007ac2a
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x14007ac5b
test cl, 4
jne 0x14007ac51
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007ac51
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x14007ac5b
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14007ac6f
lea rcx, [rsp + 0x20]
call fcn.1400449b0
mov r9, qword [rsp + 0x38]
and ebx, 0xfffffffb
or ebx, 2
lea rdx, [rsp + 0x20]
cmp r9, 0xf
cmova rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rdx, qword [rsp + 0x38]
test rax, rax
jne 0x14007ad5e
cmp rdx, 0xf
jbe 0x14007acd4
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007accf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ad8d
call fcn.140108b5c
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140068f30
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
test rax, rax
jne 0x14007ab10
xor al, al
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp rdx, 0xf
jbe 0x14007ad99
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ad94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ad94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140108b5c
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140068f30
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov al, 1
jmp 0x14007ad43