Function at 0x401e60
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45a27b
push eax
mov eax, 0x1858
mov dword fs:[0], esp
call fcn.00402750
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
mov esi, ecx
push 0x280
mov dword [esp + 0x1c], esi
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esi + 0xa4], eax
mov dword [esp + 0x10], 0x280
push ecx
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
mov ebx, dword [sym.imp.MSVCRT.dll_free]
cmp eax, 0x6f
jne 0x401eeb
mov edx, dword [esi + 0xa4]
push edx
call ebx
mov eax, dword [esp + 0x14]
push eax
call edi
add esp, 8
mov dword [esi + 0xa4], eax
test eax, eax
jne 0x401eeb
push eax
push eax
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo
call sub.MFC42.DLL_AfxMessageBox
jmp 0x402160
mov edx, dword [esi + 0xa4]
lea ecx, [esp + 0x10]
push ecx
push edx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x402137
mov esi, dword [esi + 0xa4]
mov ebp, 1
test esi, esi
je 0x402160
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x69]
mov byte [esp + 0x68], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x469]
mov byte [esp + 0x468], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x869]
mov byte [esp + 0x868], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x190]
xor edi, edi
test eax, eax
jbe 0x401fbd
xor eax, eax
lea ecx, [esp + 0x1c]
mov al, byte [esi + edi + 0x194]
push eax
push str._02X
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x1c]
lea eax, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esi + 0x190]
inc edi
cmp edi, eax
jb 0x401f89
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esi + 8]
lea edx, [esp + 0x68]
push ecx
push edx
call edi
lea eax, [esi + 0x10c]
push 0x20
lea ecx, [esp + 0x46c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0x868]
push str.._
push edx
call edi
lea eax, [esp + 0x68]
lea ecx, [esp + 0x868]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 4
push 0
push 3
lea edx, [esp + 0x87c]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x68]
lea ecx, [esp + 0x468]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x20]
push str._s_:__s_:__s
push eax
mov dword [esp + 0x1884], 0
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add esp, 0x14
lea edx, [ebp - 1]
mov eax, dword [edi + 0x80]
push ecx
push edx
push 0x181
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
lea ecx, [esp + 0xc6c]
push str.NetAdapter_02dMAC
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x1068]
push ebp
push str.NetAdapter_02dName
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x1468]
push ebp
push str.NetAdapter_02dDesc
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x28]
add edi, 0xa8
lea edx, [esp + 0xc68]
push ecx
push 6
push edx
mov ecx, edi
call fcn.00401470
lea eax, [esp + 0x68]
lea ecx, [esp + 0x68]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x106c]
push eax
push edx
mov ecx, edi
call fcn.00401470
lea eax, [esp + 0x468]
lea ecx, [esp + 0x468]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x146c]
push eax
push edx
mov ecx, edi
call fcn.00401470
mov esi, dword [esi]
lea ecx, [esp + 0x14]
inc ebp
mov dword [esp + 0x1870], 0xffffffff
call fcn.004025ee
test esi, esi
jne 0x401f1d
jmp 0x402160
push eax
push str.GetAdaptersInfo_failed_with_error:__d_n
call dword [sym.imp.MSVCRT.dll_printf]
mov eax, dword [esi + 0xa4]
add esp, 8
test eax, eax
je 0x402160
push eax
call ebx
add esp, 4
mov dword [esi + 0xa4], 0
mov ecx, dword [esp + 0x1868]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1864
ret