Function at 0x1000f000
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x100a7008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov ecx, 0x100aa321
push edi
mov dword [ebp - 0x420], ebx
call fcn.10066665
add ebx, 8
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000f030
sub edx, esi
je 0x1000f0b6
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006434f
lea ecx, [esi*2 + 2]
mov edi, eax
push ecx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x418]
push eax
push 0x20019
push 1
push str.SystemCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000f0c9
push edi
call fcn.1006434a
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006413c
mov esp, ebp
pop ebp
ret
push 0x200
lea eax, [ebp - 0x204]
mov dword [ebp - 0x414], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x200
lea eax, [ebp - 0x404]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x41c], 0
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0x100
mov dword [ebp - 0x410], 0x200
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x1000f27b
nop word [eax + eax]
lea eax, [ebp - 0x414]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000f20d
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x408]
push eax
push 0
push str.NetCfgInstanceID
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000f205
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1000f1d5
lea eax, [ebp - 0x204]
push eax
push edi
call ebx
test eax, eax
je 0x1000f205
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push eax
push 0
push str.Characteristics
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000f333
push dword [ebp - 0x414]
call esi
push 0x200
lea eax, [ebp - 0x404]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x41c]
lea ecx, [ebp - 0x408]
add esp, 0x18
mov dword [ebp - 0x408], 0x100
inc eax
mov dword [ebp - 0x41c], eax
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x404]
push ecx
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x1000f160
push edi
call fcn.1006434a
mov eax, dword [ebp - 0x420]
add esp, 4
lea edx, [eax + 0x10c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f295
sub ecx, esi
je 0x1000f0b6
push 0
push 0
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006434f
lea ecx, [esi*2 + 2]
mov edi, eax
push ecx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x420]
add esp, 0x10
add eax, 0x10c
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.VMware
push edi
call ebx
test eax, eax
jne 0x1000f36b
push str.Anchorfree
push edi
call ebx
test eax, eax
jne 0x1000f36b
push str.TAP_Win32
push edi
call ebx
test eax, eax
jne 0x1000f36b
push 0x10080f14
push edi
call ebx
test eax, eax
jne 0x1000f36b
mov bl, 1
jmp 0x1000f36d
mov eax, dword [ebp - 0x40c]
push dword [ebp - 0x414]
and eax, 4
setne bl
call esi
push dword [ebp - 0x418]
call esi
push edi
call fcn.1006434a
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006413c
mov esp, ebp
pop ebp
ret
xor bl, bl
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.1006434a
mov ecx, dword [ebp - 4]
add esp, 4
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006413c
mov esp, ebp
pop ebp
ret