Function at 0x4ffee0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x5c6930
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004035d0
push 0x5c7d38
push str.RestoreMode
push str.Restore_Info
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00408820
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4fff86
mov ecx, eax
call fcn.00403570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4fffc0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fffb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5002a1
push edx
push ecx
call fcn.0056deb6
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x5c7da0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
mov ecx, edi
push 0x5c7d38
sbb eax, eax
inc eax
push str.NoRegistDriverStoreSelect
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x40]
push str.CommonInfo
push eax
call fcn.00408820
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x50002d
mov ecx, eax
call fcn.00403570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x500067
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x50005d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5002a6
push edx
push ecx
call fcn.0056deb6
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x5c7da0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
mov ecx, edi
push 0x5c7d38
sbb eax, eax
inc eax
push str.ReplaceCustomDriver
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x40]
push str.CommonInfo
push eax
call fcn.00408820
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x5000d4
mov ecx, eax
call fcn.00403570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x50010e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x500104
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5002ab
push edx
push ecx
call fcn.0056deb6
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x5c7da0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0x24], eax
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x500138
mov eax, dword [eax]
push eax
push 0
push str.SilentDiscoveryTimeout
push str.CommonInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x28], eax
cmp eax, 1
jb 0x50015a
cmp eax, 0x2710
jbe 0x500161
mov dword [edi + 0x28], 0xf
push 0
push str.SilentCommunityName
push str.CommonInfo
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00408820
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x5001ac
mov ecx, eax
call fcn.00403570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x5001e6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5001dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5002b0
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov edi, dword [ebp - 0x18]
xor ecx, ecx
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
test edi, edi
jle 0x50021a
cmp esi, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + ecx*2], 0x20
jb 0x500270
cmp esi, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + ecx*2], 0x7e
ja 0x500270
inc ecx
cmp ecx, edi
jl 0x5001f5
xor ecx, ecx
lea eax, [edi - 1]
cmp eax, 0x1f
ja 0x500248
test ecx, ecx
jne 0x500248
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x28]
add ecx, 0x2c
cmp ecx, eax
je 0x500248
cmp esi, 8
push edi
cmovae eax, edx
push eax
call fcn.004035d0
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp esi, 8
jb 0x500281
lea esi, [esi*2 + 2]
mov eax, edx
cmp esi, 0x1000
jb 0x500277
mov edx, dword [edx - 4]
add esi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5002b5
jmp 0x500277
mov ecx, 1
jmp 0x50021c
push esi
push edx
call fcn.0056deb6
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret
call fcn.00574908
call fcn.00574908
call fcn.00574908
call fcn.00574908
call fcn.00574908
int3