Function at 0x6191d801
Capabilities:
Read .ini file

Disassembly:
push 0x54
mov eax, 0x61922b43
call fcn.6191ef5d
mov esi, ecx
lea ecx, [ebp - 0x38]
call dword [0x61923a48]
push str._systemcomms.ini
lea eax, [ebp - 0x4c]
push 0x61931de8
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.61902e42
add esp, 0xc
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call dword [0x61923a58]
push str.CONNECT_SERVER_LIST
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov eax, dword [esi + 0xa8]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x6191d87c
cmp dword [eax + 0x64], ebx
je 0x6191d87c
push str.CONNECT_V_SERVER_LIST
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
push 0x61925de8
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x4c], eax
push 7
mov byte [ebp - 0x30], 0
pop ecx
xor eax, eax
lea edi, [ebp - 0x2f]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x48]
stosb byte es:[edi], al
call dword [0x61923a48]
lea ecx, [ebp - 0x44]
call dword [0x61923a48]
lea ecx, [ebp - 0x40]
call dword [0x61923a48]
mov byte [ebp - 4], 5
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x4c], ebx
jle 0x6191da40
mov edi, dword [0x619230d4]
lea eax, [esi + 0xb0]
add esi, 0xc4
mov dword [ebp - 0x54], esi
mov esi, dword [reloc.mfc100.dll_Ordinal_4283]
mov dword [ebp - 0x60], eax
mov ebx, 0x61923b08
push 0x1e
lea eax, [ebp - 0x30]
push 0
push eax
call sub.MSVCR100.dll_memset
push dword [ebp - 0x34]
lea eax, [ebp - 0x48]
push str.IP_d
push eax
call esi
add esp, 0x18
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1e
lea eax, [ebp - 0x30]
push eax
push ebx
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_13137]
push 0x1e
lea eax, [ebp - 0x30]
push 0
push eax
call sub.MSVCR100.dll_memset
push dword [ebp - 0x34]
lea eax, [ebp - 0x48]
push str.NAME_d
push eax
call esi
add esp, 0x18
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1e
lea eax, [ebp - 0x30]
push eax
push ebx
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_13137]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.6191d381
add esp, 4
mov dword [ebp - 0x50], esp
mov ecx, esp
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 6
call fcn.6191cded
mov ecx, dword [ebp - 0x60]
call fcn.6191d725
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov ecx, dword [ebp - 0x54]
push eax
push dword [ebp - 0x34]
push 1
call sub.mfc100.dll_Ordinal_7211
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x50], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov ecx, dword [ebp - 0x54]
push eax
push 1
push dword [ebp - 0x50]
call sub.mfc100.dll_Ordinal_12440
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call dword [0x61923a58]
lea ecx, [ebp - 0x5c]
call dword [0x61923a58]
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x4c]
jl 0x6191d8fc
lea ecx, [ebp - 0x40]
call dword [0x61923a58]
lea ecx, [ebp - 0x44]
call dword [0x61923a58]
lea ecx, [ebp - 0x48]
call dword [0x61923a58]
lea ecx, [ebp - 0x3c]
call dword [0x61923a58]
lea ecx, [ebp - 0x38]
call dword [0x61923a58]
call fcn.6191efe0
ret