Function at 0x42e410
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c36a1
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x230], edi
call fcn.0041c4a0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x22c]
push eax
push 0
mov dword [ebp - 0x22c], 0
call esi
test eax, eax
je 0x42e46f
cmp eax, 0x6f
jne 0x42e49e
push dword [ebp - 0x22c]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [ebp - 0x234], ebx
test ebx, ebx
je 0x42e49e
lea eax, [ebp - 0x22c]
push eax
push ebx
call esi
test eax, eax
je 0x42e4bc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x18], 0
mov esi, ebx
mov dword [ebp - 0x17], eax
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
jmp 0x42e4e6
mov edi, dword [ebp - 0x230]
cmp byte [esi + 0x10c], 0
lea edx, [esi + 0x10c]
mov dword [ebp - 0x250], 0xf
mov dword [ebp - 0x254], 0
mov byte [ebp - 0x264], 0
jne 0x42e514
xor ecx, ecx
jmp 0x42e52f
mov ecx, edx
lea edi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e520
sub ecx, edi
mov edi, dword [ebp - 0x230]
push ecx
push edx
lea ecx, [ebp - 0x264]
call fcn.004284e0
lea eax, [ebp - 0x264]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0046d130
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x42e565
mov eax, dword [eax]
push eax
push 0x4de89c
push 0x36
push str.SystemUtility::Device::GetMacAddressByIpHelper
call fcn.00461db0
add esp, 0x10
cmp dword [ebp - 0x268], 8
jb 0x42e58e
push dword [ebp - 0x27c]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x250], 0x10
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
jb 0x42e5c6
push dword [ebp - 0x264]
call ebx
add esp, 4
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x18]
cmp eax, dword [ecx]
jne 0x42e5e2
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x42e71e
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x226]
push eax
call sub.MSVCR120.dll_memset
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push 0xffffffffffffffff
lea eax, [ebp - 0x228]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
xor eax, eax
mov dword [ebp - 0x238], 7
add esp, 0x34
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x228], ax
je 0x42e68f
lea eax, [ebp - 0x228]
lea edx, [eax + 2]
jmp 0x42e680
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e680
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004098a0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x24c]
mov edi, dword [edi]
push eax
push dword [edi + 4]
push edi
call fcn.0042e760
mov ecx, dword [ebp - 0x230]
mov edx, eax
mov eax, dword [ecx + 4]
mov ecx, 0x7fffffe
sub ecx, eax
cmp ecx, 1
jb 0x42e747
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x230]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x238], 8
jb 0x42e701
push dword [ebp - 0x24c]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
mov esi, dword [esi]
test esi, esi
jne 0x42e4e0
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x230]
xor eax, eax
cmp dword [ecx + 4], eax
setne al
jmp 0x42e4a0
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3