Function at 0x41a390
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48314b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4b666c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x288
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x288
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x41a416
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41a654
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41a652
push str.Virtual
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10c
push ecx
call fcn.00415a60
add esp, 8
test eax, eax
jbe 0x41a465
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
jmp 0x41a436
push 0x4907d0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10c
push ecx
call fcn.00415a60
add esp, 8
test eax, eax
jbe 0x41a48a
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
jmp 0x41a436
push str.Win32
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10c
push ecx
call fcn.00415a60
add esp, 8
test eax, eax
jbe 0x41a4af
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
jmp 0x41a436
push str.CnFast
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10c
push ecx
call fcn.00415a60
add esp, 8
test eax, eax
jbe 0x41a4d7
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
jmp 0x41a436
lea ecx, [ebp - 0x9c]
call fcn.0041a6b0
mov dword [ebp - 4], 0
mov dword [ebp - 0xa0], 0
jmp 0x41a504
mov ecx, dword [ebp - 0xa0]
add ecx, 1
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xa0]
cmp eax, dword [edx + 0x190]
jae 0x41a5a6
mov byte [ebp - 0xb4], 0
xor ecx, ecx
mov dword [ebp - 0xb3], ecx
mov dword [ebp - 0xaf], ecx
mov dword [ebp - 0xab], ecx
mov dword [ebp - 0xa7], ecx
mov word [ebp - 0xa3], cx
mov byte [ebp - 0xa1], cl
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x190]
sub eax, 1
cmp dword [ebp - 0xa0], eax
setne cl
sub cl, 1
and cl, 0xdd
add cl, 0x2d
movsx edx, cl
push edx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xa0]
movzx ecx, byte [eax + 0x194]
push ecx
push str._02X_c
push 0x14
lea edx, [ebp - 0xb4]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x14
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
jmp 0x41a4f5
mov ecx, dword [ebp - 0x1c]
add ecx, 8
push ecx
lea ecx, [ebp - 0x9c]
call dword [0x48e2c0]
mov edx, dword [ebp - 0x1c]
add edx, 0x10c
push edx
lea ecx, [ebp - 0x80]
call dword [0x48e2c0]
mov byte [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x1a0]
push edx
push 0x4907f0
push 0xb
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
call dword [0x48e2c0]
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x1a0], 0x47
jne 0x41a624
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041a7b0
jmp 0x41a633
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041a7b0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0041a730
jmp 0x41a436
jmp 0x41a658
xor al, al
jmp 0x41a68e
cmp dword [ebp - 0x10], 0
je 0x41a672
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x1c], 0
je 0x41a68c
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov dword [ebp - 0x1c], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0047f406
mov esp, ebp
pop ebp
ret