Function at 0x412f30
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x420a0e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x432ed8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], edi
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::constructor_void_]
mov dword [esp + 0x28], 1
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, edi
je 0x412fce
cmp eax, 0x6f
je 0x412fce
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.MessageFrameWork.dll_public:_static_class_CORE::corestring_wchar_t____cdecl_CORE::corestring_wchar_t_::formatError_unsigned_long_int_]
mov byte [esp + 0x30], 2
mov edx, dword [eax]
push edx
push str.GetAdaptersInfo_FAILED__error__s
xor edx, edx
call fcn.00412910
add esp, 0x10
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::constructor_class_CORE::corestring_wchar_t__const__]
jmp 0x4130e4
mov ecx, dword [esp + 0x14]
push 0x84
push str..wswc_service.cpp
push ecx
push edi
call sub.MessageFrameWork.dll_mymalloc
add esp, 0x10
lea edx, [esp + 0x14]
mov ebp, eax
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, edi
je 0x41302e
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.MessageFrameWork.dll_public:_static_class_CORE::corestring_wchar_t____cdecl_CORE::corestring_wchar_t_::formatError_unsigned_long_int_]
mov byte [esp + 0x30], 3
mov ecx, dword [eax]
push ecx
push str.GetAdaptersInfo_FAILED__error__s
xor edx, edx
call fcn.00412910
add esp, 0x10
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
jmp 0x4130ca
cmp ebp, edi
mov esi, ebp
mov al, 1
je 0x4130ca
lea ebx, [ebx]
cmp dword [esi + 0x190], edi
je 0x413055
test al, al
je 0x413069
cmp byte [esi + 0x1d8], 0
jne 0x413069
test al, al
mov esi, dword [esi]
je 0x413063
cmp esi, edi
jne 0x413040
xor al, al
mov esi, ebp
cmp esi, edi
jne 0x413040
jmp 0x4130ca
cmp dword [esi + 0x190], edi
jbe 0x4130ca
test edi, edi
je 0x413084
push 0x426828
lea ecx, [esp + 0x14]
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t_____thiscall_CORE::corestring_wchar_t_::operator___wchar_t_const__]
movzx edx, byte [esi + edi + 0x194]
push edx
lea eax, [esp + 0x20]
push str._2.2X
push eax
call dword [sym.imp.MessageFrameWork.dll_public:_static_class_CORE::corestring_wchar_t____cdecl_CORE::corestring_wchar_t_::printf_wchar_t_const__]
add esp, 0xc
mov byte [esp + 0x28], 4
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t_____thiscall_CORE::corestring_wchar_t_::operator___class_CORE::corestring_wchar_t__const__]
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
add edi, 1
cmp edi, dword [esi + 0x190]
jb 0x413071
push ebp
call sub.MessageFrameWork.dll_myfree
mov esi, dword [esp + 0x34]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::constructor_class_CORE::corestring_wchar_t__const__]
mov dword [esp + 0x18], 1
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret