Function at 0x140025b90
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 rdi, rcx
mov rax, qword [0x140190038]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, qword [r8 + 0x20]
mov r14d, dword [r8 + 0x40]
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
movaps xmmword [rdx], xmm0
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rbx, qword [rdi + 0x50]
test rbx, rbx
jne 0x140025c0f
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [rdi + 8]
mov rdx, rax
call fcn.140027160
mov rbx, rax
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x140025c0b
cmp rcx, rbx
je 0x140025c0b
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rdi + 0x50], rbx
mov r15, qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
mov rdx, rbx
call r15
mov rbx, rax
mov eax, dword [rsp + 0x7c]
mov edx, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x74]
sub eax, r8d
mov r9d, dword [rsp + 0x78]
sub r9d, edx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0xf00021
mov rcx, rsi
call qword [sym.imp.GDI32.dll_PatBlt]
mov rcx, rsi
mov rdx, rbx
call r15
lea rbx, [rsp + 0x58]
mov qword [rbx], 0
mov rcx, rsi
mov rdx, rbx
call sub.gdiplus.dll_GdipCreateFromHDC
mov rsi, qword [rbx]
mov rcx, rsi
mov edx, 4
call sub.gdiplus.dll_GdipSetSmoothingMode
call fcn.14001b130
test rax, rax
je 0x140025e8c
movabs r12, 0xaaaaaaaaaaaaaaaa
mov rcx, rax
call fcn.14010a090
add rax, 0x18
lea rbx, [rsp + 0x68]
mov qword [rbx], rax
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [rax + 1]
mov rcx, rbx
mov edx, ebp
call fcn.14010b310
mov rcx, qword [rdi + 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 + 0x60], r12
lea rcx, [rdi + 0x58]
cmp byte [rdi + 0x6f], 0
jns 0x140025cee
mov rcx, qword [rcx]
xor r13d, r13d
lea rbx, [rsp + 0x58]
mov qword [rbx], r13
xor edx, edx
mov r8, rbx
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [rbx + 8], eax
movss xmm1, dword [rdi + 0x70]
lea r15, [rsp + 0x48]
mov qword [r15], r13
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov r8d, 4
mov r9d, 2
call sub.gdiplus.dll_GdipCreateFont
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
cvtsi2ss xmm0, eax
mov rdi, qword [r15]
mov eax, dword [rsp + 0x78]
sub eax, dword [rsp + 0x70]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
movss xmm2, dword [0x14016e828]
mulss xmm2, xmm0
mov dword [r15], 0
movss dword [r15 + 4], xmm2
movss dword [r15 + 8], xmm1
movss dword [r15 + 0xc], xmm0
lea rbx, [rsp + 0x38]
mov qword [rbx + 8], r12
mov qword [rbx], r13
mov ecx, 0x1000
xor edx, edx
mov r8, rbx
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [rbx + 8], eax
mov rcx, qword [rbx]
xor edx, edx
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
je 0x140025d9f
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x38]
mov edx, 1
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
test eax, eax
je 0x140025db6
mov dword [rsp + 0x40], eax
lea rbx, [rsp + 0x88]
test r14b, 4
je 0x140025dd2
mov qword [rbx], 0
mov ecx, 0xff9c9c9c
jmp 0x140025dde
mov qword [rbx], 0
mov ecx, 0xff0000ff
mov rdx, rbx
call sub.gdiplus.dll_GdipCreateSolidFill
mov rbx, qword [rbx]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, 0xffffffff
mov r9, rdi
call sub.gdiplus.dll_GdipDrawString
mov rcx, rbx
call sub.gdiplus.dll_GdipDeleteBrush
mov rcx, qword [rsp + 0x38]
call sub.gdiplus.dll_GdipDeleteStringFormat
mov rcx, rdi
call sub.gdiplus.dll_GdipDeleteFont
mov rcx, qword [rsp + 0x58]
call sub.gdiplus.dll_GdipDeleteFontFamily
mov rdx, qword [rsp + 0x68]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jle 0x140025e7d
mov rcx, rsi
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 0x140025e4c
mov ecx, 0x80004005
call fcn.14001b100
int3