Function at 0x6190ede0
Capabilities:
Read .ini file

Disassembly:
push 0x58
mov eax, 0x619218f2
call fcn.6191ef5d
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
call dword [sym.imp.mfc100.dll_Ordinal_7322]
test al, al
jne 0x6190f05a
lea ecx, [ebp - 0x64]
call sub.mfc100.dll_Ordinal_869
xor ebx, ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call dword [0x61923a48]
lea ecx, [ebp - 0x34]
call dword [0x61923a48]
push str._systemcomms.ini
lea eax, [ebp - 0x3c]
push 0x61931de8
push eax
mov byte [ebp - 4], 2
call fcn.61902e42
add esp, 0xc
push str.CONNECT_SERVER_LIST
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ebx
push ebx
push 0xf0
push dword [esi + 0x980]
mov byte [ebp - 4], 4
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x6190ee76
push str.CONNECT_V_SERVER_LIST
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push 7
mov byte [ebp - 0x30], bl
pop ecx
xor eax, eax
lea edi, [ebp - 0x2f]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x3c]
stosb byte es:[edi], al
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
push 0x61925de8
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
call edi
mov esi, dword [reloc.mfc100.dll_Ordinal_4283]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x38], ebx
cmp eax, ebx
jle 0x6190ef5f
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call sub.MSVCR100.dll_memset
push dword [ebp - 0x38]
lea eax, [ebp - 0x44]
push str.IP_d
push eax
call esi
add esp, 0x18
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1e
lea eax, [ebp - 0x30]
push eax
push 0x61923b08
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [0x619230d4]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_13137]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x64]
call sub.mfc100.dll_Ordinal_12095
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x50]
call fcn.61905ce7
pop ecx
pop ecx
test al, al
je 0x6190ef47
mov dword [ebp - 0x4c], 1
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x48]
jl 0x6190eebd
cmp dword [ebp - 0x4c], ebx
jne 0x6190f02a
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_3839]
cmp dword [ebp - 0x5c], ebx
jle 0x6190ef79
push dword [ebp - 0x60]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push str._systemcommsu.ini
lea eax, [ebp - 0x48]
push 0x61931de8
push eax
call fcn.61902e42
add esp, 0xc
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call dword [0x61923a58]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
push 0x619252e4
push str.DEVMODE
call edi
cmp eax, 1
jne 0x6190f01d
lea ecx, [ebp - 0x38]
call dword [0x61923a48]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc100.dll_Ordinal_7322]
test al, al
je 0x6190efe7
mov eax, 0x61927b14
jmp 0x6190eff0
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea eax, [ebp - 0x38]
push 0x61927ab8
push eax
call esi
add esp, 0xc
push ebx
push ebx
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call fcn.6191e722
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call dword [0x61923a58]
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x40]
call dword [0x61923a58]
lea ecx, [ebp - 0x3c]
call dword [0x61923a58]
lea ecx, [ebp - 0x34]
call dword [0x61923a58]
lea ecx, [ebp - 0x44]
call dword [0x61923a58]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.mfc100.dll_Ordinal_1267
call fcn.6191efe0
ret 4