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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x41800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x12
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0x288
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
mov edi, eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x288
mov dword [ebp - 4], 0
call esi
add esp, 8
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x4080b1
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.004041b0
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edi, dword [ebp - 0x5c]
add esp, 8
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408040
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.0040bfe0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4084dc
mov edx, dword [ebp - 0x18]
push ecx
call fcn.0040c0d0
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x408114
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408114
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x50]
push ecx
push eax
call edi
cmp eax, 0x6f
jne 0x408123
push dword [ebp - 0x54]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 0x50]
call esi
mov esi, eax
add esp, 8
mov dword [ebp - 0x54], esi
test esi, esi
jne 0x408126
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.004041b0
push dword [ebp - 0x58]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
mov edi, dword [ebp - 0x5c]
add esp, 8
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], esi
lea edx, [ecx + 1]
mov dword [edi + 0x14], esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408108
jmp 0x408047
push ecx
push esi
call fcn.0040ef56
add esp, 8
jmp 0x4084dc
mov esi, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
push eax
push esi
call edi
test eax, eax
jne 0x40828e
mov edi, dword [ebp - 0x58]
nop dword [eax + 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
push str._02X:_02X:_02X:_02X:_02X:_02X
push edi
call fcn.004041e0
mov ecx, edi
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
add esp, 0x20
movups xmmword [ebp - 0x4c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408198
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.0040bfe0
lea eax, [esi + 0x1b0]
mov byte [ebp - 4], 1
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040ab20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x408204
movups xmm0, xmmword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
mov dword [ecx], eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [ecx + 4], xmm0
mov byte [ebp - 0x74], 0
movq xmm0, qword [ebp - 0x64]
movq qword [ecx + 0x14], xmm0
mov ecx, 0xf
add dword [ebp - 0x18], 0x1c
jmp 0x408214
lea eax, [ebp - 0x78]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040d080
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x408249
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40823f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4080ab
push ecx
push edx
call fcn.0040ef56
add esp, 8
mov esi, dword [esi]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x408283
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408279
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4080ab
push ecx
push edx
call fcn.0040ef56
add esp, 8
test esi, esi
jne 0x408140
mov esi, dword [ebp - 0x54]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call eax
add esp, 4
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
push 0
push 0x412baf
call fcn.0040bfe0
xor ecx, ecx
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x18]
mov eax, 0x92492493
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x54], ecx
mov ecx, edi
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40844d
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [ebp - 0x24]
add esi, 4
mov eax, SysReAllocString
add esi, edi
sub eax, ecx
cmp eax, 1
jb 0x4084f9
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push 1
cmovae eax, dword [ebp - 0x34]
push 0x4130b4
push ecx
push eax
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x74]
call fcn.0040cc80
push esi
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.0040ad70
mov esi, eax
add esp, 4
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x40839a
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x408378
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40836e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4080ab
push ecx
push edx
call fcn.0040ef56
add esp, 8
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x4083ce
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4083c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4080ab
push ecx
push edx
call fcn.0040ef56
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0x10
jb 0x408418
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40840e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4080ab
push ecx
push edx
call fcn.0040ef56
add esp, 8
mov esi, dword [ebp - 0x1c]
add edi, 0x1c
inc dword [ebp - 0x54]
mov eax, 0x92492493
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, esi
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x54]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x40844d
mov edi, dword [ebp - 0x58]
jmp 0x4082f0
mov eax, dword [ebp - 0x5c]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x10], xmm0
test esi, esi
je 0x4084da
push ecx
mov edx, edi
mov ecx, esi
call fcn.0040c0d0
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x4084cb
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4080ab
push ecx
push esi
call fcn.0040ef56
mov edi, dword [ebp - 0x5c]
add esp, 8
jmp 0x4084dc
mov edi, eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ef13
mov esp, ebp
pop ebp
ret
call fcn.00401e70
int3