Function at 0x100ec1d0
Capabilities:
Get mac address on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
push edi
mov dword [ebp - 0x198], eax
movq qword [eax], xmm0
lea eax, [ebp - 0x17c]
push eax
push 0
mov dword [ebp - 0x17c], 0
call esi
cmp eax, 0x6f
jne 0x100ec565
push dword [ebp - 0x17c]
call fcn.102739bd
mov edi, eax
add esp, 4
mov dword [ebp - 0x19c], edi
test edi, edi
je 0x100ec565
push ebx
lea eax, [ebp - 0x17c]
mov ebx, edi
push eax
push edi
call esi
test eax, eax
je 0x100ec264
push edi
call fcn.10265f8b
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102601ec
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], edi
nop word [eax + eax]
mov eax, dword [ebx + 0x190]
sub eax, 6
cmp eax, 2
ja 0x100ec536
lea ecx, [ebx + 8]
test ecx, ecx
je 0x100ec2cd
cmp byte [ecx], 0
je 0x100ec2cd
lea eax, [ebp - 0x178]
mov dword [ebp - 0x178], 0
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100ec30d
lea ecx, [ebx + 8]
xor eax, eax
shr eax, 2
and al, 1
test edi, edi
je 0x100ec2e0
test al, al
je 0x100ec536
mov esi, 1
test al, al
je 0x100ec4ba
mov eax, dword [ebx + 0x1a0]
cmp eax, 6
je 0x100ec4b5
cmp eax, 0x47
jne 0x100ec4ba
lea esi, [eax - 0x45]
jmp 0x100ec4ba
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x174]
mov dword [ebp - 0x174], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x178]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, dword [ebp - 0x174]
test eax, eax
mov eax, 0x64
cmovne ecx, eax
xor eax, eax
xor edi, edi
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x18c], eax
test ecx, ecx
je 0x100ec499
push edi
lea eax, [ebp - 0x68]
push str._04u
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x170]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x178]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100ec464
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x180], 0x104
push eax
lea eax, [ebp - 0x184]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x170]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100ec3ef
push dword [ebp - 0x170]
call esi
jmp 0x100ec464
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.1026c89f
add esp, 8
test eax, eax
je 0x100ec410
push dword [ebp - 0x170]
call esi
jmp 0x100ec464
lea eax, [ebp - 0x180]
mov dword [ebp - 0x188], 0
push eax
lea eax, [ebp - 0x188]
mov dword [ebp - 0x180], 4
push eax
lea eax, [ebp - 0x184]
push eax
push 0
push str.Characteristics
push dword [ebp - 0x170]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x170]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x100ec48d
inc edi
cmp edi, dword [ebp - 0x174]
jb 0x100ec366
push dword [ebp - 0x178]
call esi
mov eax, dword [ebp - 0x18c]
lea ecx, [ebx + 8]
mov edi, dword [ebp - 0x190]
jmp 0x100ec2cf
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x18c], eax
push dword [ebp - 0x178]
call esi
mov eax, dword [ebp - 0x18c]
lea ecx, [ebx + 8]
mov edi, dword [ebp - 0x190]
jmp 0x100ec2cf
mov esi, 3
cmp edi, esi
jge 0x100ec530
push ecx
push str.._s
lea eax, [ebp - 0x16c]
push 0x104
push eax
call fcn.100edbb0
add esp, 0x10
lea eax, [ebp - 0x16c]
push 0
push 0
push 3
push 0
push 3
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0x198]
lea eax, [ebx + 0x194]
xorps xmm0, xmm0
movq qword [ecx], xmm0
push dword [ebx + 0x190]
push eax
push ecx
call fcn.102618f0
mov ecx, dword [ebx + 0x190]
add esp, 0xc
mov dword [ebp - 0x194], ecx
mov edi, esi
mov dword [ebp - 0x190], edi
cmp esi, 3
je 0x100ec540
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x100ec280
push dword [ebp - 0x19c]
call fcn.10265f8b
mov eax, dword [ebp - 0x194]
add esp, 4
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102601ec
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.102601ec
mov esp, ebp
pop ebp
ret