Function at 0x7ff65ed3f490
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x100
mov rax, qword [str.e41k2]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r15, rcx
mov qword [rsp + 0x48], rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r14, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [rax + 1]
movsxd rcx, edi
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.7ff65efe0c28
mov rsi, rax
mov r8d, edi
mov rdx, rax
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, 0x820
call fcn.7ff65efe0c28
mov rdi, rax
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x7ff65ed3f55e
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, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], r14w
mov r8, rbx
inc r8
cmp word [rsi + r8*2], r14w
jne 0x7ff65ed3f583
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.7ff65ec85900
nop
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x7ff65ed3f5b4
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.7ff65ec85900
nop
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae r8, qword [rsp + 0x70]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, dword [rsp + 0x80]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], 0xf
mov byte [rsp + 0xb0], 0
mov rdx, rbx
xor r8d, r8d
lea rcx, [rsp + 0xb0]
call fcn.7ff65eca3590
lea rax, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0x10
cmovae rax, qword [rsp + 0xb0]
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae r8, qword [rsp + 0x70]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x80]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov qword [rsp + 0x90], r14
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
mov rdx, rbx
xor r8d, r8d
lea rcx, [rsp + 0x90]
call fcn.7ff65eca3590
lea rax, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rax, qword [rsp + 0x90]
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
mov r8d, 3
lea rdx, [0x7ff65f151380]
lea rcx, [rsp + 0x90]
call fcn.7ff65eca1170
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xe0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xd0]
mov rcx, r15
call fcn.7ff65ecc1740
nop
mov rdx, qword [rsp + 0xe8]
cmp rdx, 0x10
jb 0x7ff65ed3f7fc
inc rdx
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65ed3f7f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff65ed3f9fd
call fcn.7ff65efe070c
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x7ff65ed3f83f
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65ed3f83a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff65ed3fa03
call fcn.7ff65efe070c
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x7ff65ed3f89e
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65ed3f899
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff65ed3fa09
call fcn.7ff65efe070c
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], 0xf
mov byte [rsp + 0xb0], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x7ff65ed3f8fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65ed3f8f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff65ed3fa0f
call fcn.7ff65efe070c
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x7ff65ed3f955
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65ed3f950
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff65ed3fa15
call fcn.7ff65efe070c
mov rax, r15
jmp 0x7ff65ed3f9d4
movzx eax, byte [0x7ff65f42f777]
test al, al
je 0x7ff65ed3f9be
xor byte [0x7ff65f42f770], 0x2e
xor byte [0x7ff65f42f771], 0x2e
xor byte [0x7ff65f42f772], 0x2e
xor byte [0x7ff65f42f773], 0x2e
xor byte [0x7ff65f42f774], 0x2e
xor byte [0x7ff65f42f775], 0x2e
xor byte [0x7ff65f42f776], 0x2e
xor al, 0x2e
mov byte [0x7ff65f42f777], al
lea rdx, [0x7ff65f42f770]
mov rcx, qword [rsp + 0x48]
call fcn.7ff65ec858c0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.7ff65efe06b0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.7ff65efe777c
nop
call fcn.7ff65efe777c
nop
call fcn.7ff65efe777c
nop
call fcn.7ff65efe777c
nop
call fcn.7ff65efe777c
nop
lea rcx, [0x7ff65f42f720]
call fcn.7ff65efe08c8
cmp dword [0x7ff65f42f720], 0xffffffff
jne 0x7ff65ed3f97a
mov dword [0x7ff65f42f770], 0x4045407b
mov dword [0x7ff65f42f774], 0x2e405941
lea rcx, [0x7ff65f019e80]
call fcn.7ff65efe0c10
lea rcx, [0x7ff65f42f720]
call fcn.7ff65efe0868
nop
jmp 0x7ff65ed3f97a