Function at 0x4018e0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x417044]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x40], 0
xor eax, eax
mov word [ebp - 0x2c], ax
xor ecx, ecx
mov dword [ebp - 0x2a], ecx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov word [ebp - 0xe], cx
mov dword [ebp - 8], 0
push 0x288
call fcn.00406d40
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0x288
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40197f
mov ecx, dword [ebp - 4]
push ecx
call fcn.00406eb5
add esp, 4
mov edx, dword [ebp - 0x34]
push edx
call fcn.00406d40
add esp, 4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x401aba
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x401aba
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp + 8], 0
je 0x4019d0
mov ecx, dword [ebp - 0x3c]
add ecx, 0x194
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [edx], eax
mov cx, word [ecx + 4]
mov word [edx + 4], cx
mov edx, dword [ebp - 0x3c]
add edx, 0x1ac
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x401aa5
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x4c]
mov al, byte [edx]
mov byte [ebp - 0x51], al
add dword [ebp - 0x4c], 1
cmp byte [ebp - 0x51], 0
jne 0x4019f8
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0x10
jle 0x401a26
mov dword [ebp - 0x44], 0x10
mov dword [ebp - 0x48], 0
jmp 0x401a38
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x44]
jg 0x401a67
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
jne 0x401a52
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ebp + ecx*2 - 0x2c], ax
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x48]
movsx ax, byte [edx + 4]
mov ecx, dword [ebp - 0x48]
mov word [ebp + ecx*2 - 0x2c], ax
jmp 0x401a2f
lea edx, [ebp - 0x2c]
push edx
call fcn.004011d0
add esp, 4
test eax, eax
je 0x401a8f
lea eax, [ebp - 0x2c]
push eax
push 0x10
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0040673f
add esp, 0xc
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x4019dc
cmp dword [ebp - 8], 0
jle 0x401aad
jmp 0x401aba
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
jmp 0x40199f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
je 0x401ad4
mov edx, dword [ebp - 4]
push edx
call fcn.00406eb5
add esp, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00406704
mov esp, ebp
pop ebp
ret