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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dda75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
push esi
mov ecx, 0x5104b1
call fcn.004b7c9d
push 0x104
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004bad00
add esp, 0xc
mov eax, 0x3a98
xor esi, esi
mov dword [ebp - 0x14], eax
push edi
nop word [eax + eax]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x40d214
lea eax, [ebp - 0x14]
push eax
push edi
push 0
push 0x10
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x40cf64
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
inc esi
xor edi, edi
cmp esi, 3
jae 0x40d214
mov eax, dword [ebp - 0x14]
jmp 0x40cf10
test eax, eax
jne 0x40d214
mov esi, dword [ebp + 0xc]
nop
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov edx, dword [edi + 0xc]
mov dword [ebp - 4], 1
test edx, edx
je 0x40d1ed
cmp byte [edx], 0
je 0x40d1ed
mov ecx, edx
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cfe6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00402fd0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
call fcn.0040d770
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x40d044
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d03a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d369
push ecx
push edx
call fcn.004b7c8f
add esp, 8
mov eax, dword [edi + 0x34]
cmp eax, 6
jne 0x40d080
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 - 0x27c]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.0040cdd0
add esp, 0x20
jmp 0x40d0c1
cmp eax, 8
jne 0x40d0c1
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 - 0x27c]
push str._02X__02X__02X__02X__02X__02X__02X__02X
push eax
call fcn.0040cdd0
add esp, 0x28
lea ecx, [ebp - 0x27c]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d0d0
sub ecx, edx
lea eax, [ebp - 0x27c]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00402a00
mov edx, dword [edi + 0x24]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d0f1
push 0
push 0
push 0
push 0
sub ecx, esi
sar ecx, 1
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x18], eax
lea esi, [eax + 1]
push esi
call fcn.004b7d22
push esi
mov esi, eax
mov dword [ebp - 0x10], eax
push 0
push esi
call fcn.004bad00
mov edx, dword [edi + 0x24]
add esp, 0x10
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d140
sub ecx, dword [ebp - 0x10]
push 0
push 0
push dword [ebp - 0x18]
sar ecx, 1
push esi
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d170
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.00402a00
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.004b7c8f
mov eax, dword [ebp + 0xc]
add esp, 8
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x40d1de
lea eax, [ebp - 0x70]
mov dword [ebp - 0x18], esi
push eax
mov ecx, esi
call fcn.00403c10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x18]
call fcn.00403c10
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x38], eax
mov esi, dword [ebp + 0xc]
add dword [esi + 4], 0x3c
jmp 0x40d1ed
lea ecx, [ebp - 0x70]
push ecx
push esi
mov ecx, eax
call fcn.0040ca60
mov esi, dword [ebp + 0xc]
mov edi, dword [edi + 8]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.00403640
lea ecx, [ebp - 0x70]
call fcn.00403640
test edi, edi
jne 0x40cf70
mov edi, dword [ebp - 0x34]
jmp 0x40d263
push 4
lea eax, [ebp - 0x178]
push str.:1:_d
push eax
call fcn.0040cdd0
add esp, 0xc
test edi, edi
jne 0x40d260
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x178]
mov eax, 0x4e48ee
pop edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d275
test dl, dl
je 0x40d25c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d275
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d240
xor eax, eax
jmp 0x40d27a
mov esi, dword [ebp + 0xc]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40d231
sbb eax, eax
or eax, 1
test eax, eax
je 0x40d31d
push 4
lea eax, [ebp - 0x178]
push str.:2:_d
push eax
call fcn.0040cdd0
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x40d2b1
push esi
push ecx
push eax
call fcn.0040ca20
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 4], eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.0040d370
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x178]
push 0x4e4ac4
push eax
call fcn.0040cdd0
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
cmp ecx, 0x10
jb 0x40d30b
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d301
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d369
push ecx
push edx
call fcn.004b7c8f
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x178]
xorps xmm0, xmm0
lea edx, [ecx + 1]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d340
sub ecx, edx
lea eax, [ebp - 0x178]
push ecx
push eax
mov ecx, esi
call fcn.00402fd0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004bebbf
int3