Function at 0x7ff6eb121240
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x260
mov rax, qword [0x7ff6eb201bd8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x40]
mov rsi, r9
call fcn.7ff6eb172f50
lea r9, [rsp + 0x40]
mov edx, 0xd
mov r8d, 0x100
mov rcx, rbx
call qword [sym.imp.user32.dll_SendMessageW]
mov r8, qword [rbp + 0x60]
mov rdx, rsi
mov rcx, rdi
mov r15, rax
mov r8, qword [r8]
call qword [sym.imp.user32.dll_FillRect]
mov rdx, qword [rbp + 0x88]
mov rcx, rdi
mov rdx, qword [rdx]
call qword [sym.imp.gdi32.dll_SelectObject]
cmp dword [rsp + 0x2b0], 1
mov rcx, rdi
mov rbx, rax
jne 0x7ff6eb1212d9
mov rdx, qword [rbp + 0x170]
jmp 0x7ff6eb1212e0
mov rdx, qword [rbp + 0x168]
mov rdx, qword [rdx]
call qword [sym.imp.gdi32.dll_SelectObject]
mov r8d, dword [rsi + 4]
xor r9d, r9d
mov edx, dword [rsi]
add r8d, 2
add edx, 2
mov rcx, rdi
call qword [sym.imp.gdi32.dll_MoveToEx]
mov r8d, dword [rsi + 4]
mov rcx, rdi
mov edx, dword [rsi + 8]
add r8d, 2
sub edx, 3
call qword [sym.imp.gdi32.dll_LineTo]
mov r8d, dword [rsi + 4]
xor r9d, r9d
mov edx, dword [rsi]
add r8d, 3
add edx, 2
mov rcx, rdi
call qword [sym.imp.gdi32.dll_MoveToEx]
mov r8d, dword [rsi + 4]
mov rcx, rdi
mov edx, dword [rsi + 8]
add r8d, 3
sub edx, 4
call qword [sym.imp.gdi32.dll_LineTo]
mov r8d, dword [rsi + 4]
xor r9d, r9d
mov edx, dword [rsi]
add r8d, 2
add edx, 2
mov rcx, rdi
call qword [sym.imp.gdi32.dll_MoveToEx]
mov r8d, dword [rsi + 0xc]
mov rcx, rdi
mov edx, dword [rsi]
sub r8d, 3
add edx, 2
call qword [sym.imp.gdi32.dll_LineTo]
mov r8d, dword [rsi + 4]
xor r9d, r9d
mov edx, dword [rsi]
add r8d, 2
add edx, 3
mov rcx, rdi
call qword [sym.imp.gdi32.dll_MoveToEx]
mov r8d, dword [rsi + 0xc]
mov rcx, rdi
mov edx, dword [rsi]
sub r8d, 4
add edx, 3
call qword [sym.imp.gdi32.dll_LineTo]
cmp dword [rsp + 0x2b0], 1
mov rcx, rdi
jne 0x7ff6eb1213bd
mov rdx, qword [rbp + 0x168]
jmp 0x7ff6eb1213c4
mov rdx, qword [rbp + 0x170]
mov rdx, qword [rdx]
call qword [sym.imp.gdi32.dll_SelectObject]
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov edx, dword [rsi]
sub r8d, 3
add edx, 2
mov rcx, rdi
call qword [sym.imp.gdi32.dll_MoveToEx]
mov r8d, dword [rsi + 0xc]
mov rcx, rdi
mov edx, dword [rsi + 8]
sub r8d, 3
sub edx, 2
call qword [sym.imp.gdi32.dll_LineTo]
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov edx, dword [rsi]
sub r8d, 4
add edx, 3
mov rcx, rdi
call qword [sym.imp.gdi32.dll_MoveToEx]
mov r8d, dword [rsi + 0xc]
mov rcx, rdi
mov edx, dword [rsi + 8]
sub r8d, 4
sub edx, 2
call qword [sym.imp.gdi32.dll_LineTo]
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov edx, dword [rsi + 8]
sub r8d, 3
sub edx, 3
mov rcx, rdi
call qword [sym.imp.gdi32.dll_MoveToEx]
mov r8d, dword [rsi + 4]
mov rcx, rdi
mov edx, dword [rsi + 8]
inc r8d
sub edx, 3
call qword [sym.imp.gdi32.dll_LineTo]
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov edx, dword [rsi + 8]
sub r8d, 3
sub edx, 4
mov rcx, rdi
call qword [sym.imp.gdi32.dll_MoveToEx]
mov r8d, dword [rsi + 4]
mov rcx, rdi
mov edx, dword [rsi + 8]
add r8d, 2
sub edx, 4
call qword [sym.imp.gdi32.dll_LineTo]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.gdi32.dll_SelectObject]
cmp byte [rsp + 0x2b8], 0
je 0x7ff6eb121535
mov qword [rsp + 0x258], r14
lea r9, [rsp + 0x30]
xor r14d, r14d
lea rdx, [rsp + 0x40]
mov r8d, r15d
mov qword [rsp + 0x30], r14
mov rcx, rdi
mov ebx, 8
call qword [sym.imp.gdi32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x7ff6eb1214e2
mov ebx, dword [rsi + 8]
sub ebx, dword [rsi]
sub ebx, dword [rsp + 0x30]
shr ebx, 1
cmp dword [rsp + 0x2b0], 1
mov edx, 1
mov rcx, rdi
sete r14b
call qword [sym.imp.gdi32.dll_SetBkMode]
mov edx, dword [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.gdi32.dll_SetTextColor]
mov edx, dword [rsi]
lea r8d, [r14 + 4]
add r8d, dword [rsi + 4]
lea r9, [rsp + 0x40]
add edx, r14d
mov dword [rsp + 0x20], r15d
add edx, ebx
mov rcx, rdi
call qword [sym.imp.gdi32.dll_TextOutW]
mov r14, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.7ff6eb154b30
add rsp, 0x260
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret