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

Disassembly:
sub esp, 0x110
push ebx
push esi
lea eax, [esp + 8]
push edi
xor ebx, ebx
push eax
push ebx
mov dword [esp + 0x1c], ebx
mov dword [0x429420], ebx
mov dword [0x427e70], ebx
mov dword [0x427e78], ebx
mov dword [0x427e74], ebx
mov dword [0x427e7c], ebx
mov dword [0x427e80], ebx
mov dword [esp + 0x14], ebx
call sub.iphlpapi.dll_GetNetworkParams
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
push ecx
call edi
add esp, 4
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
call sub.iphlpapi.dll_GetNetworkParams
lea eax, [esi + 0x110]
push eax
call fcn.0040af30
mov dword [0x427e70], eax
mov eax, dword [esi + 0x10c]
add esp, 4
cmp eax, ebx
je 0x40aaae
add eax, 4
push eax
call fcn.0040af30
add esp, 4
mov dword [0x427e78], eax
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], ebx
push ecx
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
mov edx, dword [esp + 0xc]
push edx
call edi
add esp, 4
mov edi, eax
lea eax, [esp + 0xc]
mov dword [esp + 0x18], edi
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
xor ecx, ecx
xor edx, edx
mov dword [0x423e08], ecx
mov dword [0x427e30], edx
mov word [0x423e0c], cx
cmp edi, ebx
mov byte [0x423e0e], cl
mov word [0x427e34], dx
mov dword [esp + 0x10], ebx
je 0x40ad6b
push ebp
jmp 0x40ab17
xor ebx, ebx
lea eax, [edi + 8]
push ebx
push eax
call fcn.00409d30
lea ecx, [edi + 0x10c]
push ebx
push ecx
call fcn.00409d30
lea eax, [edi + 0x1b0]
push ebx
push eax
call fcn.00409d30
add esp, 0x18
xor esi, esi
lea ebp, [esp + 0x20]
lea ebx, [edi + 0x194]
xor edx, edx
mov dl, byte [ebx + esi]
push edx
push str._02X_
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
inc esi
add ebp, 3
cmp esi, 6
jl 0x40ab4a
lea eax, [esp + esi + 0x20]
lea ecx, [esp + 0x20]
push 0
push ecx
mov byte [eax + esi*2 - 1], 0
call fcn.00409d30
mov ebp, dword [esp + 0x1c]
inc ebp
mov dword [esp + 0x1c], ebp
lea ebp, [edi + 0x1b0]
push ebp
call fcn.0040af30
add esp, 0xc
test eax, eax
je 0x40ad5e
lea esi, [edi + 0x1d8]
push esi
call fcn.0040af30
add esp, 4
test eax, eax
je 0x40ad5e
cmp dword [edi + 0x190], 6
jne 0x40ad5e
mov eax, dword [ebx]
mov edx, str.DEST
cmp eax, dword [edx]
je 0x40ad5e
push 0
push esi
call fcn.00409d30
mov al, byte [0x423e08]
add esp, 8
test al, al
je 0x40ac07
mov eax, dword [0x427e44]
test eax, eax
je 0x40ac45
push ebp
call fcn.0040af30
mov ecx, dword [0x427e44]
add esp, 4
cmp eax, ecx
jne 0x40ac1b
cmp dword [esp + 0x18], 1
je 0x40ac1b
mov ecx, ebx
mov edx, dword [ecx]
mov dword [0x423e09], edx
mov ax, word [ecx + 4]
mov word [0x423e0d], ax
mov eax, dword [0x427e44]
test eax, eax
je 0x40ac45
push ebp
call fcn.0040af30
mov ecx, dword [0x427e44]
add esp, 4
cmp eax, ecx
jne 0x40ac45
push esi
call fcn.0040af30
add esp, 4
mov dword [0x429420], eax
mov eax, dword [0x42868c]
test ah, 0x20
je 0x40ac87
mov eax, dword [0x427e44]
test eax, eax
je 0x40ac87
push ebp
call fcn.0040af30
mov ecx, dword [0x427e44]
add esp, 4
cmp eax, ecx
jne 0x40ac87
mov ecx, ebx
mov dword [esp + 0x18], 1
mov edx, dword [ecx]
mov dword [0x423e09], edx
mov ax, word [ecx + 4]
mov word [0x423e0d], ax
mov cl, byte [0x423e08]
inc cl
mov byte [0x423e08], cl
mov eax, dword [edi + 0x1a4]
test eax, eax
je 0x40acb3
lea ecx, [edi + 0x200]
push ecx
call fcn.0040af30
add esp, 4
mov dword [0x427e74], eax
mov eax, dword [edi + 0x224]
test eax, eax
je 0x40ace2
lea edx, [edi + 0x22c]
push edx
call fcn.0040af30
mov dword [0x427e7c], eax
lea eax, [edi + 0x254]
push eax
call fcn.0040af30
add esp, 8
mov dword [0x427e80], eax
mov eax, dword [edi + 0x1a4]
test eax, eax
je 0x40ad5e
push ebp
call fcn.0040af30
mov ecx, dword [0x427e44]
add esp, 4
cmp eax, ecx
jne 0x40ad5e
mov ecx, dword [edi + 0x19c]
mov dword [0x427e38], ecx
mov edx, dword [ebx]
mov dword [0x427e30], edx
mov ax, word [ebx + 4]
or byte [0x4294b0], 1
mov word [0x427e34], ax
mov eax, dword [0x427e40]
test eax, eax
je 0x40ad4d
lea ecx, [edi + 0x200]
push ecx
call fcn.0040af30
mov ecx, dword [0x427e40]
add esp, 4
cmp ecx, eax
je 0x40ad4d
or byte [0x4294b0], 4
mov edx, dword [0x427e38]
push edx
push 2
call fcn.0040cef0
add esp, 8
mov edi, dword [edi]
test edi, edi
jne 0x40ab15
xor ebx, ebx
pop ebp
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
call fcn.004087b0
mov al, byte [0x423e08]
mov ecx, dword [0x423e09]
test al, al
mov ax, word [0x423e0d]
je 0x40ad9f
mov dword [0x423e12], ecx
mov word [0x423e16], ax
cmp dword [esp + 0x14], 1
jne 0x40adb2
mov dword [0x423e12], ecx
mov word [0x423e16], ax
mov al, byte [0x423e11]
test al, al
jne 0x40adc5
mov cl, byte [esp + 0x10]
mov byte [0x423e11], cl
xor esi, esi
lea edi, [esp + 0x1c]
xor edx, edx
mov dl, byte [esi + 0x423e12]
push edx
push str._02X_
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
inc esi
add edi, 3
cmp esi, 6
jl 0x40adcb
mov edx, dword [0x423e11]
lea eax, [esp + esi + 0x1c]
lea ecx, [esp + 0x1c]
and edx, 0xff
mov byte [eax + esi*2 - 1], 0
push ecx
push edx
lea eax, [esp + 0xa4]
push 0x41ecc4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0xac]
push ebx
push ecx
call fcn.00409d30
add esp, 0x18
mov eax, 0x423e11
pop edi
pop esi
pop ebx
add esp, 0x110
ret