Function at 0x1800655f0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor esi, esi
mov rbx, r9
mov r10d, r8d
mov r11, rdx
mov rdi, rcx
cmp r8d, 0x113
ja 0x18006581f
je 0x1800657d7
cmp r8d, 7
je 0x1800657cb
cmp r8d, 0xa
je 0x180065743
cmp r8d, 0x111
jne 0x180065839
mov rdx, rbx
movzx ecx, bx
shr rdx, 0x10
sub ecx, 1
je 0x18006569a
cmp ecx, 2
jne 0x1800659d0
mov rax, qword [rdi + 0x118]
mov edx, dword [rax + 0xa4]
mov dword [rdi + 0x100], edx
mov rcx, qword [rdi + 0x10]
movsxd rbx, dword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetParent]
mov r9, qword [rsp + 0xa0]
mov r8, rbx
mov rcx, rax
mov edx, 0x111
jmp 0x1800659ca
cmp dx, 0x1b
jne 0x1800656b5
movss xmm1, dword [rdi + 0x100]
mov rcx, rdi
call fcn.18005be60
jmp 0x1800659d0
mov eax, 0x200
cmp dx, ax
je 0x1800656cd
mov eax, 0x501
cmp dx, ax
jne 0x1800659d0
mov rcx, qword [rdi + 0xe0]
lea rdx, [rsp + 0x30]
mov r8d, 0x20
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rcx, [rsp + 0x30]
call fcn.1800ac710
movss xmm2, dword [rdi + 0x108]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
comiss xmm2, xmm1
ja 0x180065706
movaps xmm1, xmm2
movss xmm0, dword [rdi + 0x104]
comiss xmm1, xmm0
ja 0x180065716
movaps xmm1, xmm0
movss xmm0, dword [rdi + 0x100]
subss xmm0, xmm1
andps xmm0, xmmword [0x1800e0d90]
comiss xmm0, dword [0x1800e0bc4]
jbe 0x1800659d0
mov rcx, rdi
call fcn.18005be60
jmp 0x180065674
mov rcx, qword [rcx + 0xe0]
test rbx, rbx
je 0x180065773
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0xe8]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 1
jmp 0x18006578c
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0xe8]
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov rcx, qword [rdi + 0xf0]
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0xf8]
test rcx, rcx
je 0x1800659d0
test rbx, rbx
je 0x1800657be
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1800659d0
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1800659d0
mov rcx, qword [rcx + 0xe0]
jmp 0x1800659b1
cmp rbx, 0x14d
jne 0x1800659d0
mov rcx, qword [rcx + 0x10]
mov rdx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [rdi + 0x10]
movsxd rbx, dword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
mov r8, rbx
mov rcx, rax
mov edx, 0x111
call qword [sym.imp.USER32.dll_SendMessageA]
mov byte [rdi + 0x121], sil
jmp 0x1800659d0
mov eax, r10d
sub eax, 0x114
je 0x180065933
sub eax, 1
je 0x18006588b
cmp eax, 0xef
je 0x180065858
mov r9, qword [rsp + 0xa0]
mov r8, rbx
mov edx, r10d
mov rcx, r11
call qword [sym.imp.USER32.dll_DefWindowProcA]
mov rsi, rax
jmp 0x1800659d0
cmp byte [rcx + 0x98], sil
je 0x1800659d0
mov r8, qword [rcx + 0x10]
lea r9, [0x18005ad20]
mov rcx, qword [0x1801086e8]
mov edx, 0x3af4
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x1800659d0
mov rax, rbx
shr rax, 0x10
cmp bx, 4
je 0x1800658f8
cmp bx, 8
jne 0x1800659d0
cmp byte [rcx + 0x120], sil
jne 0x1800659d0
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.18005be60
cmp byte [rdi + 0x121], sil
je 0x1800658d4
mov rcx, qword [rdi + 0x10]
mov edx, 0x14d
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
mov edx, 0x14d
mov byte [rdi + 0x121], 1
mov r8d, 0x1f4
call qword [sym.imp.USER32.dll_SetTimer]
jmp 0x1800659d0
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.18005be60
cmp byte [rdi + 0x120], sil
je 0x1800659d0
mov rcx, qword [rdi + 0x10]
movsxd rbx, dword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
mov r8, rbx
mov rcx, rax
mov edx, 0x111
jmp 0x1800659ca
mov rax, qword [rcx + 0x118]
test rax, rax
je 0x18006597f
movss xmm1, dword [rax + 0xa4]
movss xmm0, dword [rcx + 0x100]
ucomiss xmm0, xmm1
jp 0x180065956
je 0x18006597f
movss dword [rcx + 0x100], xmm1
cmp byte [rcx + 0xda], sil
je 0x18006597a
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rcx + 0x100], xmm1
call fcn.18005be60
cmp byte [rdi + 0x120], sil
je 0x1800659aa
mov rcx, qword [rdi + 0x10]
movsxd rbx, dword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
mov r8, rbx
mov rcx, rax
mov edx, 0x111
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rdi + 0xe0]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rdi + 0xe0]
xor r8d, r8d
mov edx, 0xb1
lea r9, [r8 - 1]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, rsi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret