Function at 0x42b5b0
Capabilities:
Get hostname
Get local ipv4 addresses
Get mac address on windows
Get networking parameters

Disassembly:
push 0xffffffffffffffff
push 0x4b5bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
push ebx
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], 0
mov dword [esp + 0x38], 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov edi, dword [esp + 0x254]
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call fcn.004b0454
mov ecx, edi
call sub.MFC42u.DLL_CString::MakeLower
lea eax, [esp + 0x40]
lea ecx, [esp + 0x34]
push eax
push ecx
push 0
call sub.NETAPI32.dll_NetGetJoinInformation
mov edx, dword [esp + 0x34]
lea ecx, [edi + 4]
push edx
call fcn.004b0454
mov eax, dword [esp + 0x34]
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
push 0x280
call ebx
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x10], 0x280
push ecx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x42b673
mov edx, dword [esp + 0x10]
push edx
call ebx
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x42b944
test esi, esi
je 0x42b952
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_printf]
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [edi + 0x10]
lea ecx, [edi + 8]
lea edx, [esp + 0x24]
mov dword [esp + 0x250], 0
push edx
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow
or ebx, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x250], ebx
call sub.MFC42u.DLL_CString::CString
lea eax, [esi + 0x10c]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [edi + 0x24]
lea ecx, [edi + 0x1c]
lea edx, [esp + 0x30]
mov dword [esp + 0x250], 1
push edx
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x30]
mov dword [esp + 0x250], ebx
call sub.MFC42u.DLL_CString::CString
push 0x4e2868
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esi + 0x190]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x250], 2
jbe 0x42b7aa
dec eax
cmp ebx, eax
jne 0x42b74d
xor eax, eax
lea ecx, [esp + 0x12]
mov al, byte [ebx + esi + 0x194]
push eax
push str._.2X
push ecx
jmp 0x42b761
xor edx, edx
lea eax, [esp + 0x12]
mov dl, byte [ebx + esi + 0x194]
push edx
push str._.2X_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x12]
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CString::CString_4
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x254], 3
call fcn.004b0394
lea ecx, [esp + 0x2c]
mov byte [esp + 0x250], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x190]
inc ebx
cmp ebx, eax
jb 0x42b732
mov eax, dword [edi + 0x4c]
lea ecx, [edi + 0x44]
lea edx, [esp + 0x18]
push edx
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea eax, [esi + 0x1b0]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [edi + 0x38]
lea ecx, [edi + 0x30]
lea edx, [esp + 0x1c]
mov byte [esp + 0x250], 4
push edx
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x1c]
mov byte [esp + 0x250], 2
call sub.MFC42u.DLL_CString::CString
lea eax, [esi + 0x1c0]
lea ecx, [esp + 0x34]
push eax
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [edi + 0x60]
lea ecx, [edi + 0x58]
lea edx, [esp + 0x34]
mov byte [esp + 0x250], 5
push edx
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x34]
mov byte [esp + 0x250], 2
call sub.MFC42u.DLL_CString::CString
lea eax, [esi + 0x1d8]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [edi + 0x74]
lea ecx, [edi + 0x6c]
lea edx, [esp + 0x20]
mov byte [esp + 0x250], 6
push edx
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 2
call sub.MFC42u.DLL_CString::CString
push 0x248
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
lea eax, [esp + 0x40]
push eax
push ebx
mov dword [esp + 0x48], 0x248
call sub.iphlpapi.dll_GetNetworkParams
test eax, eax
jne 0x42b89c
add ebx, 0x110
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x4e2868
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [edi + 0x88]
lea ecx, [edi + 0x80]
lea edx, [esp + 0x28]
mov byte [esp + 0x250], 7
push edx
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x28]
mov byte [esp + 0x250], 2
call sub.MFC42u.DLL_CString::CString
push str._tDHCP_Enabled:_Yes_n
call ebp
lea eax, [esi + 0x200]
push eax
push str._t_tDHCP_Server:__t_s_n
call ebp
mov ecx, dword [esi + 0x278]
push ecx
push str._tLease_Obtained:__ld_n
call ebp
push str._tHave_Wins:_Yes_n
call ebp
lea edx, [esi + 0x22c]
push edx
push str._t_tPrimary_Wins_Server:__t_s_n
call ebp
lea eax, [esi + 0x254]
push eax
push str._t_tSecondary_Wins_Server:__t_s_n
call ebp
mov esi, dword [esi]
add esp, 0x28
lea ecx, [esp + 0x18]
mov dword [esp + 0x250], 0xffffffff
call sub.MFC42u.DLL_CString::CString
test esi, esi
jne 0x42b695
pop ebp
jmp 0x42b952
push str.Call_to_GetAdaptersInfo_failed._n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push edi
call fcn.00429cf0
mov ecx, dword [esp + 0x248]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x244
ret