Function at 0x18009aef0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0xc30
mov rax, qword [0x1801dc960]
xor rax, rsp
mov qword [rsp + 0xc20], rax
mov rbp, rdx
mov edi, ecx
lea rdx, [sym.vrvhook64.dll_MySetClipboardData]
lea rcx, [0x18028d500]
call fcn.18000dae0
mov rbx, rax
test rax, rax
je 0x18009b1c5
mov rcx, rax
mov qword [rsp + 0xc60], rsi
call fcn.18000d7e0
cmp dword [0x18025caa4], 0
mov rsi, rax
je 0x18009af59
mov rcx, rbx
call fcn.180083ad0
test eax, eax
je 0x18009af65
mov rdx, rbp
mov ecx, edi
call rsi
jmp 0x18009b1bd
cmp dword [0x180222478], 0
mov qword [rsp + 0xc68], r12
je 0x18009b1ae
cmp edi, 0xd
je 0x18009af92
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x18009b1ae
call qword [sym.imp.USER32.dll_CountClipboardFormats]
mov ecx, dword [0x1801b1454]
cmp ecx, 0xffffffff
je 0x18009afab
cmp eax, ecx
jg 0x18009b1ae
lea rcx, [rsp + 0xe1]
xor edx, edx
mov r8d, 0x103
mov dword [0x1801b1454], eax
mov byte [rsp + 0xe0], 0
call fcn.1800f4fb0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x18009afed
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rax
lea rdx, [rsp + 0xe0]
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rcx, [rsp + 0x1f1]
xor edx, edx
mov r8d, 0xa27
mov byte [rsp + 0x1f0], 0
call fcn.1800f4fb0
lea r11, [rsp + 0xe0]
lea rax, [0x180259780]
mov qword [rsp + 0x28], r11
lea r9, str.TEXT
lea rdx, str.Mode_d_r_nDataType_s_r_nEXE_s_r_nWinF_s
lea rcx, [rsp + 0x1f0]
mov r8d, 1
mov qword [rsp + 0x20], rax
call fcn.1800f509c
xor eax, eax
xor r12d, r12d
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], r12
mov word [rsp + 0x48], r12w
mov qword [rsp + 0x4a], rax
mov dword [rsp + 0x52], eax
mov word [rsp + 0x56], ax
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rcx, [rsp + 0x40]
call fcn.1800f9d24
lea rcx, [rsp + 0x40]
call fcn.1800f9cd8
lea r8d, [r12 + 0x7f]
lea rcx, [rsp + 0x61]
xor edx, edx
mov byte [rsp + 0x60], r12b
mov rbx, rax
call fcn.1800f4fb0
lea r8, str._Y__m__d__H:_M:_S
lea rcx, [rsp + 0x60]
mov r9, rbx
mov edx, 0x80
call fcn.1800fb704
lea r11, [0x1802633f0]
lea r8, [rsp + 0x1f0]
mov rax, r11
sub r8, r11
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18009b0f3
inc rax
test ecx, ecx
jne 0x18009b0e0
lea r9, [0x180263e20]
test edx, edx
jne 0x18009b12b
lea r8, [rsp + 0x60]
mov rax, r9
sub r8, r9
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18009b123
inc rax
test ecx, ecx
jne 0x18009b110
test edx, edx
je 0x18009b1ae
mov rcx, r12
nop
movzx eax, byte [rsp + rcx + 0x60]
inc rcx
mov byte [rcx + r9 - 1], al
test al, al
jne 0x18009b130
mov rcx, r12
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x1f0]
inc rcx
mov byte [rcx + r11 - 1], al
test al, al
jne 0x18009b150
lea r8, [rsp + 0x1f0]
lea rcx, str.line:_d__MySetClipboardData
mov edx, 0x615a
call fcn.18005cd20
mov dword [rsp + 0x38], 3
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x30], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0xe
call fcn.18008e860
mov rdx, rbp
mov ecx, edi
call rsi
mov r12, qword [rsp + 0xc68]
mov rsi, qword [rsp + 0xc60]
mov rcx, qword [rsp + 0xc20]
xor rcx, rsp
call fcn.1800f4f80
add rsp, 0xc30
pop rdi
pop rbp
pop rbx
ret