Function at 0x1000653fc
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x360
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x10009f140]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov r13, qword [0x1000ab0f0]
mov rbx, qword [0x1000ab100]
mov r14, qword [0x1000ab0f8]
mov r15, qword [0x1000ab108]
mov edx, 0xfffffff0
mov r12, rcx
mov qword [rsp + 0xd8], rcx
call qword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xf
cmp eax, 4
je 0x100065470
cmp eax, 9
jne 0x10006548c
mov r13, qword [0x1000ab110]
mov rbx, qword [0x1000ab120]
mov r14, qword [0x1000ab118]
mov r15, qword [0x1000ab128]
lea rdx, [rsp + 0xf0]
mov rcx, r12
call qword [sym.imp.USER32.dll_BeginPaint]
lea rdx, [rsp + 0x58]
mov rcx, r12
mov qword [rsp + 0xc8], rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
lea rax, [rsp + 0xb8]
xor edi, edi
mov qword [rsp + 0x28], rax
mov r9d, 0x26200a
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0xb8], rdi
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov rcx, qword [rsp + 0xb8]
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0xd0], rdi
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov eax, dword [rsp + 0x5c]
mov rsi, qword [rsp + 0xd0]
mov ebp, dword [rsp + 0x64]
xor r9d, r9d
xor r8d, r8d
mov edx, pe_nt_image_headers64
mov rcx, r12
mov dword [rsp + 0xc0], eax
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf2
mov rcx, r12
mov qword [rsp + 0x78], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r12
mov rdi, rax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
cmp eax, 1
sete byte [rsp + 0x51]
shr dil, 3
and dil, 1
cmp qword [0x1000a8650], r12
sete al
mov qword [rsp + 0xa8], rdi
xor edi, edi
mov byte [rsp + 0x50], al
cmp qword [0x1000a8668], rdi
je 0x100065682
mov eax, dword [rsp + 0x58]
mov rcx, r12
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x6c], eax
call qword [sym.imp.USER32.dll_GetParent]
lea r9d, [rdi + 1]
lea r8, [rsp + 0x68]
mov rcx, r12
mov rdx, rax
call qword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [0x1000a85b5], dil
jne 0x10006560b
mov rax, qword [0x1000a8668]
cmp rax, rdi
je 0x1000655d0
mov rdx, qword [rax + 8]
jmp 0x1000655d3
mov rdx, rdi
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x40], 2
xor r9d, r9d
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x6c]
mov rcx, rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
call sub.gdiplus.dll_GdipDrawImagePointRectI
jmp 0x10006567e
mov rdi, qword [0x1000a8668]
and dword [rsp + 0x54], 0
lea rdx, [rsp + 0x54]
mov rcx, qword [rdi + 8]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x10006562c
mov dword [rdi + 0x10], eax
mov ecx, dword [rsp + 0x54]
mov edi, dword [rsp + 0x60]
mov rax, qword [0x1000a8668]
sub ecx, dword [rsp + 0x68]
sub ecx, edi
test rax, rax
je 0x10006564c
mov rdx, qword [rax + 8]
jmp 0x10006564e
xor edx, edx
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x40], 2
xor r9d, r9d
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, rsi
xor r8d, r8d
call sub.gdiplus.dll_GdipDrawImagePointRectI
xor edi, edi
mov al, byte [rsp + 0x50]
test byte [rsp + 0x78], 1
je 0x100065692
cmp al, dil
cmovne rbx, r15
jmp 0x10006569c
mov rbx, r13
cmp al, dil
cmovne rbx, r14
lea rcx, [rsp + 0x142]
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x140], di
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x140]
mov r8d, 0x100
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, edi
je 0x100065b11
mov edx, 3
mov rcx, rsi
call sub.gdiplus.dll_GdipSetTextRenderingHint
lea rax, [rsp + 0x54]
cmp byte [rsp + 0x51], dil
je 0x1000656f8
or dword [rsp + 0x54], 0xffffffff
jmp 0x100065700
mov dword [rsp + 0x54], 0x80ffffff
mov ecx, dword [rax]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], rdi
call sub.gdiplus.dll_GdipCreateSolidFill
mov r8, qword [0x1000a8658]
mov rdx, qword [rsp + 0xc8]
mov r14, qword [rsp + 0x68]
lea rcx, [rsp + 0xe0]
call fcn.100062be4
lea r8, [rsp + 0x78]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x78], rdi
call sub.gdiplus.dll_GdipCreateStringFormat
mov rcx, qword [rsp + 0x78]
mov edx, 1
mov dword [rsp + 0x80], eax
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
mov ecx, dword [rsp + 0x80]
cmp eax, edi
mov edx, 1
cmovne ecx, eax
mov dword [rsp + 0x80], ecx
mov rcx, qword [rsp + 0x78]
call sub.gdiplus.dll_GdipSetStringFormatHotkeyPrefix
mov ecx, dword [rsp + 0x80]
mov r13, qword [rsp + 0xe0]
xorps xmm6, xmm6
movd xmm0, dword [rsp + 0x60]
movd xmm1, dword [rsp + 0x64]
movss dword [rsp + 0x88], xmm6
movss dword [rsp + 0x8c], xmm6
movss dword [rsp + 0xa4], xmm6
cmp eax, edi
lea rdx, [0x100020f30]
mov r9, r13
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0xa0], xmm6
cmovne ecx, eax
xor eax, eax
mov rdi, rdx
mov dword [rsp + 0x80], ecx
or rcx, 0xffffffffffffffff
movss dword [rsp + 0x90], xmm0
movss dword [rsp + 0x94], xmm1
movss dword [rsp + 0x9c], xmm6
repne scasw ax, word [rdi]
xor edi, edi
lea rax, [rsp + 0x98]
movss dword [rsp + 0x98], xmm6
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
not rcx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
lea r8d, [rcx - 1]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call sub.gdiplus.dll_GdipMeasureString
movss xmm5, dword [rsp + 0xa4]
movss xmm3, dword [0x100024000]
movaps xmm2, xmm5
addss xmm2, xmm3
cvttss2si eax, xmm2
cmp eax, dword [rsp + 0x64]
jg 0x1000658d0
movss xmm1, dword [rsp + 0x98]
movaps xmm0, xmm6
movaps xmm5, xmm2
subss xmm0, dword [0x100014454]
movss dword [rsp + 0xa4], xmm5
addss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [0x100014454]
movss dword [rsp + 0x98], xmm1
movss xmm1, dword [rsp + 0x9c]
addss xmm1, xmm0
movss xmm0, dword [rsp + 0xa0]
addss xmm0, xmm3
movss dword [rsp + 0x9c], xmm1
movss dword [rsp + 0xa0], xmm0
movd xmm2, dword [rsp + 0x64]
cvttss2si ebp, xmm5
cvtdq2ps xmm2, xmm2
movss dword [rsp + 0x94], xmm2
movaps xmm0, xmm2
subss xmm0, xmm5
unpcklps xmm0, xmm0
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x1000248f8]
cvttsd2si r15d, xmm1
movd xmm1, dword [rsp + 0x5c]
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x8c], xmm1
cmp byte [0x1000a85b5], dil
jne 0x10006594e
mov eax, dword [rsp + 0x58]
lea ecx, [rax + rbp + 3]
mov eax, dword [rsp + 0x60]
sub eax, ebp
sub eax, 3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x88], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x90], xmm0
jmp 0x10006599b
movd xmm0, dword [rsp + 0x58]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub eax, ebp
mov edx, 1
cvtdq2ps xmm0, xmm0
sub eax, 3
movss dword [rsp + 0x88], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x90], xmm0
call sub.gdiplus.dll_GdipSetStringFormatFlags
mov ecx, dword [rsp + 0x80]
cmp eax, edi
cmovne ecx, eax
mov dword [rsp + 0x80], ecx
or rcx, 0xffffffffffffffff
xor eax, eax
mov qword [rsp + 0x30], r14
lea rdi, [rsp + 0x140]
lea rdx, [rsp + 0x140]
mov r9, r13
repne scasw ax, word [rdi]
mov rax, qword [rsp + 0x78]
not rcx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
lea r8d, [rcx - 1]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call sub.gdiplus.dll_GdipDrawString
xor edi, edi
cmp byte [rsp + 0xa8], dil
je 0x100065af5
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x140]
repne scasw ax, word [rdi]
xor edi, edi
lea rax, [rsp + 0xa8]
movss dword [rsp + 0xb4], xmm6
movss dword [rsp + 0xb0], xmm6
movss dword [rsp + 0xac], xmm6
movss dword [rsp + 0xa8], xmm6
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
not rcx
lea rdx, [rsp + 0x140]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
lea r8d, [rcx - 1]
mov r9, r13
mov rcx, rsi
mov qword [rsp + 0x20], rax
call sub.gdiplus.dll_GdipMeasureString
lea r9, [rsp + 0x68]
xor r8d, r8d
movss xmm1, dword [0x100014454]
mov ecx, 0xc0ffffff
mov qword [rsp + 0x68], rdi
call sub.gdiplus.dll_GdipCreatePen1
mov rcx, qword [rsp + 0x68]
lea edx, [rdi + 1]
mov dword [rsp + 0x70], eax
call sub.gdiplus.dll_GdipSetPenDashStyle
mov ecx, dword [rsp + 0x70]
movss xmm0, dword [rsp + 0xb4]
movss xmm1, dword [rsp + 0xb0]
movss xmm3, dword [rsp + 0xac]
mov rdx, qword [rsp + 0x68]
cmp eax, edi
movss xmm2, dword [rsp + 0xa8]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm1
cmovne ecx, eax
mov dword [rsp + 0x70], ecx
mov rcx, rsi
call sub.gdiplus.dll_GdipDrawRectangle
mov rcx, qword [rsp + 0x68]
call sub.gdiplus.dll_GdipDeletePen
mov rcx, qword [rsp + 0x78]
call sub.gdiplus.dll_GdipDeleteStringFormat
mov rcx, r13
call sub.gdiplus.dll_GdipDeleteFont
mov rcx, r14
call sub.gdiplus.dll_GdipDeleteBrush
jmp 0x100065b19
mov r15d, dword [rsp + 0xc0]
mov r13b, byte [rsp + 0x50]
mov r12b, byte [rsp + 0x51]
xor ecx, ecx
cmp r12b, cl
je 0x100065b34
mov eax, 4
cmp r13b, cl
je 0x100065b39
mov eax, 1
cmp edi, eax
jge 0x100065b79
cmp rbx, rcx
je 0x100065b75
cmp byte [0x1000a85b5], cl
mov rdx, qword [rbx + 8]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
mov rcx, rsi
mov r9d, r15d
jne 0x100065b63
mov r8d, dword [rsp + 0x58]
jmp 0x100065b6e
mov r8d, dword [rsp + 0x60]
sub r8d, ebp
dec r8d
call sub.gdiplus.dll_GdipDrawImageRectI
xor ecx, ecx
inc edi
jmp 0x100065b25
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0xc8]
lea rdx, [rsp + 0x68]
call sub.gdiplus.dll_GdipCreateFromHDC
mov eax, dword [rsp + 0x64]
mov rdi, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xb8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call sub.gdiplus.dll_GdipDrawImageRectI
mov rcx, qword [rsp + 0xd8]
lea rdx, [rsp + 0xf0]
call qword [sym.imp.USER32.dll_EndPaint]
mov rcx, rdi
call sub.gdiplus.dll_GdipDeleteGraphics
mov rcx, rsi
call sub.gdiplus.dll_GdipDeleteGraphics
mov rcx, qword [rsp + 0xb8]
call sub.gdiplus.dll_GdipDisposeImage
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.10008f560
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret