Function at 0x140025310
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rdi, rcx
mov rax, qword [0x140190038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, qword [r8 + 0x20]
mov ebp, dword [r8 + 0x40]
xorps xmm0, xmm0
lea rdx, [rsp + 0x90]
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 0x140025392
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 0x14002538e
cmp rcx, rbx
je 0x14002538e
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rdi + 0x50], rbx
mov r14, qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
mov rdx, rbx
call r14
mov rbx, rax
mov eax, dword [rsp + 0x9c]
mov edx, dword [rsp + 0x90]
mov r8d, dword [rsp + 0x94]
sub eax, r8d
mov r9d, dword [rsp + 0x98]
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 r14
lea rbx, [rsp + 0x78]
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
lea rbx, [rsp + 0x78]
test bpl, 1
jne 0x14002544f
test bpl, 0x40
jne 0x140025441
test bpl, 4
je 0x140025433
mov qword [rbx], 0
mov ecx, 0xffc8c8c8
jmp 0x14002545b
mov qword [rbx], 0
mov ecx, 0xff2d75ff
jmp 0x14002545b
mov qword [rbx], 0
mov ecx, 0xff2d55e3
jmp 0x14002545b
mov qword [rbx], 0
mov ecx, 0xff1a73cf
mov rdx, rbx
call sub.gdiplus.dll_GdipCreateSolidFill
mov rbx, qword [rbx]
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x9c]
sub ecx, dword [rsp + 0x94]
sub eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call sub.gdiplus.dll_GdipFillRectangleI
mov rcx, rbx
call sub.gdiplus.dll_GdipDeleteBrush
call fcn.14001b130
test rax, rax
je 0x14002574b
movabs r15, 0xaaaaaaaaaaaaaaaa
mov rcx, rax
call fcn.14010a090
add rax, 0x18
lea rbx, [rsp + 0x88]
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 + 0x80], r15
lea rcx, [rdi + 0x60]
cmp byte [rdi + 0x77], 0
jns 0x140025518
mov rcx, qword [rcx]
xor r13d, r13d
lea rbx, [rsp + 0x78]
mov qword [rbx], r13
xor edx, edx
mov r8, rbx
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [rbx + 8], eax
mov r8d, dword [rdi + 0x78]
movss xmm1, dword [rdi + 0x58]
lea r12, [rsp + 0x68]
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 + 0x9c]
sub eax, dword [rsp + 0x94]
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x98]
sub eax, dword [rsp + 0x90]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mov rbx, qword [r12]
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 + 0x58]
mov qword [r14 + 8], r15
mov qword [r14], r13
mov ecx, dword [rdi + 0x7c]
movss xmm1, dword [0x14016e7d0]
xor r8d, r8d
mov r9, r14
call sub.gdiplus.dll_GdipCreatePen1
mov dword [r14 + 8], eax
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]
mov edx, 1
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
je 0x140025603
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
mov edx, 1
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
test eax, eax
je 0x14002561a
mov dword [rsp + 0x50], eax
xor r13d, r13d
lea r14, [rsp + 0x38]
mov qword [r14], r13
mov ecx, dword [rdi + 0x7c]
mov rdx, r14
call sub.gdiplus.dll_GdipCreateSolidFill
mov rdi, qword [r14]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov ebp, 0xffffffff
mov rcx, rsi
mov r8d, 0xffffffff
mov r9, rbx
call sub.gdiplus.dll_GdipDrawString
mov qword [r14 + 8], r15
mov qword [r14], r13
movss xmm1, dword [0x14016e7d0]
lea r14, [rsp + 0x38]
mov ecx, 0xffdad2e0
xor r8d, r8d
mov r9, r14
call sub.gdiplus.dll_GdipCreatePen1
mov dword [r14 + 8], eax
mov eax, dword [rsp + 0x9c]
sub eax, dword [rsp + 0x94]
mov ecx, dword [rsp + 0x98]
sub ecx, dword [rsp + 0x90]
mov rdx, qword [r14]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, rsi
xor r8d, r8d
xor r9d, r9d
call sub.gdiplus.dll_GdipDrawRectangleI
mov rcx, qword [r14]
call sub.gdiplus.dll_GdipDeletePen
mov rcx, rdi
call sub.gdiplus.dll_GdipDeleteBrush
mov rcx, qword [rsp + 0x48]
call sub.gdiplus.dll_GdipDeleteStringFormat
mov rcx, qword [rsp + 0x58]
call sub.gdiplus.dll_GdipDeletePen
mov rcx, rbx
call sub.gdiplus.dll_GdipDeleteFont
mov rcx, qword [rsp + 0x78]
call sub.gdiplus.dll_GdipDeleteFontFamily
mov rdx, qword [rsp + 0x88]
lock xadd dword [rdx - 8], ebp
dec ebp
test ebp, ebp
jle 0x14002573c
mov rcx, rsi
call sub.gdiplus.dll_GdipDeleteGraphics
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400d2660
mov eax, 4
add rsp, 0xa8
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 0x14002570b
mov ecx, 0x80004005
call fcn.14001b100
int3