Function at 0x40d1c0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43025e
mov eax, dword fs:[0]
push eax
mov eax, 0x521c
call fcn.00429680
mov eax, dword [0x43c4c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x517c], edi
mov dword [ebx], edi
mov dword [ebp - 0x5178], eax
mov dword [eax], edi
mov dword [ebp - 0x5224], 0x435554
mov dword [ebp - 0x5214], 0x435678
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea eax, [ebp - 0x520c]
push eax
lea ecx, [ebp - 0x5224]
mov dword [ebp - 4], edi
mov esi, 1
push ecx
mov dword [ebp - 0x517c], esi
call fcn.0040c670
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x5224]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x520c]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.00408750
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x51d0], edi
mov dword [ebp - 0x51cc], edi
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x5224]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x51ec]
lea ecx, [ebp + ecx - 0x5224]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push edi
push eax
call fcn.00406780
lea edx, [ebp - 0x5174]
push edx
lea eax, [ebp - 0x5154]
push eax
mov dword [ebp - 0x5174], 0x5100
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x40d360
lea esi, [ebp - 0x5154]
jmp 0x40d2e0
cmp dword [esi + 0x1a0], 6
jne 0x40d35a
mov ecx, 0x40
lea eax, [ebp - 0x54]
mov byte [eax], 0
inc eax
dec ecx
jne 0x40d2f1
movzx ecx, byte [esi + 0x199]
movzx edx, byte [esi + 0x198]
movzx eax, byte [esi + 0x197]
push ecx
movzx ecx, byte [esi + 0x196]
push edx
movzx edx, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push ecx
push edx
push eax
push str._.2x__.2x__.2x__.2x__.2x__.2x
lea edx, [ebp - 0x54]
call fcn.0040d710
add esp, 0x1c
push 0x4358d8
push ecx
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x5214]
push edx
call fcn.00404ad0
add esp, 0xc
push eax
call fcn.00404ad0
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x40d2e0
lea ecx, [ebp - 0x5170]
lea eax, [ebp - 0x5224]
call fcn.0040bf00
mov eax, dword [ebp - 0x5178]
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x5160]
add edi, edi
lea esi, [edi + 0xc]
push esi
mov dword [eax], esi
call fcn.00418644
add esp, 4
mov dword [ebx], eax
mov ecx, esi
test esi, esi
je 0x40d3a7
lea esp, [esp]
mov byte [eax], 0
inc eax
dec ecx
jne 0x40d3a0
mov ecx, dword [ebx]
mov dword [ecx], esi
mov edx, dword [ebx]
mov dword [edx + 4], 1
mov eax, dword [ebx]
mov dword [eax + 8], edi
mov eax, dword [ebp - 0x5170]
mov esi, 8
cmp dword [ebp - 0x515c], esi
jae 0x40d3d2
lea eax, [ebp - 0x5170]
mov ecx, dword [ebx]
push edi
push eax
add ecx, 0xc
push ecx
call fcn.0041b360
add esp, 0xc
cmp dword [ebp - 0x515c], esi
jb 0x40d3f9
mov edx, dword [ebp - 0x5170]
push edx
call fcn.00418932
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x5224]
mov dword [ebp - 0x515c], 7
mov dword [ebp - 0x5160], 0
mov word [ebp - 0x5170], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0040b350
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041893d
mov esp, ebp
pop ebp
ret