Function at 0x6190dc15
Capabilities:
Get hostname
Read .ini file
Resolve dns

Disassembly:
push 0x154
mov eax, 0x6192171b
call fcn.6191ef5d
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x144], eax
call dword [0x61923a48]
xor ebx, ebx
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], ebx
call dword [0x61923a48]
lea ecx, [ebp - 0x12c]
call dword [0x61923a48]
lea ecx, [ebp - 0x138]
call dword [0x61923a48]
lea ecx, [ebp - 0x13c]
call dword [0x61923a48]
lea ecx, [ebp - 0x14c]
call dword [0x61923a48]
push 0xff
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.WS2_32.dll_gethostname]
mov esi, dword [reloc.mfc100.dll_Ordinal_4283]
test eax, eax
jne 0x6190dcdf
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x6190dcdf
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x150]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push dword [ebp - 0x150]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x13c]
push 0x61927984
push eax
call esi
add esp, 0xc
push str._systemcommsu.ini
lea eax, [ebp - 0x140]
push 0x61931de8
push eax
call fcn.61902e42
add esp, 0xc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
push str.DEBUG
push str.DEVMODE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [0x61923a58]
mov dword [ebp - 0x134], eax
push dword [0x61923a48]
lea eax, [ebp - 0x128]
push 6
push 4
push eax
call fcn.6191f2cf
mov byte [ebp - 4], 7
lea edi, [ebp - 0x128]
push 0x2e
push ebx
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
popal
push eax
push edi
call sub.mfc100.dll_Ordinal_1894
inc ebx
add edi, 4
test eax, eax
jne 0x6190dd46
lea ecx, [ebp - 0x138]
cmp dword [0x61931e24], eax
jne 0x6190de6f
push 0x61927978
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov edi, 0x61931e4c
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_7322]
test al, al
jne 0x6190ddaf
push edi
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e6c]
mov edi, 0x61925cb8
jmp 0x6190de48
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
push 0x61931e10
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.619085cb
pop ecx
lea ecx, [ebp - 0x130]
test eax, eax
je 0x6190dde6
push 0x61931e50
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e70]
jmp 0x6190ddf7
push 0x61931e58
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e78]
mov edi, 0x61925cb8
lea eax, [ebp - 0x12c]
push edi
push eax
call esi
mov eax, dword [0x61931e94]
add esp, 0xc
cmp eax, 1
jne 0x6190de2c
push 0x61931e60
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e80]
jmp 0x6190de48
cmp eax, 2
jne 0x6190de55
push 0x61931e64
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e84]
lea eax, [ebp - 0x12c]
push edi
push eax
call esi
add esp, 0xc
mov eax, dword [0x61931e6c]
test eax, eax
je 0x6190de64
push eax
jmp 0x6190dfd5
push dword [0x61931e78]
jmp 0x6190dfd5
push 0x61925c70
call dword [sym.imp.mfc100.dll_Ordinal_1316]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ebx, eax
and ebx, reloc.Download.dll_Ordinal_1
jns 0x6190de98
dec ebx
or ebx, 0xfffffffe
inc ebx
mov edi, 0x61931e4c
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_7322]
lea ecx, [ebp - 0x130]
test al, al
jne 0x6190dec6
push edi
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e6c]
mov edi, 0x61925cb8
jmp 0x6190dfb4
cmp dword [0x61931df4], 0
je 0x6190df4e
push 0x61931e68
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e88]
mov edi, 0x61925cb8
lea eax, [ebp - 0x12c]
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp - 0x134], 0
je 0x6190dfc1
lea ecx, [ebp - 0x134]
call dword [0x61923a48]
push dword [ebp - 0x130]
lea eax, [ebp - 0x134]
push 0x61927960
push eax
mov byte [ebp - 4], 8
call esi
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x134]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call fcn.6191e722
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 7
call dword [0x61923a58]
jmp 0x6190dfc1
lea eax, [ebx*4 + 0x61931e50]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [ebx*4 + 0x61931e70]
mov edi, 0x61925cb8
lea eax, [ebp - 0x12c]
push edi
push eax
call esi
mov eax, dword [0x61931e94]
add esp, 0xc
cmp eax, 1
jne 0x6190df98
push 0x61931e60
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e80]
jmp 0x6190dfb4
cmp eax, 2
jne 0x6190dfc1
push 0x61931e64
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e84]
lea eax, [ebp - 0x12c]
push edi
push eax
call esi
add esp, 0xc
mov eax, dword [0x61931e6c]
test eax, eax
jne 0x6190de5e
push dword [ebx*4 + 0x61931e70]
lea eax, [ebp - 0x12c]
push edi
push eax
call esi
xor ebx, ebx
add esp, 0xc
cmp dword [ebp + 0xc], ebx
je 0x6190dff9
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_7322]
test al, al
je 0x6190e038
lea ecx, [ebp - 0x130]
cmp dword [0x61931e94], ebx
je 0x6190e01a
push 0x61931e50
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e70]
jmp 0x6190e02b
push 0x61931e8c
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push dword [0x61931e90]
lea eax, [ebp - 0x12c]
push edi
push eax
call esi
add esp, 0xc
push ebx
push ecx
lea eax, [ebp - 0x138]
mov ecx, esp
mov dword [ebp - 0x134], esp
push eax
invalid
invalid
and al, 0x84
invalid