Function at 0x4550c8
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 0x455588
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x455160
push 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
cmp eax, 0xf
jl 0x455160
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.00454bf8
mov ebx, eax
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x455152
lea eax, [ebp - 0x10]
mov ecx, ebx
mov edx, esi
call fcn.00454c50
jmp 0x455160
mov edx, esi
shr edx, 1
lea eax, [ebp - 0x10]
mov ecx, ebx
call fcn.00454c50
test edi, edi
je 0x45516f
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 0x45517c
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 0x4551d2
mov esi, 2
cmp byte [ebp + 0xc], 0
je 0x4551b2
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 0x4551c6
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 0x455200
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 0x4552e6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
je 0x4552e6
cmp dword [ebp + 0x14], 0xffffffff
je 0x45522b
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.00455048
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 0x4552e6
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.00455048
pop ecx
push ebp
push esi
mov eax, edi
sub eax, ebx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
call fcn.00455048
pop ecx
inc ebx
cmp ebx, 4
jne 0x455282
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax]
call dword [edx + 0xc8]
and al, byte [ebp + 8]
je 0x455322
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.00454d6c
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x455383
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.00406db8
jmp 0x4553b9
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.00405df0
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
call fcn.00406dd4
push 1
push 0
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00454af0
mov edi, dword [ebp - 0x2c]
sub edi, dword [ebp - 0x34]
sub edi, eax
sub edi, 0x1b
sub edi, 8
sar edi, 1
jns 0x4553df
adc edi, 0
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x4554a2
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 0x45543a
lea eax, [ebp - 8]
call fcn.00405d1c
call fcn.00406e68
push eax
mov eax, dword [ebp - 8]
call fcn.00406c34
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 0x45548c
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406dfc
mov eax, dword [ebp - 0x118]
call fcn.00405ed0
push eax
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406dfc
mov eax, dword [ebp - 0x11c]
call fcn.004061f8
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 0x4554b2
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 0x4554eb
lea eax, [ebp - 8]
call fcn.00405d1c
call fcn.00406e68
push eax
mov eax, dword [ebp - 8]
call fcn.00406c34
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 0x45553d
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406dfc
mov eax, dword [ebp - 0x120]
call fcn.00405ed0
push eax
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406dfc
mov eax, dword [ebp - 0x124]
call fcn.004061f8
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 0x45558f
lea eax, [ebp - 0x124]
mov edx, 5
call fcn.00405b60
lea eax, [ebp - 8]
call fcn.00406b98
ret