Function at 0x401000
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x40
mov dword [0x406920], eax
push edi
push 0x2c
push eax
call fcn.00401520
xor edi, edi
add esp, 8
cmp eax, edi
jne 0x401027
xor eax, eax
pop edi
add esp, 0x40
ret 0x10
lea ecx, [eax + 1]
push ebx
push ebp
mov dword [0x40691c], ecx
push esi
mov byte [eax], 0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push str.32770
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ebp, eax
cmp ebp, edi
je 0x401036
push edi
push 0x401260
push ebp
mov dword [0x406924], edi
mov dword [0x406930], edi
mov dword [0x40692c], edi
mov dword [0x406928], edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [0x406930], edi
je 0x40108b
cmp dword [0x406928], edi
jne 0x4011a8
cmp dword [0x40692c], edi
je 0x40118b
push 0x66
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
cmp esi, edi
je 0x40118b
lea edx, [esp + 0x10]
push 0x40
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0x10]
push str.STATIC
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40118b
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebx, [eax + 1]
push ebx
call fcn.004014f4
add esp, 4
mov edi, eax
push ebx
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x401180
push edi
call fcn.004013c0
mov edi, eax
push str.SIS7018.CAT
push edi
call fcn.00401340
add esp, 0xc
test eax, eax
jne 0x40116a
push str.SIS7012.CAT
push edi
call fcn.00401340
add esp, 8
test eax, eax
jne 0x40116a
push str.SIS7018.SYS
push edi
call fcn.00401340
add esp, 8
test eax, eax
jne 0x40116a
push str.SIS7012.SYS
push edi
call fcn.00401340
add esp, 8
test eax, eax
jne 0x40116a
push str.A3D.DLL
push edi
call fcn.00401340
add esp, 8
test eax, eax
jne 0x40116a
push str.UNINST.EXE
push edi
call fcn.00401340
add esp, 8
test eax, eax
je 0x401180
push 0x65
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [0x40692c], eax
jne 0x401206
push edi
call fcn.00401330
add esp, 4
xor edi, edi
push edi
push str.32770
push ebp
push edi
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ebp, eax
cmp ebp, edi
jne 0x401052
jmp 0x401036
mov eax, dword [0x40692c]
push ebp
cmp eax, edi
jne 0x4011d1
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov ecx, dword [0x406928]
push edi
push edi
push 0xf5
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401036
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [0x406920]
mov eax, dword [0x40692c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edx
push edi
push 0x14a
push eax
call esi
mov ecx, dword [0x40692c]
push edi
push edi
push 0x14e
push ecx
call esi
push edi
push edi
jmp 0x40123f
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [0x406920]
mov eax, dword [0x40692c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edx
push 0
push 0x14a
push eax
call esi
mov ecx, dword [0x40692c]
push 0
push 0
push 0x14e
push ecx
call esi
push 0
push 0
push 0xf5
push 1
push ebp
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x40
ret 0x10