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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4bcd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], edi
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x48e481
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 0x48dc20
movzx eax, ax
push eax
call fcn.00429d90
jmp 0x48dc2c
push 0x2d
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.0042a060
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48dc59
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
or esi, 0xffffffff
mov byte [ebp - 4], 2
test eax, eax
jne 0x48dd31
push 0x5c6a60
lea ecx, [ebp - 0x1c]
call fcn.004444c0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042afa0
push str.wpsautoupdate
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
call fcn.00429810
push dword [eax]
mov byte [ebp - 4], 6
push str.2490_tKUninstall::DeleteOldProductRegister_tDeleteValue:__ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
mov edx, dword [ebp - 0x18]
add esp, 0x2c
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48dcd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48dcf0
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 0x48dd0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5bc40c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test ebx, ebx
je 0x48dd2a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0
push 0x33
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x10]
call fcn.0042a060
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48dd7c
test ebx, ebx
je 0x48dd6f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
test eax, eax
jne 0x48de58
push 0x5c6a60
lea ecx, [ebp - 0x14]
call fcn.004444c0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042afa0
push str.Kingsoft_Office
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
call fcn.00429810
push dword [eax]
mov byte [ebp - 4], 0xa
push str.2497_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
mov edx, dword [ebp - 0x1c]
add esp, 0x2c
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ddf6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48de10
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 0x48de2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5bbef8
lea ecx, [ebp - 0x30]
call fcn.0043a090
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48de4e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0x18
push str.SOFTWAREkingsoftOffice
lea ecx, [ebp - 0x10]
call fcn.0042a060
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x14], 0
test edi, edi
je 0x48deca
cmp dword [edi], 0
je 0x48debd
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48de94
mov eax, 1
jmp 0x48defd
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48dec3
push 0
push dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push esi
push 0x80000002
call eax
jmp 0x48dee1
cmp dword [edi + 4], 0
jne 0x48deca
mov eax, 1
jmp 0x48dee1
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48defd
test ebx, ebx
je 0x48def0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
test eax, eax
jne 0x48dfd8
push 0x5c6a60
lea ecx, [ebp - 0x20]
call fcn.004444c0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042afa0
push str.6.0
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push eax
call fcn.00429810
push dword [eax]
mov byte [ebp - 4], 0xe
push str.2504_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
mov edx, dword [ebp - 0x1c]
or ebx, 0xffffffff
add esp, 0x2c
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48df7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48df94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48dfae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5bbef0
lea ecx, [ebp - 0x30]
call fcn.0043a090
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48dfce
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
mov eax, dword [str.SoftwarekingsoftOffice6.0Common]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x18], 0
test edi, edi
je 0x48e042
cmp dword [edi], 0
je 0x48e035
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48e00a
mov eax, 1
jmp 0x48e07a
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48e03b
push 0
push dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0x20106
push 0
push dword [ebp - 0x20]
push 0x80000002
call eax
jmp 0x48e05e
cmp dword [edi + 4], 0
jne 0x48e042
mov eax, 1
jmp 0x48e05e
lea eax, [ebp - 0x18]
push eax
push 0x20106
push 0
push dword [0x6134a0]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48e07a
test ebx, ebx
je 0x48e06d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x100
mov byte [ebp - 4], 2
test eax, eax
jne 0x48e158
mov edi, dword [str.SoftwarekingsoftOffice6.0Common]
lea ecx, [ebp - 0x24]
push 0x5c6a60
call fcn.004444c0
push edi
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
push eax
call fcn.00429810
push 0x5c6b98
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x11
push eax
call fcn.00429810
push dword [eax]
mov byte [ebp - 4], 0x12
push str.2511_tKUninstall::DeleteOldProductRegister_tDeleteValue:__ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
mov edx, dword [ebp - 0x20]
or edi, 0xffffffff
add esp, 0x2c
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e0fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e114
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e132
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Architecture
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test ebx, ebx
je 0x48e14e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
call fcn.00468ff0
test al, al
jne 0x48e2d4
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x18], 0
test edi, edi
je 0x48e1c5
cmp dword [edi], 0
je 0x48e1b8
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48e18f
mov eax, 1
jmp 0x48e1f8
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48e1be
push 0
push dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0xf013f
push 0
push esi
push 0x80000002
call eax
jmp 0x48e1dc
cmp dword [edi + 4], 0
jne 0x48e1c5
mov eax, 1
jmp 0x48e1dc
lea eax, [ebp - 0x18]
push eax
push 0xf013f
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48e1f8
test ebx, ebx
je 0x48e1eb
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x100
mov byte [ebp - 4], 2
test eax, eax
jne 0x48e2d4
push 0x5c6a60
lea ecx, [ebp - 0x1c]
call fcn.004444c0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x14
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042afa0
push str.6.0
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x15
push eax
call fcn.00429810
push dword [eax]
mov byte [ebp - 4], 0x16
push str.2520_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey_x64:__ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
mov edx, dword [ebp - 0x24]
or ebx, 0xffffffff
add esp, 0x2c
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e275
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e28f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e2ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5bbef0
lea ecx, [ebp - 0x30]
call fcn.0043a090
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48e2cd
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0
push 0x24
push str.SoftwareKingsoftOffice6.0plugins
lea ecx, [ebp - 0x10]
call fcn.0042a060
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x18], 0
test edi, edi
je 0x48e349
cmp dword [edi], 0
je 0x48e33c
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48e313
mov eax, 1
jmp 0x48e37c
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48e342
push 0
push dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0x2001f
push 0
push esi
push 0x80000001
call eax
jmp 0x48e360
cmp dword [edi + 4], 0
jne 0x48e349
mov eax, 1
jmp 0x48e360
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48e37c
test ebx, ebx
je 0x48e36f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
test eax, eax
jne 0x48e44c
push 0x5c6cbc
lea ecx, [ebp - 0x1c]
call fcn.004444c0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x18
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042afa0
push 0x5c6ca4
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x19
push eax
call fcn.00429810
push dword [eax]
mov byte [ebp - 4], 0x1a
push str.2529_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
mov edx, dword [ebp - 0x24]
or edi, 0xffffffff
add esp, 0x2c
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e3f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e413
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e42d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.kwatermark
lea ecx, [ebp - 0x30]
call fcn.0043a090
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48e44f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x48e44f
or edi, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x48e464
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x48e46f
push ebx
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.00429b60
int3