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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0545
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 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.004291f0
mov ecx, eax
test ecx, ecx
je 0x48cf58
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x48c8f0
movzx eax, ax
push eax
call fcn.00429d30
jmp 0x48c8fc
push 0x33
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.0042a000
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 0x48c929
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
or esi, 0xffffffff
mov byte [ebp - 4], 2
test eax, eax
jne 0x48ca08
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.Kingsoft_Office
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.2799_tKUninstall::DeleteNewUninstallLMReg_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 - 0x18]
add esp, 0x2c
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48c9a6
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 0x48c9c0
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 0x48c9de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b6f88
lea ecx, [ebp - 0x28]
call fcn.0043a160
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x48c9fe
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.0042a000
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x48ca79
cmp dword [ebx], 0
je 0x48ca6c
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48ca41
mov eax, 1
jmp 0x48caaf
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48ca72
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call eax
jmp 0x48ca93
cmp dword [ebx + 4], 0
jne 0x48ca79
mov eax, 1
jmp 0x48ca93
lea eax, [ebp - 0x14]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call eax
test eax, eax
jne 0x48caaf
test edi, edi
je 0x48caa2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
test eax, eax
jne 0x48cc3d
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.languages
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.2806_tKUninstall::DeleteNewUninstallLMReg_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 - 0x1c]
add esp, 0x2c
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48cb29
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 0x48cb43
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 0x48cb61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b7370
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x5c1a70
lea ecx, [ebp - 0x14]
call fcn.00444960
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042af40
push str.OEM
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
push eax
call fcn.004297b0
push dword [eax]
mov byte [ebp - 4], 0xd
push str.2808_tKUninstall::DeleteNewUninstallLMReg_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 0x48cbdb
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 0x48cbf5
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 0x48cc13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5c2574
lea ecx, [ebp - 0x28]
call fcn.0043a160
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x48cc33
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 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x10]
call fcn.0042a000
call fcn.0047e670
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0xf003f
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x48ccc1
cmp dword [ebx], 0
je 0x48ccb4
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48cc8d
lea ecx, [eax + 1]
jmp 0x48ccf8
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48ccba
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x18]
push 0
push esi
push 0x80000002
call eax
jmp 0x48ccd4
cmp dword [ebx + 4], 0
jne 0x48ccc1
mov ecx, 1
jmp 0x48ccd6
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x48ccf8
test edi, edi
je 0x48cce7
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
and eax, 0x300
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
test ecx, ecx
jne 0x48ce6e
push 0x5c1a70
lea ecx, [ebp - 0x14]
call fcn.00444960
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042af40
push 0x5c257c
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
push eax
call fcn.004297b0
push dword [eax]
mov byte [ebp - 4], 0x11
push str.2817_tKUninstall::DeleteNewUninstallLMReg_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 - 0x1c]
add esp, 0x2c
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48cd73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48cd8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48cdad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.WPSPreInstallSetup
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x5c1a70
lea ecx, [ebp - 0x14]
call fcn.00444960
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x12
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042af40
push str.wpsphotoautoasso
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
push eax
call fcn.004297b0
push dword [eax]
mov byte [ebp - 4], 0x14
push str.2819_tKUninstall::DeleteNewUninstallLMReg_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 - 0x1c]
add esp, 0x2c
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ce28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ce43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ce62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b7494
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
call fcn.0047e670
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0xf003f
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x48cedf
cmp dword [ebx], 0
je 0x48ced2
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48cf23
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48ced8
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x1c]
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call eax
jmp 0x48cef6
cmp dword [ebx + 4], 0
jne 0x48cedf
mov eax, 1
jmp 0x48cef6
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48cf23
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x48cf07
push edi
call ebx
mov edi, dword [ebp - 0x14]
test eax, eax
jne 0x48cf23
push str.wpsaddonsvr
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
je 0x48cf23
push edi
call ebx
xor edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48cf3b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x48cf46
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.00429b00
int3