Function at 0x10005a39
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037100
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
mov dword [ebp - 0x10], 0
push 0x1005520c
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x7c]
push ecx
push 0x100058b1
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x10005a8e
push 0
push 0
push 0x10055214
call sub.MFC42.DLL_AfxMessageBox
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x68]
call fcn.10035eca
mov dword [ebp - 4], 0
push 0x50
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x64]
push edx
push 0x10055250
lea eax, [ebp - 0x68]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push str.AutoCAD_2
push 9
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb0]
push eax
call fcn.10006030
mov byte [ebp - 0x80], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x80]
and ecx, 0xff
test ecx, ecx
je 0x10005b2d
mov edx, dword [ebp + 8]
mov dword [edx], 0xe
jmp 0x10005d00
push str.AutoCAD_2002
push 0xc
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xb8]
push edx
call fcn.10005fd0
and eax, 0xff
test eax, eax
jne 0x10005bd6
push str.AutoCAD_2000
push 0xc
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xc0]
push edx
call fcn.10005fd0
mov byte [ebp - 0x90], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x90]
and eax, 0xff
test eax, eax
jne 0x10005bd6
mov dword [ebp - 0xc4], 0
jmp 0x10005be0
mov dword [ebp - 0xc4], 1
mov cl, byte [ebp - 0xc4]
mov byte [ebp - 0x88], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x88]
and edx, 0xff
test edx, edx
je 0x10005c19
mov eax, dword [ebp + 8]
mov dword [eax], 0xf
jmp 0x10005d00
push str.AutoCAD_2004
push 0xc
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xcc]
push eax
call fcn.10005fd0
and eax, 0xff
test eax, eax
jne 0x10005cc3
push str.AutoCAD_2005
push 0xc
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xd4]
push eax
call fcn.10005fd0
mov byte [ebp - 0xa0], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xa0]
and ecx, 0xff
test ecx, ecx
jne 0x10005cc3
mov dword [ebp - 0xd8], 0
jmp 0x10005ccd
mov dword [ebp - 0xd8], 1
mov dl, byte [ebp - 0xd8]
mov byte [ebp - 0x98], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x98]
and eax, 0xff
test eax, eax
je 0x10005d00
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x10
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret