Function at 0x140026a50
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x140190038]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, qword [r8 + 0x20]
xorps xmm0, xmm0
lea rdx, [rsp + 0x80]
movaps xmmword [rdx], xmm0
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rbx, qword [rsi + 0x50]
test rbx, rbx
jne 0x140026ace
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [rsi + 8]
mov rdx, rax
call fcn.140027160
mov rbx, rax
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x140026aca
cmp rcx, rbx
je 0x140026aca
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rsi + 0x50], rbx
mov r14, qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
mov rdx, rbx
call r14
mov rbx, rax
mov eax, dword [rsp + 0x8c]
mov edx, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x84]
sub eax, r8d
mov r9d, dword [rsp + 0x88]
sub r9d, edx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0xf00021
mov rcx, rdi
call qword [sym.imp.GDI32.dll_PatBlt]
mov rcx, rdi
mov rdx, rbx
call r14
lea rbx, [rsp + 0x68]
mov qword [rbx], 0
mov rcx, rdi
mov rdx, rbx
call sub.gdiplus.dll_GdipCreateFromHDC
mov rdi, qword [rbx]
mov rcx, rdi
mov edx, 4
call sub.gdiplus.dll_GdipSetSmoothingMode
call fcn.14001b130
test rax, rax
je 0x140026dbd
movabs r15, 0xaaaaaaaaaaaaaaaa
mov rcx, rax
call fcn.14010a090
add rax, 0x18
lea rbx, [rsp + 0x78]
mov qword [rbx], rax
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [rax + 1]
mov rcx, rbx
mov edx, ebp
call fcn.14010b310
mov rcx, qword [rsi + 8]
mov rdx, rax
mov r8d, ebp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rbx
mov edx, eax
call fcn.14010b2b0
mov qword [rsp + 0x70], r15
lea rcx, [rsi + 0x58]
cmp byte [rsi + 0x6f], 0
jns 0x140026bb9
mov rcx, qword [rcx]
xor r13d, r13d
lea rbx, [rsp + 0x68]
mov qword [rbx], r13
xor edx, edx
mov r8, rbx
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [rbx + 8], eax
mov r8d, dword [rsi + 0x74]
movss xmm1, dword [rsi + 0x70]
lea r12, [rsp + 0x58]
mov qword [r12], r13
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r12
mov r9d, 2
call sub.gdiplus.dll_GdipCreateFont
mov eax, dword [rsp + 0x8c]
sub eax, dword [rsp + 0x84]
cvtsi2ss xmm0, eax
mov rbx, qword [r12]
mov eax, dword [rsp + 0x88]
sub eax, dword [rsp + 0x80]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
movss xmm2, dword [0x14016e828]
mulss xmm2, xmm0
mov dword [r12], 0
movss dword [r12 + 4], xmm2
movss dword [r12 + 8], xmm1
movss dword [r12 + 0xc], xmm0
lea r14, [rsp + 0x48]
mov qword [r14 + 8], r15
mov qword [r14], r13
mov ecx, 0x1000
xor edx, edx
mov r8, r14
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [r14 + 8], eax
mov rcx, qword [r14]
xor edx, edx
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
je 0x140026c7b
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
mov edx, 1
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
test eax, eax
je 0x140026c92
mov dword [rsp + 0x50], eax
lea r14, [rsp + 0x38]
mov qword [r14], 0
mov ecx, dword [rsi + 0x78]
mov rdx, r14
call sub.gdiplus.dll_GdipCreateSolidFill
mov r14, qword [r14]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov ebp, 0xffffffff
mov rcx, rdi
mov r8d, 0xffffffff
mov r9, rbx
call sub.gdiplus.dll_GdipDrawString
cmp byte [rsi + 0x7c], 0
je 0x140026d49
lea rsi, [rsp + 0x38]
mov qword [rsi + 8], r15
mov qword [rsi], 0
movss xmm1, dword [0x14016e7d0]
mov ecx, 0xff4ea0d1
xor r8d, r8d
mov r9, rsi
call sub.gdiplus.dll_GdipCreatePen1
mov dword [rsi + 8], eax
mov eax, dword [rsp + 0x8c]
sub eax, dword [rsp + 0x84]
mov ecx, dword [rsp + 0x88]
sub ecx, dword [rsp + 0x80]
mov rdx, qword [rsi]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.gdiplus.dll_GdipDrawRectangleI
mov rcx, qword [rsi]
call sub.gdiplus.dll_GdipDeletePen
mov rcx, r14
call sub.gdiplus.dll_GdipDeleteBrush
mov rcx, qword [rsp + 0x48]
call sub.gdiplus.dll_GdipDeleteStringFormat
mov rcx, rbx
call sub.gdiplus.dll_GdipDeleteFont
mov rcx, qword [rsp + 0x68]
call sub.gdiplus.dll_GdipDeleteFontFamily
mov rdx, qword [rsp + 0x78]
lock xadd dword [rdx - 8], ebp
dec ebp
test ebp, ebp
jle 0x140026dae
mov rcx, rdi
call sub.gdiplus.dll_GdipDeleteGraphics
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400d2660
mov eax, 4
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rdx - 0x18]
add rdx, 0xffffffffffffffe8
call fcn.14010a010
jmp 0x140026d7d
mov ecx, 0x80004005
call fcn.14001b100
int3