Function at 0x40c190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f35b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
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 esi, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [ebx + 0x6c]
xor edi, edi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], eax
cmp eax, edi
je 0x40c50a
push str.checkboxOptions
lea ecx, [ebp - 0x174]
call fcn.00402de0
push str.MinMainWnd
push 0x465f48
push str.Option
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0x174]
push 0x465f38
push ecx
mov dword [ebp - 4], edi
mov dword [ebx + 0x6c], eax
call fcn.0043ac3a
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x14
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c24e
push eax
push str.minMainWnd
mov ecx, ebx
call fcn.00407040
mov dword [ebp - 0x11c], 1
push str.KeepConnPasswd
push 0x465f48
push str.Option
lea eax, [ebp - 0x118]
push 0x465f38
push eax
call fcn.0043ac3a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.CheckboxOptions
call edi
mov dword [ebp - 0x124], eax
cmp eax, 0xffffffff
je 0x40c2c0
push eax
push str.keepConnUser
mov ecx, ebx
call fcn.00407040
mov edx, dword [ebp - 0x124]
push edx
push str.keepConnPwd
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c2c0
mov dword [ebp - 0x11c], 1
push str.HintWhenLogon
push 0x465f48
push str.Option
lea eax, [ebp - 0x118]
push 0x465f38
push eax
call fcn.0043ac3a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c319
push eax
push str.hintWhenLogon
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c319
mov dword [ebp - 0x11c], 1
push str.EnableDomainAuth
push 0x465f48
push str.Option
lea edx, [ebp - 0x118]
push 0x465f38
push edx
call fcn.0043ac3a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c372
push eax
push str.enableDomainAuth
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c372
mov dword [ebp - 0x11c], 1
push str.DelArpTbl
push 0x465f48
push str.Option
lea ecx, [ebp - 0x118]
push 0x465f38
push ecx
call fcn.0043ac3a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c3cb
push eax
push str.delArpTbl
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c3cb
mov dword [ebp - 0x11c], 1
push str.OnlyUSBKeyAuth
push 0x465f48
push str.Option
lea eax, [ebp - 0x118]
push 0x465f38
push eax
call fcn.0043ac3a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c424
push eax
push str.onlyUSBKeyAuth
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c424
mov dword [ebp - 0x11c], 1
push str.KeepOnline
push 0x465f48
push str.Option
lea edx, [ebp - 0x118]
push 0x465f38
push edx
call fcn.0043ac3a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c47d
push eax
push str.keepOnline
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c47d
mov dword [ebp - 0x11c], 1
push esi
push 0xffffffffffffffff
push str.ReAuthTimes
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c4b1
push eax
push str.reauthTimes
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c4b1
mov dword [ebp - 0x11c], 1
push esi
push 0
push str.ReAuthInterval
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c4d4
push eax
push str.reauthInterval
mov ecx, ebx
call fcn.00407040
jmp 0x40c4dd
cmp dword [ebp - 0x11c], 0
je 0x40c4ef
lea ecx, [ebp - 0x174]
push ecx
mov ecx, dword [ebp - 0x120]
call fcn.00402720
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0x174]
mov dword [ebx + 0x6c], edx
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, ebx
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