Function at 0x4f91c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab366
mov eax, dword fs:[0]
push eax
mov eax, 0x1046c
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
mov dword [ebp - 0x10478], ecx
mov edi, dword [ebp + 8]
push ecx
push str.CBaseInfoResBasicIni::Read_PrnInfo_SectionList
lea ecx, [ebp - 0x10470]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4f9253
test byte [ecx + 0x1c], 1
je 0x4f9253
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5db828
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1e
call fcn.00401840
add esp, 0xc
push 0xfffe
lea eax, [ebp - 0x10420]
mov dword [ebp - 0x10474], 0
push 0
push eax
call fcn.00571c00
add esp, 0xc
mov dword [ebp - 0x10428], 0
xor eax, eax
mov dword [ebp - 0x10424], 7
lea ecx, [ebp - 0x10438]
mov word [ebp - 0x10438], ax
push eax
push 0x5c6930
call fcn.004035d0
mov byte [ebp - 4], 1
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x4f92c0
nop
mov ecx, esi
call fcn.00403570
add esi, 0x18
cmp esi, ebx
jne 0x4f92b0
mov esi, dword [edi]
mov eax, dword [ebp - 0x10478]
add eax, 4
mov dword [edi + 4], esi
cmp dword [eax + 0x14], 8
jb 0x4f92d4
mov eax, dword [eax]
push eax
push 0x7fff
lea eax, [ebp - 0x10420]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x10420], 0
lea esi, [ebp - 0x10420]
je 0x4f93ed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.InstallInfo
push esi
call ebx
test eax, eax
je 0x4f93d6
push str.DeletedDriverList
push esi
call ebx
test eax, eax
je 0x4f93d6
push str.AddedDriverList
push esi
call ebx
test eax, eax
je 0x4f93d6
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00571c00
push esi
lea eax, [ebp - 0x420]
push 0x208
push eax
call fcn.005746e6
mov ecx, dword [ebp - 0x10478]
lea eax, [ebp - 0x420]
add esp, 0x18
push 0
push 0x208
push eax
call fcn.004fce40
mov dword [ebp - 0x10474], eax
test eax, eax
jne 0x4f93b2
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f9390
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10438]
call fcn.004035d0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x10438]
push ecx
cmp dword [edi + 8], eax
je 0x4f93ce
mov ecx, eax
call fcn.00402f40
add dword [edi + 4], 0x18
jmp 0x4f93d6
push eax
mov ecx, edi
call fcn.00478930
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2]
add esi, 2
cmp word [esi], 0
jne 0x4f9307
mov byte [ebp - 0x1046c], 1
mov ecx, dword [0x608f30]
mov esi, dword [ebp - 0x10474]
cmp ecx, 0x608f30
je 0x4f943b
test byte [ecx + 0x1c], 1
je 0x4f943b
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5db828
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1f
call fcn.004018a0
add esp, 0x10
mov edx, dword [ebp - 0x10424]
cmp edx, 8
jb 0x4f9477
mov ecx, dword [ebp - 0x10438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4f946d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f94a2
push edx
push ecx
call fcn.0056deb6
add esp, 8
lea ecx, [ebp - 0x10470]
call fcn.0040a570
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
call fcn.00574908
int3