Function at 0x77dd60
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 [0x007f71c8], 0
jne 0x77e1d2
mov rcx, qword [0x004c60b8]
mov dl, 1
call fcn.00503650
mov qword [0x007f71c8], rax
lea rcx, [0x007f7170]
mov rdx, qword [0x007e8000]
call fcn.004197a0
mov rax, qword [0x007e8e40]
mov rcx, qword [rax]
call fcn.006b4c10
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e338]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e370]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e398]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e3b8]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e3d0]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e3f4]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e428]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e454]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e484]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e4b0]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e4d4]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e504]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e524]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e544]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e558]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e588]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e5a8]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e5c4]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e5fc]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e620]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e644]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e660]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e680]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e6a4]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e6c4]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e6e4]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e704]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e724]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e758]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e77c]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e79c]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e7bc]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e7dc]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e808]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e83c]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e85c]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e87c]
mov rax, qword [0x007f71c8]
mov rax, qword [rax]
call qword [rax + 0x78]
mov rcx, qword [0x007f71c8]
lea rdx, [0x0077e89c]
mov rax, qword [0x007f71c8]
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 [0x007f71c8]
mov rax, qword [0x007f71c8]
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 0x77e2d7
sub ebx, ecx
add ebx, 1
mov rcx, qword [0x007f71c8]
lea rdx, [rbp + 0x58]
mov r8d, dword [rbp + 0x54]
mov rax, qword [0x007f71c8]
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.00435780
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
lea r8, [0x0077e8c8]
xor r9, r9
call fcn.00780c40
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 0x77e2c8
lea rcx, [0x007f7190]
mov rdx, qword [rbp + 0x68]
call fcn.00411e70
mov byte [rbp + 0x7f], 1
jmp 0x77e2d7
add dword [rbp + 0x54], 1
sub ebx, 1
test ebx, ebx
jne 0x77e246
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