Function at 0x47f9e0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59be78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x47ffda
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x47fa50
movzx eax, ax
push eax
call fcn.00426130
jmp 0x47fa5c
push 0x2d
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.004263f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
push 0x2001f
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or esi, 0xffffffff
test eax, eax
jne 0x47fb65
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push str.HKEY_LOCAL_MACHINE_
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
call fcn.0043f4e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00427170
push str.wpsautoupdate
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
call fcn.00425c00
push dword [eax]
mov byte [ebp - 4], 5
push str.2104_tKUninstall::DeleteOldProductRegister_tDeleteValue:__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
mov edx, dword [ebp - 0x14]
add esp, 0x2c
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fb06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fb24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fb42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b450c
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
je 0x47fb5e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
push 0x33
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x10]
call fcn.004263f0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47fc94
test edi, edi
je 0x47fba7
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
test eax, eax
jne 0x47fc94
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp - 0x14]
call fcn.0043f4e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00427170
push str.Kingsoft_Office
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
push eax
call fcn.00425c00
push dword [eax]
mov byte [ebp - 4], 8
push str.2111_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
mov edx, dword [ebp - 0x1c]
add esp, 0x2c
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fc2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fc4c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fc6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b4034
lea ecx, [ebp - 0x28]
call fcn.004349b0
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x47fc8a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x28], edi
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0x18
push str.SOFTWAREkingsoftOffice
lea ecx, [ebp - 0x10]
call fcn.004263f0
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x47fd01
cmp dword [ebx], 0
je 0x47fcf4
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x47fcc9
mov eax, 1
jmp 0x47fd1a
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47fcfa
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call eax
jmp 0x47fd1a
cmp dword [ebx + 4], 0
jne 0x47fd01
mov eax, 1
jmp 0x47fd1a
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47fe1a
test edi, edi
je 0x47fd2d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
test eax, eax
jne 0x47fe1a
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp - 0x14]
call fcn.0043f4e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00427170
push str.6.0
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00425c00
push dword [eax]
mov byte [ebp - 4], 0xb
push str.2118_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
mov edx, dword [ebp - 0x1c]
add esp, 0x2c
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fdb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fdd2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fdf0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b402c
lea ecx, [ebp - 0x28]
call fcn.004349b0
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x47fe10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x28], edi
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0x24
push str.SoftwareKingsoftOffice6.0plugins
lea ecx, [ebp - 0x10]
call fcn.004263f0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x47fe88
cmp dword [ebx], 0
je 0x47fe7b
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x47fe52
mov eax, 1
jmp 0x47fe9f
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47fe81
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push esi
push 0x80000001
call eax
jmp 0x47fe9f
cmp dword [ebx + 4], 0
jne 0x47fe88
mov eax, 1
jmp 0x47fe9f
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47ffa1
test edi, edi
je 0x47feb2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
test eax, eax
jne 0x47ffa1
push str.HKEY_CURRENT_USER_
lea ecx, [ebp - 0x14]
call fcn.0043f4e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00427170
push 0x5c4384
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push eax
call fcn.00425c00
push dword [eax]
mov byte [ebp - 4], 0xe
push str.2126_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
mov edx, dword [ebp - 0x1c]
or ebx, 0xffffffff
add esp, 0x2c
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47ff3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47ff5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47ff78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.kwatermark
lea ecx, [ebp - 0x28]
call fcn.004349b0
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x47ff98
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
jmp 0x47ffa4
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47ffbd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x47ffc8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3