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

Disassembly:
mov eax, 0x5231a9
call fcn.004f70e4
sub esp, 0x26c
push ebx
push esi
push edi
xor edi, edi
mov ecx, 0x5625b9
mov dword [ebp - 0x18], edi
call fcn.004f6dfd
push 0x104
lea eax, [ebp - 0x174]
push edi
push eax
call fcn.004fa2f0
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 0x40bd7d
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 0x40bbed
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 0x40bd7d
mov eax, dword [ebp - 0x10]
jmp 0x40bba0
test eax, eax
jne 0x40bd7d
mov edi, ebx
xor esi, esi
lea ecx, [ebp - 0x70]
call fcn.0040b885
mov eax, dword [edi + 0xc]
mov dword [ebp - 4], esi
test eax, eax
je 0x40bd5c
cmp byte [eax], 0
je 0x40bd5c
push eax
lea ecx, [ebp - 0x34]
call fcn.00402403
lea eax, [ebp - 0x34]
push eax
call fcn.0040c061
pop ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x40], eax
call fcn.00402a3c
cmp dword [edi + 0x34], 6
jne 0x40bc70
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.0040b79a
add esp, 0x20
jmp 0x40bcb2
cmp dword [edi + 0x34], 8
jne 0x40bcb2
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.0040b79a
add esp, 0x28
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x70]
call fcn.00403456
mov ecx, dword [edi + 0x24]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x40bcc7
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.004f6e82
mov dword [ebp - 0x14], eax
xor eax, eax
push esi
mov esi, dword [ebp - 0x14]
push eax
push esi
call fcn.004fa2f0
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 0x40bd0b
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.00403456
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.004f6def
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x70]
push eax
call fcn.0040b5d9
xor esi, esi
mov edi, dword [edi + 8]
lea ecx, [ebp - 0x58]
or dword [ebp - 4], 0xffffffff
call fcn.00402a3c
lea ecx, [ebp - 0x70]
call fcn.00402a3c
test edi, edi
jne 0x40bbf9
jmp 0x40bd97
push 4
lea eax, [ebp - 0x174]
push str.:1:_d
push eax
call fcn.0040b79a
add esp, 0xc
test ebx, ebx
je 0x40bda6
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 0x40bdff
push 4
push str.:2:_d
push eax
call fcn.0040b79a
mov ecx, dword [ebp + 0xc]
add esp, 0xc
call fcn.0040c44e
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.0040be1d
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.004029d0
push eax
lea eax, [ebp - 0x174]
push 0x52aeec
push eax
call fcn.0040b79a
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00402a3c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x174]
push eax
call fcn.00402403
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret