Function at 0x14007d8c0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x100
mov rax, qword [0x140391620]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [rax + 1]
movsxd rcx, ebx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1402559ac
mov r14, rax
mov r8d, ebx
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, 0x820
call fcn.1402559ac
mov rdi, rax
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14007d990
mov dword [rsp + 0x44], 0x410
lea r9, [rsp + 0x44]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, r14
lea rcx, [rsp + 0xb0]
call fcn.1400493a0
nop
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.1400493a0
nop
lea r8, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 8
cmovae r8, qword [rsp + 0xb0]
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, dword [rsp + 0xc0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], 0xf
mov byte [rsp + 0x70], dil
mov rdx, rbx
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.14004c840
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rax, qword [rsp + 0x70]
lea r8, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 8
cmovae r8, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xc0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
lea r8, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r8, qword [rsp + 0x90]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, dword [rsp + 0xa0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], dil
mov rdx, rbx
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.14004c840
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rax, qword [rsp + 0x50]
lea r8, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r8, qword [rsp + 0x90]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x14007db8e
lea rax, [rcx + 3]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x50]
add rbx, rcx
lea r8d, [rdi + 3]
lea rdx, [0x14033af48]
mov rcx, rbx
call fcn.140257930
mov byte [rbx + 3], dil
lea rax, [rsp + 0x50]
jmp 0x14007dbaf
mov qword [rsp + 0x20], 3
lea r9, [0x14033af48]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x50]
call fcn.140013450
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xe0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0xd0]
mov rcx, rsi
call fcn.140057e90
nop
mov rdx, qword [rsp + 0xe8]
cmp rdx, 0x10
jb 0x14007dc2f
inc rdx
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007dc29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ddea
call fcn.1402550ac
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14007dc6c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007dc67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ddf0
call fcn.1402550ac
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x14007dcbf
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007dcba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ddf6
call fcn.1402550ac
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0xa8]
cmp rdx, 8
jb 0x14007dd20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007dd1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ddfc
call fcn.1402550ac
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], 7
mov word [rsp + 0x90], di
mov rdx, qword [rsp + 0xc8]
cmp rdx, 8
jb 0x14007dd84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007dd7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007de02
call fcn.1402550ac
mov rax, rsi
jmp 0x14007ddc0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140255050
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.140260990
nop
call fcn.140260990
nop
call fcn.140260990
nop
call fcn.140260990
nop
call fcn.140260990
int3