Function at 0x4113d0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
sub rsp, 0xb8
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x24], edi
xor eax, eax
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x400
lea rcx, [rsp + 0x28]
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 rbp, rax
xor edx, edx
lea rcx, [rsp + 0x28]
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 + 0x38]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
jne 0x411459
lea rcx, [rsp + 0x28]
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 0x4115aa
movsxd rdx, eax
lea rcx, [rsp + 0x28]
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]
cmp qword [rsp + 0x38], 0x10
jb 0x4114ad
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x28]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64]
nop
mov edi, 1
mov dword [rsp + 0x24], edi
lea rdx, str.Chrome_WidgetWin
mov rcx, rax
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
jne 0x4114ad
xor bl, bl
jmp 0x4114af
mov bl, 1
test dil, 1
je 0x4114c3
lea rcx, [rsp + 0x90]
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]
test bl, bl
je 0x4114d7
lea rcx, [rsp + 0x28]
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 0x4115aa
xor eax, eax
mov byte [rsp + 0x21], al
lea r9, [rsp + 0x21]
xor r8d, r8d
mov edx, 0x400
lea rcx, [rsp + 0x48]
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 + 0x48]
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 + 0x58]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
movsxd rdx, eax
lea rcx, [rsp + 0x48]
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 + 0x48]
lea rcx, [rsp + 0x68]
call fcn.0042ab90
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsi + 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 0x41156a
lea rcx, [rsp + 0x68]
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 + 0x48]
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 + 0x28]
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 0x4115aa
lea rdx, [rsp + 0x68]
lea rcx, [rsi + 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 + 0x68]
mov rcx, rsi
call fcn.00410d40
nop
lea rcx, [rsp + 0x68]
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 + 0x48]
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 + 0x28]
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 + 0xc0]
mov rbp, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xd8]
add rsp, 0xb8
ret