Function at 0x40c230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45edab
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4735a8]
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 0x40c5aa
push str.checkboxOptions
lea ecx, [ebp - 0x174]
call fcn.00402de0
push str.MinMainWnd
push 0x464ebc
push str.Option
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0x174]
push 0x464eac
push ecx
mov dword [ebp - 4], edi
mov dword [ebx + 0x6c], eax
call fcn.0043a71a
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 0x40c2ee
push eax
push str.minMainWnd
mov ecx, ebx
call fcn.00407040
mov dword [ebp - 0x11c], 1
push str.KeepConnPasswd
push 0x464ebc
push str.Option
lea eax, [ebp - 0x118]
push 0x464eac
push eax
call fcn.0043a71a
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 0x40c360
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 0x40c360
mov dword [ebp - 0x11c], 1
push str.HintWhenLogon
push 0x464ebc
push str.Option
lea eax, [ebp - 0x118]
push 0x464eac
push eax
call fcn.0043a71a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c3b9
push eax
push str.hintWhenLogon
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c3b9
mov dword [ebp - 0x11c], 1
push str.EnableDomainAuth
push 0x464ebc
push str.Option
lea edx, [ebp - 0x118]
push 0x464eac
push edx
call fcn.0043a71a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c412
push eax
push str.enableDomainAuth
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c412
mov dword [ebp - 0x11c], 1
push str.DelArpTbl
push 0x464ebc
push str.Option
lea ecx, [ebp - 0x118]
push 0x464eac
push ecx
call fcn.0043a71a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c46b
push eax
push str.delArpTbl
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c46b
mov dword [ebp - 0x11c], 1
push str.OnlyUSBKeyAuth
push 0x464ebc
push str.Option
lea eax, [ebp - 0x118]
push 0x464eac
push eax
call fcn.0043a71a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c4c4
push eax
push str.onlyUSBKeyAuth
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c4c4
mov dword [ebp - 0x11c], 1
push str.KeepOnline
push 0x464ebc
push str.Option
lea edx, [ebp - 0x118]
push 0x464eac
push edx
call fcn.0043a71a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c51d
push eax
push str.keepOnline
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c51d
mov dword [ebp - 0x11c], 1
push esi
push 0xffffffffffffffff
push str.ReAuthTimes
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c551
push eax
push str.reauthTimes
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c551
mov dword [ebp - 0x11c], 1
push esi
push 0
push str.ReAuthInterval
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c574
push eax
push str.reauthInterval
mov ecx, ebx
call fcn.00407040
jmp 0x40c57d
cmp dword [ebp - 0x11c], 0
je 0x40c58f
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.004396d4
mov esp, ebp
pop ebp
ret 4