Function at 0x475488
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 0x475491
mov eax, dword [ebp - 4]
add esp, 0xfffffc84
xor edx, edx
mov dword [ebp - 0x4380], edx
mov dword [ebp - 0x437c], edx
mov dword [ebp - 0x4378], edx
mov dword [ebp - 0x4374], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4756da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00420e54
lea eax, [ebp - 0x4014]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0x4000
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.iphlpapi.dll_GetAdaptersInfo_1
test eax, eax
jne 0x4756bc
cmp dword [ebp - 0xc], 0
je 0x4756bc
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x1a0], 6
je 0x47551f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
jmp 0x4756b2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x19c]
mov dword [ebp - 0x4170], eax
lea eax, [ebp - 0x4370]
push eax
call sub.iphlpapi.dll_GetIfEntry
test eax, eax
mov eax, dword [ebp - 0xc]
add eax, 0x1d4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4755a1
lea eax, [ebp - 0x4374]
mov edx, dword [ebp - 0x14]
add edx, 4
mov ecx, 0x10
call fcn.00404dec
cmp dword [ebp - 0x4374], 0
je 0x475593
lea eax, [ebp - 0x4378]
mov edx, dword [ebp - 0x14]
add edx, 4
mov ecx, 0x10
call fcn.00404dec
mov edx, dword [ebp - 0x4378]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47554d
mov eax, dword [ebp - 0xc]
add eax, 0x1ac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4756aa
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x474694]
call fcn.00420b0c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea edx, [eax + 0x1c]
mov eax, dword [ebp - 0xc]
add eax, 0x194
mov ecx, 6
call fcn.00402d40
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x19c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
add eax, 0x10
mov edx, dword [ebp - 0xc]
add edx, 8
mov ecx, 0x104
call fcn.00404dec
mov eax, dword [ebp - 8]
add eax, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x10c
mov ecx, 0x84
call fcn.00404dec
lea eax, [ebp - 0x437c]
mov edx, dword [ebp - 0x14]
add edx, 4
mov ecx, 0x10
call fcn.00404dec
mov eax, dword [ebp - 0x437c]
call fcn.00474d24
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
lea eax, [ebp - 0x4380]
mov edx, dword [ebp - 0x14]
add edx, 0x14
mov ecx, 0x10
call fcn.00404dec
mov eax, dword [ebp - 0x4380]
call fcn.00474d24
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x23], 1
cmp dword [ebp - 0x4150], 5
sete al
mov edx, dword [ebp - 8]
mov byte [edx + 0x22], al
mov eax, dword [ebp - 8]
mov byte [eax + 0x28], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x29], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x2a], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4755b6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x475506
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4756e1
lea eax, [ebp - 0x4380]
mov edx, 4
call fcn.00404b90
ret