Function at 0x4237e0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c9e90
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x517774]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push esi
push edi
mov eax, dword [0x517774]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x664]
test eax, eax
jne 0x423a22
push 0xc
xor ebx, ebx
mov edi, 0xf
push str.SOFTWAREICE
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00402160
push 0xe
push str.RetriggeredPnP
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00402160
mov eax, dword [esp + 0x3c]
mov esi, 0x10
mov byte [esp + 0x60], 1
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x50], esi
jae 0x42387e
lea eax, [esp + 0x3c]
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00429a63
add esp, 0x24
test eax, eax
jne 0x42397a
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x4238b1
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x423916
mov eax, dword [esp + 0x10]
push eax
call fcn.00429cef
push str.Not_retriggering_pnp__because_the_registry_key_telling_us_not_to_exists_
push 1
push 0x519518
call fcn.00402450
add esp, 0x10
cmp dword [esp + 0x34], esi
jb 0x4238f6
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004462ff
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x50], esi
jb 0x423a22
mov edx, dword [esp + 0x3c]
push edx
jmp 0x423a1a
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 1
cmp dword [esp + 0x34], esi
jae 0x42392c
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x42399d
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x423954
lea ecx, [esp + 0x3c]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x423962
lea eax, [esp + 0x20]
push ecx
push eax
push str.RegSetValueEx_failed_to_write__s_into_key__s
push 8
push 0x519518
call fcn.00402450
add esp, 0x14
jmp 0x42399d
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x423988
lea eax, [esp + 0x3c]
push eax
push str.RegCreateKeyEx___s__failed
push 8
push 0x519518
call fcn.00402450
add esp, 0x10
call fcn.0043fb48
mov eax, dword [0x5298f0]
cmp eax, ebx
jne 0x423a40
mov eax, 0x32
push eax
push str.CM_Locate_DevNode___Failed____with_0x_x_n
push 8
push 0x519518
call fcn.00402450
add esp, 0x10
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x4239d7
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00429cef
add esp, 4
cmp dword [esp + 0x34], esi
jb 0x423a03
mov edx, dword [esp + 0x20]
push edx
call fcn.004462ff
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x50], esi
jb 0x423a22
mov eax, dword [esp + 0x3c]
push eax
call fcn.004462ff
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004974ba
add esp, 0x54
ret
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ecx
call eax
cmp eax, ebx
jne 0x4239b4
call fcn.0043fb48
mov eax, dword [0x529924]
cmp eax, ebx
jne 0x423a6f
mov eax, 0x32
push eax
push str.CM_Reenumerate_DevNode___Failed____with_0x_x_n
jmp 0x4239ba
mov edx, dword [esp + 0x14]
push ebx
push edx
call eax
cmp eax, ebx
jne 0x423a64
push str.Retriggered_plug_and_play_n
push 1
push 0x519518
call fcn.00402450
add esp, 0xc
jmp 0x4239c9