Function at 0x10008940
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000be30
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1001306c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x58], ecx
xorps xmm0, xmm0
push 0
push 0x1000e3e8
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.100066b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
push 0x288
mov byte [ebp - 4], 1
call fcn.1000a747
push 0x288
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x58]
add esp, 0x10
mov dword [ebp - 0x58], 0x288
push eax
push edi
call esi
cmp eax, 0x6f
jne 0x10008a13
push 0x288
push edi
call fcn.1000aabd
push dword [ebp - 0x58]
call fcn.1000aacb
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x58]
push eax
push edi
call esi
test eax, eax
jne 0x10008b32
test edi, edi
je 0x10008b44
nop dword [eax]
nop word [eax + eax]
lea esi, [edi + 0x1ac]
mov ecx, str.0.0.0.0
lea eax, [esi + 4]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10008a60
test dl, dl
je 0x10008a5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10008a60
add eax, 2
add ecx, 2
test dl, dl
jne 0x10008a40
xor eax, eax
jmp 0x10008a65
sbb eax, eax
or eax, 1
test eax, eax
je 0x10008a9d
mov eax, str.0.0.0.0
lea ecx, [edi + 0x1d8]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10008a94
test dl, dl
je 0x10008a90
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10008a94
add ecx, 2
add eax, 2
test dl, dl
jne 0x10008a74
xor eax, eax
jmp 0x10008a99
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10008aa8
mov esi, dword [esi]
test esi, esi
jne 0x10008a36
jmp 0x10008b26
lea edx, [edi + 8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008ab0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.100066b0
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 - 0x24]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.10001110
lea ecx, [ebp - 0x24]
add esp, 0x20
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008b10
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.100066b0
mov edi, dword [edi]
test edi, edi
jne 0x10008a30
jmp 0x10008b44
test edi, edi
je 0x10008b44
push 0x288
push edi
call fcn.1000aabd
add esp, 8
mov esi, dword [ebp - 0x5c]
movups xmm0, xmmword [ebp - 0x54]
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [esi + 0x10], xmm0
cmp edx, 0x10
jb 0x10008b9c
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008b92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008b92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000aabd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a4a4
mov esp, ebp
pop ebp
ret