Function at 0x1800152f0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3b8]
sub rsp, 0x490
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r14, rcx
cmp edx, 7
jne 0x180015083
mov r8, qword [rcx]
mov edx, 0x3e9
mov rcx, r8
call fcn.18002d010
test rax, rax
je 0x180014dab
mov r8, qword [rax]
mov dl, 1
mov rcx, rax
call qword [r8 + 0x30]
mov r8, qword [r14]
mov edx, 0x3eb
mov rcx, r8
call fcn.18002d010
test rax, rax
je 0x180014dcc
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x30]
mov r8, qword [r14]
mov rax, qword [r8]
mov rcx, r8
call qword [rax + 0x68]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov rcx, rax
xor ebx, ebx
test rax, rax
jne 0x180014dec
mov eax, ebx
jmp 0x180014df2
mov rax, qword [rax]
call qword [rax + 8]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x180014fd1
mov rax, qword [r14]
mov dword [rax + 0xfc], 0x333333
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1800e71a0]
movdqu xmmword [rsp + 0x38], xmm1
mov word [rsp + 0x28], bx
mov r8d, 0x107
lea rdx, [0x1800dcb40]
lea rcx, [rsp + 0x28]
call fcn.180007980
nop
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r14]
mov r8d, 0x208
lea rdx, [rsp + 0x70]
mov rcx, qword [rcx + 0xb0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180014ea0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180007980
nop
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x48]
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x180014fd8
lea rcx, [rsp + 0x28]
cmp r15, 8
cmovae rcx, rdi
lea r8, [rsp + 0x48]
cmp r12, 8
cmovae r8, rsi
mov rdx, r9
mov r10, qword [rsp + 0x38]
cmp r10, r9
cmovb rdx, r10
test rdx, rdx
je 0x180014f24
sub r8, rcx
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x180014f2f
add rcx, 2
sub rdx, 1
jne 0x180014f10
cmp r9, r10
jb 0x180014f2f
jbe 0x180014fd8
cmp r12, 8
jb 0x180014f6d
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180014f65
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180014f65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800c8554
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
cmp r15, 8
jb 0x180014fbe
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180014fb6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180014fb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bx
mov al, 1
jmp 0x180015205
mov rcx, qword [r14]
lea rdx, [0x1800db478]
mov rcx, qword [rcx + 0xb0]
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
cmp r12, 8
jb 0x18001502e
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180015026
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015026
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800c8554
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
cmp r15, 8
jb 0x180014fbe
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180014fb6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180014fb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp edx, 8
jne 0x180015203
mov r8, qword [rcx]
mov edx, 0x3e9
mov rcx, r8
call fcn.18002d010
test rax, rax
je 0x1800150b0
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x30]
mov r8, qword [r14]
mov edx, 0x3eb
mov rcx, r8
call fcn.18002d010
test rax, rax
je 0x1800150d1
mov r8, qword [rax]
mov dl, 1
mov rcx, rax
call qword [r8 + 0x30]
mov r8, qword [r14]
mov rax, qword [r8]
mov rcx, r8
call qword [rax + 0x68]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov rcx, rax
xor ebx, ebx
test rax, rax
jne 0x1800150f1
mov eax, ebx
jmp 0x1800150f7
mov rax, qword [rax]
call qword [rax + 8]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800151ff
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 + 0xb0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], bx
jne 0x180015160
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.180007980
nop
cmp qword [rsp + 0x38], 0
jne 0x1800151a7
mov rax, qword [r14]
mov dword [rax + 0xfc], 0x999999
mov rcx, qword [r14]
lea rdx, [0x1800dcb40]
mov rcx, qword [rcx + 0xb0]
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800151ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800151e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800151e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
mov al, 1
jmp 0x180015205
xor al, al
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1800c8530
lea r11, [rsp + 0x490]
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 0x180014d40