Function at 0x432787
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
je 0x432a1d
mov eax, dword [ebp + 0x14]
or eax, dword [ebp + 0x18]
je 0x432a1d
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, 0x100
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sDevices_012I64xServicesFor_012I64x00001124_0000_1000_8000_00805f9b34fbC00000000
push esi
push eax
call fcn.0043ce7f
add esp, 0x20
push 0
mov ebx, 0x20006
push ebx
lea eax, [ebp - 0x104]
push eax
mov edi, reloc.WS2_32.dll_bind
push edi
call dword [0x4670a8]
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sDevices_012I64xServicesFor_012I64x00001124_0000_1000_8000_00805f9b34fb
push esi
push eax
call fcn.0043ce7f
add esp, 0x20
push 0
push ebx
lea eax, [ebp - 0x104]
push eax
push edi
call dword [0x4670a8]
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sDevices_012I64xServicesFor_012I64x
push esi
push eax
call fcn.0043ce7f
add esp, 0x20
push 0
push ebx
lea eax, [ebp - 0x104]
push eax
push edi
call dword [0x4670a8]
cmp dword [ebp + 8], 0
je 0x4328d1
push dword [ebp + 0x18]
lea eax, [ebp - 0x104]
push dword [ebp + 0x14]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sDevices_012I64xCachedServices
push esi
push eax
call fcn.0043ce7f
add esp, 0x18
push 0
push ebx
lea eax, [ebp - 0x104]
push eax
push edi
call dword [0x4670a8]
push dword [ebp + 0x18]
lea eax, [ebp - 0x104]
push dword [ebp + 0x14]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sDevices_012I64x
push esi
push eax
call fcn.0043ce7f
add esp, 0x18
push 0
push ebx
lea eax, [ebp - 0x104]
push eax
push edi
call dword [0x4670a8]
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sPerDevices_012I64x
push esi
push eax
call fcn.0043ce7f
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
push ebx
push 0
lea eax, [ebp - 0x104]
push eax
push edi
call dword [0x4670bc]
test eax, eax
je 0x43291f
push eax
push str.BtwProvisionedHidDevsDeleteRegistryMs:_RegCreateKeyEx_PerDevices__failed._err_d_n
push 1
call fcn.004295b9
add esp, 0xc
jmp 0x432959
push dword [ebp + 0x18]
lea eax, [ebp - 0x104]
push dword [ebp + 0x14]
push str._012I64x
push esi
push eax
call fcn.0043ce7f
add esp, 0x14
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x108]
call dword [0x4670ac]
push dword [ebp - 0x108]
call dword [0x467004]
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sKeys_012I64x
push esi
push eax
call fcn.0043ce7f
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
push ebx
push 0
lea eax, [ebp - 0x104]
push eax
push edi
call dword [0x4670bc]
test eax, eax
je 0x4329a7
push eax
push str.BtwProvisionedHidDevsDeleteRegistryMs:_RegCreateKeyEx_Keys__failed._err_d_n
push 1
call fcn.004295b9
add esp, 0xc
jmp 0x4329e1
push dword [ebp + 0x18]
lea eax, [ebp - 0x104]
push dword [ebp + 0x14]
push str._012I64x
push esi
push eax
call fcn.0043ce7f
add esp, 0x14
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x108]
call dword [0x4670ac]
push dword [ebp - 0x108]
call dword [0x467004]
push dword [ebp + 0x18]
lea eax, [ebp - 0x104]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SYSTEMCurrentControlSetServicesHidBth
push str._sParametersDevices_012I64x_012I64x
push esi
push eax
call fcn.0043ce7f
add esp, 0x20
push 0
push ebx
lea eax, [ebp - 0x104]
push eax
push edi
call dword [0x4670a8]
pop edi
pop esi
pop ebx
jmp 0x432a2b
push str.BtwProvisionedHidDevsDeleteRegistryMs:_0_attribute_n
push 1
call fcn.004295b9
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
leave
ret