Function at 0x464fc0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583f37
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 0x50], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x278], 0
call fcn.00402270
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x30]
call fcn.0046a1f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x148], 0x288
mov eax, dword [ebp - 0x148]
push eax
call fcn.0054f74a
add esp, 4
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x46505a
mov ecx, dword [ebp - 0x148]
push ecx
push 0
mov edx, dword [ebp - 0x14c]
push edx
call fcn.00562540
add esp, 0xc
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x27c], eax
jmp 0x465064
mov dword [ebp - 0x27c], 0
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x14], 0x288
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x38], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x38], 0x6f
jne 0x4650ea
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x150]
push edx
call fcn.0054f779
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.0054f784
add esp, 4
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4657cb
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
je 0x4657cb
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x138]
call fcn.0042e580
mov byte [ebp - 4], 1
mov dword [ebp - 0x140], 0
jmp 0x465136
mov edx, dword [ebp - 0x140]
add edx, 1
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x140]
cmp ecx, dword [eax + 0x190]
jae 0x46520a
lea ecx, [ebp - 0x144]
call fcn.0042e580
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x140]
movzx eax, byte [edx + 0x194]
push eax
push 0x5e4520
lea ecx, [ebp - 0x144]
push ecx
call fcn.00407930
add esp, 0xc
push 0x5e452c
lea ecx, [ebp - 0x158]
call fcn.0043d540
mov byte [ebp - 4], 3
lea edx, [ebp - 0x158]
push edx
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x15c]
push ecx
call fcn.0040b560
add esp, 0xc
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x284], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x284]
push eax
lea ecx, [ebp - 0x138]
call fcn.0040b1c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x15c]
call fcn.0042e5a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x158]
call fcn.0042e5a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.0042e5a0
jmp 0x465127
lea ecx, [ebp - 0x138]
call fcn.00405ea0
cmp eax, 1
jle 0x4652d4
push 1
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x138]
call fcn.0040b450
mov dword [ebp - 0x288], eax
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], edx
mov byte [ebp - 4], 5
push 0x5e4530
mov eax, dword [ebp - 0x28c]
push eax
call fcn.0046a0a0
add esp, 8
mov byte [ebp - 0x15d], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call fcn.0042e5a0
movzx ecx, byte [ebp - 0x15d]
test ecx, ecx
je 0x4652d4
lea ecx, [ebp - 0x138]
call fcn.00405ea0
sub eax, 1
push eax
lea edx, [ebp - 0x168]
push edx
lea ecx, [ebp - 0x138]
call fcn.0040b4e0
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x138]
call fcn.00405de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x168]
call fcn.0042e5a0
lea ecx, [ebp - 0x134]
call fcn.00465880
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x48]
add edx, 8
push edx
lea ecx, [ebp - 0x134]
call fcn.00405fb0
mov eax, dword [ebp - 0x48]
add eax, 0x10c
push eax
lea ecx, [ebp - 0x118]
call fcn.00405fb0
push 0
lea ecx, [ebp - 0x138]
call fcn.00405e80
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x46532b
mov dword [ebp - 0x298], 0
jmp 0x46538c
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x465350
mov dword [ebp - 0x29c], 0
jmp 0x465380
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.0056a8e0
mov dword [ebp - 0x2a0], esp
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x2a0]
push edx
call fcn.004022d0
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00405fb0
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x1a0]
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
sub ecx, 1
mov dword [ebp - 0x2a4], ecx
cmp dword [ebp - 0x2a4], 0x1b
ja case.0x4653d3.1
mov edx, dword [ebp - 0x2a4]
movzx eax, byte [edx + 0x46585c]
jmp dword [eax*4 + 0x46583c]
push str.OTHER
lea ecx, [ebp - 0xfc]
call fcn.00405fb0
jmp case.0x4653d3.1
push str.ETHERNET
lea ecx, [ebp - 0xfc]
call fcn.00405fb0
jmp case.0x4653d3.1
push str.TOKENRING
lea ecx, [ebp - 0xfc]
call fcn.00405fb0
jmp case.0x4653d3.1
push str.FDDI
lea ecx, [ebp - 0xfc]
call fcn.00405fb0
jmp case.0x4653d3.1
push 0x5e455c
lea ecx, [ebp - 0xfc]
call fcn.00405fb0
jmp case.0x4653d3.1
push str.LOOPBACK
lea ecx, [ebp - 0xfc]
call fcn.00405fb0
jmp case.0x4653d3.1
push str.SLIP
lea ecx, [ebp - 0xfc]
call fcn.00405fb0
mov ecx, dword [ebp - 0x48]
add ecx, 0x1ac
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x13c], 0
je 0x465630
mov edx, dword [ebp - 0x13c]
add edx, 4
push edx
lea ecx, [ebp - 0x184]
call fcn.00405ef0
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 8
push 0x5e4574
mov ecx, dword [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x1a0]
push edx
call fcn.00407b50
add esp, 0xc
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00407ec0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1a0]
call fcn.00405f70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x184]
call fcn.00405f70
mov edx, dword [ebp - 0x13c]
add edx, 0x14
push edx
lea ecx, [ebp - 0x1bc]
call fcn.00405ef0
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 4], 0xa
push 0x5e4578
mov ecx, dword [ebp - 0x2bc]
push ecx
lea edx, [ebp - 0x1d8]
push edx
call fcn.00407b50
add esp, 0xc
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.00407ec0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1d8]
call fcn.00405f70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1bc]
call fcn.00405f70
mov edx, dword [ebp - 0x48]
add edx, 0x1d8
push edx
lea ecx, [ebp - 0x1f4]
call fcn.00405ef0
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 0xc
push 0x5e457c
mov ecx, dword [ebp - 0x2cc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00407b50
add esp, 0xc
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00407ec0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x210]
call fcn.00405f70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1f4]
call fcn.00405f70
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx]
mov dword [ebp - 0x13c], eax
jmp 0x46546c
lea ecx, [ebp - 0xe0]
call fcn.00459160
test eax, eax
jbe 0x465692
push 1
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0xe0]
call fcn.00406000
mov ecx, eax
call fcn.004199a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0xe0]
call fcn.0046a0e0
lea ecx, [ebp - 0xc4]
call fcn.00459160
test eax, eax
jbe 0x4656f4
push 1
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.00406000
mov ecx, eax
call fcn.004199a0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x238]
push edx
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0046a0e0
lea ecx, [ebp - 0xa8]
call fcn.00459160
test eax, eax
jbe 0x465756
push 1
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0xa8]
call fcn.00406000
mov ecx, eax
call fcn.004199a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
lea edx, [ebp - 0x270]
push edx
lea ecx, [ebp - 0xa8]
call fcn.0046a0e0
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x19c]
push ecx
call fcn.00464f20
add esp, 4
movzx edx, al
test edx, edx
je 0x465781
push 0x5e4580
lea ecx, [ebp - 0x8c]
call fcn.00405fb0
jmp 0x465791
push str.abnormal
lea ecx, [ebp - 0x8c]
call fcn.00405fb0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x30]
call fcn.0046a3c0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.004658f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.0042e5a0
jmp 0x4650fa
cmp dword [ebp - 0x18], 0
je 0x4657f0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.0054f779
add esp, 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call fcn.0046a260
mov eax, dword [ebp - 0x278]
or eax, 1
mov dword [ebp - 0x278], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0046a360
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x2d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret