Function at 0x402da0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xaf0
mov dl, byte [0x415688]
push ebx
push esi
push edi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x265]
mov byte [esp + 0x264], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0xd5]
mov byte [esp + 0xd4], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x19d]
mov byte [esp + 0x19c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f3
xor eax, eax
lea edi, [esp + 0x32d]
mov byte [esp + 0x32c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x415688
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x411004
mov eax, ecx
mov esi, edi
mov edi, 0x411108
push 0x7d0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x334]
push ecx
push str.Manufacturer
call ebx
cmp eax, 1
jae 0x402ec1
mov al, byte [0x410ff4]
cmp al, 1
jne 0x402e9b
push 0x40
push 0x40e16c
push 0x40e158
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
add esp, 0xaf0
ret
test al, al
jne 0x4031c0
push 0
push 0x40e16c
push str.Get_install_information_failure.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
add esp, 0xaf0
ret
lea edi, [esp + 0x32c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x19c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x3d
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1a0]
push ecx
call fcn.004047a0
mov edx, eax
lea ecx, [esp + 0x1a4]
sub edx, ecx
add esp, 8
lea ecx, [edx - 2]
cmp ecx, 1
jl 0x4031c0
inc eax
mov edx, ecx
mov esi, eax
lea edi, [esp + 0x264]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00402460
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call fcn.004047a0
add esp, 0xc
test eax, eax
je 0x402f6c
mov byte [eax], 0
push 0x411004
lea edx, [esp + 0x330]
push 0x7d0
lea eax, [esp + 0x14]
push edx
push eax
call ebx
lea ecx, [esp + 0x32c]
push 0x25
push ecx
call fcn.004047a0
mov edi, eax
add esp, 8
test edi, edi
je 0x4031c0
lea esi, [edi + 1]
push 0x25
push esi
call fcn.004047a0
sub eax, edi
add esp, 8
lea edx, [eax - 1]
cmp edx, 1
jl 0x4031c0
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0xc]
push ebp
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00402460
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x411004
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x1f4
lea edi, [esp + 0x334]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x334]
push 0x7d0
push ecx
lea edx, [esp + 0x274]
push eax
push edx
push str.Strings
call ebx
lea edi, [esp + 0x330]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0xd8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._r_n______
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x1f4
lea edi, [esp + 0x330]
rep stosd dword es:[edi], eax
push 0x411004
lea eax, [esp + 0x334]
push 0x7d0
push eax
lea ecx, [esp + 0x1c]
push 0
push ecx
push str.Strings
call ebx
lea edi, [esp + 0x330]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x411004
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0xdc]
and ecx, 3
push 0x7d0
rep movsb byte es:[edi], byte [esi]
mov edi, str._r_n__________
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x1f4
lea edi, [esp + 0x338]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x338]
push eax
push 0
push str.DriverVer
push str.Version
call ebx
lea edi, [esp + 0x330]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xd8]
or ecx, 0xffffffff
pop ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xb04]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0xaf0
ret