Function at 0x1000ec30
Capabilities:
Get mac address on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eecf4
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x1028dc74]
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 dword [ebp - 0xac], ecx
mov eax, dword [0x10288004]
mov dword [ebp - 0xa8], eax
push 0x288
mov dword [ebp - 4], 0
call fcn.1018ea15
mov esi, eax
add esp, 4
test esi, esi
je 0x1000ec9b
push 0x288
push 0
push esi
call fcn.101a8300
add esp, 0xc
jmp 0x1000ec9d
xor esi, esi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x9c]
push eax
push esi
mov dword [ebp - 0x9c], 0x288
call edi
cmp eax, 0x6f
jne 0x1000ece1
push 0x288
push esi
call fcn.1018edab
push dword [ebp - 0x9c]
call fcn.1018edb9
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x9c]
push eax
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or edi, 0xffffffff
test eax, eax
jne 0x1000ee52
mov ebx, esi
test esi, esi
je 0x1000ed93
nop dword [eax]
cmp dword [esi + 0x1a0], 6
je 0x1000ed11
mov esi, dword [esi]
test esi, esi
jne 0x1000ed00
jmp 0x1000ed85
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100018b0
add esp, 0x24
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000ed85
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000ed85
push ecx
call fcn.1002139c
add esp, 4
push 0x288
push ebx
call fcn.1018edab
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.10001400
mov esi, eax
test esi, esi
jne 0x1000edab
push 0x1026a65c
call ebx
mov ecx, dword [0x10288004]
mov dword [ebp - 0x9c], ecx
push esi
push 0x1026a030
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.100018b0
add esp, 0x10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000ee00
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000ee00
push ecx
call fcn.1002139c
add esp, 4
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10007240
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa4]
cmp dword [edx - 0xc], 1
jg 0x1000ee34
cmp dword [edx - 4], 0
jge 0x1000ee64
mov eax, dword [edx - 8]
xor ecx, ecx
test eax, eax
cmovle eax, ecx
lea ecx, [ebp - 0xa4]
push eax
call fcn.10002820
test al, al
jne 0x1000ee5e
xor edx, edx
jmp 0x1000ee64
push 0x1026a64c
call ebx
jmp 0x1000ed99
mov edx, dword [ebp - 0xa4]
sub esp, 0x18
mov ecx, edx
mov esi, esp
xor eax, eax
lea ebx, [ecx + 2]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ee81
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.100189a0
lea ecx, [ebp - 0x28]
call fcn.10018530
add esp, 0x18
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x98], 0x67452301
mov dword [ebp - 0x94], 0xefcdab89
mov dword [ebp - 0x90], 0x98badcfe
mov dword [ebp - 0x8c], 0x10325476
jb 0x1000eeef
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.100191c0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000ef30
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ef26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f0cb
push edx
push ecx
call fcn.1018edab
add esp, 8
sub esp, 0x18
lea ecx, [ebp - 0x98]
push esp
call fcn.10019990
lea ecx, [ebp - 0x28]
call fcn.10017d60
add esp, 0x18
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x1000ef56
mov eax, dword [eax]
mov ebx, dword [ebp - 0xac]
lea ecx, [ebp - 0xac]
push eax
call fcn.10001380
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x7d4]
mov esi, dword [ebp - 0xac]
push esi
push dword [esi - 8]
call fcn.100016e0
add esi, 0xfffffff4
mov byte [ebp - 4], 7
cmp esi, dword [section..data]
je 0x1000efa4
mov eax, edi
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1000efa4
push esi
call fcn.1002139c
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000efe2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000efd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f0d0
push edx
push ecx
call fcn.1018edab
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebx + 0x7d4]
mov dword [ebp - 0x14], 7
cmp dword [eax - 0xc], 1
jg 0x1000f008
cmp dword [eax - 4], 0
jge 0x1000f026
mov eax, dword [eax - 8]
xor ecx, ecx
test eax, eax
cmovle eax, ecx
lea ecx, [ebx + 0x7d4]
push eax
call fcn.10002820
test al, al
jne 0x1000f026
xor eax, eax
jmp 0x1000f02c
mov eax, dword [ebx + 0x7d4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000f05c
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000f05c
push ecx
call fcn.1002139c
add esp, 4
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000f085
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000f085
push ecx
call fcn.1002139c
add esp, 4
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff4
cmp eax, dword [section..data]
je 0x1000f0af
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x1000f0af
push eax
call fcn.1002139c
add esp, 4
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.1018ea37
mov esp, ebp
pop ebp
ret
call fcn.101adaf3
call fcn.101adaf3
int3