Function at 0x7104b860
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0xa0]
sub esp, 0xfc
mov dword [ebp - 0xa0], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0
call sym._GetAdaptersAddresses_20
sub esp, 0x14
cmp eax, 0x6f
jne 0x7104c1e0
mov eax, dword [ebp - 0xa0]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0xc8], eax
call eax
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x7104c1e0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0
call sym._GetAdaptersAddresses_20
sub esp, 0x14
test eax, eax
jne 0x7104c1d1
mov eax, dword [ebp - 0xe4]
xor edx, edx
lea esi, [esi]
nop
xor ecx, ecx
cmp dword [eax + 0x40], 0x18
mov eax, dword [eax + 8]
setne cl
add edx, ecx
test eax, eax
jne 0x7104b910
mov eax, dword [ebp + 8]
mov ecx, 0x34
call sym._resize_table
test eax, eax
je 0x7104c1d1
mov dword [ebp - 0xd4], 0
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0xd0], 0
sbb eax, eax
xor ebx, ebx
inc eax
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xc0], eax
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 0x40], 0x18
je 0x7104bf73
mov ecx, dword [ebp + 8]
mov edi, dword [eax + 0xa4]
mov dword [ebp - 0xcc], 0
xor eax, eax
mov edx, dword [ebp - 0xd4]
add edx, dword [ecx + 0x14]
mov esi, edi
mov dword [ebp - 0xc4], edx
test edi, edi
je 0x7104c172
nop
mov esi, dword [esi + 8]
inc eax
test esi, esi
jne 0x7104b9b0
mov dword [ebp - 0xcc], eax
mov ebx, dword [ebp - 0xc8]
mov dword [esp], 0xc
call ebx
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x7104c172
mov eax, dword [ebp - 0xcc]
shl eax, 2
mov dword [esp], eax
call ebx
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x7104c1ea
lea eax, [ebp - 0x98]
mov ecx, dword [sym.imp.ws2_32.dll_WSAAddressToStringW]
mov dword [ebp - 0xdc], esi
xor ebx, ebx
mov edx, dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0xb8], eax
mov esi, eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edx
lea esi, [esi]
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0xc], esi
mov dword [ebp - 0x98], 0x36
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 4], eax
mov eax, dword [edi + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0xb0]
call eax
sub esp, 0x14
test eax, eax
jne 0x7104c0d0
mov dword [esp], esi
mov eax, dword [ebp - 0xac]
inc ebx
call eax
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + ebx*4 - 4], eax
test eax, eax
je 0x7104c120
mov edi, dword [edi + 8]
test edi, edi
jne 0x7104ba38
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xbc]
mov dword [eax], 4
mov esi, eax
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ebx, dword [ebp - 0xc4]
mov dword [ebx], esi
mov esi, dword [ebp - 0xc0]
mov eax, dword [esi + 0x24]
mov dword [esp], eax
mov eax, dword [ebp - 0xac]
call eax
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], 0x7106282a
mov eax, dword [esi + 0x10]
call sym._get_dnshostname
mov dword [ebp - 0xcc], 0
mov dword [ebx + 0x10], eax
mov esi, dword [esi + 0x1c]
xor eax, eax
mov edi, esi
test esi, esi
je 0x7104c197
nop
mov edi, dword [edi + 8]
inc eax
test edi, edi
jne 0x7104bb10
mov dword [ebp - 0xcc], eax
mov ebx, dword [ebp - 0xc8]
mov dword [esp], 0xc
call ebx
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x7104c197
mov eax, dword [ebp - 0xcc]
shl eax, 2
mov dword [esp], eax
call ebx
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x7104c045
lea eax, [ebp - 0x98]
mov dword [ebp - 0xdc], edi
xor ebx, ebx
mov edi, dword [ebp - 0xb8]
mov dword [ebp - 0xb4], eax
mov eax, dword [sym.imp.ws2_32.dll_WSAAddressToStringW]
mov dword [ebp - 0xb0], eax
lea esi, [esi]
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0xc], edi
mov dword [ebp - 0x98], 0x36
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0xb0]
call eax
sub esp, 0x14
test eax, eax
jne 0x7104c008
mov dword [esp], edi
mov eax, dword [ebp - 0xac]
inc ebx
call eax
mov edx, dword [ebp - 0xbc]
mov dword [edx + ebx*4 - 4], eax
test eax, eax
je 0x7104c130
mov dword [esp + 4], 0x3a
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x7104bbf8
xor ecx, ecx
mov word [eax], cx
mov esi, dword [esi + 8]
test esi, esi
jne 0x7104bb80
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xbc]
mov dword [eax], 4
mov edi, eax
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xcc], 0
mov dword [edx + 0x14], edi
mov eax, dword [ecx + 4]
mov dword [edx + 0x18], eax
mov edi, dword [ecx + 0x10]
xor eax, eax
mov esi, edi
test edi, edi
je 0x7104c190
lea esi, [esi]
mov esi, dword [esi + 8]
inc eax
test esi, esi
jne 0x7104bc50
mov dword [ebp - 0xcc], eax
mov ebx, dword [ebp - 0xc8]
mov dword [esp], 0xc
call ebx
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x7104c190
mov eax, dword [ebp - 0xcc]
shl eax, 2
mov dword [esp], eax
call ebx
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x7104c095
lea eax, [ebp - 0x98]
mov dword [ebp - 0xdc], esi
xor ebx, ebx
mov esi, dword [ebp - 0xb8]
mov dword [ebp - 0xb4], eax
mov eax, dword [sym.imp.ws2_32.dll_WSAAddressToStringW]
mov dword [ebp - 0xb0], eax
lea esi, [esi]
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0xc], esi
mov dword [ebp - 0x98], 0x36
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 4], eax
mov eax, dword [edi + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0xb0]
call eax
sub esp, 0x14
test eax, eax
jne 0x7104c060
mov dword [esp], esi
mov eax, dword [ebp - 0xac]
inc ebx
call eax
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + ebx*4 - 4], eax
test eax, eax
je 0x7104c140
mov edi, dword [edi + 8]
test edi, edi
jne 0x7104bcc0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xbc]
mov dword [eax], 4
mov esi, eax
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [ebp - 0xc4]
xor edx, edx
mov dword [ebp - 0xb4], 0
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], 0x14
mov dword [eax + 0x24], 0xffffffff
mov eax, dword [ebp - 0xc0]
mov ebx, dword [eax + 0x10]
mov eax, ebx
test ebx, ebx
je 0x7104beb2
lea esi, [esi]
nop
mov eax, dword [eax + 8]
inc edx
test eax, eax
jne 0x7104bd80
mov dword [ebp - 0xb4], edx
mov esi, dword [ebp - 0xc8]
mov edi, edx
mov dword [esp], 0xc
call esi
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x7104beb2
lea eax, [edi*4]
mov dword [esp], eax
call esi
mov esi, eax
test eax, eax
je 0x7104bea3
xor edi, edi
jmp 0x7104be1a
movzx eax, byte [ebx + 0x2c]
mov dword [esp + 8], 0x7106216c
mov dword [esp + 4], 0xb
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp], eax
call sym._swprintf
mov eax, dword [ebp - 0xb8]
mov dword [esp], eax
mov eax, dword [ebp - 0xac]
call eax
mov dword [esi + edi*4], eax
inc edi
test eax, eax
je 0x7104be8a
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x7104c0b0
mov eax, dword [ebx + 0xc]
cmp word [eax], 2
jne 0x7104bdd0
mov edx, 2
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x98], dx
mov dword [esp + 4], eax
movzx eax, byte [ebx + 0x2c]
mov dword [ebp - 0x9c], 0x16
mov dword [esp], eax
call sym._ConvertLengthToIpv4Mask_8
sub esp, 8
test eax, eax
je 0x7104bfc0
mov dword [esi + edi*4], 0
inc edi
mov eax, dword [esi + edi*4 - 4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
dec edi
jne 0x7104be8a
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xb0], 0
mov ebx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xb0]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax + 0x34]
add eax, 0x2c
call sym._get_mac_address
mov edi, dword [ebp - 0xb8]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], eax
mov eax, edi
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
call sym._guid_to_str
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x7104bf60
lea eax, [ebp - 0x98]
mov dword [esp + 0xc], edi
mov ebx, 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xd0]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x7104c158
mov eax, dword [ebp - 0x84]
or eax, dword [ebp - 0x88]
je 0x7104c14d
add dword [ebp - 0xd4], 0x34
mov ebx, dword [ebp - 0xe0]
inc dword [ebp - 0xd0]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc0], eax
test eax, eax
jne 0x7104b970
test byte [0x71060048], 8
jne 0x7104c19e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xd0]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0xe4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x9c]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 4], 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x98]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_WSAAddressToStringW]
sub esp, 0x14
test eax, eax
jne 0x7104be82
jmp 0x7104bdf6
mov edi, dword [ebp - 0xdc]
mov esi, dword [ebp - 0xbc]
test ebx, ebx
je 0x7104c036
lea esi, [esi]
nop
mov eax, dword [esi + ebx*4 - 4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
dec ebx
jne 0x7104c020
mov dword [ebp - 0xbc], esi
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x7104bc1f
mov esi, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xbc]
test ebx, ebx
je 0x7104c086
mov eax, dword [edi + ebx*4 - 4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
dec ebx
jne 0x7104c070
mov dword [ebp - 0xbc], edi
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x7104bd45
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb4]
mov dword [eax], 4
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
jmp 0x7104bebc
mov esi, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xbc]
test ebx, ebx
je 0x7104c0f6
mov eax, dword [edi + ebx*4 - 4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
dec ebx
jne 0x7104c0e0
mov dword [ebp - 0xbc], edi
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x7104babd
mov esi, dword [ebp - 0xdc]
mov edi, ecx
jmp 0x7104c0e0
mov edi, dword [ebp - 0xdc]
mov esi, edx
jmp 0x7104c020
mov esi, dword [ebp - 0xdc]
mov edi, ecx
jmp 0x7104c070
mov ebx, 1
lea esi, [esi]
mov eax, dword [ebp - 0xd0]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._free_row_values
jmp 0x7104bf73
lea eax, [ebp - 0x88]
xor esi, esi
mov dword [ebp - 0xb8], eax
mov eax, dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0xac], eax
jmp 0x7104babd
xor esi, esi
jmp 0x7104bd45
xor edi, edi
jmp 0x7104bc1f
mov eax, dword [ebp - 0xd0]
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_networkadapterconfig
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x71060048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x7104bf97
mov eax, dword [ebp - 0xe4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov ebx, 0xffffffff
jmp 0x7104bfb2
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea eax, [ebp - 0x88]
mov dword [ebp - 0xb8], eax
mov eax, dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0xac], eax
jmp 0x7104babd