Function at 0x4235b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x4a39f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 0x468], ecx
push edi
xor edi, edi
mov ecx, eax
xor esi, esi
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 4
push ecx
push edi
push edi
push eax
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x454], 1
call dword [0x4652f8]
mov ebx, eax
mov dword [ebp - 0x444], ebx
cmp ebx, 0xffffffff
jne 0x423635
call dword [0x4651b0]
push eax
push str.VNLProcessClassDevices:_couldnt_get_class_devices:_0x_08x
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
xor eax, eax
lea edx, [ebp - 0x438]
push edx
push edi
mov dword [ebp - 0x438], eax
push ebx
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x438], 0x1c
call dword [0x4652f4]
test eax, eax
je 0x423dfb
push 0x208
lea ecx, [ebp - 0x41a]
xor eax, eax
push edi
inc esi
push ecx
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x448], edi
mov dword [ebp - 0x45c], edi
mov word [ebp - 0x41c], ax
call fcn.00405300
add esp, 0xc
mov dword [ebp - 0x46c], 0x105
cmp dword [ebp + 0x14], edi
jne 0x4236dc
mov edx, dword [ebp + 0x1c]
push esi
push str.__Device_instance__d
push edx
push 2
call fcn.00434420
add esp, 0x10
mov esi, dword [0x4652f0]
lea eax, [ebp - 0x448]
push eax
push edi
push edi
lea ecx, [ebp - 0x438]
push ecx
push ebx
call esi
test eax, eax
jne 0x42371d
call dword [0x4651b0]
cmp eax, 0x7a
je 0x42371d
mov edx, dword [ebp - 0x448]
push edx
push eax
push str.VNLProcessClassDevices:_couldnt_get_instance_id_length:_0x_08x__d
push 1
call fcn.004343f0
jmp 0x423d8e
mov eax, dword [ebp - 0x448]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459b0e
mov edi, eax
add esp, 4
mov dword [ebp - 0x44c], edi
test edi, edi
jne 0x42375c
push str.VNLProcessClassDevices:_couldnt_allocate_ID_buffer
push 1
call fcn.004343f0
add esp, 8
jmp 0x423d91
mov eax, dword [ebp - 0x448]
lea ecx, [eax + eax]
push ecx
push 0
push edi
call fcn.00405300
mov eax, dword [ebp - 0x448]
add esp, 0xc
lea edx, [ebp - 0x448]
push edx
push eax
push edi
lea ecx, [ebp - 0x438]
push ecx
push ebx
call esi
test eax, eax
jne 0x4237a9
call dword [0x4651b0]
push eax
push str.VNLProcessClassDevices:_Couldnt_get_device_instance_ID:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
jmp 0x423d91
cmp dword [ebp + 0x14], 0
jne 0x4237c3
mov edx, dword [ebp + 0x1c]
push edi
push str.__Device_instance_ID:__S
push edx
push 2
call fcn.00434420
add esp, 0x10
mov esi, dword [ebp - 0x468]
test esi, esi
je 0x423828
mov edi, dword [esi]
add esi, 4
test edi, edi
je 0x423d91
lea ebx, [ebx]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4237e5
mov ebx, dword [ebp - 0x44c]
sub eax, edx
sar eax, 1
push eax
push edi
push ebx
call fcn.00458fca
add esp, 0xc
test eax, eax
je 0x423817
mov edi, dword [esi]
add esi, 4
test edi, edi
jne 0x4237e0
jmp 0x423d91
push edi
push ebx
push str.VNLProcessClassDevices:_matched_device:__S__S
push 2
call fcn.004343f0
add esp, 0x10
xor eax, eax
cmp dword [ebp - 0x460], eax
je 0x42398c
mov esi, dword [0x4652e0]
lea ecx, [ebp - 0x43c]
push ecx
push eax
push eax
push eax
push 4
lea edx, [ebp - 0x438]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x444]
push edx
push eax
call esi
test eax, eax
jne 0x42388c
call dword [0x4651b0]
cmp eax, 0x7a
je 0x42388c
mov ecx, dword [ebp - 0x43c]
push ecx
push eax
push str.VNLProcessClassDevices:_couldnt_get_service_name_length:_0x_08x__d
push 4
call fcn.004343f0
jmp 0x423d8e
mov eax, dword [ebp - 0x43c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459b0e
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4238c5
push str.VNLProcessClassDevices:_couldnt_alloc_service_name_buffer
push 1
call fcn.004343f0
add esp, 8
jmp 0x423d91
mov ecx, dword [ebp - 0x43c]
lea eax, [ebp - 0x43c]
push eax
push ecx
mov ecx, dword [ebp - 0x444]
push ebx
lea edx, [ebp - 0x440]
push edx
push 4
lea eax, [ebp - 0x438]
push eax
push ecx
call esi
test eax, eax
jne 0x423919
call dword [0x4651b0]
mov edx, dword [ebp - 0x43c]
push edx
push eax
push str.VNLProcessClassDevices:_couldnt_get_service_name:_0x_08x__d
push 1
call fcn.004343f0
push ebx
call fcn.00459a99
add esp, 0x14
jmp 0x423d91
mov eax, dword [ebp - 0x440]
cmp eax, 1
je 0x42393c
push eax
push str.VNLProcessClassDevices:_service_name_has_unexpected_type:_0x_08x
push 1
call fcn.004343f0
push ebx
call fcn.00459a99
jmp 0x423d8e
mov esi, dword [ebp - 0x460]
mov edi, dword [esi]
add esi, 4
test edi, edi
je 0x423967
jmp 0x423950
push ebx
push edi
call fcn.00458117
add esp, 8
test eax, eax
je 0x423975
mov edi, dword [esi]
add esi, 4
test edi, edi
jne 0x423950
push ebx
call fcn.00459a99
add esp, 4
jmp 0x423d91
push ebx
push edi
push str.VNLProcessClassDevices:_matched_service:__S__S
push 2
call fcn.004343f0
push ebx
call fcn.00459a99
add esp, 0x14
xor esi, esi
cmp dword [ebp + 0x14], esi
jne 0x423a5a
mov ecx, dword [ebp - 0x444]
mov ebx, dword [ebp - 0x424]
lea eax, [ebp - 0x438]
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x440], esi
mov esi, dword [ebp + 0x1c]
push eax
push ecx
mov edi, esi
call fcn.00422bc0
add esp, 8
push 0
push ebx
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x43c]
push eax
call dword [0x4652ec]
test eax, eax
jne 0x423a29
mov ecx, dword [ebp - 0x440]
mov edx, dword [ebp - 0x43c]
push ecx
push edx
push ebx
push str.____devInst:__d_status:__d_prob:__d
push esi
push 2
call fcn.00434420
mov ebx, dword [ebp - 0x43c]
add esp, 0x18
call fcn.00422f90
test dword [ebp - 0x43c], 0x400
je 0x423d91
mov edi, dword [ebp - 0x440]
call fcn.00423280
jmp 0x423d91
cmp eax, 0xd
jne 0x423a43
push str.____devInst:__d__no_such_node_
push esi
push 2
call fcn.00434420
add esp, 0xc
jmp 0x423d91
push eax
push ebx
push str.____devInst:__d_couldnt_poll_status:_0x_08x
push esi
push 1
call fcn.00434420
add esp, 0x14
jmp 0x423d91
cmp dword [ebp + 0x18], esi
je 0x423c7c
push 0x208
lea ecx, [ebp - 0x20e]
xor eax, eax
push esi
push ecx
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov word [ebp - 0x210], ax
call fcn.00405300
mov ecx, dword [ebp - 0x444]
add esp, 0xc
lea edx, [ebp - 0x43c]
push edx
push esi
push esi
push esi
mov esi, dword [0x4652e0]
push 9
lea eax, [ebp - 0x438]
push eax
push ecx
call esi
test eax, eax
jne 0x423ada
call dword [0x4651b0]
cmp eax, 0x7a
je 0x423ada
mov edx, dword [ebp - 0x43c]
push edx
push eax
push str.VNLProcessClassDevices:_couldnt_get_driver_name_length:_0x_08x__d
push 1
call fcn.004343f0
add esp, 0x10
jmp 0x423c7c
mov eax, dword [ebp - 0x43c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459b0e
mov edi, eax
add esp, 4
test edi, edi
jne 0x423b13
push str.VNLProcessClassDevices:_couldnt_alloc_driver_name_buffer
push 1
call fcn.004343f0
add esp, 8
jmp 0x423c7c
mov eax, dword [ebp - 0x43c]
lea ecx, [eax + eax]
push ecx
push 0
push edi
call fcn.00405300
mov eax, dword [ebp - 0x43c]
add esp, 0xc
lea edx, [ebp - 0x43c]
push edx
push eax
mov eax, dword [ebp - 0x444]
push edi
lea ecx, [ebp - 0x440]
push ecx
push 9
lea edx, [ebp - 0x438]
push edx
push eax
call esi
test eax, eax
jne 0x423b7c
call dword [0x4651b0]
mov ecx, dword [ebp - 0x43c]
push ecx
push eax
push str.VNLProcessClassDevices:_couldnt_get_driver_name:_0x_08x__d
push 1
call fcn.004343f0
push edi
call fcn.00459a99
add esp, 0x14
jmp 0x423c7c
mov eax, dword [ebp - 0x440]
cmp eax, 1
je 0x423ba2
push eax
push str.VNLProcessClassDevices:_driver_name_has_unexpected_type:_0x_08x
push 1
call fcn.004343f0
push edi
call fcn.00459a99
add esp, 0x10
jmp 0x423c7c
push edi
push str.SYSTEMCurrentControlSetControlClass_s
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.00457d45
push edi
mov ebx, eax
call fcn.00459a99
add esp, 0x14
cmp ebx, 0x104
ja 0x423c66
lea eax, [ebp - 0x458]
push eax
push 1
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0x80000002
mov dword [ebp - 0x450], 0
call dword [0x4650cc]
test eax, eax
je 0x423c03
push eax
push str.VNLProcessClassDevices:_error_opening_driver_key:_0x_08x
jmp 0x423c72
lea edx, [ebp - 0x46c]
push edx
mov edx, dword [ebp - 0x458]
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x450]
push ecx
push 0
push str.InfPath
push edx
call dword [0x4650c4]
mov edi, eax
mov eax, dword [ebp - 0x458]
push eax
call dword [0x4650d0]
test edi, edi
je 0x423c47
push edi
push str.VNLProcessClassDevices:_error_querying_inf_key:_0x_08x
jmp 0x423c72
mov eax, dword [ebp - 0x450]
cmp eax, 1
je 0x423c5a
push eax
push str.VNLProcessClassDevices:_inf_name_has_unexpected_type:_0x_08x
jmp 0x423c72
mov dword [ebp - 0x45c], 1
jmp 0x423c7c
call dword [0x4651b0]
push eax
push str.VNLProcessClassDevices:_error_creating_inf_path:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
mov ecx, dword [ebp - 0x44c]
push ecx
push str.VNLProcessClassDevices:_removing_device:__S
push 2
call fcn.004343f0
mov esi, dword [ebp - 0x444]
add esp, 0xc
lea edx, [ebp - 0x438]
push edx
push esi
push 5
call dword [0x4652e8]
test eax, eax
jne 0x423cc7
call dword [0x4651b0]
push eax
push str.VNLProcessClassDevices:_Failed_to_remove_device:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
jmp 0x423d66
push 0x124
lea eax, [ebp - 0x12c]
push 0
push eax
mov dword [ebp - 0x130], 0
call fcn.00405300
push str.VNLProcessClassDevices:_SetupDiCallClassInstaller_success
push 0x10
call fcn.004343f0
add esp, 0x14
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x438]
push edx
push esi
mov dword [ebp - 0x130], 0x128
call dword [0x4652e4]
test eax, eax
jne 0x423d2e
call dword [0x4651b0]
push eax
push str.VNLProcessClassDevices:_Failed_to_obtain_class_remove_result:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
jmp 0x423d66
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x12c]
push eax
push ecx
push str.VNLProcessClassDevices:_Remove_result:_Flags_0x_08x_FlagsEx_0x_08x
push 2
call fcn.004343f0
add esp, 0x10
test dword [ebp - 0x12c], 0x180
je 0x423d66
push str.VNLProcessClassDevices:_reboot_required
push 1
call fcn.004343f0
add esp, 8
cmp dword [ebp - 0x45c], 0
je 0x423d91
lea edx, [ebp - 0x41c]
push edx
push str.VNLProcessClassDevices:_deleting_device_inf:__S
push 2
call fcn.004343f0
lea eax, [ebp - 0x41c]
push eax
call fcn.00435160
add esp, 0x10
mov ecx, dword [ebp - 0x44c]
push ecx
call fcn.00459a99
mov esi, dword [ebp - 0x464]
mov ebx, dword [ebp - 0x444]
add esp, 4
xor eax, eax
lea edx, [ebp - 0x438]
push edx
push esi
mov dword [ebp - 0x438], eax
push ebx
xor edi, edi
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x438], 0x1c
call dword [0x4652f4]
test eax, eax
jne 0x423682
mov esi, dword [0x4651b0]
call esi
cmp eax, 0x103
je 0x423e24
call esi
push eax
push str.enum_failed_for:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
mov dword [ebp - 0x454], edi
jmp 0x423e33
push str.done_enumerating_list
push 0x10
call fcn.004343f0
add esp, 8
push ebx
call dword [0x4652dc]
test eax, eax
jne 0x423e4d
push str.VNLProcessClassDevices:_couldnt_destroy_list
push 1
call fcn.004343f0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x454]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040506e
mov esp, ebp
pop ebp
ret