Function at 0x445b88
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x20]
xor eax, eax
push ebp
push 0x445ee9
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x445bff
push 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_GetDeviceCaps
cmp eax, 0xf
jl 0x445bff
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.004456a4
mov ebx, eax
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x445bf1
lea eax, [ebp - 0xc]
mov ecx, ebx
mov edx, esi
call fcn.004456fc
jmp 0x445bff
mov edx, esi
shr edx, 1
lea eax, [ebp - 0xc]
mov ecx, ebx
call fcn.004456fc
test edi, edi
je 0x445c0e
mov esi, edi
lea edi, [ebp - 0x30]
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 0x445c1b
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_GetClientRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x445c71
mov esi, 2
cmp byte [ebp + 0xc], 0
je 0x445c51
push 0x210
push 4
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_DrawFrameControl
jmp 0x445c65
push 0x10
push 4
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_DrawFrameControl
push 0x15
call sub.user32.dll_GetSysColor
mov dword [ebp - 0x10], eax
jmp 0x445c9f
xor esi, esi
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateSolidBrush
mov ebx, eax
push ebx
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_FillRect
push ebx
call sub.gdi32.dll_DeleteObject
push 0xf
call sub.user32.dll_GetSysColor
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp eax, dword [ebp + 0x1c]
jne 0x445d85
mov eax, dword [ebp - 4]
cmp dword [eax + 0x64], 0
je 0x445d85
cmp dword [ebp + 0x14], 0xffffffff
je 0x445cca
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x6c]
push ebp
push esi
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov eax, edi
call fcn.00445b08
pop ecx
push 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_GetDeviceCaps
cmp eax, 0xf
jl 0x445d85
mov eax, dword [ebp - 0x10]
and eax, 0xff00
mov dword [ebp - 0x14], eax
and dword [ebp - 0x10], 0xff00ff
mov eax, dword [ebp - 0xc]
and eax, 0xff00
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
and eax, 0xff00ff
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, 4
sub eax, ebx
imul dword [ebp - 0x10]
mov edx, ebx
imul edx, dword [ebp - 0x18]
add eax, edx
shr eax, 2
and eax, 0xff00ff
mov edx, 4
sub edx, ebx
imul edx, dword [ebp - 0x14]
mov ecx, ebx
imul ecx, dword [ebp - 0x1c]
add edx, ecx
shr edx, 2
and edx, 0xff00
add eax, edx
mov dword [ebp - 0x20], eax
push ebp
push esi
lea eax, [ebx + edi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00445b08
pop ecx
push ebp
push esi
mov eax, edi
sub eax, ebx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00445b08
pop ecx
inc ebx
cmp ebx, 4
jne 0x445d21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc8]
and al, byte [ebp + 8]
je 0x445dc1
push esi
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x40]
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 - 0x40]
push eax
call sub.user32.dll_InflateRect
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_DrawFocusRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
lea ecx, [esi + 3]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.00445818
push 0x1e
lea eax, [ebp - 0x5f]
push eax
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_GetWindowTextA
mov ebx, eax
push 1
push 0
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x5f]
mov ecx, 0x1f
push 0
call fcn.00405b60
mov ecx, dword [ebp - 0x64]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00445610
mov edi, dword [ebp - 0x28]
sub edi, dword [ebp - 0x30]
sub edi, eax
sub edi, 0x1b
sub edi, 8
sar edi, 1
jns 0x445e38
adc edi, 0
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x445e85
push 0xffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_SetTextColor
push ebx
lea eax, [ebp - 0x5f]
push eax
lea eax, [esi + 5]
push eax
lea eax, [edi + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
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 + 8]
push eax
call sub.gdi32.dll_SetTextColor
jmp 0x445e95
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_SetTextColor
push ebx
lea eax, [ebp - 0x5f]
push eax
add esi, 4
push esi
add edi, 0x1b
push edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_TextOutA
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
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 0x445ef0
lea eax, [ebp - 0x64]
call fcn.00405828
ret