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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x4a39f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x62
mov esi, ecx
push eax
lea ecx, [ebp - 0x25a]
mov ebx, edx
push ecx
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x480], edi
mov word [ebp - 0x25c], ax
call fcn.00405300
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x466]
push eax
mov word [ebp - 0x468], dx
call fcn.00405300
add esp, 0x18
test esi, esi
je 0x42f454
test ebx, ebx
je 0x42f454
test edi, edi
je 0x42f454
cmp dword [edi], 0
je 0x42f454
push esi
call fcn.00412b30
mov edi, eax
add esp, 4
test edi, edi
jge 0x42efb2
push esi
push str.GetAdapterGUID:_invalid_vnetname:__s
push 1
call fcn.004343f0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
push 0x32
lea ecx, [ebp - 0x25c]
push ecx
push 0x478b08
call dword [0x4653b0]
test eax, eax
jne 0x42efec
push str.cant_convert_guid_to_string
push 1
call fcn.004343f0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x25c]
push edx
push str.SYSTEMCurrentControlSetControlClass_s
lea eax, [ebp - 0x468]
push 0x105
push eax
call fcn.00457d45
add esp, 0x10
lea ecx, [ebp - 0x474]
push ecx
push 9
push 0
lea edx, [ebp - 0x468]
push edx
push 0x80000002
call dword [0x4650cc]
test eax, eax
je 0x42f086
cmp eax, 2
jne 0x42f05c
push eax
lea eax, [ebp - 0x468]
push eax
push str.GetAdapterGUID:_net_class_key_not_found_in_registry__S:_0x_08x
push 2
call fcn.004343f0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [ebp - 0x468]
push ecx
push str.GetAdapterGUID:_couldnt_open__S_for_enumeration:_0x_08x
push 1
call fcn.004343f0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x468]
push edx
push str.GetAdapterGUID:_opened__S_for_enumeration
push 0x10
call fcn.004343f0
xor eax, eax
push 0x62
push eax
lea ecx, [ebp - 0x66]
push ecx
mov word [ebp - 0x68], ax
call fcn.00405300
add esp, 0x18
xor esi, esi
lea edx, [ebp - 0x48c]
push edx
mov edx, dword [ebp - 0x474]
push esi
push esi
push esi
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x68]
push ecx
push esi
push edx
mov dword [ebp - 0x478], 0x32
call dword [0x465090]
test eax, eax
jne 0x42f370
mov ebx, dword [0x4650c4]
jmp 0x42f0f0
xor eax, eax
push 0xc6
push eax
lea ecx, [ebp - 0x1f6]
inc esi
push ecx
mov dword [ebp - 0x484], esi
mov word [ebp - 0x1f8], ax
call fcn.00405300
xor edx, edx
push 0xc6
push edx
lea eax, [ebp - 0x12e]
push eax
mov dword [ebp - 0x470], 0xc8
mov word [ebp - 0x130], dx
call fcn.00405300
mov eax, dword [ebp - 0x474]
add esp, 0x18
lea ecx, [ebp - 0x46c]
push ecx
push 1
push 0
lea edx, [ebp - 0x68]
push edx
push eax
mov dword [ebp - 0x478], 0x32
call dword [0x4650cc]
test eax, eax
je 0x42f19a
cmp eax, 2
jne 0x42f181
push eax
lea ecx, [ebp - 0x68]
push ecx
push str.GetAdapterGUID:_net_class_instance_key_not_found_in_registry__S:_0x_08x
push eax
call fcn.004343f0
add esp, 0x10
jmp 0x42f342
push eax
lea edx, [ebp - 0x68]
push edx
push str.GetAdapterGUID:_couldnt_open_instance__S_for_enumeration:_0x_08x
push 1
call fcn.004343f0
add esp, 0x10
jmp 0x42f342
push edi
push str.DosDevicesVMnet_d
lea eax, [ebp - 0x130]
push 0x32
push eax
call fcn.00457d45
mov eax, dword [ebp - 0x46c]
add esp, 0x10
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x1f8]
push edx
push 0
push 0
push str.VMnet
push eax
call ebx
test eax, eax
jne 0x42f1f3
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x1f8]
push edx
call fcn.00458117
add esp, 8
test eax, eax
je 0x42f39f
push edi
push str.vmnetadapter_d
lea eax, [ebp - 0x130]
push 0x32
push eax
call fcn.00457d45
mov eax, dword [ebp - 0x46c]
add esp, 0x10
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x1f8]
push edx
push 0
push 0
push str.ComponentId
push eax
mov dword [ebp - 0x470], 0xc8
call ebx
mov esi, eax
test esi, esi
jne 0x42f258
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x1f8]
push edx
call fcn.00458117
add esp, 8
test eax, eax
je 0x42f416
push edi
push str.vmnet_d
lea eax, [ebp - 0x130]
push 0x32
push eax
call fcn.00457d45
add esp, 0x10
test esi, esi
jne 0x42f291
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x1f8]
push edx
call fcn.00458117
add esp, 8
test eax, eax
je 0x42f41d
push edi
push str.vmnetadapter_d
lea eax, [ebp - 0x130]
push 0x32
push eax
call fcn.00457d45
mov eax, dword [ebp - 0x46c]
add esp, 0x10
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x1f8]
push edx
push 0
push 0
push str.MatchingDeviceId
push eax
mov dword [ebp - 0x470], 0xc8
call ebx
mov esi, eax
test esi, esi
jne 0x42f2f6
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x1f8]
push edx
call fcn.00458117
add esp, 8
test eax, eax
je 0x42f424
push edi
push str.vmnet_d
lea eax, [ebp - 0x130]
push 0x32
push eax
call fcn.00457d45
add esp, 0x10
test esi, esi
jne 0x42f32f
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x1f8]
push edx
call fcn.00458117
add esp, 8
test eax, eax
je 0x42f424
mov eax, dword [ebp - 0x46c]
push eax
call dword [0x4650d0]
mov esi, dword [ebp - 0x484]
lea ecx, [ebp - 0x48c]
push ecx
mov ecx, dword [ebp - 0x474]
push 0
push 0
push 0
lea edx, [ebp - 0x478]
push edx
lea eax, [ebp - 0x68]
push eax
push esi
push ecx
call dword [0x465090]
test eax, eax
je 0x42f0f0
mov edx, dword [ebp - 0x474]
push edx
call dword [0x4650d0]
push str.GetAdapterGUID:_didnt_find_card
push 0x20
call fcn.004343f0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
push str.GetAdapterGUID:_found_card_by_vnet_name
push 0x20
call fcn.004343f0
mov eax, dword [ebp - 0x480]
mov edi, dword [ebp - 0x47c]
mov ecx, dword [ebp - 0x46c]
add esp, 8
push eax
push edi
push 0
push 0
push str.NetCfgInstanceId
push ecx
call ebx
mov edx, dword [ebp - 0x46c]
mov ebx, dword [0x4650d0]
push edx
mov esi, eax
call ebx
mov eax, dword [ebp - 0x474]
push eax
call ebx
test esi, esi
je 0x42f42e
call dword [0x4651b0]
push eax
push esi
push str.GetAdapterGUID:_couldnt_read_guid:_0x_08x_0x_08x
push 1
call fcn.004343f0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
push str.found_card_by_component_ID
jmp 0x42f3a4
push str.GetAdapterGUID:_found_card_by_component_ID
jmp 0x42f3a4
push str.GetAdapterGUID:_found_card_by_matching_device_ID
jmp 0x42f3a4
push edi
push str.GetAdapterGUID:_read_guid:__S
push 0x20
call fcn.004343f0
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
push edi
push ebx
push esi
push str.GetAdapterGUID:_invalid_parameters:_0x_08x_0x_08x_0x_08x
push 1
call fcn.004343f0
mov ecx, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040506e
mov esp, ebp
pop ebp
ret