Function at 0x180087670
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 [0x1804ca010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
cmp qword [rcx + 0x488], 0
je 0x180087930
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 [0x1803e6740]
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 0x180087700
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x58]
call fcn.180004e70
nop
lea rdx, [rbp - 0x18]
mov rbx, r14
movzx eax, word [rbp - 0x18]
cmp ax, 0x30
jb 0x180087752
nop dword [rax]
cmp ax, 0x39
ja 0x180087752
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 0x180087730
cmp ebx, 0x19
jae 0x18008775e
mov ebx, 0x19
jmp 0x18008776b
cmp ebx, 0xc8
jbe 0x180087775
mov ebx, 0xc8
mov edx, ebx
mov rcx, rsi
call fcn.180086030
mov r8d, ebx
lea rdx, [0x1803c3594]
lea rcx, [rbp - 0x58]
call fcn.180154c50
mov dword [rsi + 0x4b8], ebx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e6740]
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 0x1800877b0
mov r8, rdi
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.180004e70
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 0x18008781b
test rdx, rdx
je 0x180087834
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x18008781b
add rcx, 2
sub rdx, 1
jne 0x180087805
jmp 0x180087834
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 [0x1803e64d8]
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 [0x1803e64d8]
cvttsd2si rax, xmm0
mov dword [rsi + 0x4c8], eax
mov rcx, rsi
call fcn.180087960
nop
cmp rdi, 8
jb 0x1800878c9
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800878c1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800878c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r14w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x18008791e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180087919
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180087919
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r14w
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret