Function at 0x40a370
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68bf75
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
push 0
lea eax, [ebp - 0xc0]
push eax
call fcn.004ded70
add esp, 0xc
lea ecx, [ebp - 0xc0]
push ecx
call fcn.0040b140
add esp, 4
test eax, eax
je 0x40a5ad
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xdc], 0x288
push 0x288
call fcn.00507cfc
add esp, 4
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x40a406
xor al, al
jmp 0x40a7d0
lea edx, [ebp - 0xdc]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x40a453
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.00507ce1
add esp, 4
mov edx, dword [ebp - 0xdc]
push edx
call fcn.00507cfc
add esp, 4
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x40a453
xor al, al
jmp 0x40a7d0
lea ecx, [ebp - 0x28]
call fcn.00406070
mov dword [ebp - 4], 0
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x40a581
cmp dword [ebp - 0xc8], 0
je 0x40a581
mov byte [ebp - 0xc1], 0
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xd4], edx
cmp dword [ebp - 0xd4], 0
je 0x40a581
movzx eax, byte [ebp - 0xc1]
test eax, eax
jne 0x40a581
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1d4
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
add edx, 4
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0xb4]
jne 0x40a553
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x190]
push edx
mov eax, dword [ebp - 0xd4]
add eax, 0x194
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0040f250
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x28]
call fcn.00406030
lea ecx, [ebp - 0x58]
call fcn.00403030
lea ecx, [ebp - 0x28]
call fcn.0040cda0
test eax, eax
jbe 0x40a553
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406000
mov byte [ebp - 0xc1], 1
jmp 0x40a56e
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov dword [ebp - 0xd8], edx
cmp dword [ebp - 0xd8], 0
jne 0x40a4cc
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov dword [ebp - 0xd4], ecx
jmp 0x40a49e
cmp dword [ebp - 0xc8], 0
je 0x40a599
mov edx, dword [ebp - 0xc8]
push edx
call fcn.00507ce1
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x40a7a5
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xe0], 0x288
push 0x288
call fcn.00507cfc
add esp, 4
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x40a5ee
xor al, al
jmp 0x40a7d0
lea eax, [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x40a63b
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00507ce1
add esp, 4
mov eax, dword [ebp - 0xe0]
push eax
call fcn.00507cfc
add esp, 4
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x40a63b
xor al, al
jmp 0x40a7d0
lea ecx, [ebp - 0x40]
call fcn.00406070
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x40a77e
cmp dword [ebp - 0xcc], 0
je 0x40a77e
mov byte [ebp - 0xc2], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx + 0x190]
push edx
mov eax, dword [ebp - 0xd0]
add eax, 0x194
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0040f250
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406030
lea ecx, [ebp - 0x70]
call fcn.00403030
cmp dword [ebp - 0xd0], 0
je 0x40a77e
movzx eax, byte [ebp - 0xc2]
test eax, eax
jne 0x40a77e
mov ecx, dword [ebp - 0xd0]
add ecx, 0x1d4
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x190]
push eax
mov ecx, dword [ebp - 0xd0]
add ecx, 0x194
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.0040f250
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406030
lea ecx, [ebp - 0x88]
call fcn.00403030
lea ecx, [ebp - 0x40]
call fcn.0040cda0
test eax, eax
jbe 0x40a754
mov byte [ebp - 0xc2], 1
jmp 0x40a76b
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx]
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0
jne 0x40a6f6
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
mov dword [ebp - 0xd0], ecx
jmp 0x40a6c8
cmp dword [ebp - 0xcc], 0
je 0x40a796
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00507ce1
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403030
mov ecx, dword [ebp + 8]
call fcn.00403010
movzx eax, al
test eax, eax
jne 0x40a7c0
mov dword [ebp - 0xe8], 1
jmp 0x40a7ca
mov dword [ebp - 0xe8], 0
mov al, byte [ebp - 0xe8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret