Function at 0x140019000
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
movzx r14d, r8b
movzx r15d, dl
mov rbx, rcx
xor r13b, r13b
mov eax, dword [rcx + 0xd0]
cmp eax, 2
je 0x14001914c
cmp eax, 1
je 0x140019090
mov r8d, 0x104
lea rdx, [rbp - 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [0x14009df18]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140019142
mov dword [rbx + 0xd0], 1
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [rbp - 0x80]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetWindowRect]
dec dword [rbp - 0x78]
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call fcn.140058460
mov ecx, dword [rbp - 0x78]
inc ecx
movsd xmm2, qword [0x14009dfc0]
test eax, eax
je 0x1400190dd
mov eax, eax
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
divsd xmm2, qword [0x14009dfe0]
movaps xmm0, xmm2
mulsd xmm0, qword [0x14009dfd8]
cvttsd2si rax, xmm0
mov dword [rbx + 0xdc], eax
movaps xmm1, xmm2
mulsd xmm1, qword [0x14009dfd0]
cvttsd2si rax, xmm1
mov dword [rbx + 0xe0], eax
movaps xmm0, xmm2
mulsd xmm0, qword [0x14009dfc8]
cvttsd2si rax, xmm0
mov dword [rbx + 0xd4], eax
mulsd xmm2, qword [0x14009dfe8]
cvttsd2si rax, xmm2
mov dword [rbx + 0xd8], eax
sub ecx, dword [rbp - 0x80]
mov dword [rbx + 0xbc], ecx
mov al, 1
jmp 0x140019616
mov dword [rbx + 0xd0], 2
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rsp + 0x78]
sub ecx, dword [rsp + 0x70]
lea rsi, [rbx + 0xc0]
mov rdx, qword [rsi]
mov rax, qword [rdx + 8]
mov rdi, rdx
cmp byte [rax + 0x19], r13b
jne 0x140019199
cmp dword [rax + 0x1c], ecx
jae 0x14001918d
mov rax, qword [rax + 0x10]
jmp 0x140019193
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r13b
je 0x140019182
cmp byte [rdi + 0x19], r13b
jne 0x1400191c2
cmp ecx, dword [rdi + 0x1c]
jb 0x1400191c2
cmp rdi, rdx
je 0x1400191c2
test r15b, r15b
je 0x140019386
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140017b40
mov rdi, qword [0x1400cf0c8]
test rdi, rdi
je 0x140019612
test r14b, r14b
je 0x1400191e2
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x140019215
mov qword [rsp + 0x20], rdi
lea r9, [0x1400a27e8]
xor edx, edx
lea r8d, [rcx + 1]
lea rcx, [0x1400a27f8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140019612
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov rdx, qword [rbx]
call qword [rax + 0x30]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x14001925d
lea ecx, [rdx + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov rdx, qword [rbx]
call qword [rax + 0x30]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140019612
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov r9d, dword [rsp + 0x78]
sub r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + 0x74]
mov rcx, qword [rdi]
call fcn.140019ca0
movabs r15, 0x6666666666666667
test r14b, r14b
je 0x1400192ec
mov rcx, qword [rsp + 0x48]
sub rcx, qword [rsp + 0x40]
mov rax, r15
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1400192ec
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, dword [rsp + 0x78]
sub r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.140019ca0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x60]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp - 0x58]
sub ecx, dword [rbp - 0x60]
mov eax, dword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
sub eax, edx
cmp ecx, eax
jne 0x1400195aa
mov dword [rbp - 0x80], 0xc350
mov ecx, dword [rsp + 0x74]
lea edi, [rcx + 0x14]
lea eax, [rdx + 0x14]
mov dword [rbp - 0x7c], edx
mov dword [rbp - 0x78], ecx
mov dword [rbp - 0x74], eax
mov dword [rbp - 0x70], edi
mov edx, 0xffffffec
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
shr rax, 0x16
and al, 1
je 0x140019359
mov ecx, dword [rsp + 0x78]
lea eax, [rcx - 0x14]
mov dword [rbp - 0x7c], eax
mov dword [rbp - 0x74], ecx
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x50]
je 0x140019440
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], edi
mov r10, qword [rsp + 0x48]
add r10, 0x14
mov qword [rsp + 0x48], r10
jmp 0x140019453
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call fcn.140058460
movsd xmm2, qword [0x14009dfc0]
test eax, eax
je 0x1400193c2
mov ecx, dword [rdi + 0x20]
test ecx, ecx
je 0x1400193c2
mov eax, eax
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm2, xmm0
mov eax, dword [rdi + 0x2c]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm2
cvttsd2si rcx, xmm0
mov dword [rbx + 0xdc], ecx
mov eax, dword [rdi + 0x30]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm2
cvttsd2si rax, xmm0
mov dword [rbx + 0xe0], eax
movd xmm1, dword [rdi + 0x24]
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
cvttsd2si rax, xmm1
mov dword [rbx + 0xd4], eax
mov eax, dword [rdi + 0x28]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm2
cvttsd2si rax, xmm0
mov dword [rbx + 0xd8], eax
mov eax, dword [rsp + 0x78]
sub eax, dword [rsp + 0x70]
mov dword [rbx + 0xbc], eax
test ecx, ecx
setne al
jmp 0x140019616
lea r8, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140016d70
mov r10, qword [rsp + 0x48]
mov r8, r10
mov rcx, qword [rsp + 0x40]
sub r8, rcx
mov rax, r15
imul r8
sar rdx, 3
mov r8, rdx
shr r8, 0x3f
add r8, rdx
lea r9, [0x14001b070]
mov rdx, r10
call fcn.1400176b0
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1400187c0
movzx r13d, al
mov ecx, dword [rsp + 0x78]
sub ecx, dword [rsp + 0x70]
mov dword [rbx + 0xbc], ecx
mov edi, r12d
mov r14d, r12d
mov r15d, r12d
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.140058460
test r13b, r13b
je 0x1400194e1
mov r15d, dword [rbx + 0xdc]
mov r12d, dword [rbx + 0xe0]
mov edi, dword [rbx + 0xd4]
mov r14d, dword [rbx + 0xd8]
mov ebx, dword [rbx + 0xbc]
mov dword [rbp - 0x4c], eax
mov dword [rbp - 0x48], edi
mov dword [rbp - 0x44], r14d
mov dword [rbp - 0x40], r15d
mov rdi, qword [rsi]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x58], rax
xor edx, edx
mov dword [rsp + 0x60], edx
mov rcx, rdi
cmp byte [rax + 0x19], dl
jne 0x140019537
nop
mov qword [rsp + 0x58], rax
cmp dword [rax + 0x1c], ebx
jae 0x140019524
mov dword [rsp + 0x60], edx
mov rax, qword [rax + 0x10]
jmp 0x140019532
mov dword [rsp + 0x60], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dl
je 0x140019510
cmp byte [rcx + 0x19], dl
jne 0x140019541
cmp ebx, dword [rcx + 0x1c]
jae 0x1400195a0
movabs rax, 0x492492492492492
cmp qword [rsi + 8], rax
je 0x14001964c
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rdx
mov ecx, 0x38
call fcn.14006ec1c
nop
mov dword [rax + 0x1c], ebx
movups xmm0, xmmword [rbp - 0x4c]
movups xmmword [rax + 0x20], xmm0
mov dword [rax + 0x30], r12d
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rbp - 0x80], xmm0
mov r8, rax
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.14001a710
movabs r15, 0x6666666666666667
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400195bb
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x140019612
mov rcx, qword [rsp + 0x50]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 2
mov rax, r8
cmp rdx, 0x1000
jb 0x14001960a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019646
mov rcx, r8
call fcn.14006ec58
movzx eax, r13b
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14006ed70
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007576c
nop
call fcn.14001aa50
nop
int3