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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fab6
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x441288]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x134], eax
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [eax + 0x11800], 0
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push 0xa6
push 2
mov dword [0x4424d0], 0
mov dword [ebp - 0x130], 0
call esi
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x140], ecx
lea ecx, [ebp - 0x144]
push ecx
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x148]
push eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], eax
call fcn.00401440
test al, al
jne 0x405d8d
call fcn.0041e289
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x6c
push str.e:workwtftp.._common_heapmem.h
push str.ERROR
call fcn.00416980
add esp, 0x14
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x140]
mov eax, dword [eax]
test eax, eax
je 0x406080
lea ecx, [ebp - 0x130]
push ecx
push eax
push 0
push 0xa6
push 2
call esi
test eax, eax
je 0x405dc8
push eax
push str.Failed_to_execute_GetAdapteraAddresses._Error:__d
push 0x67
jmp 0x40608e
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax]
test ebx, ebx
je 0x405f59
jmp 0x405de0
mov eax, dword [ebx + 0x3c]
cmp eax, 0xffff
jae 0x405ee0
test eax, eax
je 0x405ee0
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x405ee0
mov esi, dword [edi + 0xc]
mov esi, dword [esi + 4]
test esi, esi
je 0x405ed5
cmp esi, 0xffffffff
je 0x405ed5
cmp esi, 0x100007f
je 0x405ed5
cmp si, 0xfea9
je 0x405ed5
xor eax, eax
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x11e], eax
lea ecx, [ebp - 0x11e]
mov word [ebp - 0x11a], ax
mov ax, word [ebx + 0x3c]
mov word [ebp - 0x120], ax
lea eax, [ebx + 0x2c]
push eax
call fcn.00406c90
push dword [ebx + 0x24]
mov edx, 0x80
lea ecx, [ebp - 0x118]
call fcn.00404f40
mov eax, dword [ebx + 0xa4]
add esp, 4
mov dword [ebp - 0x124], 0xffffff
test eax, eax
je 0x405e93
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
jmp 0x405e96
mov dword [ebp - 0x18], esi
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x128]
push eax
call fcn.004069a0
test al, al
jne 0x405ed5
call fcn.0041e289
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x90
push str.....common_netInterfaces.cpp
push str.ERROR
call fcn.00416980
add esp, 0x14
mov edi, dword [edi + 8]
test edi, edi
jne 0x405e01
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x405f4e
jmp 0x405ef0
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x12c], eax
cmp eax, 0x100007f
je 0x405f47
lea eax, [ebp - 0x12c]
push eax
call fcn.00406c60
cmp eax, 0xffffffff
jne 0x405f47
lea eax, [ebp - 0x12c]
push eax
call fcn.00406ae0
test al, al
jne 0x405f47
call fcn.0041e289
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0xab
push str.....common_netInterfaces.cpp
push str.ERROR
call fcn.00416980
add esp, 0x14
mov esi, dword [esi + 8]
test esi, esi
jne 0x405ef0
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x405de0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetIpAddrTable]
lea eax, [ebp - 0x138]
push 0
push eax
push 0
mov dword [ebp - 0x138], 0
call esi
push ecx
push dword [ebp - 0x138]
lea ecx, [ebp - 0x15c]
call fcn.00406b70
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x154]
mov eax, dword [eax]
test eax, eax
jne 0x405fb9
push str.pIPAddrTable_not_allocated.
push 0xbd
push str.....common_netInterfaces.cpp
push str.ERROR
call fcn.00416980
add esp, 0x10
jmp 0x406057
push 0
lea ecx, [ebp - 0x138]
push ecx
push eax
call esi
test eax, eax
je 0x405fe8
push eax
push str.GetIpAddrTable_failed_with_error__d
push 0xc4
push str.....common_netInterfaces.cpp
push str.ERROR
call fcn.00416980
add esp, 0x14
jmp 0x406057
mov eax, dword [ebp - 0x154]
xor edi, edi
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
cmp dword [eax], edi
jbe 0x406057
lea esi, [eax + 0xc]
nop
mov eax, dword [esi - 8]
mov ecx, dword [ebp - 0x134]
mov ebx, dword [esi]
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00406c20
cmp eax, 0xffffffff
je 0x406049
mov ecx, dword [ebp - 0x134]
push eax
call fcn.00406a00
mov edx, dword [eax]
mov ecx, dword [eax + 0x110]
and edx, ebx
and ecx, ebx
mov dword [eax + 4], ebx
cmp edx, ecx
je 0x406049
mov ecx, dword [eax]
mov dword [eax + 0x110], ecx
mov eax, dword [ebp - 0x14c]
inc edi
add esi, 0x18
cmp edi, dword [eax]
jb 0x406000
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x406074
push eax
call fcn.0041e2dd
add esp, 4
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
jmp 0x4060a0
call fcn.0041e289
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x62
push str.....common_netInterfaces.cpp
push str.ERROR
call fcn.00416980
add esp, 0x14
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x4060b3
push eax
call fcn.0041e2dd
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e246
mov esp, ebp
pop ebp
ret