Function at 0x47ccc0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a7be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x28], esi
call fcn.004b90e0
push 0
push 0
push str.SoftwareSynapticsSynTPInstall
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0
call fcn.004b9150
push 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push eax
push str.DeleteUserSettingsOnUpgrade
lea ecx, [ebp - 0xb0]
call fcn.004cbcf0
mov ebx, dword [ebp - 0x24]
xor edi, edi
test ebx, ebx
je 0x47d3a9
xor eax, eax
push 0x30
push eax
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x146]
push eax
call fcn.004cf600
add esp, 0xc
mov dword [ebp - 0x14], 0x32
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0xb0]
push edi
push edi
push eax
lea eax, [ebp - 0x148]
push eax
push str.DriverVersion
call fcn.004cbe60
xor eax, eax
push 0x30
push eax
mov word [ebp - 0x17c], ax
lea eax, [ebp - 0x17a]
push eax
call fcn.004cf600
add esp, 0xc
mov dword [ebp - 0x14], 0x32
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0xb0]
push edi
push edi
push eax
lea eax, [ebp - 0x17c]
push eax
push str.InfRevision
call fcn.004cbe60
push edi
push edi
push str.SoftwareSynapticsSynTPInstall
push SysReAllocString
lea ecx, [ebp - 0x98]
call fcn.004b9150
xor eax, eax
mov byte [ebp - 4], 2
push 0x30
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004cf600
add esp, 0xc
mov dword [ebp - 0x14], 0x32
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x94]
push edi
push edi
push eax
lea eax, [ebp - 0x218]
push eax
push str.DriverVersion
call fcn.004cbe60
xor eax, eax
push 0x30
push eax
mov word [ebp - 0x1b0], ax
lea eax, [ebp - 0x1ae]
push eax
call fcn.004cf600
add esp, 0xc
mov dword [ebp - 0x14], 0x32
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x94]
push edi
push edi
push eax
lea eax, [ebp - 0x1b0]
push eax
push str.InfRevision
call fcn.004cbe60
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.004d47f9
add esp, 8
test eax, eax
jne 0x47cea4
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.004d47f9
add esp, 8
test eax, eax
je 0x47d39a
test ebx, 0x40000
je 0x47d34e
test ebx, 0x30000
je 0x47d20c
push str.SoftwareSynapticsOEM
lea ecx, [ebp - 0x44]
call fcn.0040c140
push str.PreviousSynTPInstall
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.00456bc0
add esp, 0xc
mov edx, dword [ebp - 0x44]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 5
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47cef6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x60]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004b9150
cmp dword [ebp - 0x54], 0
mov byte [ebp - 4], 6
je 0x47d1df
xor eax, eax
push 0x30
push eax
mov word [ebp - 0x1e4], ax
lea eax, [ebp - 0x1e2]
push eax
call fcn.004cf600
xor eax, eax
push 0x30
push eax
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x24a]
push eax
call fcn.004cf600
add esp, 0x18
mov dword [ebp - 0x14], 0x32
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x94]
push 0
push 0
push eax
lea eax, [ebp - 0x1e4]
push eax
push str.DriverVersion
call fcn.004cbe60
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x32
push eax
lea eax, [ebp - 0x24c]
push eax
push str.InfRevision
lea ecx, [ebp - 0x94]
call fcn.004cbe60
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push 0x51f01c
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 8
call fcn.004158d0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x18], 1
call fcn.004158d0
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x34]
mov ebx, 3
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x18], ebx
push eax
call fcn.00488660
add esp, 0xc
cmp eax, 1
jbe 0x47d082
push 0x51f01c
lea ecx, [ebp - 0xcc]
call fcn.004158d0
lea eax, [ebp - 0x1e4]
mov dword [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x18], 7
call fcn.004158d0
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x40]
mov ebx, 0xf
push eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x18], ebx
push eax
call fcn.00488660
add esp, 0xc
mov byte [ebp - 0xd], 1
cmp eax, 1
ja 0x47d086
mov byte [ebp - 0xd], 0
test bl, 8
je 0x47d099
lea ecx, [ebp - 0xfc]
and ebx, 0xfffffff7
call fcn.004090f0
test bl, 4
je 0x47d0ac
lea ecx, [ebp - 0xcc]
and ebx, 0xfffffffb
call fcn.004090f0
test bl, 2
je 0x47d0bf
lea ecx, [ebp - 0x114]
and ebx, 0xfffffffd
call fcn.004090f0
mov dword [ebp - 4], 8
test bl, 1
je 0x47d0d6
lea ecx, [ebp - 0xe4]
call fcn.004090f0
cmp byte [ebp - 0xd], 0
je 0x47d1cc
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x14], 8
jb 0x47d0eb
mov eax, dword [eax]
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0x14], 8
jb 0x47d0fb
mov eax, dword [ebx]
jmp 0x47d0fd
mov eax, ebx
push 0xa
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.004d2e29
mov esi, eax
lea eax, [ebp - 0x18]
push 0xa
push eax
push dword [ebp - 0x1c]
call fcn.004d2e29
add esp, 0x18
cmp eax, esi
jne 0x47d1c9
test dword [ebp - 0x24], 0x10000
je 0x47d15a
lea ecx, [ebp - 0x40]
call fcn.004757b0
lea ecx, [ebp - 0x34]
call fcn.004757b0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.004b93f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004036f0
jmp 0x47d34e
mov eax, dword [ebp - 0x34]
add eax, 0x18
mov dword [ebp - 0x1c], eax
cmp dword [eax + 0x14], 8
jb 0x47d16e
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
add ebx, 0x18
cmp dword [ebx + 0x14], 8
jb 0x47d179
mov ebx, dword [ebx]
push 0xa
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.004d2e29
mov esi, eax
lea eax, [ebp - 0x18]
push 0xa
push eax
push dword [ebp - 0x1c]
call fcn.004d2e29
add esp, 0x18
cmp eax, esi
jne 0x47d1c9
lea ecx, [ebp - 0x40]
call fcn.004757b0
lea ecx, [ebp - 0x34]
call fcn.004757b0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.004b93f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004036f0
jmp 0x47d34e
or esi, 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004757b0
lea ecx, [ebp - 0x34]
call fcn.004757b0
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.004b93f0
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x47d209
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
mov eax, dword [0x652fc0]
test al, 2
je 0x47d22e
push str.RemoveUserSettings_n
push 2
push str.CSynTPEnh::DeleteUserSettingsOnUpgrade
call fcn.004cb3a0
mov eax, dword [0x652fc0]
add esp, 0xc
mov edi, 1
test bl, 0x20
je 0x47d259
test al, 2
je 0x47d250
push str.Remove_previous_Syn_desktop_shortcuts_n
push 2
push str.CSynTPEnh::DeleteUserSettingsOnUpgrade
call fcn.004cb3a0
add esp, 0xc
push 1
mov ecx, esi
call fcn.00484c30
test bl, 1
je 0x47d34e
push 0
push 0
push 0
push str.SoftwareSynaptics
push SysReAllocString
lea ecx, [ebp - 0x7c]
call fcn.004bcca0
test eax, eax
je 0x47d34e
push str.SoftwareSynapticsTmp
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.SoftwareSynapticsTmp
mov ecx, esi
call fcn.00481ea0
lea ecx, [ebp - 0x78]
call fcn.004cba50
push 0
lea ecx, [ebp - 0x60]
call fcn.004b90e0
push 0
push 0
push 0
push str.SoftwareSynapticsTmp
push SysReAllocString
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call fcn.004bcca0
test eax, eax
je 0x47d342
push 0
push 0
push 1
push str.SoftwareSynaptics
push SysReAllocString
lea ecx, [ebp - 0x7c]
call fcn.004bcca0
test eax, eax
je 0x47d33a
push 0
push dword [ebp - 0x70]
push 0
push dword [ebp - 0x54]
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
mov edi, eax
neg edi
sbb edi, edi
inc edi
test byte [0x652fc0], 2
je 0x47d33a
push str.SoftwareSynaptics
push str.SoftwareSynapticsTmp
mov ecx, 0x527200
test edi, edi
mov eax, 0x5271f0
cmove eax, ecx
push eax
push str._s_to_copy_source_key__s_to_dest_key__s_n
push 2
push str.CSynTPEnh::DeleteUserSettingsOnUpgrade
call fcn.004cb410
add esp, 0x18
lea ecx, [ebp - 0x5c]
call fcn.004cba50
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.004b93f0
push 0
push 0
push 1
push str.SoftwareSynapticsSynTPInstall
push SysReAllocString
lea ecx, [ebp - 0x7c]
call fcn.004bcca0
test eax, eax
je 0x47d39a
push 0
push 0
lea eax, [ebp - 0x148]
push eax
push str.DriverVersion
lea ecx, [ebp - 0x78]
call fcn.004cc210
push 0
push 0
lea eax, [ebp - 0x17c]
push eax
push str.InfRevision
lea ecx, [ebp - 0x78]
call fcn.004cc210
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.004b93f0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0
call fcn.004b93f0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
call fcn.004b93f0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret