Function at 0x1400011a0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetTopWindow]
mov rbp, rax
test rax, rax
je 0x140001385
movabs r15, 0x7fffffffffffffff
nop dword [rax + rax]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x14000136b
xorps xmm0, xmm0
inc eax
movsxd rbx, eax
movdqu xmmword [rsp + 0x20], xmm0
xor esi, esi
mov qword [rsp + 0x30], rsi
test eax, eax
je 0x140001291
cmp rbx, r15
ja 0x1400013b2
add rbx, rbx
cmp rbx, 0x1000
jb 0x140001258
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1400013b8
call fcn.1400019f0
test rax, rax
je 0x1400013ab
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000126c
test rbx, rbx
je 0x14000126a
mov rcx, rbx
call fcn.1400019f0
mov rdi, rax
jmp 0x14000126c
xor edi, edi
mov qword [rsp + 0x20], rdi
lea rsi, [rbx + rdi]
mov qword [rsp + 0x30], rsi
mov r8, rbx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rax, rsi
mov qword [rsp + 0x28], rax
jmp 0x14000129b
mov rax, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
sub rax, rdi
sar rax, 1
mov r8d, eax
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor ebx, ebx
mov rdx, qword [r14 + rbx*8]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x1400012cf
inc rbx
cmp rbx, 0xd
jb 0x1400012b2
jmp 0x140001331
lea rdx, str.Rainbow_Wonderland___v3.03
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
je 0x140001301
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001560
mov rcx, rax
lea rdx, [0x140001730]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x140001331
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001770
mov rcx, rax
mov edx, ebx
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 rcx, rax
lea rdx, [0x140001920]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
test rdi, rdi
je 0x14000136b
sub rsi, rdi
sar rsi, 1
add rsi, rsi
mov rax, rdi
cmp rsi, 0x1000
jb 0x140001360
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400013ab
mov rdx, rsi
mov rcx, rdi
call fcn.140001a2c
mov edx, 2
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindow]
mov rbp, rax
test rax, rax
jne 0x1400011f0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400019d0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400019a0
int3
call fcn.140001100
int3