Function at 0x180012360
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 0x1800126a3
mov r8, qword [rcx]
mov edx, 0x3e9
mov rcx, r8
call fcn.18002d010
test rax, rax
je 0x1800123cb
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 0x1800123ec
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 0x18001240c
mov eax, ebx
jmp 0x180012412
mov rax, qword [rax]
call qword [rax + 8]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800125f1
mov rax, qword [r14]
mov dword [rax + 0xfc], 0x333333
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1800e7190]
movdqu xmmword [rsp + 0x38], xmm1
mov word [rsp + 0x28], bx
mov r8d, 0xe6
lea rdx, [0x1800dc460]
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 0x1800124c0
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 0x1800125f8
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 0x180012544
sub r8, rcx
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x18001254f
add rcx, 2
sub rdx, 1
jne 0x180012530
cmp r9, r10
jb 0x18001254f
jbe 0x1800125f8
cmp r12, 8
jb 0x18001258d
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180012585
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012585
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800c8534
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
cmp r15, 8
jb 0x1800125de
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800125d6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800125d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800c8534
movdqa xmm0, xmmword [0x1800e7190]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bx
mov al, 1
jmp 0x180012825
mov rcx, qword [r14]
lea rdx, [0x1800db478]
mov rcx, qword [rcx + 0xb0]
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
cmp r12, 8
jb 0x18001264e
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180012646
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012646
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800c8534
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
cmp r15, 8
jb 0x1800125de
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800125d6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800125d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp edx, 8
jne 0x180012823
mov r8, qword [rcx]
mov edx, 0x3e9
mov rcx, r8
call fcn.18002d010
test rax, rax
je 0x1800126d0
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 0x1800126f1
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 0x180012711
mov eax, ebx
jmp 0x180012717
mov rax, qword [rax]
call qword [rax + 8]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18001281f
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 0x180012780
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.180007980
nop
cmp qword [rsp + 0x38], 0
jne 0x1800127c7
mov rax, qword [r14]
mov dword [rax + 0xfc], 0x999999
mov rcx, qword [r14]
lea rdx, [0x1800dc460]
mov rcx, qword [rcx + 0xb0]
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18001280c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012807
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012807
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
mov al, 1
jmp 0x180012825
xor al, al
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1800c8510
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 0x180012360