Function at 0x140099610
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x160
movaps xmmword [rsp + 0x150], xmm6
mov rax, qword [0x14010f040]
xor rax, rsp
mov qword [rsp + 0x140], rax
movaps xmm6, xmm1
mov rbp, rcx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
xorps xmm0, xmm0
xorps xmm2, xmm2
cvtsi2sd xmm2, qword [rbp + 0x108]
mov rbx, rax
cvtsi2sd xmm0, rax
subsd xmm0, qword [0x1400f69a0]
comisd xmm0, xmm2
jbe 0x140099805
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r15, rax
test rax, rax
je 0x1400997ad
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
movups xmmword [rsp + 0x20], xmm0
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400996c0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140068c30
cmp qword [0x14020d988], 0xf
lea rdx, [0x14020d970]
mov r14, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
cmova rdx, qword [0x14020d970]
cmp r14, 0xf
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x30]
cmova rcx, rdi
cmp rsi, qword [0x14020d980]
jne 0x140099721
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140099773
cmp r14, 0xf
lea rcx, [rsp + 0x20]
cmova rcx, rdi
test rsi, rsi
jne 0x140099746
mov r8, rsi
lea rdx, [0x1400e16ef]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140099773
cmp r14, 0xf
lea rcx, [rsp + 0x20]
cmova rcx, rdi
cmp rsi, 0xe
jne 0x14009976c
mov r8, rsi
lea rdx, str.Task_Switching
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140099773
mov qword [rbp + 0xf8], r15
cmp r14, 0xf
jbe 0x1400997ad
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400997a5
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400997a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400cc760
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x140099816
lea rdi, [rbp + 0x110]
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [rbp + 0x128], 0
je 0x1400997e1
mov rdx, qword [rbp + 0x120]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbp + 0x120], rax
mov byte [rbp + 0x128], 1
mov qword [rbp + 0x108], rbx
jmp 0x14009980c
lea rdi, [rbp + 0x110]
cmp qword [rbp + 0xf8], 0
jne 0x14009981d
xor eax, eax
jmp 0x14009989e
mov esi, dword [rbp + 0x118]
sub esi, dword [rdi]
mov edi, dword [rbp + 0x11c]
sub edi, dword [rbp + 0x114]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rbx, rax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea ecx, [rax + 5]
movd xmm1, ecx
lea ecx, [rax - 0xa]
movd xmm0, ecx
mov eax, esi
mov rcx, qword [rbp + 0x120]
cdq
sub eax, edx
cvtdq2ps xmm0, xmm0
sar eax, 1
cvtdq2ps xmm1, xmm1
lea edx, [rax - 1]
mulss xmm0, xmm6
subss xmm1, xmm0
cvttss2si r8d, xmm1
call qword [sym.imp.GDI32.dll_GetPixel]
mov edi, eax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov eax, edi
divsd xmm0, qword [0x1400f69a8]
movsd qword [rbp + 0x100], xmm0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400cc3e0
mov rbx, qword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret