Function at 0x4710a0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d4af
mov eax, dword fs:[0]
push eax
mov eax, 0x2940
call fcn.004732a0
mov eax, dword [0x4c3718]
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.00474170
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 0x47135a
lea esi, [ebp - 0x2890]
lea eax, [esi + 8]
push eax
call fcn.00470890
mov eax, dword [esi + 0x1a0]
add esp, 4
cmp eax, 6
je 0x471147
cmp eax, 0x17
je 0x471147
mov esi, dword [esi]
test esi, esi
jne 0x471120
jmp 0x47135a
push 0x98
lea eax, [ebp - 0x292c]
push 0
push eax
call fcn.00474170
add esp, 0xc
mov dword [ebp - 0x292c], 0x4aa064
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.0040d530
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.004079d0
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.004720e2
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.00470650
inc ebx
cmp ebx, 6
jl 0x471210
lea eax, [ebp - 0x294c]
push eax
lea ecx, [ebp - 0x292c]
call fcn.0046ff00
mov esi, eax
cmp edi, esi
je 0x4712db
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x4712b6
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00404100
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4712ce
mov eax, dword [edi]
jmp 0x4712d0
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.0040bb50
mov eax, dword [ebp - 0x2938]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x47132f
mov ecx, dword [ebp - 0x294c]
inc eax
cmp eax, 0x1000
jb 0x471326
test cl, 0x1f
je 0x471302
call fcn.00478b61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x47130e
call fcn.00478b61
sub ecx, eax
cmp ecx, 4
jae 0x47131a
call fcn.00478b61
cmp ecx, 0x23
jbe 0x471324
call fcn.00478b61
mov ecx, eax
push ecx
call fcn.004729a5
add esp, 4
lea ecx, [ebp - 0x28dc]
call fcn.0046d330
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.00471c69
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.00472961
mov esp, ebp
pop ebp
ret