Function at 0x404a40
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
mov eax, 0x4819fc
call fcn.00460328
mov word [ebp - 0x60], 8
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0x54]
mov word [ebp - 0x60], 0x14
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov word [ebp - 0x60], 0x20
mov edx, 0x481624
lea eax, [ebp - 8]
call fcn.0046b604
inc dword [ebp - 0x54]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x78]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880c0
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x60], 0x2c
mov edx, 0x481625
lea eax, [ebp - 0xc]
call fcn.0046b604
inc dword [ebp - 0x54]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x78]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880c4
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x60], 0x38
mov edx, 0x481626
lea eax, [ebp - 0x10]
call fcn.0046b604
inc dword [ebp - 0x54]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x78]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880c8
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x60], 0x44
mov edx, 0x48162e
lea eax, [ebp - 0x14]
call fcn.0046b604
inc dword [ebp - 0x54]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x78]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880cc
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0046b678
inc dword [ebp - 0x78]
cmp dword [ebp - 0x78], 0xa
jl 0x404a6c
xor ecx, ecx
mov dword [ebp - 0x88], ecx
lea eax, [ebp - 0x88]
push eax
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x74], eax
test eax, eax
je 0x404bb3
cmp dword [ebp - 0x74], 0x6f
je 0x404bb3
xor eax, eax
push eax
dec dword [ebp - 0x54]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046b678
pop eax
mov edx, dword [ebp - 0x70]
mov dword fs:[0], edx
jmp 0x405079
push dword [ebp - 0x88]
push 0x40
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x404bea
xor eax, eax
push eax
dec dword [ebp - 0x54]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046b678
pop eax
mov edx, dword [ebp - 0x70]
mov dword fs:[0], edx
jmp 0x405079
lea ecx, [ebp - 0x88]
push ecx
push dword [ebp - 0x80]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x74], eax
test eax, eax
je 0x404c23
xor eax, eax
push eax
dec dword [ebp - 0x54]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046b678
pop eax
mov edx, dword [ebp - 0x70]
mov dword fs:[0], edx
jmp 0x405079
mov eax, dword [0x488250]
mov edx, dword [eax]
call dword [edx + 0x44]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
xor eax, eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x84], 0
je 0x405053
mov word [ebp - 0x60], 0x50
mov edx, dword [ebp - 0x84]
add edx, 8
lea eax, [ebp - 0x18]
call fcn.0046b604
inc dword [ebp - 0x54]
xor edx, edx
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x1c]
inc dword [ebp - 0x54]
call fcn.0046b8a8
lea edx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
inc dword [ebp - 0x54]
mov eax, str.DeviceNPF_
call fcn.0046b9a4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x7c]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880c0
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x54]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x54]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x60], 0x5c
mov edx, dword [ebp - 0x84]
add edx, 0x10c
lea eax, [ebp - 0x24]
call fcn.0046b604
inc dword [ebp - 0x54]
xor ecx, ecx
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x28]
inc dword [ebp - 0x54]
call fcn.0046b8a8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x7c]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880c4
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x54]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0046b678
push 0x20
push 0
lea ecx, [ebp - 0x120]
push ecx
call fcn.0045ff44
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x90], eax
mov word [ebp - 0x60], 0x14
jmp 0x404e15
push 0x10
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x84]
xor edx, edx
mov dl, byte [eax + ecx + 0x194]
movzx ecx, dx
push ecx
call fcn.00464818
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x84]
mov dl, byte [ecx + edx + 0x194]
mov byte [eax + 0x488534], dl
lea eax, [ebp - 0xa0]
push eax
call fcn.004600a8
pop ecx
cmp eax, 2
jae 0x404dd0
mov cl, byte [ebp - 0xa0]
mov byte [ebp - 0x9f], cl
mov byte [ebp - 0xa0], 0x30
mov byte [ebp - 0x9e], 0
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x120]
push edx
call fcn.0045ffe8
add esp, 8
mov ecx, dword [ebp - 0x84]
mov eax, dword [ecx + 0x190]
dec eax
cmp eax, dword [ebp - 0x90]
je 0x404e0f
push str.:_...
lea edx, [ebp - 0x120]
push edx
call fcn.0045ffe8
add esp, 8
inc dword [ebp - 0x90]
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x84]
cmp ecx, dword [eax + 0x190]
jb 0x404d5b
mov word [ebp - 0x60], 0x68
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x2c]
call fcn.0046b604
mov edx, eax
inc dword [ebp - 0x54]
lea eax, [ebp - 4]
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x60], 0x74
xor ecx, ecx
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x30]
inc dword [ebp - 0x54]
lea eax, [ebp - 4]
call fcn.0046b820
lea edx, [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0046b678
mov eax, dword [ebp - 0x7c]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880d0
lea edx, [ebp - 4]
call fcn.0046b6a8
mov ecx, dword [ebp - 0x84]
add ecx, 0x1ac
mov dword [ebp - 0x8c], ecx
mov word [ebp - 0x60], 0x80
mov edx, dword [ebp - 0x8c]
add edx, 4
lea eax, [ebp - 0x34]
call fcn.0046b604
inc dword [ebp - 0x54]
xor ecx, ecx
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x38]
inc dword [ebp - 0x54]
call fcn.0046b8a8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x7c]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880c8
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x54]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x60], 0x8c
mov edx, dword [ebp - 0x8c]
add edx, 0x14
lea eax, [ebp - 0x3c]
call fcn.0046b604
inc dword [ebp - 0x54]
xor ecx, ecx
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x40]
inc dword [ebp - 0x54]
call fcn.0046b8a8
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x7c]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880cc
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x54]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x60], 0x98
mov edx, 0x481645
lea eax, [ebp - 0x44]
call fcn.0046b604
inc dword [ebp - 0x54]
lea edx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x48]
inc dword [ebp - 0x54]
mov eax, dword [ebp - 0x7c]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880c4
call fcn.0046b6bc
lea eax, [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x4c], edx
lea ecx, [ebp - 0x4c]
inc dword [ebp - 0x54]
mov edx, dword [ebp - 0x7c]
shl edx, 2
lea edx, [edx + edx*4]
add edx, 0x4880c8
call fcn.0046b6bc
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x7c]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x4880c4
call fcn.0046b6a8
dec dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x54]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x54]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0046b678
mov ecx, dword [ebp - 0x84]
mov eax, dword [ecx]
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x7c]
lea edx, [edx + edx*4]
mov edx, dword [edx*4 + 0x4880c4]
mov eax, dword [0x488250]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x84], 0
jne 0x404c48
push dword [ebp - 0x80]
call sub.KERNEL32.DLL_GlobalFree
mov al, 1
push eax
dec dword [ebp - 0x54]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046b678
pop eax
mov edx, dword [ebp - 0x70]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret