Function at 0x478cd4
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x478cdd
mov eax, dword [ebp - 4]
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4034], edx
mov dword [ebp - 0x4030], edx
mov dword [ebp - 0x402c], edx
mov dword [ebp - 0x4028], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x478f4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x478d49
inc edi
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.00419de8
mov ebx, eax
mov dword [ebx + 0xc], 0xffffffff
inc esi
dec edi
jne 0x478d2f
lea edi, [ebp - 0x400c]
mov dword [ebp - 8], 0x4000
lea eax, [ebp - 8]
push eax
push edi
call sub.IpHlpApi.dll_GetAdaptersInfo
test eax, eax
jne 0x478eea
cmp dword [edi + 0x1a0], 6
je 0x478d78
mov edi, dword [edi]
jmp 0x478ee2
lea esi, [edi + 0x1ac]
test esi, esi
je 0x478ee0
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 8]
mov dword [ebp - 0x401c], eax
mov byte [ebp - 0x4018], 6
lea eax, [esi + 4]
mov dword [ebp - 0x4014], eax
mov byte [ebp - 0x4010], 6
lea edx, [ebp - 0x401c]
mov ecx, 1
mov eax, 0x478f64
call fcn.00409e38
mov cl, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00478c5c
mov ebx, eax
test ebx, ebx
jne 0x478e06
mov esi, dword [esi]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4024], eax
mov byte [ebp - 0x4020], 0xb
lea eax, [ebp - 0x4024]
push eax
push 0
mov ecx, 0x478f74
mov edx, 0x283d
mov eax, 0x478f84
call fcn.0047b818
jmp 0x478ed8
mov eax, dword [edi + 0x19c]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 0xc]
call fcn.004045f4
lea eax, [ebx + 8]
lea edx, [edi + 0x10c]
mov ecx, 0x84
call fcn.00404820
lea edx, [ebx + 0x10]
lea eax, [edi + 0x194]
mov ecx, 6
call fcn.004029a4
lea eax, [ebp - 0x4028]
lea edx, [esi + 4]
mov ecx, 0x10
call fcn.00404820
mov edx, dword [ebp - 0x4028]
mov eax, ebx
call fcn.00478b54
lea eax, [ebp - 0x402c]
lea edx, [esi + 0x14]
mov ecx, 0x10
call fcn.00404820
mov edx, dword [ebp - 0x402c]
mov eax, ebx
call fcn.00478b70
lea eax, [ebp - 0x4030]
lea edx, [esi + 4]
mov ecx, 0x10
call fcn.00404820
mov eax, dword [ebp - 0x4030]
mov edx, 0x478f90
call fcn.0040891c
test eax, eax
sete al
mov byte [ebx + 0x20], al
lea eax, [ebp - 0x4034]
lea edx, [esi + 4]
mov ecx, 0x10
call fcn.00404820
mov eax, dword [ebp - 0x4034]
mov edx, 0x478fa4
call fcn.0040891c
test eax, eax
setne al
mov byte [ebx + 0x21], al
mov esi, dword [esi]
test esi, esi
jne 0x478d86
mov edi, dword [edi]
test edi, edi
jne 0x478d68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x478f28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.00419de8
mov ebx, eax
cmp dword [ebx + 0xc], 0xffffffff
jne 0x478f22
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.00419cd8
mov eax, ebx
call fcn.00403810
dec esi
cmp esi, 0xffffffff
jne 0x478ef9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478f55
lea eax, [ebp - 0x4034]
mov edx, 4
call fcn.004045c4
lea eax, [ebp - 0xc]
call fcn.004045a0
ret