Function at 0x100174370
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x350
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x100190170]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov r13, rcx
lea rdx, [rsp + 0xe0]
call qword [sym.imp.USER32.dll_BeginPaint]
mov rbx, rax
xor esi, esi
mov qword [rsp + 0x60], rsi
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.gdiplus.dll_GdipCreateFromHDC
mov edi, eax
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetClientRect]
mov word [rsp + 0x130], si
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x132]
call sub.msvcrt.dll_memset
mov r8d, 0x100
lea rdx, [rsp + 0x130]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [rsi + 3]
mov rcx, r12
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, esi
cmovne edi, eax
mov dword [rsp + 0x80], edi
mov r8, qword [0x10019f438]
mov rdx, rbx
lea rcx, [rsp + 0xc0]
call fcn.10017106c
movd xmm5, dword [rsp + 0x5c]
cvtdq2ps xmm5, xmm5
movd xmm0, dword [rsp + 0x58]
cvtdq2ps xmm0, xmm0
xorps xmm6, xmm6
movss dword [rsp + 0xb0], xmm6
movss dword [rsp + 0xb4], xmm6
movss dword [rsp + 0xb8], xmm0
movss dword [rsp + 0xbc], xmm5
movss dword [rsp + 0x68], xmm6
movss dword [rsp + 0x6c], xmm6
movss dword [rsp + 0x70], xmm6
movaps xmm0, xmm6
movss dword [rsp + 0x74], xmm0
xor eax, eax
or rdx, 0xffffffffffffffff
mov rcx, rdx
lea rdi, [rsp + 0x130]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x100174508
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xc0]
mov r8d, edx
lea rdx, [rsp + 0x130]
mov rcx, r12
call sub.gdiplus.dll_GdipMeasureString
movss xmm0, dword [rsp + 0x74]
mulss xmm0, dword [0x100024014]
cvttss2si edi, xmm0
mov edx, 0xfffffff0
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
mov edx, 0xffffffec
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r15, rax
mov ecx, dword [rsp + 0x54]
add edi, ecx
mov eax, 0x300
and ebx, eax
mov r8d, dword [rsp + 0x58]
cmp ebx, eax
jne 0x100174564
cvttss2si ecx, dword [rsp + 0x70]
mov eax, r8d
sub eax, ecx
sub eax, dword [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
jmp 0x10017458a
cmp ebx, 0x200
je 0x10017457e
cmp byte [0x10019aa83], sil
jne 0x10017457e
mov ebp, dword [rsp + 0x50]
add ebp, 0xa
jmp 0x10017458a
lea ebp, [r8 - 0xa]
cvttss2si eax, dword [rsp + 0x70]
sub ebp, eax
mov esi, 5
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, dword [rsp + 0x5c]
mov edx, edi
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov rbx, rax
mov r9d, dword [rsp + 0x5c]
add r9d, 0xfffffffe
mov r8d, dword [rsp + 0x58]
add r8d, 0xfffffffe
lea edx, [rdi + 2]
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea ecx, [rsi - 3]
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov rdi, rax
and qword [rsp + 0x60], 0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.gdiplus.dll_GdipCreateRegionHrgn
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x88], rax
and qword [rsp + 0xa0], 0
lea rdx, [rsp + 0xa0]
mov rcx, rdi
call sub.gdiplus.dll_GdipCreateRegionHrgn
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
cvttss2si ebx, dword [rsp + 0x74]
cvttss2si esi, dword [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, r12
call sub.gdiplus.dll_GdipSetClipRegion
mov r8d, 4
mov rdx, qword [rsp + 0xa8]
mov rcx, r12
call sub.gdiplus.dll_GdipSetClipRegion
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebx
lea r9d, [rsi + 2]
xor r8d, r8d
lea edx, [rbp - 2]
mov rcx, r12
call sub.gdiplus.dll_GdipSetClipRectI
xor esi, esi
mov qword [rsp + 0x90], rsi
lea rdx, [rsp + 0x90]
mov ecx, 0x80ffffff
call sub.gdiplus.dll_GdipCreateSolidFill
mov rbx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov rdx, rbx
mov rcx, r12
call sub.gdiplus.dll_GdipFillRectangleI
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x130]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x1001747a4
test r15b, 0xc0
jne 0x1001747a4
mov dword [rsp + 0x28], esi
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
mov rcx, r12
call sub.gdiplus.dll_GdipSetClipRectI
mov qword [rsp + 0x98], rsi
lea rdx, [rsp + 0x98]
or ecx, 0xffffffff
call sub.gdiplus.dll_GdipCreateSolidFill
movd xmm5, ebp
cvtdq2ps xmm5, xmm5
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x130]
repne scasw ax, word [rdi]
not rcx
movss dword [rsp + 0x78], xmm5
movss dword [rsp + 0x7c], xmm6
movss dword [rsp + 0x80], xmm6
movss dword [rsp + 0x84], xmm6
mov rdi, qword [rsp + 0x98]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xc0]
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x130]
mov rcx, r12
call sub.gdiplus.dll_GdipDrawString
mov rcx, rdi
call sub.gdiplus.dll_GdipDeleteBrush
lea rdx, [rsp + 0xe0]
mov rcx, r13
call qword [sym.imp.USER32.dll_EndPaint]
mov rcx, rbx
call sub.gdiplus.dll_GdipDeleteBrush
mov rcx, qword [rsp + 0xa8]
call sub.gdiplus.dll_GdipDeleteRegion
mov rcx, qword [rsp + 0x88]
call sub.gdiplus.dll_GdipDeleteRegion
mov rcx, qword [rsp + 0xc0]
call sub.gdiplus.dll_GdipDeleteFont
nop
mov rcx, r12
call sub.gdiplus.dll_GdipDeleteGraphics
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.10017a260
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