Function at 0x646c00
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b3092
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x31c
mov eax, dword [0x788e40]
mov dword [ebp - 0x30], 0
test al, 1
jne 0x646c5e
or eax, 1
mov dword [0x788e3c], 0xf
push 0x6b7730
mov dword [0x788e40], eax
mov dword [0x788e38], 0
mov byte [0x788e28], 0
call fcn.0066d110
add esp, 4
cmp dword [0x788e38], 0
push esi
je 0x646c9d
mov esi, dword [ebp + 8]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 0x788e28
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.00419810
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push 0x288
mov dword [ebp - 4], 0
xor ebx, ebx
call fcn.0066e7a4
add esp, 4
mov dword [ebp - 0x10], 0x288
mov esi, eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esi
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x646cf7
push esi
call fcn.0066d775
push dword [ebp - 0x10]
call fcn.0066e7a4
add esp, 8
mov dword [ebp - 0x14], eax
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x647149
push edi
mov edi, esi
test esi, esi
je 0x6470b5
cmp ebx, 3
jge 0x646ff9
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x224]
push str._02x__02x__02x__02x__02x__02x
push eax
call fcn.0066d97a
mov eax, dword [0x788e40]
add esp, 0x20
test al, 2
jne 0x646f6b
or eax, 2
mov dword [0x788e40], eax
push 8
push str.00_05_69
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 1
mov dword [ebp - 0xf4], 0xf
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
call fcn.00419c50
push 8
push str.00_0C_29
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xf0], 0
call fcn.00419c50
push 8
push str.00_50_56
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], 0
mov byte [ebp - 0xd8], 0
call fcn.00419c50
push 8
push str.00_1c_14
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
call fcn.00419c50
push 8
push str.00_1C_42
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
call fcn.00419c50
push 8
push str.00_03_FF
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
call fcn.00419c50
push 8
push str.00_0F_4B
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.00419c50
push 8
push str.00_16_3E
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.00419c50
push 8
mov byte [ebp - 4], 9
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
push str.08_00_27
lea ecx, [ebp - 0x48]
call fcn.00419c50
push dword [ebp - 0x14]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x108]
mov dword [0x788e44], 0
push eax
push 0
mov ecx, 0x788e44
mov dword [0x788e48], 0
mov dword [0x788e4c], 0
call fcn.004edf70
push fcn.00419eb0
push 9
push 0x18
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 1
push eax
call fcn.0066d1a9
push 0x6b7790
call fcn.0066d110
add esp, 4
mov byte [ebp - 4], 0
mov esi, dword [0x788e44]
cmp esi, dword [0x788e48]
je 0x646fb4
lea esp, [esp]
cmp dword [esi + 0x14], 0x10
jb 0x646f8a
mov eax, dword [esi]
jmp 0x646f8c
mov eax, esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.0041e050
cmp eax, 0xffffffff
jne 0x646fac
add esi, 0x18
cmp esi, dword [0x788e48]
jne 0x646f80
jmp 0x646fb4
cmp esi, dword [0x788e48]
jne 0x646ff9
cmp dword [ebp - 0x1c], 0
je 0x646fc9
push 1
push 0x6e7bb8
lea ecx, [ebp - 0x2c]
call fcn.00418620
cmp byte [ebp - 0x224], 0
jne 0x646fd6
xor ecx, ecx
jmp 0x646fe9
lea ecx, [ebp - 0x224]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x646fe0
sub ecx, edx
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00418620
lea esi, [edi + 8]
inc ebx
push esi
call fcn.00649340
add esp, 4
test al, al
jne 0x64701b
push esi
call fcn.00649160
add esp, 4
test al, al
je 0x6470ab
cmp dword [0x788e38], 0
je 0x647035
push 1
push 0x6e7bb8
mov ecx, 0x788e28
call fcn.00418620
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x328]
push str._02x__02x__02x__02x__02x__02x
push eax
call fcn.0066d97a
add esp, 0x20
cmp byte [ebp - 0x328], 0
jne 0x647086
xor eax, eax
jmp 0x647099
lea eax, [ebp - 0x328]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x647090
sub eax, edx
push eax
lea eax, [ebp - 0x328]
mov ecx, 0x788e28
push eax
call fcn.00418620
mov edi, dword [edi]
test edi, edi
jne 0x646d14
cmp dword [0x788e38], 0
pop edi
jne 0x647156
cmp dword [ebp - 0x1c], 0
jne 0x647135
lea eax, [ebp - 0x120]
push eax
call fcn.00646a80
mov esi, eax
add esp, 4
cmp esi, 0x788e28
je 0x64711f
cmp dword [0x788e3c], 0x10
jb 0x6470f9
push dword [0x788e28]
call fcn.00480130
add esp, 4
push esi
mov ecx, 0x788e28
mov dword [0x788e3c], 0xf
mov dword [0x788e38], 0
mov byte [0x788e28], 0
call fcn.00418fc0
cmp dword [ebp - 0x10c], 0x10
jb 0x647156
push dword [ebp - 0x120]
call fcn.00480130
jmp 0x647153
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
mov ecx, 0x788e28
push eax
call fcn.00419810
jmp 0x647156
push str.failed_to_call_GetAdaptersInfo_n
call fcn.00654020
add esp, 4
push dword [ebp - 0x14]
call fcn.0066d775
push 0x788e28
call fcn.00649470
add esp, 8
pop ebx
cmp eax, 0x788e28
je 0x647182
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x788e28
call fcn.00419810
mov esi, dword [ebp + 8]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 0x788e28
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.00419810
cmp dword [ebp - 0x18], 0x10
jb 0x6471b7
push dword [ebp - 0x2c]
call fcn.00480130
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret