Function at 0x454260
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x94], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x90], ecx
mov ecx, eax
shr ecx, 2
not cl
and cl, 1
shr eax, 4
mov dword [ebp - 0x8c], edx
mov edx, dword [esi + 0x1c]
and al, 1
push edi
mov edi, dword [esi + 0x18]
mov byte [ebp - 0xd5], cl
mov ecx, dword [esi + 0x24]
mov byte [ebp - 0xd6], al
mov eax, dword [esi + 0x20]
mov dword [ebp - 0xb4], edx
mov edx, dword [esi + 0x28]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], edx
je 0x454344
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0x15
call ebx
push 0x15
mov edi, eax
call ebx
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xac]
push edi
push eax
mov eax, dword [ebp - 0xb0]
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0xb4]
sub edx, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00453f00
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edi, dword [ebp - 0xdc]
xor ebx, ebx
test byte [esi + 0x10], 1
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
je 0x454364
push 1
push 1
lea ecx, [ebp - 0x94]
push ecx
mov ebx, 0x200
call esi
cmp byte [ebp - 0xd5], 0
jne 0x454373
or ebx, 0x100
or ebx, 0x10
push ebx
push 4
lea edx, [ebp - 0xb4]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov ebx, dword [ebp - 0xe0]
mov ecx, dword [ebx + 4]
push 0x3f
lea eax, [ebp - 0x84]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebx + 4]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push edi
mov dword [ebp - 0xe4], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov bl, byte [ebp - 0xd5]
xor eax, eax
test bl, bl
setne al
add eax, 0x11
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], edx
test bl, bl
jne 0x4544b3
mov ebx, dword [ebp - 0x88]
push 0x420
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0xa4]
push ecx
mov dword [ebp - 0xbc], edx
push 0xffffffffffffffff
lea edx, [ebp - 0x84]
push edx
push edi
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0x98], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x98]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0x9c]
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xc4]
push eax
call esi
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xc0]
push 0x22
push ecx
mov ecx, dword [ebp - 0xc4]
push edx
push eax
push ecx
push 0
lea edx, [ebp - 0x84]
push edx
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x4544d8
mov eax, dword [ebp - 0x88]
push 0x25
lea ecx, [ebp - 0xa4]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x84]
push edx
push edi
mov dword [ebp - 0x98], eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov esi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x88]
add eax, 5
lea ebx, [esi - 0x16]
push 0x14
mov dword [ebp - 0xa0], eax
add esi, 0xffffffec
add edi, 0xfffffffb
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x10
mov dword [ebp - 0xe8], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0xe8]
push ecx
push eax
mov eax, dword [ebp - 0xa0]
sub edi, eax
push edi
sub esi, ebx
push esi
push eax
push ebx
lea ecx, [ebp - 0xdc]
call fcn.00453f00
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x2c]
mov esi, dword [ebp - 0xdc]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call edi
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
lea ecx, [eax - 0x12]
push 0x24
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0xd4]
push ecx
push 1
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x88]
push 0x4c4910
push esi
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xc8], eax
call dword [sym.imp.USER32.dll_DrawTextW]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call edi
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea edx, [ebp - 0xb4]
push edx
mov ebx, eax
call dword [sym.imp.USER32.dll_InflateRect]
cmp byte [ebp - 0xd6], 0
je 0x4545c6
lea eax, [ebp - 0xb4]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
push ebx
push esi
call edi
mov ecx, dword [ebp - 0xe4]
push ecx
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret 4