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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x4ed018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x25c]
push 0x64
push 0
push eax
call fcn.00411960
push 0x20a
lea eax, [ebp - 0x468]
push 0
push eax
call fcn.00411960
add esp, 0x18
test edi, edi
jne 0x427bd2
push edi
push 0x4ad704
push 1
call fcn.00446b80
add esp, 0xc
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.0041e620
mov esi, eax
add esp, 4
lfence
test esi, esi
jns 0x427c07
push edi
push str.GetAdapterPropertyRegKey:_invalid_vnetname:__s
push 1
call fcn.00446b80
add esp, 0xc
xor eax, eax
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
push 0x32
lea eax, [ebp - 0x25c]
push eax
push 0x4bdf2c
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x427c40
push str.cant_convert_guid_to_string
push 1
call fcn.00446b80
add esp, 8
xor eax, eax
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x25c]
push eax
push str.SYSTEMCurrentControlSetControlClass_s
lea eax, [ebp - 0x468]
push 0x105
push eax
call fcn.00419510
add esp, 0x10
lea eax, [ebp - 0x474]
push eax
push 9
push 0
lea eax, [ebp - 0x468]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x427cd8
cmp eax, 2
jne 0x427caf
push eax
lea eax, [ebp - 0x468]
push eax
push str.GetAdapterPropertyRegKey:_net_class_key_not_found_in_registry__S:_0x_08x
push 2
call fcn.00446b80
add esp, 0x10
xor eax, eax
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x468]
push eax
push str.GetAdapterPropertyRegKey:_couldnt_open__S_for_enumeration:_0x_08x
push 1
call fcn.00446b80
add esp, 0x10
xor eax, eax
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x468]
push eax
push str.GetAdapterPropertyRegKey:_opened__S_for_enumeration
push 0x10
call fcn.00446b80
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00411960
add esp, 0x18
mov dword [ebp - 0x478], 0x32
xor ebx, ebx
lea eax, [ebp - 0x484]
xor edi, edi
mov dword [ebp - 0x46c], ebx
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x427feb
nop word [eax + eax]
push 0xc8
lea eax, [ebp - 0x1f8]
inc edi
push 0
push eax
mov dword [ebp - 0x47c], edi
call fcn.00411960
push 0xc8
lea eax, [ebp - 0x130]
mov dword [ebp - 0x470], 0xc8
push 0
push eax
call fcn.00411960
add esp, 0x18
mov dword [ebp - 0x478], 0x32
lea eax, [ebp - 0x46c]
push eax
push 1
push 0
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x427de1
cmp eax, 2
jne 0x427dc3
push eax
mov ecx, eax
mov edx, str.GetAdapterPropertyRegKey:_net_class_instance_key_not_found_in_registry__S:_0x_08x
lea eax, [ebp - 0x68]
push eax
push edx
push ecx
call fcn.00446b80
add esp, 0x10
jmp 0x427f93
push eax
lea eax, [ebp - 0x68]
mov edx, str.GetAdapterPropertyRegKey:_couldnt_open_instance__S_for_enumeration:_0x_08x
push eax
mov ecx, 1
push edx
push ecx
call fcn.00446b80
add esp, 0x10
jmp 0x427f93
push esi
push str.DosDevicesVMnet_d
lea eax, [ebp - 0x130]
push 0x32
push eax
call fcn.00419510
add esp, 0x10
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0
push 0
push str.VMnet
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427e3d
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x1f8]
push eax
call fcn.0040e1c8
add esp, 8
test eax, eax
je 0x427fc2
push esi
push str.vmnetadapter_d
lea eax, [ebp - 0x130]
push 0x32
push eax
call fcn.00419510
add esp, 0x10
mov dword [ebp - 0x470], 0xc8
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0
push 0
push str.ComponentId
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x427ea5
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x1f8]
push eax
call fcn.0040e1c8
add esp, 8
test eax, eax
je 0x427fc9
push esi
push str.vmnet_d
lea eax, [ebp - 0x130]
push 0x32
push eax
call fcn.00419510
add esp, 0x10
test edi, edi
jne 0x427ede
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x1f8]
push eax
call fcn.0040e1c8
add esp, 8
test eax, eax
je 0x427fd0
push esi
push str.vmnetadapter_d
lea eax, [ebp - 0x130]
push 0x32
push eax
call fcn.00419510
add esp, 0x10
mov dword [ebp - 0x470], 0xc8
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0
push 0
push str.MatchingDeviceId
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x427f46
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x1f8]
push eax
call fcn.0040e1c8
add esp, 8
test eax, eax
je 0x427fd7
push esi
push str.vmnet_d
lea eax, [ebp - 0x130]
push 0x32
push eax
call fcn.00419510
add esp, 0x10
test edi, edi
jne 0x427f7b
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x1f8]
push eax
call fcn.0040e1c8
add esp, 8
test eax, eax
je 0x427fd7
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x47c]
mov dword [ebp - 0x46c], ebx
lea eax, [ebp - 0x484]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x427d40
jmp 0x427feb
push str.GetAdapterPropertyRegKey:_found_card_by_vnet_name
jmp 0x427fdc
push str.found_card_by_component_ID
jmp 0x427fdc
push str.GetAdapterPropertyRegKey:_found_card_by_component_ID
jmp 0x427fdc
push str.GetAdapterPropertyRegKey:_found_card_by_matching_device_ID
push 0x20
mov ebx, 1
call fcn.00446b80
add esp, 8
mov eax, dword [ebp - 0x46c]
test eax, eax
je 0x427ffc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
pop ebx
jne 0x428022
push str.GetAdapterPropertyRegKey:_didnt_find_card
push 0x20
call fcn.00446b80
add esp, 8
xor eax, eax
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x46c]
push eax
push esi
push 0
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [ebp - 0x474]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x42807f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push esi
lea eax, [ebp - 0x68]
push eax
push str.GetAdapterPropertyRegKey:_couldnt_open_regKey___S__for__d:_0x_08x_0x_08x
push 1
call fcn.00446b80
add esp, 0x18
xor eax, eax
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x68]
push eax
push str.GetAdapterPropertyRegKey:_Open_registry_key___S_
push 0x20
call fcn.00446b80
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 0x46c]
xor ecx, ebp
pop esi
pop edi
call fcn.00401bd5
mov esp, ebp
pop ebp
ret