Function at 0x417f2f
Capabilities:
Get mac address on windows
Get networking interfaces

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
push 0x485574
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
call fcn.00417cb8
test eax, eax
je 0x417f67
xor eax, eax
jmp 0x41814a
push esi
mov dword [ebp - 0x10], edi
lea esi, [ebx + 0x40]
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x417f7a
mov dword [ebp - 8], edi
jmp 0x417f84
mov ecx, dword [esi + 8]
sub ecx, eax
mov dword [ebp - 8], ecx
jne 0x417f88
xor eax, eax
jmp 0x417f8b
mov eax, dword [ebx + 0x44]
lea ecx, [ebp - 8]
push ecx
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, edi
je 0x417fc0
cmp eax, 0x6f
jne 0x417fe6
push edi
push dword [ebp - 8]
mov ecx, esi
call fcn.00417d61
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x417fb4
xor eax, eax
jmp 0x417fb9
mov eax, dword [esi + 8]
sub eax, ecx
cmp eax, dword [ebp - 8]
je 0x417f6e
jmp 0x417fe6
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x417fcb
xor eax, eax
jmp 0x417fd0
mov eax, dword [esi + 8]
sub eax, ecx
cmp eax, dword [ebp - 8]
je 0x417fe0
push edi
push dword [ebp - 8]
mov ecx, esi
call fcn.00417d61
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x10], eax
add ebx, 0x30
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x417ffd
mov ecx, dword [ebx + 8]
sub ecx, eax
mov dword [ebp - 0xc], ecx
jne 0x418001
xor esi, esi
jmp 0x418007
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x34]
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x418013
mov dword [ebp - 0xc], edi
jmp 0x41801b
mov ecx, dword [ebx + 8]
sub ecx, eax
mov dword [ebp - 0xc], ecx
push edi
lea eax, [ebp - 0xc]
push eax
push esi
call sub.iphlpapi.dll_GetIfTable
cmp eax, edi
je 0x418058
cmp eax, 0x7a
jne 0x418146
push edi
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.00417d61
mov ecx, dword [ebx + 4]
cmp ecx, edi
jne 0x418049
xor eax, eax
jmp 0x41804e
mov eax, dword [ebx + 8]
sub eax, ecx
cmp eax, dword [ebp - 0xc]
je 0x417fec
jmp 0x418146
mov eax, dword [esi]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x41810f
add esi, 0x214
mov dword [ebp - 0x1c], eax
cmp dword [esi - 0xc], 0x18
je 0x41812c
cmp dword [ebp - 0x10], edi
je 0x41811a
mov edi, dword [ebp - 0x10]
mov eax, dword [esi]
cmp eax, dword [edi + 0x190]
jne 0x4180ae
push eax
lea eax, [edi + 0x194]
push eax
lea eax, [esi + 4]
push eax
call fcn.0044d7b0
add esp, 0xc
test eax, eax
jne 0x4180ae
mov eax, dword [esi - 0x10]
cmp eax, dword [ebp - 0x14]
je 0x4180b6
mov edi, dword [edi]
test edi, edi
jne 0x418084
jmp 0x4180fb
lea ebx, [edi + 0x1ac]
test ebx, ebx
je 0x4180f1
lea eax, [ebx + 4]
push eax
push dword [0x49e390]
call fcn.0044eee0
test eax, eax
pop ecx
pop ecx
jne 0x4180db
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4180c0
test ebx, ebx
je 0x4180f1
mov ecx, dword [esi + 0x18]
mov eax, dword [ebp + 8]
add dword [eax], ecx
mov ecx, dword [esi + 0x30]
mov eax, dword [ebp + 0xc]
add dword [eax], ecx
jmp 0x4180f4
dec dword [ebp - 4]
test edi, edi
mov ebx, dword [ebp - 0x18]
jne 0x4180fe
dec dword [ebp - 4]
xor edi, edi
add esi, 0x35c
dec dword [ebp - 0x1c]
jne 0x41806e
mov ecx, dword [ebx + 4]
cmp ecx, edi
jne 0x418131
xor eax, eax
jmp 0x418136
mov ecx, dword [esi + 0x18]
mov eax, dword [ebp + 8]
add dword [eax], ecx
mov ecx, dword [esi + 0x30]
mov eax, dword [ebp + 0xc]
add dword [eax], ecx
jmp 0x418100
dec dword [ebp - 4]
jmp 0x418100
mov eax, dword [ebx + 8]
sub eax, ecx
cmp dword [ebp - 0xc], eax
je 0x418146
push edi
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.00417d61
mov eax, dword [ebp - 4]
pop esi
pop edi
pop ebx
leave
ret 8