Function at 0x40c200
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4655bb
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x47c5a8]
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 0x40c57a
push str.checkboxOptions
lea ecx, [ebp - 0x174]
call fcn.00402de0
push str.MinMainWnd
push 0x46c450
push str.Option
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0x174]
push 0x46c440
push ecx
mov dword [ebp - 4], edi
mov dword [ebx + 0x6c], eax
call fcn.00440eaa
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 0x40c2be
push eax
push str.minMainWnd
mov ecx, ebx
call fcn.00407040
mov dword [ebp - 0x11c], 1
push str.KeepConnPasswd
push 0x46c450
push str.Option
lea eax, [ebp - 0x118]
push 0x46c440
push eax
call fcn.00440eaa
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 0x40c330
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 0x40c330
mov dword [ebp - 0x11c], 1
push str.HintWhenLogon
push 0x46c450
push str.Option
lea eax, [ebp - 0x118]
push 0x46c440
push eax
call fcn.00440eaa
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c389
push eax
push str.hintWhenLogon
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c389
mov dword [ebp - 0x11c], 1
push str.EnableDomainAuth
push 0x46c450
push str.Option
lea edx, [ebp - 0x118]
push 0x46c440
push edx
call fcn.00440eaa
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c3e2
push eax
push str.enableDomainAuth
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c3e2
mov dword [ebp - 0x11c], 1
push str.DelArpTbl
push 0x46c450
push str.Option
lea ecx, [ebp - 0x118]
push 0x46c440
push ecx
call fcn.00440eaa
add esp, 0x14
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c43b
push eax
push str.delArpTbl
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c43b
mov dword [ebp - 0x11c], 1
push str.OnlyUSBKeyAuth
push 0x46c450
push str.Option
lea eax, [ebp - 0x118]
push 0x46c440
push eax
call fcn.00440eaa
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c494
push eax
push str.onlyUSBKeyAuth
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c494
mov dword [ebp - 0x11c], 1
push str.KeepOnline
push 0x46c450
push str.Option
lea edx, [ebp - 0x118]
push 0x46c440
push edx
call fcn.00440eaa
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c4ed
push eax
push str.keepOnline
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c4ed
mov dword [ebp - 0x11c], 1
push esi
push 0xffffffffffffffff
push str.ReAuthTimes
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c521
push eax
push str.reauthTimes
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c521
mov dword [ebp - 0x11c], 1
push esi
push 0
push str.ReAuthInterval
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c544
push eax
push str.reauthInterval
mov ecx, ebx
call fcn.00407040
jmp 0x40c54d
cmp dword [ebp - 0x11c], 0
je 0x40c55f
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.0043fe5a
mov esp, ebp
pop ebp
ret 4