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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f5c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push esi
push edi
mov ecx, 0x56c5c2
call fcn.00500c8d
push 0x104
lea eax, [ebp - 0x174]
push 0
push eax
call fcn.00503f20
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x10], 0
push eax
push 0
call edi
cmp eax, 0x6f
je 0x40d0c5
push 1
lea eax, [ebp - 0x174]
push str.:3:_d
push eax
call fcn.0040cab0
add esp, 0xc
jmp 0x40d3f9
push dword [ebp - 0x10]
call fcn.0050dc08
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x40d0f2
push 1
lea eax, [ebp - 0x174]
push str.:4:_d
push eax
call fcn.0040cab0
add esp, 0xc
jmp 0x40d3f9
lea ecx, [ebp - 0x10]
mov esi, eax
push ecx
push eax
call edi
test eax, eax
je 0x40d120
push 1
lea eax, [ebp - 0x174]
push str.:5:_d
push eax
call fcn.0040cab0
push esi
call fcn.00508284
add esp, 0x10
jmp 0x40d3f9
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x40d3e4
cmp eax, 8
ja 0x40d3e4
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea edx, [esi + 0x10c]
mov dword [ebp - 4], 1
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d190
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.00402a00
lea eax, [esi + 0x1b0]
cmp eax, str.0.0.0.0
je 0x40d379
lea edx, [esi + 8]
test edx, edx
je 0x40d379
cmp byte [edx], 0
je 0x40d379
mov ecx, edx
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d1e2
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00402fd0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
push eax
call fcn.0040d450
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x40d240
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d236
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d44a
push ecx
push edx
call fcn.00500c7f
add esp, 8
mov eax, dword [esi + 0x1a0]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x190]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x18], eax
cmp eax, 6
jne 0x40d2af
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x278]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.0040cab0
add esp, 0x20
jmp 0x40d303
movzx eax, byte [esi + 0x19b]
push eax
movzx eax, byte [esi + 0x19a]
push eax
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x278]
push str._02X__02X__02X__02X__02X__02X__02X__02X
push eax
call fcn.0040cab0
add esp, 0x28
lea ecx, [ebp - 0x278]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d310
sub ecx, edx
lea eax, [ebp - 0x278]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402a00
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x40d36d
lea eax, [ebp - 0x50]
mov dword [ebp - 0x70], edi
push eax
mov ecx, edi
call fcn.00403e00
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x18]
call fcn.00403e00
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0xc]
add dword [eax + 4], 0x3c
jmp 0x40d379
lea ecx, [ebp - 0x50]
push ecx
push edi
mov ecx, eax
call fcn.0040c740
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x40d3b4
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d3aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d44a
push ecx
push edx
call fcn.00500c7f
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x40d3e4
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d3da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d44a
push ecx
push edx
call fcn.00500c7f
add esp, 8
mov esi, dword [esi]
test esi, esi
jne 0x40d120
push dword [ebp - 0x14]
call fcn.00508284
add esp, 4
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x174]
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 0x40d420
sub ecx, edx
lea eax, [ebp - 0x174]
push ecx
push eax
mov ecx, esi
call fcn.00402fd0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00507f1f
int3