Function at 0x40eaf0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbfaf
mov eax, dword fs:[0]
push eax
mov eax, 0x2940
call fcn.004a1a00
mov eax, dword [0x4fd5c0]
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, dword [ebp + 8]
lea eax, [ebp - 0x2890]
push 0x2880
push 0
push eax
mov dword [ebp - 0x2930], 0
call fcn.004a3390
add esp, 0xc
mov dword [ebp - 0x2894], 0x2880
lea eax, [ebp - 0x2894]
push eax
lea eax, [ebp - 0x2890]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x40edaa
lea esi, [ebp - 0x2890]
lea eax, [esi + 8]
push eax
call fcn.0040e2e0
mov eax, dword [esi + 0x1a0]
add esp, 4
cmp eax, 6
je 0x40eb97
cmp eax, 0x17
je 0x40eb97
mov esi, dword [esi]
test esi, esi
jne 0x40eb70
jmp 0x40edaa
push 0x98
lea eax, [ebp - 0x292c]
push 0
push eax
call fcn.004a3390
add esp, 0xc
mov dword [ebp - 0x292c], 0x4d12c4
push 0
lea eax, [ebp - 0x2928]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28dc]
mov dword [ebp - 0x2930], 1
mov dword [ebp - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x28e0], 0x48
call fcn.00410d40
mov eax, dword [ebp - 0x292c]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x292c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2930], eax
lea eax, [ebp - 0x2928]
mov ecx, eax
mov dword [ebp - 0x2934], eax
call fcn.0040d0c0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x28f0], 0
mov dword [ebp - 0x28ec], 4
mov dword [ebp - 4], 4
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [ebp - 0x292c]
lea ecx, [ebp - 0x292c]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x2944]
push eax
call fcn.004a05be
mov ecx, dword [ebp - 0x292c]
lea edx, [ebp - 0x292c]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
mov eax, dword [ebp - 0x292c]
lea ecx, [ebp - 0x292c]
add esp, 0x18
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x28ec], 0x30
movzx eax, byte [esi + ebx + 0x194]
push eax
call fcn.0040dbc0
inc ebx
cmp ebx, 6
jl 0x40ec60
lea eax, [ebp - 0x294c]
push eax
lea ecx, [ebp - 0x292c]
call fcn.00411670
mov esi, eax
cmp edi, esi
je 0x40ed2b
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x40ed06
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00410090
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x40ed1e
mov eax, dword [edi]
jmp 0x40ed20
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00406490
mov eax, dword [ebp - 0x2938]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x40ed7f
mov ecx, dword [ebp - 0x294c]
inc eax
cmp eax, 0x1000
jb 0x40ed76
test cl, 0x1f
je 0x40ed52
call fcn.004a7532
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40ed5e
call fcn.004a7532
sub ecx, eax
cmp ecx, 4
jae 0x40ed6a
call fcn.004a7532
cmp ecx, 0x23
jbe 0x40ed74
call fcn.004a7532
mov ecx, eax
push ecx
call fcn.004a10ce
add esp, 4
lea ecx, [ebp - 0x28dc]
call fcn.0040d6b0
lea eax, [ebp - 0x28dc]
mov dword [ebp - 4], 6
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004a0536
add esp, 4
xor eax, eax
cmp dword [edi + 0x10], eax
setne al
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.004a10e1
mov esp, ebp
pop ebp
ret