Function at 0x100026d7
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x8004]
mov eax, 0x8004
call fcn.1001ada0
push 0xffffffffffffffff
push 0x1001bc31
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x10037800]
xor eax, ebp
mov dword [ebp + 0x8000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
mov edi, ecx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.RTFC.dll_public:_static_int___cdecl_CWOW64::IsWow64Process_void___int__]
pop ecx
pop ecx
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x24], ebx
je 0x10002753
mov ecx, sym.RTCore.dll_class_COSVersion_g_osVersion
call dword [sym.imp.RTFC.dll_public:_int___thiscall_COSVersion::IsWindowsVistaOrLater_void_]
test eax, eax
jne 0x10002753
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.RTFC.dll_public:_static_int___cdecl_CWOW64::Wow64DisableWow64FsRedirection_void___]
pop ecx
mov dword [ebp - 0x18], ebx
cmp dword [edi + 0x2c], ebx
jbe 0x10002bd2
mov esi, dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
mov ecx, dword [edi + 0x28]
lea eax, [ebx + ecx]
test byte [eax + 0x410], 0x10
je 0x10002b56
add eax, 0x144
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_char_const__]
and dword [ebp - 4], 0
mov ecx, sym.RTCore.dll_class_COSVersion_g_osVersion
call dword [sym.imp.RTFC.dll_public:_int___thiscall_COSVersion::IsWindows9x_void_]
test eax, eax
je 0x10002800
push str.DEFAULT
lea ecx, [ebp - 0x48]
call dword [0x1001d2f8]
lea ecx, [ebp - 0x68]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::constructor_void_]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x68]
push 0x80000002
mov byte [ebp - 4], 1
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::SetRegistryKey_struct_HKEY_____char_const__]
push 0x1001d530
push 0x1001d59c
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.RTFC.dll_public:_class_CStringLite___thiscall_CRegValue::GetValue_char_const___char_const__]
push dword [ebp - 0x6c]
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax + 0x36c]
push 0x20
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
lea ecx, [ebp - 0x70]
call esi
jmp 0x100029b0
lea ecx, [ebp - 0x68]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::constructor_void_]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x68]
push 0x80000002
mov byte [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::SetRegistryKey_struct_HKEY_____char_const__]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CMultiString::constructor_void_]
lea eax, [ebp - 0xa0]
push eax
push str.InstalledDisplayDrivers
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call dword [sym.imp.RTFC.dll_public:_class_CMultiString___thiscall_CRegValue::GetValue_char_const___class_CMultiString__]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call dword [sym.imp.RTFC.dll_public:_char_const____thiscall_CMultiString::GetFirst_void_]
jmp 0x10002985
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
push 1
push 0x1001d580
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
call dword [sym.imp.RTFC.dll_public:_static_int___cdecl_CTextFile::GetParam_int__char_const___class_CStringLite___char_const___int_]
add esp, 0x14
lea ecx, [ebp - 0x20]
test eax, eax
je 0x1000295e
push str..dll
call dword [sym.imp.RTFC.dll_public:_int___thiscall_CStringLite::FindNoCase_char_const__const]
test eax, eax
jge 0x100028b2
push str..dll
lea ecx, [ebp - 0x20]
call dword [0x1001d2f8]
lea ecx, [ebp - 0x40]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
push str.DriverFamily__s
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.RTFC.dll_public:_void___cdecl_CStringLite::Format_char_const__]
lea eax, [ebp - 0x8c]
push eax
call fcn.100146a4
add esp, 0x10
push dword [eax + 4]
lea eax, [ebp]
push 0x7fff
push eax
push 0x1001d530
push str.Supported
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x8c]
call esi
lea eax, [ebp]
push eax
call sub.MSVCR90.dll_strlen
pop ecx
test eax, eax
jne 0x10002939
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call esi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x7fffffff
jl 0x10002863
jmp 0x10002964
push dword [ebp - 0x1c]
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax + 0x36c]
push 0x20
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call esi
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax + 0x36c]
push eax
call sub.MSVCR90.dll_strlen
pop ecx
test eax, eax
jne 0x10002990
lea ecx, [ebp - 0x84]
call dword [sym.imp.RTFC.dll_public:_char_const____thiscall_CMultiString::GetNext_void_]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1000285f
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CMultiString::destructor_void_]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CMultiString::destructor_void_]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CRegValue::destructor_void_]
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax + 0x36c]
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.RTFC.dll_public:_static_class_CStringLite___cdecl_CFileVersion::GetStr_char_const__]
push dword [ebp - 0x74]
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax + 0x38c]
push 0x20
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0x14
lea ecx, [ebp - 0x50]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax + 0x36c]
push eax
lea eax, [ebp - 0x50]
push str.DriverFamily__s
push eax
mov byte [ebp - 4], 8
call dword [sym.imp.RTFC.dll_public:_void___cdecl_CStringLite::Format_char_const__]
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax + 0x38c]
push eax
call dword [sym.imp.RTFC.dll_public:_static_unsigned_long_int___cdecl_CFileVersion::StrToDWORD_char_const__]
push 0x7fff
mov dword [ebp - 0x54], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x94]
push eax
call fcn.100146a4
add esp, 0x18
push dword [eax + 4]
push 0x7fff
push dword [ebp - 0x14]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea ecx, [ebp - 0x94]
call esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push eax
jmp 0x10002af5
lea ecx, [ebp - 0x2c]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
push 1
push 0x1001d3f8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 0xa
call dword [sym.imp.RTFC.dll_public:_static_int___cdecl_CTextFile::GetParams_char_const___class_CStringLite___class_CStringLite___char_const___int_]
add esp, 0x14
test eax, eax
je 0x10002acd
push str.Supported
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR90.dll__stricmp]
pop ecx
pop ecx
test eax, eax
je 0x10002acd
push dword [ebp - 0x34]
push dword [ebp - 0x54]
call dword [sym.imp.RTFC.dll_public:_static_int___cdecl_CTextFile::IsInRange_unsigned_long_int__char_const__]
pop ecx
pop ecx
test eax, eax
jne 0x10002b05
push dword [ebp - 0x10]
call sub.MSVCR90.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax + 1]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call esi
push dword [ebp - 0x10]
call sub.MSVCR90.dll_strlen
pop ecx
test eax, eax
jne 0x10002a6e
jmp 0x10002b30
push dword [ebp - 0x28]
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax + 0x3ac]
push 0x20
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call esi
push dword [ebp - 0x14]
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call esi
jmp 0x10002bbb
xor edx, edx
cmp dword [ebp - 0x18], edx
jbe 0x10002bbb
and dword [ebp - 0x14], edx
add ecx, 0x410
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
test cl, 1
je 0x10002b83
test cl, 0x10
je 0x10002b83
mov eax, dword [edi + 0x28]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + eax]
cmp ecx, dword [ebx + eax]
je 0x10002b9b
mov ecx, dword [ebp - 0x10]
mov eax, 0x514
add dword [ebp - 0x14], eax
inc edx
add ecx, eax
mov dword [ebp - 0x10], ecx
cmp edx, dword [ebp - 0x18]
jb 0x10002b69
jmp 0x10002bbb
imul edx, edx, 0x514
lea ecx, [edx + eax + 0x36c]
push 0x60
push ecx
lea eax, [ebx + eax + 0x36c]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add ebx, 0x514
cmp eax, dword [edi + 0x2c]
jb 0x10002765
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
je 0x10002bf0
mov ecx, sym.RTCore.dll_class_COSVersion_g_osVersion
call dword [sym.imp.RTFC.dll_public:_int___thiscall_COSVersion::IsWindowsVistaOrLater_void_]
test eax, eax
jne 0x10002bf0
push dword [ebp - 0x30]
call dword [sym.imp.RTFC.dll_public:_static_int___cdecl_CWOW64::Wow64RevertWow64FsRedirection_void__]
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8000]
xor ecx, ebp
call fcn.1001acd2
add ebp, 0x8004
leave
ret