Function at 0x1000c790
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100268e1
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10035b40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push str.Unknown
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], ebx
call fcn.100025d0
push ebx
mov edi, 1
push 0x100299a2
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
call fcn.10007d40
push 0x288
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], 0x288
mov dword [ebp - 0x40], ebx
call fcn.10018e9d
mov edi, eax
add esp, 4
lea eax, [ebp - 0x3c]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x1000c83d
push edi
call fcn.10017686
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.10018e9d
mov edi, eax
add esp, 8
mov dword [ebp - 0x40], edi
lea edx, [ebp - 0x3c]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x1000ca2e
nop
cmp dword [edi + 0x1a0], 6
jne 0x1000c8b3
mov eax, dword [edi + 0x190]
xor esi, esi
cmp eax, ebx
jbe 0x1000c8b3
movzx edx, byte [edi + esi + 0x194]
dec eax
mov ecx, esi
sub ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0x2d
push ecx
push edx
lea eax, [ebp - 0x18]
push str._02X_c
push eax
call fcn.10019076
lea eax, [ebp - 0x18]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000c892
sub eax, edx
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x34]
call fcn.1000bbf0
mov eax, dword [edi + 0x190]
inc esi
cmp esi, eax
jb 0x1000c865
cmp dword [ebp - 0x20], 0x10
jb 0x1000c925
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1000c92a
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea esi, [eax - 1]
test esi, esi
jle 0x1000c92a
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x1000c8f9
push esi
mov ecx, edx
call fcn.10001cb0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
push esi
push eax
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
cmp esi, dword [eax - 8]
jg 0x1000ca1f
mov dword [eax - 0xc], esi
mov edx, dword [ecx]
xor eax, eax
mov word [edx + esi*2], ax
jmp 0x1000c988
lea ebx, [ebp - 0x34]
jmp 0x1000c8c0
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
cmp dword [ecx - 0xc], 0
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x1000c988
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x1000c961
cmp dword [ecx - 8], 0
jl 0x1000ca1f
mov edx, dword [ebp - 0x38]
mov dword [ecx - 0xc], 0
mov eax, dword [edx]
xor ecx, ecx
mov word [eax], cx
jmp 0x1000c988
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000c977
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x38]
add eax, 0x10
mov dword [ecx], eax
push 0
push 0x100299a2
lea ecx, [ebp - 0x34]
call fcn.10007d40
lea esi, [edi + 0x10c]
push 0x10029bdc
push esi
call fcn.10018ff0
add esp, 8
test eax, eax
jne 0x1000c9d3
push str.Virtual
push esi
call fcn.10018ff0
add esp, 8
test eax, eax
jne 0x1000c9d3
push 0x10029bd0
push esi
call fcn.10018ff0
add esp, 8
test eax, eax
je 0x1000ca29
cmp dword [edi + 0x1a0], 0x47
je 0x1000ca29
push str.Intel
push esi
call fcn.10018ff0
add esp, 8
test eax, eax
jne 0x1000ca29
push str.Realtek
push esi
call fcn.10018ff0
add esp, 8
test eax, eax
jne 0x1000ca29
push str.Broadcom
push esi
call fcn.10018ff0
add esp, 8
test eax, eax
jne 0x1000ca29
mov edi, dword [edi]
test edi, edi
je 0x1000ca29
xor ebx, ebx
jmp 0x1000c850
push 0x80070057
call fcn.10001320
mov esi, dword [ebp - 0x38]
xor ebx, ebx
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x1000ca3e
push eax
call fcn.10017686
add esp, 4
cmp dword [ebp - 0x20], 0x10
jb 0x1000ca50
mov edx, dword [ebp - 0x34]
push edx
call fcn.10017686
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018356
mov esp, ebp
pop ebp
ret 4