Function at 0x40fac0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xcc
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x32
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ebx, [esi + 0x3460]
mov ecx, 0x32
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xe0]
cmp eax, 7
ja case.default.0x40faf7
jmp dword [eax*4 + 0x410054]
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x10]
push eax
push str._s.98
push ecx
jmp 0x40fb95
mov edx, dword [esp + 0xdc]
push edx
push str._s.NT
jmp 0x40fb90
mov ecx, dword [esp + 0xdc]
lea edx, [esp + 0x10]
push ecx
push str._s.2K
push edx
jmp 0x40fb95
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x10]
push eax
push str._s.XP
push ecx
jmp 0x40fb95
mov edx, dword [esp + 0xdc]
push edx
push str._s.2003
jmp 0x40fb90
mov ecx, dword [esp + 0xdc]
lea edx, [esp + 0x10]
push ecx
push str._s.Vista
push edx
jmp 0x40fb95
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x10]
push eax
push str._s.2008
push ecx
jmp 0x40fb95
mov edx, dword [esp + 0xdc]
push edx
push str._s.Win7
lea eax, [esp + 0x18]
push eax
call fcn.0041dbc4
add esp, 0xc
mov eax, dword [esi + 0x345c]
cmp eax, 3
ja case.default.0x40fbac
jmp dword [eax*4 + 0x410074]
lea edi, [esi + 0x3528]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
jmp 0x40fbfb
lea edi, [esi + 0x35f0]
jmp 0x40fbe2
lea edi, [esi + 0x36b8]
jmp 0x40fbe2
lea edi, [esi + 0x3780]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x450b1c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0xec]
cmp eax, 2
jne 0x40fc4a
mov eax, dword [0x4506d0]
test eax, eax
je 0x40fc5c
xor eax, eax
jmp 0x40fc63
test eax, eax
jne 0x40fc5c
mov eax, dword [0x4506d0]
test eax, eax
mov eax, 1
jne 0x40fc63
mov eax, dword [esp + 0xe8]
mov ecx, dword [0x44bd9c]
mov esi, dword [esp + 0xe4]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
sub eax, 0
mov dword [esp + 0xc], ecx
je 0x40fd90
dec eax
jne 0x40fed4
push ebx
lea edx, [esi + 0xc8]
push 0xc8
push edx
push 0x44a6dc
lea eax, [esp + 0x20]
push str.GDIDataFile
push eax
call edi
push ebx
lea ecx, [esi + 0x190]
push 0xc8
push ecx
push 0x44a6dc
lea edx, [esp + 0x20]
push str.GDIConfigFile
push edx
call edi
push ebx
lea eax, [esi + 0x258]
push 0xc8
push eax
push 0x44a6dc
lea ecx, [esp + 0x20]
push str.GDIHelpFile
push ecx
call edi
push ebx
lea edx, [esi + 0x76c]
push 0xc8
push edx
push 0x44a6dc
lea eax, [esp + 0x20]
push str.GDIProcessorDLLName
push eax
call edi
push ebx
push 0xc8
push esi
push 0x44a6dc
lea ecx, [esp + 0x20]
push str.GDIDriverPath
push ecx
call edi
push ebx
lea edx, [esi + 0x834]
push 0xc8
push edx
push 0x44a6dc
lea eax, [esp + 0x20]
push str.GDIDataFileDLLName
push eax
call edi
push ebx
lea ecx, [esi + 0xa8c]
push 0xc8
push ecx
push 0x44a6dc
lea edx, [esp + 0x20]
push str.GDIDataOemuiDLL
push edx
call edi
push ebx
lea eax, [esi + 0x8fc]
push 0xc8
push eax
push 0x44a6dc
lea ecx, [esp + 0x20]
push str.GDIDataOemuniDLL
push ecx
call edi
push ebx
lea edx, [esi + 0x9c4]
push 0xc8
push edx
push 0x44a6dc
push str.GDIDataOemuniini
jmp 0x40fe91
push ebx
lea edx, [esi + 0xc8]
push 0xc8
push edx
push 0x44a6dc
lea eax, [esp + 0x20]
push str.STDDataFile
push eax
call edi
push ebx
lea ecx, [esi + 0x190]
push 0xc8
push ecx
push 0x44a6dc
lea edx, [esp + 0x20]
push str.STDConfigFile
push edx
call edi
push ebx
lea eax, [esi + 0x258]
push 0xc8
push eax
push 0x44a6dc
lea ecx, [esp + 0x20]
push str.STDHelpFile
push ecx
call edi
push ebx
lea edx, [esi + 0x76c]
push 0xc8
push edx
push 0x44a6dc
lea eax, [esp + 0x20]
push str.STDProcessorDLLName
push eax
call edi
push ebx
push 0xc8
push esi
push 0x44a6dc
lea ecx, [esp + 0x20]
push str.STDDriverPath
push ecx
call edi
push ebx
lea edx, [esi + 0x834]
push 0xc8
push edx
push 0x44a6dc
lea eax, [esp + 0x20]
push str.STDDataFileDLLName
push eax
call edi
push ebx
lea ecx, [esi + 0xa8c]
push 0xc8
push ecx
push 0x44a6dc
lea edx, [esp + 0x20]
push str.STDDataOemuiDLL
push edx
call edi
push ebx
lea eax, [esi + 0x8fc]
push 0xc8
push eax
push 0x44a6dc
lea ecx, [esp + 0x20]
push str.STDDataOemuniDLL
push ecx
call edi
push ebx
lea edx, [esi + 0x9c4]
push 0xc8
push edx
push 0x44a6dc
push str.STDDataOemuniini
lea eax, [esp + 0x24]
push eax
call edi
push ebx
lea ecx, [esi + 0xb54]
push 0xc8
push ecx
push 0x44a6dc
lea edx, [esp + 0x20]
push str.ControlFontFile
push edx
call edi
push ebx
lea eax, [esi + 0xc1c]
push 0xc8
push eax
push 0x44a6dc
lea ecx, [esp + 0x20]
push str.USBInternalID
push ecx
call edi
push ebx
lea edx, [esi + 0x13ec]
push 0xc8
push edx
push 0x44a6dc
lea eax, [esp + 0x20]
push str.DriverlogViewer
push eax
call edi
push ebx
lea ecx, [esi + 0x14b4]
push 0xc8
push ecx
push 0x44a6dc
lea edx, [esp + 0x20]
push str.DriverlogINI
push edx
call edi
push ebx
lea eax, [esi + 0x157c]
push 0xc8
push eax
push 0x44a6dc
lea ecx, [esp + 0x20]
push str.DriverlogBAT
push ecx
call edi
push ebx
lea edx, [esi + 0xce4]
push 0xc8
push edx
push 0x44a6dc
lea eax, [esp + 0x20]
push str.LanguageResourceFile1
push eax
call edi
push ebx
lea ecx, [esi + 0xdac]
push 0xc8
push ecx
push 0x44a6dc
lea edx, [esp + 0x20]
push str.LanguageResourceFile2
push edx
call edi
push ebx
lea eax, [esi + 0xe74]
push 0xc8
push eax
push 0x44a6dc
lea ecx, [esp + 0x20]
push str.LanguageResourceFile3
push ecx
call edi
push ebx
lea edx, [esi + 0xf3c]
push 0xc8
push edx
push 0x44a6dc
lea eax, [esp + 0x20]
push str.LanguageResourceFile4
push eax
call edi
push ebx
lea ecx, [esi + 0x1004]
push 0xc8
push ecx
push 0x44a6dc
lea edx, [esp + 0x20]
push str.LanguageResourceFile5
push edx
call edi
push ebx
lea eax, [esi + 0x10cc]
push 0xc8
push eax
push 0x44a6dc
lea ecx, [esp + 0x20]
push str.LanguageResourceFile6
push ecx
call edi
push ebx
lea edx, [esi + 0x1194]
push 0xc8
push edx
push 0x44a6dc
lea eax, [esp + 0x20]
push str.LanguageResourceFile7
push eax
call edi
push ebx
lea ecx, [esi + 0x125c]
push 0xc8
push ecx
push 0x44a6dc
lea edx, [esp + 0x20]
push str.LanguageResourceFile8
push edx
call edi
push ebx
add esi, 0x1324
push 0xc8
push esi
push 0x44a6dc
lea eax, [esp + 0x20]
push str.LanguageResourceFile9
push eax
call edi
lea ecx, [esp + 0xc]
call fcn.0042fc20
pop edi
pop esi
pop ebx
add esp, 0xcc
ret 0x14