Function at 0x40c7c0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44acf5
mov eax, dword fs:[0]
push eax
sub esp, 0x3fc
mov eax, dword [0x463074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x408], esi
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3f0], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004099a0
mov dword [esi], eax
push 0x288
mov dword [ebp - 4], 0
mov dword [ebp - 0x3fc], 1
call fcn.004272de
mov edi, eax
mov dword [ebp - 0x3e8], eax
add esp, 4
test edi, edi
je 0x40c85f
push 0x288
push 0
push edi
call fcn.00429c60
add esp, 0xc
jmp 0x40c867
xor edi, edi
mov dword [ebp - 0x3e8], edi
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x3f8], 0x288
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40c8b1
push 0x288
push edi
call fcn.0042730e
push dword [ebp - 0x3f8]
call fcn.00427b8f
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x3e8], edi
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ecx, edi
mov dword [ebp - 0x404], ecx
test eax, eax
jne 0x40cd38
test edi, edi
je 0x40cd4a
nop dword [eax]
push 0x35c
lea eax, [ebp - 0x3e4]
push 0
push eax
call fcn.00429c60
mov eax, dword [edi + 0x19c]
add esp, 0xc
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x3e4]
push eax
call sub.IPHLPAPI.DLL_GetIfEntry
test eax, eax
jne 0x40cd1c
mov eax, dword [ebp - 0x1c4]
cmp eax, 5
je 0x40c91a
cmp eax, 4
jne 0x40cd1c
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov eax, dword [edi + 0x1a0]
add eax, 0xfffffffa
mov dword [ebp - 4], 1
cmp eax, 0x16
ja case.0x40c94c.7
movzx eax, byte [eax + 0x40cd8c]
jmp dword [eax*4 + 0x40cd70]
push 8
push str.ETHERNET
lea ecx, [ebp - 0x58]
call fcn.00402cb0
jmp 0x40caf4
push 9
push str.TOKENRING
lea ecx, [ebp - 0x58]
call fcn.00402cb0
jmp 0x40caf4
push 4
push str.FDDI
lea ecx, [ebp - 0x58]
call fcn.00402cb0
jmp 0x40caf4
push 3
push 0x44f000
lea ecx, [ebp - 0x58]
call fcn.00402cb0
jmp 0x40caf4
push 8
push str.LOOPBACK
lea ecx, [ebp - 0x58]
call fcn.00402cb0
jmp 0x40caf4
push 4
push str.SLIP
lea ecx, [ebp - 0x58]
call fcn.00402cb0
jmp 0x40caf4
push 9
push str.TYPE_WIN_
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00403200
push dword [edi + 0x1a0]
lea eax, [ebp - 0x2b]
mov byte [ebp - 4], 2
push eax
call fcn.004085e0
mov ecx, eax
xor edx, edx
lea eax, [ebp - 0x2b]
mov dword [ebp - 0x78], edx
add esp, 8
mov byte [ebp - 0x88], dl
mov esi, 0xf
mov dword [ebp - 0x74], esi
cmp ecx, eax
je 0x40ca33
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.00403200
mov esi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
or dword [ebp - 0x3fc], 6
cmp esi, 0x10
mov byte [ebp - 4], 3
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x70]
push edx
push eax
call fcn.00402cb0
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x40ca93
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd69
push edx
push ecx
call fcn.0042730e
add esp, 8
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x58]
push eax
call fcn.00402cb0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x40cae2
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cad8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd69
push edx
push ecx
call fcn.0042730e
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov eax, dword [edi + 0x190]
xorps xmm0, xmm0
xor esi, esi
movq qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
test eax, eax
je 0x40cb72
nop dword [eax]
dec eax
cmp esi, eax
jae 0x40cb3c
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cb20
movzx eax, byte [edi + esi + 0x194]
sub ecx, edx
push eax
push str._02X_
lea eax, [ebp - 0x28]
jmp 0x40cb5c
lea eax, [ebp - 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cb42
movzx ecx, byte [edi + esi + 0x194]
sub eax, edx
push ecx
push str._02X
lea ecx, [ebp - 0x28]
add eax, ecx
push eax
call fcn.004101a0
mov eax, dword [edi + 0x190]
inc esi
add esp, 0xc
cmp esi, eax
jb 0x40cb10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x40], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cb90
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00403200
mov esi, dword [ebp - 0x3f0]
mov edx, dword [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x3ec], edx
mov esi, dword [esi]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x40cc06
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
cmovae ecx, edx
cmp dword [edi + 0x24], 0x10
lea edx, [edi + 0x10]
jb 0x40cbda
mov edx, dword [edi + 0x10]
push dword [ebp - 0x30]
push ecx
push dword [edi + 0x20]
push edx
call fcn.00408460
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x40cbf6
mov edi, dword [edi + 8]
jmp 0x40cbfa
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
mov edx, dword [ebp - 0x3ec]
je 0x40cbc4
mov edi, dword [ebp - 0x3f0]
cmp esi, dword [edi]
je 0x40cc4b
cmp dword [esi + 0x24], 0x10
lea edi, [esi + 0x10]
jb 0x40cc1c
mov edi, dword [esi + 0x10]
push dword [esi + 0x20]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push edi
push dword [ebp - 0x30]
cmovae eax, edx
push eax
call fcn.00408460
shr eax, 0x1f
add esp, 0x10
test al, al
jne 0x40cc45
mov ecx, dword [ebp - 0x3ec]
jmp 0x40cc8b
mov edi, dword [ebp - 0x3f0]
lea eax, [ebp - 0x40]
mov ecx, edi
mov dword [ebp - 0x3ec], eax
lea eax, [ebp - 0x3f1]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0x44e924
call fcn.00405610
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x400]
push eax
call fcn.004075a0
mov esi, dword [ebp - 0x400]
mov ecx, dword [ebp - 0x40]
add esi, 0x28
lea eax, [ebp - 0x58]
cmp esi, eax
je 0x40ccab
cmp dword [ebp - 0x44], 0x10
mov ecx, esi
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00403200
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x40cce2
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ccd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd69
push edx
push ecx
call fcn.0042730e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x40cd16
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cd0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd69
push edx
push ecx
call fcn.0042730e
add esp, 8
mov edi, dword [ebp - 0x3e8]
mov edi, dword [edi]
mov dword [ebp - 0x3e8], edi
test edi, edi
jne 0x40c8d0
mov esi, dword [ebp - 0x3f0]
mov ecx, dword [ebp - 0x404]
test ecx, ecx
je 0x40cd4a
push 0x288
push ecx
call fcn.0042730e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042784a
mov esp, ebp
pop ebp
ret 4
call fcn.0042c719
nop
push ebx
leave
inc eax
add byte [edi - 0x37], ah
inc eax
add byte [ebx - 0x37], bh
inc eax
add byte [edi - 0x5cffbf37], cl
leave
inc eax
add byte [edi - 0x34ffbf37], dh
leave
inc eax
add byte [eax], al
push es
push es
add dword [esi], eax
push es
push es
push es
push es
add al, byte [esi]
push es
push es
push es
push es
push es
push es
add eax, dword [esi + eax]
push es
push es
add eax, -858993460
int3