Function at 0x7aaca0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x58], 0
nop
cmp qword [0x00827208], 0
jne 0x7ab112
mov rcx, qword [0x004c6398]
mov dl, 1
call fcn.00503950
mov qword [0x00827208], rax
lea rcx, [0x008271b0]
mov rdx, qword [0x00818510]
call fcn.004197a0
mov rax, qword [0x008193a8]
mov rcx, qword [rax]
call fcn.006db840
mov rcx, qword [0x00827208]
lea rdx, [0x007ab278]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab2b0]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab2d8]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab2f8]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab310]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab334]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab368]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab394]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab3c4]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab3f0]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab414]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab444]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab464]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab484]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab498]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab4c8]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab4e8]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab504]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab53c]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab560]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab584]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab5a0]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab5c0]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab5e4]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab604]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab624]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab644]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab664]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab698]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab6bc]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab6dc]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab6fc]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab71c]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab748]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab77c]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab79c]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab7bc]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x00827208]
lea rdx, [0x007ab7dc]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x78]
call sub.user32.dll_GetForegroundWindow
mov qword [rbp + 0x70], rax
mov rcx, qword [rbp + 0x70]
call sub.user32.dll_GetWindowTextLengthW
add eax, 1
add eax, eax
mov dword [rbp + 0x64], eax
movsxd rcx, dword [rbp + 0x64]
call fcn.004092c0
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
movsxd rdx, dword [rbp + 0x64]
xor r8, r8
call fcn.0040c180
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
mov r8d, dword [rbp + 0x64]
call sub.user32.dll_GetWindowTextW
mov rcx, qword [0x00827208]
mov rax, qword [0x00827208]
mov rax, qword [rax]
call qword [rax + 0x28]
xor ecx, ecx
mov ebx, eax
sub ebx, 1
mov dword [rbp + 0x54], ecx
cmp dword [rbp + 0x54], ebx
jg 0x7ab217
sub ebx, ecx
add ebx, 1
mov rcx, qword [0x00827208]
lea rdx, [rbp + 0x58]
mov r8d, dword [rbp + 0x54]
mov rax, qword [0x00827208]
mov rsi, qword [rax]
call qword [rsi + 0x18]
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x68]
call fcn.00411e70
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
call fcn.00435860
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
lea r8, [0x007ab808]
xor r9, r9
call fcn.007adb80
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x48]
mov r8d, 1
call fcn.00412630
test eax, eax
jle 0x7ab208
lea rcx, [0x008271d0]
mov rdx, qword [rbp + 0x68]
call fcn.00411e70
mov byte [rbp + 0x7f], 1
jmp 0x7ab217
add dword [rbp + 0x54], 1
sub ebx, 1
test ebx, ebx
jne 0x7ab186
nop
nop
lea rcx, [rbp + 0x28]
mov edx, 3
call fcn.00410600
lea rcx, [rbp + 0x58]
call fcn.00410520
movzx rax, byte [rbp + 0x7f]
lea rsp, [rbp + 0x80]
pop rbx
pop rsi
pop rbp
ret