Function at 0x140004970
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x270], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x40], xmm1
mov r8d, 7
lea rdx, str.ollydbg
lea rcx, [rsp + 0x30]
call fcn.140004250
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
mov r8d, 6
lea rdx, str.x32dbg
lea rcx, [rsp + 0x50]
call fcn.140004250
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm1
mov r8d, 6
lea rdx, str.x64dbg
lea rcx, [rsp + 0x70]
call fcn.140004250
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
mov r8d, 7
lea rdx, str.dbgview
lea rcx, [rbp - 0x70]
call fcn.140004250
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
mov r8d, 4
lea rdx, str.idaq
lea rcx, [rbp - 0x50]
call fcn.140004250
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm1
mov r8d, 4
lea rdx, str.idaw
lea rcx, [rbp - 0x30]
call fcn.140004250
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
mov r8d, 6
lea rdx, str.winice
lea rcx, [rbp - 0x10]
call fcn.140004250
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
mov r8d, 0xb
lea rdx, str.cheatengine
lea rcx, [rbp + 0x10]
call fcn.140004250
nop
lea rdi, [rsp + 0x30]
lea rbx, [rbp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], 0
mov ecx, 0x100
call fcn.140005480
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
lea r8, [rax + 0x100]
mov qword [rbp + 0x40], r8
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r8
lea r9, [rbp + 0x30]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140004f80
mov qword [rbp + 0x38], rax
lea r9, [0x140003740]
mov edx, 0x20
mov r8d, 8
lea rcx, [rsp + 0x30]
call fcn.1400054f8
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetTopWindow]
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140004d38
nop dword [rax]
nop dword [rax + rax]
mov r8d, 0x100
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x140004d19
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140004bc0
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x48]
call fcn.140004250
mov rdi, qword [rbp + 0x30]
mov r13, qword [rbp + 0x60]
mov r15, qword [rbp + 0x48]
mov r9, qword [rbp + 0x38]
cmp rdi, r9
je 0x140004cde
mov r12, qword [rbp + 0x58]
nop word [rax + rax]
mov r11, qword [rdi + 0x10]
mov rbx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140004c11
mov rbx, qword [rdi]
lea rsi, [rbp + 0x48]
cmp r13, 7
cmova rsi, r15
cmp r11, r12
ja 0x140004ccc
mov rax, r12
sub rax, r11
test r11, r11
je 0x140004d93
inc rax
lea r14, [rsi + rax*2]
mov rax, rsi
movzx r10d, word [rbx]
nop dword [rax]
nop word [rax + rax]
mov rcx, r14
sub rcx, rax
sar rcx, 1
mov edx, 0
je 0x140004c7c
cmp word [rax], r10w
je 0x140004c79
cmp rcx, 1
je 0x140004c7c
dec rcx
add rax, 2
cmp word [rax], r10w
jne 0x140004c66
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140004cc8
mov r8, r11
mov rdx, rbx
test r11, r11
je 0x140004cb8
mov r9, rax
sub r9, rbx
nop word [rax + rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x140004d8a
add rdx, 2
sub r8, 1
jne 0x140004ca0
sub rax, rsi
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x140004d93
mov r9, qword [rbp + 0x38]
add rdi, 0x20
cmp rdi, r9
jne 0x140004c00
mov rbx, qword [rsp + 0x20]
cmp r13, 7
jbe 0x140004d19
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140004d11
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004dd1
mov rcx, r15
call fcn.1400054c4
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x140004b80
xor bl, bl
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x140004ddd
mov rdx, qword [rbp + 0x38]
mov rcx, rax
call fcn.140004e80
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004dd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004dd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
add rax, 2
jmp 0x140004c50
cmp r13, 7
jbe 0x140004dca
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140004dc2
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004dd1
mov rcx, r15
call fcn.1400054c4
mov bl, 1
jmp 0x140004d3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400054c4
movzx eax, bl
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140005460
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret