Function at 0x40c920
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4655cb
mov eax, dword fs:[0]
push eax
sub esp, 0x268
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp dword [ebx + 0x6c], 0
mov dword [ebp - 0x224], eax
je 0x40cd47
push 0x46b4b0
lea ecx, [ebp - 0x274]
call fcn.00402de0
push str.AutoAuth
push 0x46c43c
push str.Option
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0x274]
push 0x46c42c
push edx
mov dword [ebp - 4], 0
mov dword [ebx + 0x6c], ecx
call fcn.00440e5a
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.8021
call edi
cmp eax, 0xffffffff
jne 0x40c9de
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
xor eax, eax
jmp 0x40cd53
push eax
push str.autoAuth
mov ecx, ebx
call fcn.00407040
push str.UpVer
push 0x46c43c
push str.Option
lea ecx, [ebp - 0x118]
push 0x46c42c
push ecx
call fcn.00440e5a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.8021
call edi
cmp eax, 0xffffffff
je 0x40c9c5
push eax
push str.upVer
mov ecx, ebx
call fcn.00407040
push str.UpIp
push 0x46c43c
push str.Option
lea eax, [ebp - 0x118]
push 0x46c42c
push eax
call fcn.00440e5a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.8021
call edi
cmp eax, 0xffffffff
je 0x40c9c5
push eax
push str.upIp
mov ecx, ebx
call fcn.00407040
push str.BroadLogOff
push 0x46c43c
push str.Option
lea edx, [ebp - 0x118]
push 0x46c42c
push edx
call fcn.00440e5a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.8021
call edi
cmp eax, 0xffffffff
je 0x40cac1
push eax
push str.broadLogOff
mov ecx, ebx
call fcn.00407040
push str.RefreshIPAftCut
push 0x46c43c
push str.Option
lea ecx, [ebp - 0x118]
push 0x46c42c
push ecx
call fcn.00440e5a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.8021
call edi
cmp eax, 0xffffffff
je 0x40c9c5
push eax
push str.refreshIPAftCut
mov ecx, ebx
call fcn.00407040
push str.UnicastType
push 0x46c43c
push str.Option
lea eax, [ebp - 0x118]
push 0x46c42c
push eax
call fcn.00440e5a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.8021
call edi
cmp eax, 0xffffffff
je 0x40c9c5
push eax
push str.unicastType
mov ecx, ebx
call fcn.00407040
push str.UpIpv6
push 0x46c43c
push str.Option
lea edx, [ebp - 0x118]
push 0x46c42c
push edx
call fcn.00440e5a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.8021
call edi
cmp eax, 0xffffffff
je 0x40cb9b
push eax
push str.upIpv6
mov ecx, ebx
call fcn.00407040
push str.1XResumeConn
push 0x46c43c
push str.Option
lea ecx, [ebp - 0x118]
push 0x46c42c
push ecx
call fcn.00440e5a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.8021
call edi
cmp eax, 0xffffffff
je 0x40cbe1
push eax
push str.x1ResumeConn
mov ecx, ebx
call fcn.00407040
push str.1xMachine
push 0x46c43c
push str.Option
lea eax, [ebp - 0x118]
push 0x46c42c
push eax
call fcn.00440e5a
add esp, 0x14
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.8021
call edi
cmp eax, 0xffffffff
je 0x40cc27
push eax
push str.x1Machine
mov ecx, ebx
call fcn.00407040
push esi
push 0xffffffffffffffff
push str.SupportedConnTypes
push str.8021
call edi
cmp eax, 0xffffffff
je 0x40c9c5
push eax
push str.supportedConnTypes
mov ecx, ebx
call fcn.00407040
push str..MaxUserCtrl
push str.8021
lea edx, [ebp - 0x118]
push 0x46c5a0
push edx
call fcn.00440e5a
add esp, 0x10
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push str.Common
call edi
cmp eax, 0xffffffff
je 0x40cc8d
push eax
push str.MaxUserCtrl
mov ecx, ebx
call fcn.00407040
push str..ProbationCtrl
push str.8021
lea ecx, [ebp - 0x118]
push 0x46c5a0
push ecx
call fcn.00440e5a
add esp, 0x10
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.Common
call edi
cmp eax, 0xffffffff
je 0x40ccce
push eax
push str.ProbationCtrl
mov ecx, ebx
call fcn.00407040
push str..TimeStamp
push str.8021
lea eax, [ebp - 0x118]
push 0x46c5a0
push eax
call fcn.00440e5a
add esp, 0x10
push esi
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push 0x472d70
lea edx, [ebp - 0x118]
push edx
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x220]
push eax
push str.TimeStamp
mov ecx, ebx
call fcn.00406dc0
lea ecx, [ebp - 0x274]
push ecx
mov ecx, dword [ebp - 0x224]
call fcn.00402720
lea ecx, [ebp - 0x274]
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.0043fe0a
mov esp, ebp
pop ebp
ret 8