Function at 0x40c1b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46154b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4775a8]
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 0x40c52a
push str.checkboxOptions
lea ecx, [ebp - 0x174]
call fcn.00402de0
push str.MinMainWnd
push 0x468018
push str.Option
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0x174]
push 0x468008
push ecx
mov dword [ebp - 4], edi
mov dword [ebx + 0x6c], eax
call fcn.0043ce2a
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 0x40c26e
push eax
push str.minMainWnd
mov ecx, ebx
call fcn.00407040
mov dword [ebp - 0x11c], 1
push str.KeepConnPasswd
push 0x468018
push str.Option
lea eax, [ebp - 0x118]
push 0x468008
push eax
call fcn.0043ce2a
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 0x40c2e0
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 0x40c2e0
mov dword [ebp - 0x11c], 1
push str.HintWhenLogon
push 0x468018
push str.Option
lea eax, [ebp - 0x118]
push 0x468008
push eax
call fcn.0043ce2a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c339
push eax
push str.hintWhenLogon
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c339
mov dword [ebp - 0x11c], 1
push str.EnableDomainAuth
push 0x468018
push str.Option
lea edx, [ebp - 0x118]
push 0x468008
push edx
call fcn.0043ce2a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c392
push eax
push str.enableDomainAuth
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c392
mov dword [ebp - 0x11c], 1
push str.DelArpTbl
push 0x468018
push str.Option
lea ecx, [ebp - 0x118]
push 0x468008
push ecx
call fcn.0043ce2a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c3eb
push eax
push str.delArpTbl
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c3eb
mov dword [ebp - 0x11c], 1
push str.OnlyUSBKeyAuth
push 0x468018
push str.Option
lea eax, [ebp - 0x118]
push 0x468008
push eax
call fcn.0043ce2a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c444
push eax
push str.onlyUSBKeyAuth
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c444
mov dword [ebp - 0x11c], 1
push str.KeepOnline
push 0x468018
push str.Option
lea edx, [ebp - 0x118]
push 0x468008
push edx
call fcn.0043ce2a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c49d
push eax
push str.keepOnline
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c49d
mov dword [ebp - 0x11c], 1
push esi
push 0xffffffffffffffff
push str.ReAuthTimes
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c4d1
push eax
push str.reauthTimes
mov ecx, ebx
call fcn.00407040
cmp dword [ebp - 0x11c], 0
jne 0x40c4d1
mov dword [ebp - 0x11c], 1
push esi
push 0
push str.ReAuthInterval
push str.CheckboxOptions
call edi
cmp eax, 0xffffffff
je 0x40c4f4
push eax
push str.reauthInterval
mov ecx, ebx
call fcn.00407040
jmp 0x40c4fd
cmp dword [ebp - 0x11c], 0
je 0x40c50f
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.0043bde4
mov esp, ebp
pop ebp
ret 4