Function at 0x1800c7800
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18066dcd8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r14, rcx
xor esi, esi
cmp edx, 8
jne 0x1800c6248
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov rcx, rax
test rax, rax
jne 0x1800c6048
mov r15d, esi
jmp 0x1800c6051
mov rax, qword [rax]
call qword [rax + 8]
mov r15, rax
mov rcx, r15
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800c6241
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r14]
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, qword [rcx + 0x140]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rdx, qword [r14]
add rdx, 0x248
cmp qword [rdx + 0x18], 8
jb 0x1800c60a3
mov rdx, qword [rdx]
lea rcx, [rsp + 0x70]
call fcn.1800dcd50
test al, al
jne 0x1800c60c5
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1415
mov rcx, r15
call qword [sym.imp.USER32.dll_PostMessageW]
lea rdx, [rsp + 0x70]
mov rdi, rsi
movzx eax, word [rsp + 0x70]
cmp ax, 0x30
jb 0x1800c60fa
cmp ax, 0x39
ja 0x1800c60fa
lea rdi, [rdi + rdi*4]
movzx eax, ax
lea rdi, [rdi - 0x18]
lea rdi, [rax + rdi*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x1800c60d8
mov r12d, 1
test edi, edi
cmovle edi, r12d
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1800dd310
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov rcx, qword [r14]
mov rcx, qword [rcx + 0x140]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [r14]
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [rax + 0x218]
cvttsd2si ebx, xmm0
test ebx, ebx
cmovle ebx, r12d
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1800dd310
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov rcx, qword [r14]
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.USER32.dll_SetWindowTextW]
movsxd r9, edi
movsxd r8, ebx
mov edx, 0x1413
mov rcx, r15
call qword [sym.imp.USER32.dll_PostMessageW]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1800c61d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c61d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c61d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
movdqa xmm0, xmmword [0x1805bf050]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1800c622e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6229
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c6229
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
movdqa xmm0, xmmword [0x1805bf050]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov al, 1
jmp 0x1800c62e1
cmp edx, 7
jne 0x1800c62df
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov rcx, rax
test rax, rax
je 0x1800c6274
mov rax, qword [rax]
call qword [rax + 8]
mov rsi, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800c62df
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r14]
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, qword [rcx + 0x140]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800c62c0
mov rcx, qword [r14]
add rcx, 0x248
lea rdx, [rsp + 0x70]
call fcn.18007d760
xor al, al
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.18042cdf0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov edx, dword [rdx]
add rcx, 8
jmp 0x1800c5fe0