Function at 0x180012a30
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 [0x180123010]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r14, rcx
cmp edx, 7
jne 0x180012d73
mov r8, qword [rcx]
mov edx, 0x3ea
mov rcx, r8
call fcn.18002add0
test rax, rax
je 0x180012a9b
mov r8, qword [rax]
mov dl, 1
mov rcx, rax
call qword [r8 + 0x30]
mov r8, qword [r14]
mov edx, 0x3ec
mov rcx, r8
call fcn.18002add0
test rax, rax
je 0x180012abc
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 0x180012adc
mov eax, ebx
jmp 0x180012ae2
mov rax, qword [rax]
call qword [rax + 8]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x180012cc1
mov rax, qword [r14]
mov dword [rax + 0x1e4], 0x333333
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1800e81e0]
movdqu xmmword [rsp + 0x38], xmm1
mov word [rsp + 0x28], bx
mov r8d, 0x19
lea rdx, [0x1800dcfa0]
lea rcx, [rsp + 0x28]
call fcn.180007b60
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 + 0x198]
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 0x180012b90
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180007b60
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 0x180012cc8
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 0x180012c14
sub r8, rcx
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x180012c1f
add rcx, 2
sub rdx, 1
jne 0x180012c00
cmp r9, r10
jb 0x180012c1f
jbe 0x180012cc8
cmp r12, 8
jb 0x180012c5d
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180012c55
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012c55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800c8c14
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
cmp r15, 8
jb 0x180012cae
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180012ca6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012ca6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800c8c14
movdqa xmm0, xmmword [0x1800e81e0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bx
mov al, 1
jmp 0x180012ef5
mov rcx, qword [r14]
lea rdx, [0x1800dc488]
mov rcx, qword [rcx + 0x198]
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
cmp r12, 8
jb 0x180012d1e
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180012d16
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012d16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800c8c14
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
cmp r15, 8
jb 0x180012cae
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180012ca6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012ca6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp edx, 8
jne 0x180012ef3
mov r8, qword [rcx]
mov edx, 0x3ea
mov rcx, r8
call fcn.18002add0
test rax, rax
je 0x180012da0
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x30]
mov r8, qword [r14]
mov edx, 0x3ec
mov rcx, r8
call fcn.18002add0
test rax, rax
je 0x180012dc1
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 0x180012de1
mov eax, ebx
jmp 0x180012de7
mov rax, qword [rax]
call qword [rax + 8]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x180012eef
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 + 0x198]
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 0x180012e50
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.180007b60
nop
cmp qword [rsp + 0x38], 0
jne 0x180012e97
mov rax, qword [r14]
mov dword [rax + 0x1e4], 0x999999
mov rcx, qword [r14]
lea rdx, [0x1800dcfa0]
mov rcx, qword [rcx + 0x198]
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x180012edc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012ed7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012ed7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8c14
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
mov al, 1
jmp 0x180012ef5
xor al, al
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1800c8bf0
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 0x180012a30