Function at 0x488180
Capabilities:
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2d45
mov eax, dword fs:[0]
push eax
mov eax, 0x108fc
call fcn.0056e430
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push str.SilentInstallManager::CheckDriverNameForSilent
lea ecx, [ebp - 0x108c8]
mov dword [ebp - 4], 0
call fcn.0040a480
mov byte [ebp - 4], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x488251
test byte [ecx + 0x1c], 1
je 0x488214
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d082c
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x16
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x488251
test byte [ecx + 0x1c], 1
je 0x488251
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [ebp + 8]
cmovae eax, dword [0x608f54]
mov edx, 0x5d082c
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x17
call fcn.00405920
add esp, 0x10
push 0x800
lea eax, [ebp - 0x890]
push 0
push eax
call fcn.00571c00
push 0xfffe
lea eax, [ebp - 0x10890]
push 0
push eax
call fcn.00571c00
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00571c00
add esp, 0x24
lea ecx, [ebp - 0x10908]
call fcn.0055b16f
mov byte [ebp - 4], 2
lea eax, [ebp - 0x890]
mov ecx, dword [0x6184f0]
push eax
push str.TEMPPATH
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
push str.InsDrv.ini
lea eax, [ebp - 0x890]
push 0x400
push eax
call fcn.00574a48
add esp, 0xc
lea eax, [ebp - 0x890]
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [0x6184f4]
lea eax, [ebp - 0x90]
push str.Driver
push eax
mov ecx, dword [ecx + 4]
call fcn.005077d0
lea eax, [ebp - 0x890]
push eax
push 0x7fff
lea eax, [ebp - 0x10890]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
or ebx, 0xffffffff
test eax, eax
jne 0x488382
push str.InsDrv.ini
push 0x19
push dword [0x6184fc]
call fcn.00502d80
add esp, 0xc
mov byte [ebp - 0x108c4], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48837b
test byte [ecx + 0x1c], 1
je 0x48837b
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5d082c
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
lea ecx, [ebx + 0x19]
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x48897b
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x4889d0
mov eax, dword [ecx]
push 2
push 0x7fff
call dword [eax]
test eax, eax
je 0x4889da
cmp dword [eax + 8], 0x7fff
lea edi, [eax + 0x10]
mov dword [ebp - 0x108dc], edi
jl 0x4889df
xor eax, eax
mov dword [edi - 0xc], 0x7fff
mov word [edi + 0xfffe], ax
mov edx, 0x7fff
lea eax, [ebp - 0x10890]
mov ecx, edi
push 0x7fff
push eax
call fcn.00403ed0
add esp, 8
mov byte [ebp - 4], 3
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x4889e9
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x108d8], esi
mov byte [ebp - 4], 4
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x4889f3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x108d0], eax
xor ebx, ebx
mov byte [ebp - 4], 5
mov ecx, dword [edi - 0xc]
xor eax, eax
mov dword [ebp - 0x108cc], eax
test ebx, ebx
js 0x4886d9
cmp ebx, ecx
jge 0x4886d9
lea eax, [edi + ebx*2]
push 0
push eax
call fcn.00570b1c
add esp, 8
test eax, eax
je 0x4886d9
sub eax, edi
sar eax, 1
mov dword [ebp - 0x108f4], eax
test eax, eax
jle 0x4886d9
xor ecx, ecx
add eax, 1
mov dword [ebp - 0x108f0], eax
cmovns ecx, eax
mov eax, closesocket
sub eax, ebx
cmp eax, ecx
jl 0x4889fd
mov edx, dword [edi - 0xc]
lea eax, [ecx + ebx]
cmp eax, edx
jle 0x48849b
mov ecx, edx
sub ecx, ebx
xor eax, eax
cmp ebx, edx
cmovle eax, ecx
mov dword [ebp - 0x108d4], eax
test ebx, ebx
jne 0x4884c3
cmp eax, edx
jne 0x4884c3
lea ecx, [edi - 0x10]
call fcn.00403af0
add eax, 0x10
mov dword [ebp - 0x108e4], eax
jmp 0x4884fb
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x4884d3
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x4884df
call fcn.00550b4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [ebp - 0x108d4]
lea eax, [edi + ebx*2]
push eax
lea ecx, [ebp - 0x108e4]
call fcn.00403d50
mov eax, dword [ebp - 0x108e4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 6
lea ebx, [eax - 0x10]
mov dword [ebp - 0x108d4], edx
cmp ebx, edx
je 0x48856b
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x488556
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x488556
mov ecx, ebx
call fcn.00403af0
mov dword [ebp - 0x108e0], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x48854b
mov esi, dword [ebp - 0x108d4]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x108e0]
lea esi, [eax + 0x10]
mov dword [ebp - 0x108d8], esi
jmp 0x48856b
push dword [eax - 0xc]
lea ecx, [ebp - 0x108d8]
push eax
call fcn.00403bb0
mov esi, dword [ebp - 0x108d8]
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x488584
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi - 0xc]
cmp eax, 1
jl 0x4886d9
test eax, eax
jg 0x488599
or eax, 0xffffffff
jmp 0x4885b1
push 0x3d
push esi
call fcn.00570b1c
add esp, 8
test eax, eax
jne 0x4885ad
or eax, 0xffffffff
jmp 0x4885b1
sub eax, esi
sar eax, 1
xor ebx, ebx
test eax, eax
cmovns ebx, eax
cmp ebx, dword [esi - 0xc]
jl 0x4885d0
lea ecx, [esi - 0x10]
call fcn.00403af0
add eax, 0x10
mov dword [ebp - 0x108e8], eax
jmp 0x488600
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x4885e0
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x4885ec
call fcn.00550b4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push ebx
push esi
lea ecx, [ebp - 0x108e8]
call fcn.00403d50
mov eax, dword [ebp - 0x108e8]
mov byte [ebp - 4], 7
lea ebx, [eax - 0x10]
mov edx, dword [ebp - 0x108d0]
add edx, 0xfffffff0
mov dword [ebp - 0x108d4], edx
cmp ebx, edx
je 0x48867c
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x108e0], ecx
jl 0x48866d
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x48866d
mov ecx, ebx
call fcn.00403af0
mov edx, dword [ebp - 0x108e0]
or ecx, 0xffffffff
mov dword [ebp - 0x108ec], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x488662
mov eax, dword [ebp - 0x108d4]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x108ec]
add eax, 0x10
mov dword [ebp - 0x108d0], eax
jmp 0x48867c
push dword [eax - 0xc]
lea ecx, [ebp - 0x108d0]
push eax
call fcn.00403bb0
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x488695
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x108d0]
push eax
push dword [ebp - 0x10900]
lea ecx, [ebp - 0x10908]
call fcn.0055b5b5
mov eax, dword [ebp - 0x108f0]
mov ebx, eax
test eax, eax
js 0x4889df
mov ecx, dword [edi - 0xc]
cmp dword [ebp - 0x108f4], ecx
jge 0x4889df
movzx eax, word [edi + eax*2]
test ax, ax
jne 0x488438
mov eax, dword [ebp - 0x10900]
xor ebx, ebx
test eax, eax
jle 0x488744
test ebx, ebx
js 0x488a07
cmp ebx, eax
jge 0x488a07
mov eax, dword [ebp - 0x10904]
mov ecx, dword [eax + ebx*4]
sub ecx, 0x10
call fcn.00403af0
push dword [ebp + 8]
lea edi, [eax + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
add edi, 0xfffffff0
test eax, eax
je 0x48884a
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x488733
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10900]
inc ebx
cmp ebx, eax
jl 0x4886e5
mov edi, dword [ebp - 0x108dc]
mov ecx, dword [0x6184f0]
mov ecx, dword [ecx + 0x30]
call fcn.004de4a0
test eax, eax
je 0x4887b6
mov ecx, dword [0x6184f0]
push dword [ebp + 8]
mov ecx, dword [ecx + 0x30]
call fcn.004de580
test eax, eax
jne 0x4887b6
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4887ae
test byte [ecx + 0x1c], 4
je 0x4887ae
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [ebp + 8]
cmovae eax, dword [0x608f54]
mov edx, 0x5d082c
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x19
call fcn.00405920
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x108cc], eax
cmp dword [0x618534], 0
mov eax, dword [0x6184f0]
mov ebx, dword [eax + 8]
mov eax, dword [ebp + 8]
je 0x488872
cmp dword [eax - 4], 1
jle 0x4887e2
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00403e30
mov eax, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
call fcn.004dbc70
test eax, eax
je 0x4888cd
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48883d
test byte [ecx + 0x1c], 4
je 0x48883d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [ebp + 8]
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1a
mov edx, 0x5d082c
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
xor edx, edx
mov dword [ebp - 0x108cc], edx
jmp 0x4888d9
mov dword [ebp - 0x108cc], 1
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x48873e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x48873e
cmp dword [eax - 4], 1
jle 0x488886
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00403e30
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
call fcn.004db770
test eax, eax
je 0x4888cd
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48883d
test byte [ecx + 0x1c], 4
je 0x48883d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [ebp + 8]
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1b
jmp 0x48882a
mov ecx, dword [0x608f30]
mov edx, dword [ebp - 0x108cc]
mov byte [ebp - 0x108c4], 1
cmp ecx, 0x608f30
je 0x48891b
test byte [ecx + 0x1c], 1
je 0x48891b
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edx
cmovae eax, dword [0x608f54]
mov edx, 0x5d082c
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1c
call fcn.004018a0
add esp, 0x10
mov byte [ebp - 4], 4
or ebx, 0xffffffff
mov edx, dword [ebp - 0x108d0]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48893f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48895a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x488975
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x108cc]
lea ecx, [ebp - 0x10908]
call fcn.0055b186
lea ecx, [ebp - 0x108c8]
call fcn.0040a570
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4889b0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004013a0
call fcn.00403ec0
push 0x80070057
call fcn.004013a0
push 0x80004005
call fcn.004013a0
push 0x80004005
call fcn.004013a0
push 0x80070216
call fcn.004013a0
call fcn.005511b9
int3