Function at 0x4298b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492c48
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4c56f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push ecx
push edi
mov dword [ebp - 0x8c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x30]
sub esi, dword [ebp - 0x3c]
sub ebx, dword [ebp - 0x38]
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [ebp - 0xa4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0xa4]
push ebx
push esi
push edx
mov dword [ebp - 0x88], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0xd0], ecx
mov ecx, dword [ebp - 0x88]
push eax
push ecx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0x94], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], edx
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
cmp ecx, eax
je 0x4299ad
mov eax, dword [ecx + 4]
push 3
lea ecx, [ebp - 0x2c]
push ecx
push eax
push edx
call dword [sym.imp.gdiplus.dll_GdipDrawImagePointsI]
xor ecx, ecx
cmp eax, ecx
je 0x4299c7
mov dword [ebp - 0xa8], eax
push 0xffffffffffffffec
push edi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x80000
jne 0x4299fe
xor eax, 0x80000
push eax
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea ecx, [ebp - 0x84]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.DuiLib.dll_public:_char_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push 1
lea ecx, [ebp - 0x84]
call ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
fld dword [0x4acc30]
push ecx
lea esi, [ebp - 0xc8]
fstp dword [esp]
call fcn.00424cd0
lea edx, [ebp - 0xa0]
xor esi, esi
push edx
push esi
push esi
mov dword [ebp - 0xa0], esi
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x8c]
push eax
push esi
mov dword [ebp - 0xb8], 0x4a5e2c
mov dword [ebp - 0x8c], esi
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call ebx
fld dword [0x4acc2c]
mov ecx, dword [ebp - 0xa0]
fstp dword [ebp - 0xbc]
fld dword [0x4acc28]
mov ebx, dword [ebp - 0x94]
push esi
fstp dword [ebp - 0xb8]
fldz
push ecx
mov ecx, dword [ebp - 0xc8]
fst dword [ebp - 0xb4]
lea edx, [ebp - 0xbc]
fstp dword [ebp - 0xb0]
push edx
push ecx
push 0xffffffffffffffff
push eax
push ebx
call dword [sym.imp.gdiplus.dll_GdipDrawString]
test eax, eax
je 0x429aea
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x88]
push 2
lea edx, [ebp - 0x90]
push edx
push 0
lea eax, [ebp - 0xe0]
push eax
push ecx
mov ecx, dword [ebp - 0x98]
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xd0]
push eax
push ecx
push edi
mov dword [ebp - 0x90], 0x1ff0000
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
test eax, eax
jne 0x429b6c
push esi
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov edx, dword [ebp - 0xa0]
push edx
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push ebx
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
xor al, al
jmp 0x429bf8
mov ecx, dword [ebp - 0x88]
push ecx
push ebx
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
test eax, eax
je 0x429b84
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0x98]
mov ebx, dword [sym.imp.USER32.dll_ReleaseDC]
push edx
push edi
call ebx
mov eax, dword [ebp - 0xa4]
push eax
push edi
call ebx
mov ecx, dword [ebp - 0xc0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov edx, dword [ebp - 0x94]
push edx
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046eadd
mov esp, ebp
pop ebp
ret 4