Function at 0x40cdb0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ad58
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
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 - 0x3f8], esi
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00409980
mov dword [esi], eax
lea ecx, [ebp - 0x3d0]
mov dword [ebp - 4], 0
mov dword [ebp - 0x3d8], 1
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3cc], 0
call fcn.00409920
mov dword [ebp - 0x3d0], eax
lea ecx, [ebp - 0x3bc]
mov dword [ebp - 4], 1
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], 0
call fcn.00409940
mov dword [ebp - 0x3bc], eax
push 0x288
mov byte [ebp - 4], 2
call fcn.004272de
mov edi, eax
add esp, 4
test edi, edi
je 0x40ce9e
push 0x288
push 0
push edi
call fcn.00429c60
add esp, 0xc
jmp 0x40cea0
xor edi, edi
lea eax, [ebp - 0x3d4]
mov dword [ebp - 0x3d4], 0x288
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40cee4
push 0x288
push edi
call fcn.0042730e
push dword [ebp - 0x3d4]
call fcn.00427b8f
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x3d4]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x3f4], edi
test eax, eax
jne 0x40d3c4
test edi, edi
je 0x40d130
nop word [eax + eax]
push 0x35c
lea eax, [ebp - 0x3ac]
push 0
push eax
call fcn.00429c60
mov eax, dword [edi + 0x19c]
add esp, 0xc
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x3ac]
push eax
call sub.IPHLPAPI.DLL_GetIfEntry
test eax, eax
jne 0x40d126
mov eax, dword [ebp - 0x18c]
cmp eax, 5
je 0x40cf57
cmp eax, 4
jne 0x40d126
cmp dword [ebp - 0x1a8], 0x17
ja 0x40d126
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 0x40cfd2
nop
dec eax
cmp esi, eax
jae 0x40cf9c
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cf80
movzx eax, byte [edi + esi + 0x194]
sub ecx, edx
push eax
push str._02X_
lea eax, [ebp - 0x28]
jmp 0x40cfbc
lea eax, [ebp - 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cfa2
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 0x40cf70
mov edx, dword [ebp - 0x3d0]
mov esi, edx
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x3e8], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0x3e4], 0
cmp byte [eax + 0xd], 0
jne 0x40d032
mov ecx, dword [ebp - 0x1ac]
cmp dword [eax + 0x10], ecx
jae 0x40d01f
mov eax, dword [eax + 8]
jmp 0x40d023
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x40d015
cmp esi, edx
je 0x40d032
cmp ecx, dword [esi + 0x10]
jae 0x40d07a
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x3c4], eax
lea ecx, [ebp - 0x3d0]
lea eax, [ebp - 0x3bd]
push eax
lea eax, [ebp - 0x3c4]
push eax
push 0x44e924
call fcn.00405710
push eax
add eax, 0x10
lea ecx, [ebp - 0x3d0]
push eax
push esi
lea eax, [ebp - 0x3b4]
push eax
call fcn.00406cc0
mov esi, dword [ebp - 0x3b4]
movups xmm0, xmmword [ebp - 0x3f0]
movups xmmword [esi + 0x18], xmm0
mov edx, dword [ebp - 0x3bc]
mov esi, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x40d0bd
mov ecx, dword [ebp - 0x1ac]
nop dword [eax]
cmp dword [eax + 0x10], ecx
jae 0x40d0aa
mov eax, dword [eax + 8]
jmp 0x40d0ae
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x40d0a0
cmp esi, edx
je 0x40d0bd
cmp ecx, dword [esi + 0x10]
jae 0x40d105
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x3c4], eax
lea ecx, [ebp - 0x3bc]
lea eax, [ebp - 0x3be]
push eax
lea eax, [ebp - 0x3c4]
push eax
push 0x44e924
call fcn.00405740
push eax
add eax, 0x10
lea ecx, [ebp - 0x3bc]
push eax
push esi
lea eax, [ebp - 0x3b0]
push eax
call fcn.00406ee0
mov esi, dword [ebp - 0x3b0]
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d110
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [esi + 0x14]
call fcn.00403200
mov edi, dword [edi]
test edi, edi
jne 0x40cf00
call fcn.00410809
add eax, 0x989680
push 0
push 0x64
adc edx, 0
push edx
push eax
call fcn.00427910
push 0
push 0x3b9aca00
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.00427860
push 0
push 0x3b9aca00
push edx
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
call fcn.00427910
sub edi, eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], edi
movups xmm0, xmmword [ebp - 0x38]
sbb esi, edx
push eax
mov dword [ebp - 0x3e4], esi
movups xmmword [ebp - 0x38], xmm0
call fcn.00410928
mov edi, dword [ebp - 0x3d0]
add esp, 4
mov dword [ebp - 0x3e0], edi
mov eax, dword [edi]
mov dword [ebp - 0x3c4], eax
cmp eax, edi
je 0x40d3c4
nop dword [eax + eax]
movups xmm0, xmmword [eax + 0x10]
push 0x35c
push 0
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x20]
lea eax, [ebp - 0x3ac]
push eax
movq qword [ebp - 0x40], xmm0
call fcn.00429c60
movups xmm0, xmmword [ebp - 0x20]
add esp, 0xc
lea eax, [ebp - 0x3ac]
movd dword [ebp - 0x1ac], xmm0
push eax
call sub.IPHLPAPI.DLL_GetIfEntry
test eax, eax
jne 0x40d3ab
mov eax, dword [ebp - 0x16c]
xor ecx, ecx
sub eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x3bc]
mov esi, edx
sbb ecx, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x34], ecx
xor ecx, ecx
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 4]
sbb ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
cmp byte [eax + 0xd], 0
jne 0x40d255
mov ecx, dword [ebp - 0x50]
cmp dword [eax + 0x10], ecx
jae 0x40d242
mov eax, dword [eax + 8]
jmp 0x40d246
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x40d238
cmp esi, edx
je 0x40d255
cmp ecx, dword [esi + 0x10]
jae 0x40d29a
lea eax, [ebp - 0x50]
mov dword [ebp - 0x3b4], eax
lea ecx, [ebp - 0x3bc]
lea eax, [ebp - 0x3be]
push eax
lea eax, [ebp - 0x3b4]
push eax
push 0x44e924
call fcn.00405740
push eax
add eax, 0x10
lea ecx, [ebp - 0x3bc]
push eax
push esi
lea eax, [ebp - 0x3dc]
push eax
call fcn.00406ee0
mov esi, dword [ebp - 0x3dc]
lea ecx, [esi + 0x14]
mov esi, dword [ebp - 0x3c8]
mov dword [ebp - 0x3b4], ecx
mov esi, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 0x3b0], eax
cmp byte [eax + 0xd], 0
jne 0x40d314
mov edi, ecx
nop dword [eax]
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x40d2ca
mov edx, dword [edi]
cmp dword [eax + 0x24], 0x10
lea ecx, [eax + 0x10]
jb 0x40d2d6
mov ecx, dword [eax + 0x10]
push dword [edi + 0x10]
push edx
push dword [eax + 0x20]
push ecx
call fcn.00408460
shr eax, 0x1f
add esp, 0x10
test al, al
mov eax, dword [ebp - 0x3b0]
je 0x40d2f8
mov eax, dword [eax + 8]
jmp 0x40d2fc
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
mov dword [ebp - 0x3b0], eax
je 0x40d2c0
mov edi, dword [ebp - 0x3e0]
mov ecx, dword [ebp - 0x3b4]
mov eax, dword [ebp - 0x3c8]
cmp esi, dword [eax]
je 0x40d35b
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x3b0], eax
jb 0x40d335
mov edx, dword [eax]
mov dword [ebp - 0x3b0], edx
cmp dword [ecx + 0x14], 0x10
mov edx, ecx
jb 0x40d33f
mov edx, dword [ecx]
push dword [eax + 0x10]
push dword [ebp - 0x3b0]
push dword [ecx + 0x10]
push edx
call fcn.00408460
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x40d3a3
mov eax, dword [ebp - 0x3b4]
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x3b4], eax
lea eax, [ebp - 0x3bd]
push eax
lea eax, [ebp - 0x3b4]
push eax
push 0x44e924
call fcn.00405800
mov ecx, dword [ebp - 0x3c8]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x3e4]
push eax
call fcn.00407350
mov esi, dword [ebp - 0x3e4]
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [esi + 0x28], xmm0
lea ecx, [ebp - 0x3c4]
call fcn.004093c0
mov eax, dword [ebp - 0x3c4]
cmp eax, edi
jne 0x40d1b0
mov eax, dword [ebp - 0x3f4]
test eax, eax
je 0x40d3dc
push 0x288
push eax
call fcn.0042730e
add esp, 8
mov esi, dword [ebp - 0x3bc]
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 3
push dword [esi + 4]
call fcn.00409e20
mov eax, dword [ebp - 0x3bc]
push 0x2c
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x3bc]
mov dword [eax], esi
mov ecx, dword [ebp - 0x3bc]
mov dword [ecx + 8], esi
push dword [ebp - 0x3bc]
mov dword [ebp - 0x3b8], 0
call fcn.0042730e
add esp, 8
lea ecx, [ebp - 0x3d0]
call fcn.00408c10
mov eax, dword [ebp - 0x3c8]
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