Function at 0x61906567
Capabilities:
Read .ini file

Disassembly:
push 0xb4
mov eax, 0x6192054a
call fcn.6191ef5d
mov esi, ecx
lea ecx, [ebp - 0x94]
call dword [0x61923a48]
and dword [ebp - 4], 0
lea eax, [esi + 0xb8]
push str._systemcommsu.ini
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.61902e42
add esp, 0xc
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call dword [0x61923a58]
lea ecx, [ebp - 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
popal
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 1
push str.IDSave
mov ebx, str.STARTER
push ebx
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0xd4], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.USE_ORDERCERT
push ebx
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0xdc], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.Simulation
push ebx
call edi
mov ebx, 0x80
push ebx
mov dword [esi + 0xc4], eax
lea eax, [ebp - 0x90]
push 0
push eax
mov dword [esi + 0xc8], 2
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0xbc], 1
je 0x619066ce
lea ecx, [ebp - 0x9c]
call dword [0x61923a48]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
lea eax, [ebp - 0x90]
push eax
push 0x61923b08
push str.USER_ID
push str.STARTER
call dword [0x619230d4]
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea eax, [ebp - 0x9c]
push eax
mov ecx, esi
call fcn.61905966
lea eax, [ebp - 0x9c]
push eax
lea ecx, [esi + 0xe0]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0
call dword [0x61923a58]
lea ecx, [ebp - 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 1
push str.ISHTS
push str.STARTER
call edi
mov ecx, 0x61931d30
mov dword [esi + 0xf4], eax
mov dword [esi + 0xc0], eax
call fcn.619064db
test eax, eax
je 0x6190670c
and dword [esi + 0xfc], 0
jmp 0x6190672d
lea ecx, [ebp - 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 1
push str.Firewall
push str.STARTER
call edi
mov dword [esi + 0xfc], eax
lea ecx, [ebp - 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 1
push str.KeyBSecCheck
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0x100], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 1
push str.AOSSB
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0x108], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.skip
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0x110], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 1
push str.ONLINE_MAP_DOWNLOAD
push str.DOWNLOAD
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0x114], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.OldConnect
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0x118], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.VIPSERVER
push str.VIPS
call edi
cmp dword [esi + 0xbc], 0
mov dword [esi + 0x164], eax
lea ecx, [ebp - 0x94]
jne 0x619068d2
and dword [esi + 0xf8], 0
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x61925c6c
push str.UpgradeType
push str.STARTER
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.OnlySise
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0xd8], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.OnlyCert
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0xcc], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.AutoPopup
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0xd0], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x61925c6c
push str.NetError
push str.STARTER
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x61925c6c
push str.Convert
push str.STARTER
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x61906950
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.UpgradeType
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0xf8], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.OnlySise
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0xd8], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.OnlyCert
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0xcc], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.AutoPopup
push str.STARTER
call edi
mov dword [esi + 0xd0], eax
lea ecx, [ebp - 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.CloudCert
push str.STARTER
call edi
lea ecx, [ebp - 0x94]
mov dword [esi + 0xf0], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x619252e4
push str.DEVMODE
call edi
cmp eax, 1
jne 0x61906a01
push ebx
lea eax, [ebp - 0x90]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
lea eax, [ebp - 0x90]
push eax
push 0x61923b08
push str.ServerAddr
push str.Connect_Setup
call dword [0x619230d4]
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x11c]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.ServerPort
push str.Connect_Setup
call edi
mov dword [esi + 0x13c], eax
lea ecx, [ebp - 0xc0]
call sub.mfc100.dll_Ordinal_869
lea ecx, [ebp - 0x98]
call dword [0x61923a48]
lea ecx, [ebp - 0xac]
call dword [0x61923a48]
lea ecx, [ebp - 0xa8]
call dword [0x61923a48]
lea ecx, [ebp - 0xa4]
call dword [0x61923a48]
push str._systemcomms.ini
lea eax, [esi + 0xb8]
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 7
call fcn.61902e42
add esp, 0xc
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call dword [0x61923a58]
push str.CONNECT_SERVER_LIST
lea ecx, [ebp - 0xa4]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
cmp dword [esi + 0xc4], 0
je 0x61906aa7
push str.CONNECT_V_SERVER_LIST
lea ecx, [ebp - 0xa4]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push ebx
lea eax, [ebp - 0x90]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x61925de8
lea ecx, [ebp - 0xa4]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call edi
and dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], eax
test eax, eax
jle 0x61906b9a
push dword [ebp - 0x9c]
lea eax, [ebp - 0xac]
push str.IP_d
push eax
call dword [0x61923a4c]
push ebx
lea eax, [ebp - 0x90]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
push ebx
lea ecx, [ebp - 0xa8]
call dword [sym.imp.mfc100.dll_Ordinal_4498]
push eax
push 0x61923b08
lea ecx, [ebp - 0xac]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [0x619230d4]
push 0xffffffffffffffff
lea ecx, [ebp - 0xa8]
call dword [sym.imp.mfc100.dll_Ordinal_11439]
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xc0]
call sub.mfc100.dll_Ordinal_12095
inc dword [ebp - 0x9c]
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa0]
jl 0x61906af1
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
lea eax, [ebp - 0x90]
push eax
push 0x61923b08
push str.ServerAddr
push str.Connect_Setup
call dword [0x619230d4]
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x120]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1e73
push str.ServerPort
push str.Connect_Setup
call edi
lea ecx, [ebp - 0x98]
mov dword [esi + 0x140], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
lea eax, [ebp - 0x90]
push eax
push 0x61923b08
push str.ServerAddr
push str.Connect_Setup2
call dword [0x619230d4]
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x124]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.ServerPort
push str.Connect_Setup2
call edi
lea ecx, [ebp - 0x98]
mov dword [esi + 0x144], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
lea eax, [ebp - 0x90]
push eax
push 0x61923b08
push str.ServerAddr
push str.Connect_Setup_Emp
call dword [0x619230d4]
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x128]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.ServerPort
push str.Connect_Setup_Emp
call edi
lea ecx, [ebp - 0x98]
mov dword [esi + 0x148], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
lea eax, [ebp - 0x90]
push eax
push 0x61923b08
push str.ServerAddr
push str.Connect_Setup_Lounge
call dword [0x619230d4]
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x12c]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1e73
push str.ServerPort
push str.Connect_Setup_Lounge
call edi
lea ecx, [ebp - 0x98]
mov dword [esi + 0x14c], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
lea eax, [ebp - 0x90]
push eax
push 0x61923b08
push str.ServerAddr
push str.Connect_Setup_spec1
call dword [0x619230d4]
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1e73
push str.ServerPort
push str.Connect_Setup_spec1
call edi
lea ecx, [ebp - 0x98]
mov dword [esi + 0x150], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
lea eax, [ebp - 0x90]
push eax
push 0x61923b08
push str.ServerAddr
push str.Connect_Setup_spec2
call dword [0x619230d4]
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x134]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1e73
push str.ServerPort
push str.Connect_Setup_spec2
call edi
lea ecx, [ebp - 0x98]
mov dword [esi + 0x154], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
lea eax, [ebp - 0x90]
push eax
push 0x61923b08
push str.ServerAddr
push str.Connect_Setup_Simulate
call dword [0x619230d4]
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x138]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1e73
push str.ServerPort
push str.Connect_Setup_Simulate
call edi
lea ecx, [ebp - 0x98]
mov dword [esi + 0x158], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
lea eax, [ebp - 0x90]
push eax
push 0x61923b08
push str.ServerAddr
mov ebx, str.Connect_Setup_support
push ebx
call dword [0x619230d4]
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1e73
push str.ServerPort
push ebx
call edi
lea edi, [esi + 0x11c]
mov ecx, edi
mov dword [esi + 0x160], eax
call dword [sym.imp.mfc100.dll_Ordinal_7322]
test al, al
jne 0x61906efb
xor ebx, ebx
cmp dword [ebp - 0xa0], ebx
jle 0x61906eec
test ebx, ebx
js 0x61906ee2
cmp ebx, dword [ebp - 0xb8]
jge 0x61906ee2
mov eax, dword [ebp - 0xbc]
lea eax, [eax + ebx*4]
push eax
push edi
call fcn.61905ce7
pop ecx
pop ecx
test al, al
jne 0x61906ee7
inc ebx
cmp ebx, dword [ebp - 0xa0]
jl 0x61906eb5
jmp 0x61906eec
call sub.mfc100.dll_Ordinal_2061
cmp ebx, 0xffffffff
jne 0x61906efb
mov ecx, edi
invalid
invalid
sbb al, 0x81
invalid