Function at 0x40c540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f39b
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4745a8]
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 edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x40c87b
push str.functions
lea ecx, [ebp - 0x16c]
call fcn.00402de0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0xffffffffffffffff
push str.CreateShortcut
lea eax, [ebp - 0x16c]
push str.Functions
mov dword [ebp - 4], 0
mov dword [esi + 0x6c], eax
call ebx
cmp eax, 0xffffffff
je 0x40c5cb
push eax
push str.createShortcut
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.RenameConn
push str.Functions
call ebx
push eax
push str.renameConn
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.ArpOpt
push str.Functions
call ebx
push eax
push 0x46544c
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.DhcpOpt
push str.Functions
call ebx
push eax
push str.dhcp
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.WanControlOpt
push str.Functions
call ebx
push eax
push str.wanControl
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.AclOpt
push str.Functions
call ebx
push eax
push 0x465434
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.SsidOpt
push str.Functions
call ebx
push eax
push str.ssid
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.Uninstall
push str.Functions
call ebx
push eax
push str.uninstall
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.PatchARV
push str.Functions
call ebx
push eax
push str.patchARV
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.UrlOpt
push str.Functions
call ebx
push eax
push 0x46539c
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.RemindPopSecUiOpt
push str.Functions
call ebx
push eax
push str.remindPopSecUI
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.PopErrDlgOpt
push str.Functions
call ebx
push eax
push str.popErrDlg
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.BlackBoxOpt
push str.Functions
call ebx
push eax
push str.blackBox
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.UserFromCertOpt
push str.Functions
call ebx
push eax
push str.userFromCert
mov ecx, esi
call fcn.00407040
push edi
push 0xffffffffffffffff
push str.UserNameLenFromCert
push str.Functions
call ebx
cmp eax, 0xffffffff
je 0x40c758
push eax
push str.userNameLenFromCert
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.DisableExitOpt
push str.Functions
call ebx
push eax
push str.disableExit
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.PasswordProtection
push str.Functions
call ebx
push eax
push str.passwordProtection
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.DisablePapOpt
push str.Functions
call ebx
push eax
push str.disablePap
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.ForbidMdyIpOpt
push str.Functions
call ebx
push eax
push str.forbidMdyIp
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.DrvErrOpt
push str.Functions
call ebx
push eax
push str.drvErr
mov ecx, esi
call fcn.00407040
push edi
push 0
push str.AutoReboot
push str.Functions
call ebx
push eax
push str.autoReboot
mov ecx, esi
call fcn.00407040
push 0x104
lea ecx, [ebp - 0x117]
push 0
push ecx
mov byte [ebp - 0x118], 0
call fcn.0043abc0
add esp, 0xc
push edi
push 0x104
lea edx, [ebp - 0x118]
push edx
push 0x46c3e8
push str.install
push str.Functions
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
push str.uninstallPassword
mov ecx, esi
call fcn.00406e90
mov edi, dword [ebp - 0x11c]
lea ecx, [ebp - 0x16c]
push ecx
mov ecx, edi
call fcn.00402720
mov dword [esi + 0x6c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.00402fa0
push 1
mov ecx, esi
call fcn.00407280
movzx eax, al
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.00439bf4
mov esp, ebp
pop ebp
ret 4