Function at 0x4711f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64a7a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
xor ebx, ebx
push edi
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xb0]
push ecx
push eax
mov dword [ebp - 0xb4], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
cmp dword [esi + 0x28], ebx
je 0x471422
call fcn.0046ead0
test al, al
je 0x471422
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x38]
push eax
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0xb8]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push eax
call edi
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebp - 0xb8]
push eax
push ecx
call edi
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 5
push 5
push edx
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xb8]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_RoundRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x3c]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
mov dword [ebp - 0x24], edi
mov edx, dword [ebp - 0xb8]
push edi
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push 2
push 2
push eax
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0xb8]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_RoundRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
movzx edx, byte [esi + 0x40]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
shl dx, 8
mov dword [ebp - 0x58], eax
movzx eax, byte [esi + 0x41]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x50], dx
movzx ecx, byte [esi + 0x42]
shl ax, 8
mov word [ebp - 0x4e], ax
mov eax, dword [ebp - 0x18]
shl cx, 8
xor edx, edx
mov word [ebp - 0x4c], cx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
movzx eax, byte [esi + 0x45]
mov word [ebp - 0x4a], dx
movzx edx, byte [esi + 0x44]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [esi + 0x46]
push 1
shl ax, 8
push 1
shl dx, 8
mov word [ebp - 0x3e], ax
shl cx, 8
lea eax, [ebp - 0x70]
push eax
mov word [ebp - 0x40], dx
xor edx, edx
mov word [ebp - 0x3c], cx
push 2
lea ecx, [ebp - 0x58]
mov word [ebp - 0x3a], dx
mov edx, dword [ebp - 0xb8]
push ecx
push edx
call dword [sym.imp.MSIMG32.dll_GradientFill]
mov byte [ebp - 4], 2
test edi, edi
je 0x471402
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x471402
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
test ebx, ebx
je 0x471493
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x471493
mov dword [ebp - 0x10], 0
jmp 0x471493
mov eax, dword [esi + 0x30]
push eax
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ebx
push ebx
push 0x66eba8
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0xb8]
push 2
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
lea edx, [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0xb8]
push edx
push eax
call dword [sym.imp.USER32.dll_FrameRect]
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x471493
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x471493
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edx, dword [0x700724]
lea ebx, [eax + 1]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 6
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x4714d7
push ebx
lea ecx, [ebp - 0x10]
call fcn.00401400
mov edi, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
push ebx
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor ebx, ebx
cmp edi, ebx
jne 0x4714ed
xor eax, eax
jmp 0x471507
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4714f2
sub eax, edx
sar eax, 1
js 0x47160d
cmp eax, dword [edi - 8]
jg 0x47160d
mov dword [edi - 0xc], eax
xor edx, edx
mov word [edi + eax*2], dx
mov eax, dword [esi + 0x48]
push eax
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esi + 0x34]
mov ecx, dword [ebp - 0xb8]
push esi
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebp - 0xb8]
push 1
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
push ebx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
push 4
lea ecx, [ebp - 0x68]
push ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi - 0xc]
push 0x824
lea edx, [ebp - 0x68]
push edx
push eax
mov eax, dword [ebp - 0xb8]
push edi
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0xb8]
push ecx
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4715bb
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb8]
cmp eax, ebx
je 0x4715fa
push eax
mov dword [ebp - 0xb8], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004011d0
int3