Function at 0x4ea1b0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x270
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rbp, rcx
test rcx, rcx
je 0x4ea1e3
add rcx, 0xfffffffffffffec8
jmp 0x4ea1e5
xor ecx, ecx
cmp r8, 0x52
jne 0x4ea5ca
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 2
movsxd rcx, eax
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.006a43c4
mov rbx, rax
mov qword [rsp + 0x88], rax
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r8d, [rax + 1]
mov rdx, rbx
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [rsp + 0x290]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.004023b4
nop
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x2a0]
mov edx, 0xb0
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, 0x100
movsxd rax, dword [rsp + 0x20]
cmp dword [rsp + 0x2a0], eax
jne 0x4ea30f
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.005680ac
nop
lea rcx, [rsp + 0x30]
cmp rax, rcx
je 0x4ea2c2
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0x30]
call fcn.00406d38
nop
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xd8]
cmp rcx, rax
je 0x4ea53c
test rcx, rcx
je 0x4ea53c
mov rax, qword [rsp + 0x90]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r12
jbe 0x4ea305
call fcn.006a4944
jmp 0x4ea53c
call fcn.006a3610
jmp 0x4ea53c
mov r8, rax
mov r9, rdi
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x30]
call fcn.00421328
mov rsi, rax
mov ecx, dword [rsp + 0x20]
sub ecx, dword [rsp + 0x2a0]
movsxd r9, ecx
movsxd r8, dword [rsp + 0x2a0]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.00421328
nop
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.005680ac
mov rdi, rax
movsxd r9, dword [rsp + 0x2a0]
xor r8d, r8d
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x30]
call fcn.00421328
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.0040fc8c
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.0040fc8c
nop
lea rcx, [rsp + 0x30]
cmp rax, rcx
je 0x4ea3c9
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0x30]
call fcn.00406d38
nop
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xd8]
cmp rcx, rax
je 0x4ea407
test rcx, rcx
je 0x4ea407
mov rax, qword [rsp + 0x90]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r12
jbe 0x4ea401
call fcn.006a4944
jmp 0x4ea407
call fcn.006a3610
nop
lea rax, [rsp + 0x130]
mov rcx, qword [rsp + 0x178]
cmp rcx, rax
je 0x4ea445
test rcx, rcx
je 0x4ea445
mov rax, qword [rsp + 0x130]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r12
jbe 0x4ea43f
call fcn.006a4944
jmp 0x4ea445
call fcn.006a3610
nop
lea rax, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x218]
cmp rcx, rax
je 0x4ea483
test rcx, rcx
je 0x4ea483
mov rax, qword [rsp + 0x1d0]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r12
jbe 0x4ea47d
call fcn.006a4944
jmp 0x4ea483
call fcn.006a3610
nop
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0x128]
cmp rcx, rax
je 0x4ea4c1
test rcx, rcx
je 0x4ea4c1
mov rax, qword [rsp + 0xe0]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r12
jbe 0x4ea4bb
call fcn.006a4944
jmp 0x4ea4c1
call fcn.006a3610
nop
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x1c8]
cmp rcx, rax
je 0x4ea4ff
test rcx, rcx
je 0x4ea4ff
mov rax, qword [rsp + 0x180]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r12
jbe 0x4ea4f9
call fcn.006a4944
jmp 0x4ea4ff
call fcn.006a3610
nop
lea rax, [rsp + 0x220]
mov rcx, qword [rsp + 0x268]
cmp rcx, rax
je 0x4ea53c
test rcx, rcx
je 0x4ea53c
mov rax, qword [rsp + 0x220]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r12
jbe 0x4ea537
call fcn.006a4944
jmp 0x4ea53c
call fcn.006a3610
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.USER32.dll_SetWindowTextW]
movsxd r9, dword [rsp + 0x20]
movsxd r8, dword [rsp + 0x2a0]
mov edx, 0xb1
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x4ea5bb
test rcx, rcx
je 0x4ea5bb
mov rax, qword [rsp + 0x30]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r12
jbe 0x4ea5b5
call fcn.006a4944
jmp 0x4ea5bb
call fcn.006a3610
nop
mov rcx, rbx
call fcn.006a5088
xor eax, eax
jmp 0x4ea6d5
cmp r8, 0x45
jne 0x4ea5f0
mov r9, qword [rbp + 0x58]
mov edx, 0x111
mov r8d, 0x83
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4ea6d5
cmp r8, 0x42
jne 0x4ea616
mov r9, qword [rbp + 0x58]
mov edx, 0x111
mov r8d, 0x8cc
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4ea6d5
cmp r8, 0x49
jne 0x4ea63c
mov r9, qword [rbp + 0x58]
mov edx, 0x111
mov r8d, 0x8cd
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4ea6d5
cmp r8, 0x55
jne 0x4ea65f
mov r9, qword [rbp + 0x58]
mov edx, 0x111
mov r8d, 0x8ce
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4ea6d5
cmp r8, 0x53
jne 0x4ea682
mov r9, qword [rbp + 0x58]
mov edx, 0x111
mov r8d, 0x8cf
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4ea6d5
cmp r8, 0x4a
jne 0x4ea6a5
mov r9, qword [rbp + 0x58]
mov edx, 0x111
mov r8d, 0x8d0
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4ea6d5
cmp r8, 0x4c
jne 0x4ea6c8
mov r9, qword [rbp + 0x58]
mov edx, 0x111
mov r8d, 0x8d1
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4ea6d5
mov rax, qword [rsp + 0x2b0]
and dword [rax], 0
xor eax, eax
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret