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

Disassembly:
mov eax, 0x4e05ad
call fcn.004b1eac
sub esp, 0x26c
push ebx
push esi
push edi
xor edi, edi
mov ecx, 0x51c5be
mov dword [ebp - 0x18], edi
call fcn.004b1bc6
push 0x104
lea eax, [ebp - 0x174]
push edi
push eax
call fcn.004b5210
mov eax, 0x3a98
add esp, 0xc
mov esi, edi
mov dword [ebp - 0x10], eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x40bc5d
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push 0x10
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x40bacd
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
inc esi
mov ebx, edi
cmp esi, 3
jae 0x40bc5d
mov eax, dword [ebp - 0x10]
jmp 0x40ba80
test eax, eax
jne 0x40bc5d
mov edi, ebx
xor esi, esi
lea ecx, [ebp - 0x70]
call fcn.0040b765
mov eax, dword [edi + 0xc]
mov dword [ebp - 4], esi
test eax, eax
je 0x40bc3c
cmp byte [eax], 0
je 0x40bc3c
push eax
lea ecx, [ebp - 0x34]
call fcn.004022e3
lea eax, [ebp - 0x34]
push eax
call fcn.0040bf41
pop ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x40], eax
call fcn.0040291c
cmp dword [edi + 0x34], 6
jne 0x40bb50
movzx eax, byte [edi + 0x31]
push eax
movzx eax, byte [edi + 0x30]
push eax
movzx eax, byte [edi + 0x2f]
push eax
movzx eax, byte [edi + 0x2e]
push eax
movzx eax, byte [edi + 0x2d]
push eax
movzx eax, byte [edi + 0x2c]
push eax
lea eax, [ebp - 0x278]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.0040b67a
add esp, 0x20
jmp 0x40bb92
cmp dword [edi + 0x34], 8
jne 0x40bb92
movzx eax, byte [edi + 0x33]
push eax
movzx eax, byte [edi + 0x32]
push eax
movzx eax, byte [edi + 0x31]
push eax
movzx eax, byte [edi + 0x30]
push eax
movzx eax, byte [edi + 0x2f]
push eax
movzx eax, byte [edi + 0x2e]
push eax
movzx eax, byte [edi + 0x2d]
push eax
movzx eax, byte [edi + 0x2c]
push eax
lea eax, [ebp - 0x278]
push str._02X__02X__02X__02X__02X__02X__02X__02X
push eax
call fcn.0040b67a
add esp, 0x28
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x70]
call fcn.00403336
mov ecx, dword [edi + 0x24]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x40bba7
push esi
push esi
push esi
push esi
sub ecx, edx
sar ecx, 1
push ecx
push dword [edi + 0x24]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
lea esi, [eax + 1]
push esi
call fcn.004b1c4b
mov dword [ebp - 0x14], eax
xor eax, eax
push esi
mov esi, dword [ebp - 0x14]
push eax
push esi
call fcn.004b5210
mov ecx, dword [edi + 0x24]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x18]
jne 0x40bbeb
xor eax, eax
sub ecx, edx
push eax
push eax
push dword [ebp - 0x1c]
sar ecx, 1
push esi
push ecx
push dword [edi + 0x24]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
lea ecx, [ebp - 0x58]
call fcn.00403336
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x34]
push 1
push esi
mov dword [ebp - 0x38], eax
call fcn.004b1bb8
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x70]
push eax
call fcn.0040b4b9
xor esi, esi
mov edi, dword [edi + 8]
lea ecx, [ebp - 0x58]
or dword [ebp - 4], 0xffffffff
call fcn.0040291c
lea ecx, [ebp - 0x70]
call fcn.0040291c
test edi, edi
jne 0x40bad9
jmp 0x40bc77
push 4
lea eax, [ebp - 0x174]
push str.:1:_d
push eax
call fcn.0040b67a
add esp, 0xc
test ebx, ebx
je 0x40bc86
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
lea eax, [ebp - 0x174]
cmp byte [eax], 0
pop esi
pop ebx
je 0x40bcdf
push 4
push str.:2:_d
push eax
call fcn.0040b67a
mov ecx, dword [ebp + 0xc]
add esp, 0xc
call fcn.0040c32e
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.0040bcfd
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.004028b0
push eax
lea eax, [ebp - 0x174]
push 0x4e6eec
push eax
call fcn.0040b67a
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.0040291c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x174]
push eax
call fcn.004022e3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret