Function at 0x475460
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a17db
mov eax, dword fs:[0]
push eax
sub esp, 0xa84
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push str.OperateService::NetSpotServiceControl
lea ecx, [ebp - 0xa90]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4754e4
test byte [ecx + 0x1c], 1
je 0x4754e4
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf518
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x83
call fcn.00401840
add esp, 0xc
push 0x208
xor esi, esi
lea eax, [ebp - 0x258]
push esi
push eax
call fcn.00571c00
push 0x800
lea eax, [ebp - 0xa58]
push esi
push eax
call fcn.00571c00
push 0x40
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.00571c00
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0xa58]
add esp, 0x24
mov ecx, dword [ecx + 0x1c]
push eax
push str.TEMPPATH
call fcn.004f65f0
lea eax, [ebp - 0xa58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.InsDrv.ini
lea eax, [ebp - 0xa58]
push 0x400
push eax
call fcn.00574a48
add esp, 0xc
lea eax, [ebp - 0xa58]
push eax
push 0x20
lea eax, [ebp - 0x50]
push eax
push 0x5ca378
push str.CheckNetSpot
push str.Installer_Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4755bf
test byte [ecx + 0x1c], 4
je 0x4755bf
cmp dword [0x608f68], 8
lea edx, [ebp - 0x50]
push edx
mov eax, 0x608f54
mov edx, 0x5cf518
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x84
call fcn.00405920
add esp, 0x10
push 0x5ca984
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4756f7
push str.NSDEVLIST
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4756b0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x475646
test byte [ecx + 0x1c], 4
je 0x475646
cmp dword [0x608f68], 8
lea edx, [ebp - 0x258]
push edx
mov eax, 0x608f54
mov edx, 0x5cf518
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x85
call fcn.00405920
add esp, 0x10
push 0x9a
push dword [0x6184fc]
call fcn.00502d80
add esp, 8
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x47569f
test byte [ecx + 0x1c], 4
je 0x47569f
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf518
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x86
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
mov esi, 0x80010011
mov dword [0x6183ec], 0x11
jmp 0x4756fd
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4756fd
test byte [ecx + 0x1c], 4
je 0x4756fd
cmp dword [0x608f68], 8
lea edx, [ebp - 0x258]
push edx
mov eax, 0x608f54
mov edx, 0x5cf518
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x87
call fcn.00405920
add esp, 0x10
mov ecx, dword [0x608f30]
mov byte [ebp - 0xa8c], 1
cmp ecx, 0x608f30
je 0x47573f
test byte [ecx + 0x1c], 1
je 0x47573f
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x88
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0xa90]
call fcn.0040a570
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret