Function at 0x466b48
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x288
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x4c]
push edi
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov edi, eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x10]
mov dword [esp + 0x24], edi
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub ecx, ebp
push ecx
mov ecx, dword [esp + 0x14]
sub edx, ecx
mov ebx, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x466c05
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x40]
push eax
push ecx
call ebp
mov eax, dword [esi + 0xcc]
lea edx, [esp + 0x30]
push edx
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
sub eax, edx
mov edx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x44]
sub ecx, ebp
add ecx, edx
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xcc]
push eax
push edx
push ebx
call fcn.00497b00
lea ebp, [esi + 0x98]
mov ecx, ebp
call fcn.0045f710
test eax, eax
je 0x466c31
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push 3
push eax
push ebx
mov ecx, ebp
call fcn.0045ed30
lea ecx, [esp + 0x10]
push 1
push ecx
mov ecx, esi
call fcn.00465a20
mov edx, dword [esi + 0xb4]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
push 1
push eax
mov eax, dword [esi + 0x1128]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov ecx, dword [esi + 0xb4]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x28]
push 0
add eax, ecx
add ebp, 0x10
push edx
push ebx
lea ecx, [esi + 0xb0]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebp
call fcn.0045ed30
cmp word [esi + 0x30], 0
lea ebp, [esi + 0x30]
je 0x466d6e
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [esp + 0x20], eax
je 0x466d6e
mov edx, dword [esp + 0x20]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x92]
mov word [esp + 0x90], 0
push 0x103
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x94]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 0x90], 0
jne 0x466d6a
lea eax, [esp + 0x30]
push 0
push eax
mov ecx, esi
call fcn.00465a20
push 0
lea ecx, [esi + 0x24]
call fcn.0049d220
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call edi
push 1
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esi + 0x90]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [esp + 0x30]
push 0x28
push edx
push ebp
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push ebp
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x20]
push eax
push ebx
call edi
mov edi, dword [esp + 0x24]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push eax
push ecx
sub edx, eax
push ebx
push edx
mov edx, dword [esp + 0x2c]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 4]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x288
ret