Function at 0x180089ca0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
cmp qword [rcx + 0x488], 0
je 0x180089f60
xor eax, eax
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], eax
lea r8d, [rax + 6]
lea rdx, [rbp - 0x18]
mov rcx, qword [rcx + 0x438]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x48], xmm1
xor r14d, r14d
mov word [rbp - 0x58], r14w
lea rax, [rbp - 0x18]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x180089d30
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x58]
call fcn.180005cd0
nop
lea rdx, [rbp - 0x18]
mov rbx, r14
movzx eax, word [rbp - 0x18]
cmp ax, 0x30
jb 0x180089d82
nop dword [rax]
cmp ax, 0x39
ja 0x180089d82
lea rbx, [rbx + rbx*4]
movzx eax, ax
lea rbx, [rbx - 0x18]
lea rbx, [rax + rbx*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x180089d60
cmp ebx, 0x19
jae 0x180089d8e
mov ebx, 0x19
jmp 0x180089d9b
cmp ebx, 0xc8
jbe 0x180089da5
mov ebx, 0xc8
mov edx, ebx
mov rcx, rsi
call fcn.180088660
mov r8d, ebx
lea rdx, [0x1803d2580]
lea rcx, [rbp - 0x58]
call fcn.18015a250
mov dword [rsi + 0x4b8], ebx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x28], xmm1
mov word [rbp - 0x38], r14w
lea rax, [rbp - 0x18]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180089de0
mov r8, rdi
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.180005cd0
nop
lea rcx, [rbp - 0x58]
mov r9, qword [rbp - 0x58]
mov r10, qword [rbp - 0x40]
cmp r10, 8
cmovae rcx, r9
lea r8, [rbp - 0x38]
mov rbx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x20]
cmp rdi, 8
cmovae r8, rbx
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x48]
jne 0x180089e4b
test rdx, rdx
je 0x180089e64
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x180089e4b
add rcx, 2
sub rdx, 1
jne 0x180089e35
jmp 0x180089e64
lea rdx, [rbp - 0x58]
cmp r10, 8
cmovae rdx, r9
mov rcx, qword [rsi + 0x438]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [rsi + 0x4b8]
mov eax, dword [rsi + 0x4bc]
imul eax, edx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1803f6fd0]
cvttsd2si rax, xmm0
mov dword [rsi + 0x4c4], eax
mov eax, dword [rsi + 0x4c0]
imul eax, edx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1803f6fd0]
cvttsd2si rax, xmm0
mov dword [rsi + 0x4c8], eax
mov rcx, rsi
call fcn.180089f90
nop
cmp rdi, 8
jb 0x180089ef9
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180089ef1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180089ef1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r14w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x180089f4e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180089f49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180089f49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r14w
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret