Function at 0x10002500
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0x2c
push esi
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
push edi
mov dword [esp + 0x20], ecx
push 0x280
mov dword [esp + 0x1c], 0
call esi
add esp, 4
mov edi, eax
lea eax, [esp + 8]
mov dword [esp + 0x10], edi
push eax
push edi
mov dword [esp + 0x10], 0x280
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10002564
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0xc]
push ecx
call esi
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10002560
pop edi
pop esi
add esp, 0x2c
ret 4
mov edi, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x1000272c
mov esi, edi
test edi, edi
mov dword [esp + 0x14], esi
je 0x1000273a
push ebx
push ebp
jmp 0x1000258d
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x190], 6
jne 0x1000271c
xor eax, eax
mov cl, byte [esi + eax + 0x194]
mov dl, byte [eax + 0x10020020]
cmp cl, dl
jne 0x1000271c
inc eax
cmp eax, 6
jl 0x1000259c
mov edx, dword [esp + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_htonl]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
mov dword [esp + 0x24], eax
je 0x1000271c
lea ebx, [esi + 0x1ac]
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x1000271c
jmp 0x100025f1
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
add ebx, 4
mov esi, ebx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1000261a
test cl, cl
je 0x10002616
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1000261a
add eax, 2
add esi, 2
test cl, cl
jne 0x100025f6
xor eax, eax
jmp 0x1000261f
sbb eax, eax
sbb eax, 0xffffffff
xor ebp, ebp
cmp eax, ebp
jne 0x10002642
push ebx
push str.Address_OK_:_s
push 4
call fcn.1000be40
add esp, 0xc
mov dword [esp + 0x20], 1
jmp 0x10002702
mov edi, str.0.0.0.0
mov esi, ebx
mov ecx, 8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10002702
push ebx
push str.Release_Old_Address:_s
push 4
call fcn.1000be40
mov cl, byte [esp + 0x4c]
mov edi, ebx
mov byte [esp + 0x38], cl
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov ebp, ecx
push 1
push ebp
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x100026bd
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebp
mov byte [eax + ebp], 0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov eax, dword [edx + 0x78]
push eax
call fcn.1000b680
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x100026f6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100026ed
cmp al, 0xff
je 0x100026ed
dec al
mov byte [ecx], al
jmp 0x100026f6
push ecx
call fcn.1001b978
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x100025e9
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov esi, dword [esi]
test esi, esi
mov dword [esp + 0x1c], esi
jne 0x10002589
pop ebp
pop ebx
test edi, edi
je 0x1000273a
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x18]
pop edi
pop esi
add esp, 0x2c
ret 4