Function at 0x41ccc6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8ac
mov eax, dword [0x4b7f10]
xor eax, esp
mov dword [esp + 0x8a8], eax
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x70]
push ecx
xor edi, edi
push eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], eax
call dword [sym.imp.USER32.dll_BeginPaint]
push dword [esi + 4]
mov dword [esp + 0x6c], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41cff9
lea eax, [esp + 0x1c]
push eax
push dword [esi + 4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esp + 0x68]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push eax
push ecx
push dword [esp + 0x70]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0xf2
push dword [esi + 4]
call ebx
push edi
push edi
shr eax, 2
push 0xf0
push dword [esi + 4]
test al, 1
je 0x41cd9d
call ebx
mov ebx, eax
dec ebx
neg ebx
sbb ebx, ebx
and ebx, 4
inc ebx
inc ebx
jmp 0x41cdc0
cmp dword [esi + 0xc4], edi
je 0x41cdb4
call ebx
mov ebx, eax
dec ebx
neg ebx
sbb ebx, ebx
and ebx, 4
inc ebx
jmp 0x41cdc0
call ebx
mov ebx, eax
dec ebx
neg ebx
sbb ebx, ebx
and ebx, 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x41cdea
push edi
push edi
push 0xf0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
dec ebx
neg ebx
sbb ebx, ebx
and ebx, 4
add ebx, 3
push dword [esp + 0x10]
call fcn.0041a1c5
cmp dword [esi + 0xc0], edi
je 0x41ce00
cmp ebx, dword [esi + 0x5c]
je 0x41ce0a
mov eax, esi
mov dword [esi + 0x5c], ebx
call fcn.0041d0cc
lea eax, [esp + 0x48]
push eax
push dword [esi + 0xc0]
call fcn.00453750
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jae 0x41ce2e
xor ecx, ecx
jmp 0x41ce32
sub ecx, edx
shr ecx, 1
mov ebx, dword [esp + 0x4c]
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0xff
mov byte [esp + 0x17], 1
push dword [esp + 0x14]
lea eax, [ecx + edx]
push edx
push ebx
push edi
push edi
push dword [esi + 0xc0]
sub eax, ecx
push eax
push ebx
push ecx
push edi
push dword [esp + 0x38]
mov dword [esp + 0x8c], ebx
call fcn.00453c60
push 0x4c4d2c
lea ecx, [esp + 0x18]
call fcn.00415a7c
xor eax, eax
push 0x7fe
mov word [esp + 0xb4], ax
lea eax, [esp + 0xb6]
push edi
push eax
call fcn.0046cbb0
add esp, 0xc
push 0x401
lea eax, [esp + 0xb4]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00417a51
mov ebx, esi
call fcn.0041d01f
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esp + 0x14]
call ebx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x40]
push eax
push dword [edi - 0xc]
push edi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
add eax, 6
add ecx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x44]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
dec eax
push 1
push dword [esp + 0x14]
mov dword [esp + 0x38], eax
lea eax, [eax + ecx - 1]
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x9a9793
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
lea eax, [esp + 0x30]
push eax
push dword [edi - 0xc]
push edi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x3c]
push dword [esp + 0x14]
call ebx
xor ebx, ebx
cmp dword [esi + 0x30], ebx
je 0x41cf8b
dec dword [esp + 0x2c]
dec dword [esp + 0x30]
inc dword [esp + 0x34]
inc dword [esp + 0x38]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push 0xcc0020
push ebx
push ebx
push dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
push eax
push ebx
push ebx
push dword [esp + 0x88]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x18]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
test eax, eax
je 0x41cfd5
mov dword [esp + 0x18], ebx
lea ecx, [edi - 0x10]
call fcn.00415aa1
cmp dword [esp + 0x18], ebx
je 0x41cfe9
push dword [esp + 0x18]
call esi
cmp dword [esp + 0x10], ebx
je 0x41cff9
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x70]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x8b4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0046cc2a
mov esp, ebp
pop ebp
ret