Function at 0x100054db8
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x350
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x10009e100]
xor rax, rsp
mov qword [rsp + 0x330], rax
lea rdx, [rsp + 0xe0]
mov r12, rcx
call qword [sym.imp.USER32.dll_BeginPaint]
lea rdx, [rsp + 0x88]
xor esi, esi
mov rcx, rax
mov rdi, rax
mov qword [rsp + 0x88], rsi
call sub.gdiplus.dll_GdipCreateFromHDC
mov r13, qword [rsp + 0x88]
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetClientRect]
lea rcx, [rsp + 0x132]
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x130], si
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x130]
mov r8d, 0x100
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [rsi + 3]
mov rcx, r13
call sub.gdiplus.dll_GdipSetTextRenderingHint
mov r8, qword [0x1000a1540]
lea rcx, [rsp + 0xc8]
mov rdx, rdi
call fcn.100051d94
or rdx, 0xffffffffffffffff
xor eax, eax
xorps xmm6, xmm6
movd xmm0, dword [rsp + 0x58]
movd xmm1, dword [rsp + 0x5c]
lea rdi, [rsp + 0x130]
mov rcx, rdx
movss dword [rsp + 0xa8], xmm6
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0xac], xmm6
repne scasw ax, word [rdi]
movss dword [rsp + 0xb0], xmm0
movss dword [rsp + 0xb4], xmm1
movss dword [rsp + 0x60], xmm6
movaps xmm0, xmm6
not rcx
movss dword [rsp + 0x64], xmm6
movss dword [rsp + 0x68], xmm6
movss dword [rsp + 0x6c], xmm0
cmp rcx, 1
je 0x100054f3a
mov r9, qword [rsp + 0xc8]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x60]
mov r8d, edx
lea rdx, [rsp + 0x130]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa8]
mov rcx, r13
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call sub.gdiplus.dll_GdipMeasureString
movss xmm0, dword [rsp + 0x6c]
mulss xmm0, dword [0x10007cef0]
mov edx, 0xfffffff0
mov rcx, r12
cvttss2si edi, xmm0
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov edx, 0xffffffec
mov rcx, r12
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov ecx, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x58]
mov r15, rax
mov eax, 0x300
add edi, ecx
and ebx, eax
cmp ebx, eax
jne 0x100054f96
cvttss2si ecx, dword [rsp + 0x68]
mov eax, r8d
sub eax, ecx
sub eax, dword [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
jmp 0x100054fbe
cmp ebx, 0x200
je 0x100054fb0
cmp byte [0x10009e04c], sil
jne 0x100054fb0
mov ebp, dword [rsp + 0x50]
add ebp, 0xa
jmp 0x100054fbe
cvttss2si eax, dword [rsp + 0x68]
mov ebp, r8d
sub ebp, eax
sub ebp, 0xa
mov r9d, dword [rsp + 0x5c]
mov esi, 5
mov edx, edi
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
lea edx, [rdi + 2]
lea ecx, [rsi - 3]
add r9d, 0xfffffffe
add r8d, 0xfffffffe
mov dword [rsp + 0x28], esi
mov rbx, rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
and qword [rsp + 0x90], 0
lea rdx, [rsp + 0x90]
mov rcx, rbx
mov rdi, rax
call sub.gdiplus.dll_GdipCreateRegionHrgn
mov rax, qword [rsp + 0x90]
and qword [rsp + 0x78], 0
lea rdx, [rsp + 0x78]
mov rcx, rdi
mov qword [rsp + 0x70], rax
call sub.gdiplus.dll_GdipCreateRegionHrgn
mov rax, qword [rsp + 0x78]
mov rcx, rbx
mov qword [rsp + 0x98], rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0x70]
xor r8d, r8d
cvttss2si ebx, dword [rsp + 0x68]
cvttss2si edi, dword [rsp + 0x6c]
mov rcx, r13
call sub.gdiplus.dll_GdipSetClipRegion
mov rdx, qword [rsp + 0x98]
lea r8d, [rsi - 1]
mov rcx, r13
call sub.gdiplus.dll_GdipSetClipRegion
lea r9d, [rbx + 2]
lea edx, [rbp - 2]
xor r8d, r8d
mov rcx, r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], edi
call sub.gdiplus.dll_GdipSetClipRectI
lea rdx, [rsp + 0x80]
xor esi, esi
mov ecx, 0x80ffffff
mov qword [rsp + 0x80], rsi
call sub.gdiplus.dll_GdipCreateSolidFill
mov eax, dword [rsp + 0x5c]
mov rbx, qword [rsp + 0x80]
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x58]
mov rdx, rbx
mov rcx, r13
mov dword [rsp + 0x20], eax
call sub.gdiplus.dll_GdipFillRectangleI
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x130]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x1000551d9
test r15b, 0xc0
jne 0x1000551d9
mov eax, dword [rsp + 0x5c]
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
mov rcx, r13
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
call sub.gdiplus.dll_GdipSetClipRectI
lea rdx, [rsp + 0xa0]
or ecx, 0xffffffff
mov qword [rsp + 0xa0], rsi
call sub.gdiplus.dll_GdipCreateSolidFill
mov r9, qword [rsp + 0xc8]
or rcx, 0xffffffffffffffff
movd xmm5, ebp
movss dword [rsp + 0xbc], xmm6
movss dword [rsp + 0xc0], xmm6
movss dword [rsp + 0xc4], xmm6
xor eax, eax
lea rdi, [rsp + 0x130]
lea rdx, [rsp + 0x130]
cvtdq2ps xmm5, xmm5
movss dword [rsp + 0xb8], xmm5
repne scasw ax, word [rdi]
mov rdi, qword [rsp + 0xa0]
lea rax, [rsp + 0xb8]
not rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
lea r8d, [rcx - 1]
mov rcx, r13
mov qword [rsp + 0x20], rax
call sub.gdiplus.dll_GdipDrawString
mov rcx, rdi
call sub.gdiplus.dll_GdipDeleteBrush
lea rdx, [rsp + 0xe0]
mov rcx, r12
call qword [sym.imp.USER32.dll_EndPaint]
mov rcx, rbx
call sub.gdiplus.dll_GdipDeleteBrush
mov rcx, qword [rsp + 0x98]
call sub.gdiplus.dll_GdipDeleteRegion
mov rcx, qword [rsp + 0x70]
call sub.gdiplus.dll_GdipDeleteRegion
mov rcx, qword [rsp + 0xc8]
call sub.gdiplus.dll_GdipDeleteFont
mov rcx, r13
call sub.gdiplus.dll_GdipDeleteGraphics
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.1000024e0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret