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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a061d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x63434c]
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.004291f0
mov ecx, eax
test ecx, ecx
je 0x48db21
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 0x48d2c0
movzx eax, ax
push eax
call fcn.00429d30
jmp 0x48d2cc
push 0x2d
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.0042a000
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 0x48d2f9
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 0x48d3d1
push 0x5c1a70
lea ecx, [ebp - 0x1c]
call fcn.00444960
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042af40
push str.wpsautoupdate
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
call fcn.004297b0
push dword [eax]
mov byte [ebp - 4], 6
push str.2487_tKUninstall::DeleteOldProductRegister_tDeleteValue:__ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
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 0x48d376
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 0x48d390
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 0x48d3ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b7478
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test ebx, ebx
je 0x48d3ca
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.0042a000
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 0x48d41c
test ebx, ebx
je 0x48d40f
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 0x48d4f8
push 0x5c1a70
lea ecx, [ebp - 0x14]
call fcn.00444960
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042af40
push str.Kingsoft_Office
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
call fcn.004297b0
push dword [eax]
mov byte [ebp - 4], 0xa
push str.2494_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
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 0x48d496
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 0x48d4b0
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 0x48d4ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b6f88
lea ecx, [ebp - 0x30]
call fcn.0043a160
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48d4ee
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.0042a000
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x14], 0
test edi, edi
je 0x48d56a
cmp dword [edi], 0
je 0x48d55d
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48d534
mov eax, 1
jmp 0x48d59d
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48d563
push 0
push dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push esi
push 0x80000002
call eax
jmp 0x48d581
cmp dword [edi + 4], 0
jne 0x48d56a
mov eax, 1
jmp 0x48d581
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 0x48d59d
test ebx, ebx
je 0x48d590
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 0x48d678
push 0x5c1a70
lea ecx, [ebp - 0x20]
call fcn.00444960
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042af40
push str.6.0
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push eax
call fcn.004297b0
push dword [eax]
mov byte [ebp - 4], 0xe
push str.2501_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
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 0x48d61a
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 0x48d634
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 0x48d64e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b6f80
lea ecx, [ebp - 0x30]
call fcn.0043a160
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48d66e
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 0x48d6e2
cmp dword [edi], 0
je 0x48d6d5
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48d6aa
mov eax, 1
jmp 0x48d71a
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48d6db
push 0
push dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0x20106
push 0
push dword [ebp - 0x20]
push 0x80000002
call eax
jmp 0x48d6fe
cmp dword [edi + 4], 0
jne 0x48d6e2
mov eax, 1
jmp 0x48d6fe
lea eax, [ebp - 0x18]
push eax
push 0x20106
push 0
push dword [0x60e4a0]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48d71a
test ebx, ebx
je 0x48d70d
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 0x48d7f8
mov edi, dword [str.SoftwarekingsoftOffice6.0Common]
lea ecx, [ebp - 0x24]
push 0x5c1a70
call fcn.00444960
push edi
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
push eax
call fcn.004297b0
push 0x5c1ba8
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x11
push eax
call fcn.004297b0
push dword [eax]
mov byte [ebp - 4], 0x12
push str.2508_tKUninstall::DeleteOldProductRegister_tDeleteValue:__ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
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 0x48d79a
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 0x48d7b4
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 0x48d7d2
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 0x48d7ee
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.004693e0
test al, al
jne 0x48d974
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x18], 0
test edi, edi
je 0x48d865
cmp dword [edi], 0
je 0x48d858
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48d82f
mov eax, 1
jmp 0x48d898
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48d85e
push 0
push dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0xf013f
push 0
push esi
push 0x80000002
call eax
jmp 0x48d87c
cmp dword [edi + 4], 0
jne 0x48d865
mov eax, 1
jmp 0x48d87c
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 0x48d898
test ebx, ebx
je 0x48d88b
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 0x48d974
push 0x5c1a70
lea ecx, [ebp - 0x1c]
call fcn.00444960
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x14
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042af40
push str.6.0
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x15
push eax
call fcn.004297b0
push dword [eax]
mov byte [ebp - 4], 0x16
push str.2517_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey_x64:__ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
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 0x48d915
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 0x48d92f
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 0x48d94d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b6f80
lea ecx, [ebp - 0x30]
call fcn.0043a160
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48d96d
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.0042a000
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x18], 0
test edi, edi
je 0x48d9e9
cmp dword [edi], 0
je 0x48d9dc
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48d9b3
mov eax, 1
jmp 0x48da1c
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48d9e2
push 0
push dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0x2001f
push 0
push esi
push 0x80000001
call eax
jmp 0x48da00
cmp dword [edi + 4], 0
jne 0x48d9e9
mov eax, 1
jmp 0x48da00
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 0x48da1c
test ebx, ebx
je 0x48da0f
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 0x48daec
push 0x5c1ccc
lea ecx, [ebp - 0x1c]
call fcn.00444960
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x18
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042af40
push 0x5c1cb4
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x19
push eax
call fcn.004297b0
push dword [eax]
mov byte [ebp - 4], 0x1a
push str.2526_tKUninstall::DeleteOldProductRegister_tRecurseDeleteKey:__ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
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 0x48da99
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 0x48dab3
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 0x48dacd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.kwatermark
lea ecx, [ebp - 0x30]
call fcn.0043a160
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48daef
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x48daef
or edi, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x48db04
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x48db0f
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.00429b00
int3