Function at 0x140168450
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x3f0], rbx
mov rax, qword [0x140324030]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rsi, rdx
mov qword [rsp + 0x38], rdx
mov rdi, rcx
xor ebx, ebx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rbx
lea rcx, [rbp]
call qword [sym.imp.mfc110u.dll_Ordinal_437]
nop
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov rdx, qword [rsi + 0x20]
lea rcx, [rbp]
call qword [sym.imp.mfc110u.dll_Ordinal_2419]
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x48], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
lea rdx, [rbp]
lea rcx, [rbp + 0x20]
call fcn.14001e610
nop
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x70]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov r15d, eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_12463]
lea r12d, [rbx + 1]
mov r13d, dword [rsi + 0x10]
lea rdx, [rsi + 0x28]
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_CopyRect]
test r13b, 4
je 0x140168555
lea ecx, [rbx + 0xb]
call qword [sym.imp.USER32.dll_GetSysColor]
mov esi, eax
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetSysColor]
mov dword [rbp - 0x80], eax
lea ecx, [rbx + 0x10]
call qword [sym.imp.USER32.dll_GetSysColor]
mov r14d, eax
jmp 0x1401685b0
mov esi, 0xadadac
mov ecx, shutdown
call qword [sym.imp.USER32.dll_GetSysColor]
mov dword [rbp - 0x80], eax
mov r14d, 0xe1e1e1
test r13b, 0x10
je 0x14016857f
mov esi, 0xd77900
mov r12d, 2
cmp byte [rdi + 0xd9], 1
jne 0x140168599
mov esi, 0xd77900
mov r14d, 0xfbf1e5
mov r12d, 1
test r13b, 1
je 0x1401685b0
mov esi, 0x995400
mov r14d, 0xf7e4cc
mov r12d, 1
or r8d, 0xffffffff
or edx, r8d
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_InflateRect]
movzx ecx, sil
or ecx, 0xffffff00
shl ecx, 8
movzx eax, si
shr ax, 8
movzx edx, al
or ecx, edx
shl ecx, 8
shr esi, 0x10
movzx eax, sil
or ecx, eax
mov qword [rbp - 0x20], rbx
movd xmm1, r12d
cvtdq2ps xmm1, xmm1
lea r9, [rbp - 0x20]
xor r8d, r8d
call qword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [rbp - 0x18], eax
mov edx, 1
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.gdiplus.dll_GdipSetPenMode]
mov ecx, dword [rbp - 0x18]
test eax, eax
cmovne ecx, eax
mov dword [rbp - 0x18], ecx
movzx ecx, r14b
or ecx, 0xffffff00
shl ecx, 8
movzx eax, r14w
shr ax, 8
movzx edx, al
or ecx, edx
shl ecx, 8
shr r14d, 0x10
movzx eax, r14b
or ecx, eax
lea rax, vtable.Gdiplus::SolidBrush.0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], rbx
lea rdx, [rsp + 0x78]
call qword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov dword [rsp + 0x68], eax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x60], rdx
mov ecx, dword [rbp - 0x64]
mov r9d, dword [rbp - 0x6c]
sub ecx, r9d
mov eax, dword [rbp - 0x68]
mov r8d, dword [rbp - 0x70]
sub eax, r8d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov r13, qword [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipFillRectangleI]
test eax, eax
cmovne r15d, eax
mov ecx, dword [rbp - 0x64]
mov r9d, dword [rbp - 0x6c]
sub ecx, r9d
mov eax, dword [rbp - 0x68]
mov r8d, dword [rbp - 0x70]
sub eax, r8d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov rdx, qword [rbp - 0x20]
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipDrawRectangleI]
test eax, eax
cmovne r15d, eax
mov dword [rsp + 0x48], r15d
mov edx, dword [rbp - 0x80]
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_13500]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x80]
call sub.MSVCR110.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x80]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x60], xmm0
or r8d, 0xffffffff
or edx, r8d
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_InflateRect]
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x20], reloc.mfc110u.dll_Ordinal_1040
lea r9, [rbp - 0x30]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x20]
mov rax, qword [rbp + 0x20]
call qword [rax + 0xe0]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov edx, 1
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_12787]
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea r8, [rbp + 0x80]
lea rdx, [0x14022875c]
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
mov rdx, qword [rbp - 0x10]
lea r9, [rbp - 8]
mov r8d, dword [rdx - 0x10]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rsi, qword [rdi + 0xe0]
test rsi, rsi
je 0x140168906
mov dword [rbp - 0x80], ebx
lea rdx, [rbp - 0x80]
mov rcx, qword [rsi + 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x1401687f3
mov dword [rsi + 0x10], eax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x38], eax
mov rsi, qword [rdi + 0xe0]
mov dword [rbp - 0x50], ebx
lea rdx, [rbp - 0x50]
mov rcx, qword [rsi + 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x140168819
mov dword [rsi + 0x10], eax
mov eax, dword [rbp - 0x50]
mov dword [rsp + 0x70], eax
mov eax, dword [rbp - 0x54]
add eax, dword [rbp - 0x5c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x30], eax
mov rsi, qword [rdi + 0xe0]
mov dword [rbp - 0x48], ebx
lea rdx, [rbp - 0x48]
mov rcx, qword [rsi + 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x14016884e
mov dword [rsi + 0x10], eax
mov r14d, dword [rbp - 0x48]
mov r12d, dword [rbp - 0x24]
sub r12d, dword [rbp - 0x2c]
mov eax, dword [rbp - 0x58]
add eax, dword [rbp - 0x60]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov rax, qword [rdi + 0xe0]
mov qword [rbp - 8], rax
mov dword [rbp - 0x4c], ebx
lea rdx, [rbp - 0x4c]
mov rcx, qword [rax + 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, eax
test eax, eax
je 0x140168890
mov rax, qword [rbp - 8]
mov dword [rax + 0x10], ecx
shr r14d, 1
mov eax, r12d
cdq
sub eax, edx
sar eax, 1
neg eax
sub eax, r14d
mov r14d, dword [rsp + 0x30]
add r14d, eax
mov eax, dword [rbp - 0x4c]
shr eax, 1
sub esi, eax
mov rax, qword [rdi + 0xe0]
test rax, rax
je 0x1401688bf
mov rbx, qword [rax + 8]
mov edi, dword [rsp + 0x38]
mov dword [rsp + 0x28], edi
mov r12d, dword [rsp + 0x70]
mov dword [rsp + 0x20], r12d
mov r9d, r14d
mov r8d, esi
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
test eax, eax
cmovne r15d, eax
mov dword [rsp + 0x48], r15d
mov dword [rbp - 0x40], esi
mov dword [rbp - 0x3c], r14d
lea eax, [rsi + r12]
mov dword [rbp - 0x38], eax
lea r9d, [r14 + rdi]
mov dword [rbp - 0x34], r9d
jmp 0x140168918
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r9d, dword [rbp - 0x34]
mov r14d, dword [rbp - 0x3c]
mov r8d, dword [rbp - 0x24]
sub r8d, dword [rbp - 0x2c]
mov eax, dword [rbp - 0x54]
sub eax, dword [rbp - 0x5c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
sub r9d, r14d
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add ecx, 2
mov dword [rbp - 0x5c], ecx
lea eax, [rcx + r8]
mov dword [rbp - 0x54], eax
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x20], SafeArrayCopy
lea r9, [rbp - 0x60]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x20]
mov rax, qword [rbp + 0x20]
call qword [rax + 0xe0]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
or edx, 0xffffffff
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_12378]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
nop
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.gdiplus.dll_GdipDeletePen]
nop
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
nop
lea rcx, [rbp + 0x20]
call fcn.14001e750
nop
lea rcx, [rbp]
call qword [sym.imp.mfc110u.dll_Ordinal_1079]
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1401e3980
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret