Function at 0x411670
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
sub rsp, 0x98
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rdi
mov rbx, rcx
xor eax, eax
mov byte [r11 + 0x10], al
lea r9, [r11 + 0x10]
xor r8d, r8d
mov edx, 0x400
lea rcx, [r11 - 0x68]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_unsigned_long_long_unsigned___int64___char__class_std::allocator_char__const____ptr64____ptr64]
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_char____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rdx, rax
mov r8d, dword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
jne 0x4116e6
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
jmp 0x4117ed
movsxd rdx, eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, str.ApplicationFrameWindow
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__char_const____ptr64_]
test al, al
je 0x41171a
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
jmp 0x4117ed
xor eax, eax
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x400
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_long_long_unsigned___int64___unsigned_short_int__class_std::allocator_unsigned_short_int__const____ptr64____ptr64]
nop
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcp60.dll_public:_unsigned_short_int____ptr64___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rdx, rax
mov r8d, dword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
movsxd rdx, eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::resize_unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.0042ab90
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbx + 0x60]
call qword [sym.imp.msvcp60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
test al, al
je 0x4117ad
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
jmp 0x4117ed
lea rdx, [rsp + 0x70]
lea rcx, [rbx + 0x60]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.00410d40
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov rbx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
add rsp, 0x98
ret