Function at 0x1401f9f50
Capabilities:
Get graphical window text

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x280
xor r14d, r14d
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x18], r14
jne 0x1401f9f88
mov rcx, qword [rcx + 0x28]
lea rdx, [0x140286ae1]
call qword [sym.imp.USER32.dll_SetWindowTextA]
add rsp, 0x280
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x2b0], rbp
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rcx, qword [rsp + 0x2a0]
mov r9d, 0xffffffff
mov r8, qword [rsi + 0x18]
movabs r10, 0xe5109ec205d7bea7
cmp rcx, r8
jbe 0x1401fa003
mov rdx, rcx
mov rax, r10
sub rdx, r8
mul rdx
mov rbx, rdx
shr rbx, 0x1d
mov rax, rbx
shr rax, 0x20
test eax, eax
je 0x1401f9ffa
mov ebx, r9d
jmp 0x1401f9ffe
test ebx, ebx
je 0x1401fa003
cmp rcx, r8
jae 0x1401fa00b
mov ebx, 1
cmp rcx, r8
ja 0x1401fa012
mov edx, r14d
jmp 0x1401fa02c
sub rcx, r8
mov rax, r10
mul rcx
shr rdx, 0x1d
mov rax, rdx
shr rax, 0x20
test eax, eax
cmovne edx, r9d
cmp edx, dword [rdi + 0x78]
jb 0x1401fa040
cmp dword [rsi + 0x38], r14d
jne 0x1401fa050
mov dword [rsi + 0x38], 1
jmp 0x1401fa04a
cmp dword [rsi + 0x38], r14d
je 0x1401fa050
mov dword [rsi + 0x38], r14d
mov r14d, 1
mov r8, qword [rdi + 0x20]
cmp byte [r8], 0
je 0x1401fa07f
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.140253604
lea r8, [0x1402860c8]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402504d8
cmp ebx, 0x3c
jb 0x1401fa0ec
mov eax, 0x88888889
mul ebx
shr edx, 5
mov ebx, edx
cmp edx, 0x18
jb 0x1401fa0db
mov eax, 0xaaaaaaab
mul ebx
shr edx, 4
mov ebx, edx
cmp edx, 0x16d
jb 0x1401fa0ca
mov eax, 0x6719f361
mul ebx
sub ebx, edx
shr ebx, 1
add ebx, edx
shr ebx, 8
cmp ebx, 1
jbe 0x1401fa0c4
mov rbp, qword [rdi + 0x60]
jmp 0x1401fa0fb
mov rbp, qword [rdi + 0x58]
jmp 0x1401fa0fb
cmp ebx, 1
jbe 0x1401fa0d5
mov rbp, qword [rdi + 0x50]
jmp 0x1401fa0fb
mov rbp, qword [rdi + 0x48]
jmp 0x1401fa0fb
cmp ebx, 1
jbe 0x1401fa0e6
mov rbp, qword [rdi + 0x40]
jmp 0x1401fa0fb
mov rbp, qword [rdi + 0x38]
jmp 0x1401fa0fb
cmp ebx, 1
jbe 0x1401fa0f7
mov rbp, qword [rdi + 0x30]
jmp 0x1401fa0fb
mov rbp, qword [rdi + 0x28]
mov r9d, ebx
lea r8, [0x1402cdf98]
mov edx, 0x23
lea rcx, [rsp + 0x30]
call fcn.14000b150
lea r8, [rsp + 0x30]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402504d8
mov r8, rbp
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.1402504d8
mov rax, qword [rdi + 0x68]
mov rbp, qword [rsp + 0x2b0]
mov rbx, qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
cmp byte [rax], 0
je 0x1401fa17c
lea r8, [0x1402860c8]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402504d8
mov r8, qword [rdi + 0x68]
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.1402504d8
xor edx, edx
lea rcx, [rsp + 0x170]
mov r8d, 0x104
call fcn.140249b10
mov rcx, qword [rsi + 0x28]
lea rdx, [rsp + 0x170]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rax, [rsp + 0x170]
lea r8, [rsp + 0x60]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1401fa1d3
inc rax
test ecx, ecx
jne 0x1401fa1c0
test edx, edx
je 0x1401fa1e8
mov rcx, qword [rsi + 0x28]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x1401fa1ed
test r14d, r14d
je 0x1401fa1fc
mov rcx, qword [rsi + 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
add rsp, 0x280
pop r14
pop rdi
pop rsi
ret