Function at 0x48dacc
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48ddb5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
je 0x48db18
cmp eax, 0x7a
jne 0x48dd8d
mov eax, dword [ebp - 8]
call fcn.00408af0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48dd86
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x48dd70
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48dd70
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add edx, 8
mov ecx, 0x104
call fcn.00404968
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0048da80
mov ebx, eax
test ebx, ebx
je 0x48dd5e
lea eax, [ebp - 0x1c]
call fcn.004046f8
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 0x190]
dec esi
test esi, esi
jl 0x48dbd1
inc esi
xor edi, edi
cmp dword [ebp - 0x1c], 0
je 0x48dbaa
lea eax, [ebp - 0x1c]
mov edx, 0x48ddcc
call fcn.004049c0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + edi + 0x194]
lea ecx, [ebp - 0x24]
mov edx, 2
call fcn.00409450
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
call fcn.004049c0
inc edi
dec esi
jne 0x48db97
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.0048e75c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x19c]
mov eax, ebx
call fcn.0048e6fc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x224], 1
sbb edx, edx
inc edx
mov eax, ebx
call fcn.0048e758
mov eax, ebx
call fcn.0048e6f8
push eax
mov eax, ebx
call fcn.0048e6f4
mov ecx, eax
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x1ac]
mov eax, dword [ebp - 4]
call fcn.0048e1d4
push 0
mov eax, ebx
call fcn.0048e6f0
mov ecx, eax
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x1d4]
mov eax, dword [ebp - 4]
call fcn.0048e1d4
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x1fc]
mov eax, dword [ebp - 4]
call fcn.0048e17c
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.0048e720
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x228]
mov eax, dword [ebp - 4]
call fcn.0048e17c
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.0048e79c
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x250]
mov eax, dword [ebp - 4]
call fcn.0048e17c
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.0048e7b0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x1a0]
mov eax, ebx
call fcn.0048e700
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1a4], 1
sete dl
mov eax, ebx
call fcn.0048e71c
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
push eax
call sub.iphlpapi.dll_GetPerAdapterInfo
cmp eax, 0x6f
je 0x48dce4
call fcn.0040419c
jmp 0x48dd8d
mov eax, dword [ebp - 0xc]
call fcn.00408af0
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x48dd57
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
push eax
call sub.iphlpapi.dll_GetPerAdapterInfo
test eax, eax
jne 0x48dd41
mov eax, dword [ebp - 0x20]
cmp dword [eax], 1
sete dl
mov eax, ebx
call fcn.0048e704
push 0
mov eax, ebx
call fcn.0048e6ec
mov ecx, eax
mov eax, dword [ebp - 0x20]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.0048e1d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dd5e
mov eax, dword [ebp - 0x20]
call fcn.00402ae4
ret
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x48db56
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dd8d
mov eax, dword [ebp - 0x10]
call fcn.00402ae4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ddbc
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.0040471c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040471c
ret