Function at 0x455e98
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x20]
xor eax, eax
push ebp
push 0x456358
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x455f30
push 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
cmp eax, 0xf
jl 0x455f30
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.004559c8
mov ebx, eax
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x455f22
lea eax, [ebp - 0x10]
mov ecx, ebx
mov edx, esi
call fcn.00455a20
jmp 0x455f30
mov edx, esi
shr edx, 1
lea eax, [ebp - 0x10]
mov ecx, ebx
call fcn.00455a20
test edi, edi
je 0x455f3f
mov esi, edi
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x455f4c
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_GetClientRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x455fa2
mov esi, 2
cmp byte [ebp + 0xc], 0
je 0x455f82
push 0x210
push 4
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.user32.dll_DrawFrameControl
jmp 0x455f96
push 0x10
push 4
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.user32.dll_DrawFrameControl
push 0x15
call sub.user32.dll_GetSysColor
mov dword [ebp - 0x14], eax
jmp 0x455fd0
xor esi, esi
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_CreateSolidBrush
mov ebx, eax
push ebx
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.user32.dll_FillRect
push ebx
call sub.gdi32.dll_DeleteObject
push 0xf
call sub.user32.dll_GetSysColor
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
cmp eax, dword [ebp + 0x1c]
jne 0x4560b6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
je 0x4560b6
cmp dword [ebp + 0x14], 0xffffffff
je 0x455ffb
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x74]
push ebp
push esi
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov eax, edi
call fcn.00455e18
pop ecx
push 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
cmp eax, 0xf
jl 0x4560b6
mov eax, dword [ebp - 0x14]
and eax, 0xff00
mov dword [ebp - 0x18], eax
and dword [ebp - 0x14], 0xff00ff
mov eax, dword [ebp - 0x10]
and eax, 0xff00
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
and eax, 0xff00ff
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov eax, 4
sub eax, ebx
imul dword [ebp - 0x14]
mov edx, ebx
imul edx, dword [ebp - 0x1c]
add eax, edx
shr eax, 2
and eax, 0xff00ff
mov edx, 4
sub edx, ebx
imul edx, dword [ebp - 0x18]
mov ecx, ebx
imul ecx, dword [ebp - 0x20]
add edx, ecx
shr edx, 2
and edx, 0xff00
add eax, edx
mov dword [ebp - 0x24], eax
push ebp
push esi
lea eax, [ebx + edi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
call fcn.00455e18
pop ecx
push ebp
push esi
mov eax, edi
sub eax, ebx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
call fcn.00455e18
pop ecx
inc ebx
cmp ebx, 4
jne 0x456052
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax]
call dword [edx + 0xc8]
and al, byte [ebp + 8]
je 0x4560f2
push esi
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea eax, [ebp - 0x44]
push eax
call sub.user32.dll_InflateRect
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.user32.dll_DrawFocusRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
lea ecx, [esi + 3]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
call fcn.00455b3c
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x456153
push 0x64
lea eax, [ebp - 0x10e]
push eax
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_GetWindowTextW
lea eax, [ebp - 8]
lea edx, [ebp - 0x10e]
mov ecx, 0x65
call fcn.00406f90
jmp 0x456189
push 0x64
lea eax, [ebp - 0x10e]
push eax
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x10e]
mov ecx, 0
call fcn.00405e7c
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
call fcn.00406fac
push 1
push 0
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004558c0
mov edi, dword [ebp - 0x2c]
sub edi, dword [ebp - 0x34]
sub edi, eax
sub edi, 0x1b
sub edi, 8
sar edi, 1
jns 0x4561af
adc edi, 0
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x456272
push 0xffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_SetTextColor
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x45620a
lea eax, [ebp - 8]
call fcn.00405d94
call fcn.00407100
push eax
mov eax, dword [ebp - 8]
call fcn.00406e0c
push eax
lea eax, [esi + 5]
push eax
lea eax, [edi + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_TextOutW
jmp 0x45625c
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406fd4
mov eax, dword [ebp - 0x118]
call fcn.00405f5c
push eax
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406fd4
mov eax, dword [ebp - 0x11c]
call fcn.00406358
push eax
lea eax, [esi + 5]
push eax
lea eax, [edi + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_TextOutA
push 0x15
call sub.user32.dll_GetSysColor
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_SetTextColor
jmp 0x456282
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_SetTextColor
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x4562bb
lea eax, [ebp - 8]
call fcn.00405d94
call fcn.00407100
push eax
mov eax, dword [ebp - 8]
call fcn.00406e0c
push eax
add esi, 4
push esi
add edi, 0x1b
push edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_TextOutW
jmp 0x45630d
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406fd4
mov eax, dword [ebp - 0x120]
call fcn.00405f5c
push eax
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406fd4
mov eax, dword [ebp - 0x124]
call fcn.00406358
push eax
add esi, 4
push esi
add edi, 0x1b
push edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_TextOutA
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45635f
lea eax, [ebp - 0x124]
mov edx, 5
call fcn.00405bbc
lea eax, [ebp - 8]
call fcn.00406d70
ret