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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b7a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x62819c]
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.00428a90
mov ecx, eax
test ecx, ecx
je 0x48603a
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 0x485ab0
movzx eax, ax
push eax
call fcn.004295b0
jmp 0x485abc
push 0x2d
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.00429870
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 0x485bc5
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push 0x5bcac0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
call fcn.004434e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042a710
push str.wpsautoupdate
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
call fcn.00429080
push dword [eax]
mov byte [ebp - 4], 5
push str.2415_tKUninstall::DeleteOldProductRegister_tDeleteValue:__ws
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
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 0x485b66
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 0x485b84
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 0x485ba2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b0864
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
je 0x485bbe
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.00429870
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 0x485cf4
test edi, edi
je 0x485c07
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 0x485cf4
push 0x5bcac0
lea ecx, [ebp - 0x14]
call fcn.004434e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042a710
push str.Kingsoft_Office
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
push eax
call fcn.00429080
push dword [eax]
mov byte [ebp - 4], 8
push str.2422_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
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 0x485c8e
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 0x485cac
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 0x485cca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b0368
lea ecx, [ebp - 0x28]
call fcn.004395c0
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x485cea
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.00429870
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x485d61
cmp dword [ebx], 0
je 0x485d54
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x485d29
mov eax, 1
jmp 0x485d7a
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x485d5a
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call eax
jmp 0x485d7a
cmp dword [ebx + 4], 0
jne 0x485d61
mov eax, 1
jmp 0x485d7a
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 0x485e7a
test edi, edi
je 0x485d8d
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 0x485e7a
push 0x5bcac0
lea ecx, [ebp - 0x14]
call fcn.004434e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042a710
push str.6.0
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00429080
push dword [eax]
mov byte [ebp - 4], 0xb
push str.2429_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
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 0x485e14
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 0x485e32
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 0x485e50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b0360
lea ecx, [ebp - 0x28]
call fcn.004395c0
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x485e70
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.00429870
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x485ee8
cmp dword [ebx], 0
je 0x485edb
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x485eb2
mov eax, 1
jmp 0x485eff
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x485ee1
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push esi
push 0x80000001
call eax
jmp 0x485eff
cmp dword [ebx + 4], 0
jne 0x485ee8
mov eax, 1
jmp 0x485eff
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 0x486001
test edi, edi
je 0x485f12
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 0x486001
push 0x5bcc5c
lea ecx, [ebp - 0x14]
call fcn.004434e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042a710
push 0x5bcc44
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push eax
call fcn.00429080
push dword [eax]
mov byte [ebp - 4], 0xe
push str.2437_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
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 0x485f9c
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 0x485fba
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 0x485fd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.kwatermark
lea ecx, [ebp - 0x28]
call fcn.004395c0
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x485ff8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
jmp 0x486004
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x48601d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x486028
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.004293d0
int3