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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bdd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x47f6ea
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 0x47f1d0
movzx eax, ax
push eax
call fcn.00426130
jmp 0x47f1dc
push 0x33
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
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 0x47f2f0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push str.HKEY_LOCAL_MACHINE_
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
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.Kingsoft_Office
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.2226_tKUninstall::DeleteNewUninstallLMReg_tRecurseDeleteKey:__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 0x47f28a
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 0x47f2a8
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 0x47f2c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b4034
lea ecx, [ebp - 0x2c]
call fcn.004349b0
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x47f2e6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x2c], edi
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0x18
push str.SoftwareKingsoftOffice
lea ecx, [ebp - 0x10]
call fcn.004263f0
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x47f35d
cmp dword [ebx], 0
je 0x47f350
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x47f325
mov eax, 1
jmp 0x47f377
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47f356
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call eax
jmp 0x47f377
cmp dword [ebx + 4], 0
jne 0x47f35d
mov eax, 1
jmp 0x47f377
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 0x47f52e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x47f38c
push edi
call ebx
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
test eax, eax
jne 0x47f52e
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp - 0x20]
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.languages
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.2233_tKUninstall::DeleteNewUninstallLMReg_tDeleteValue:__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 0x47f413
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 0x47f431
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f44f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b441c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp - 0x18]
call fcn.0043f4e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00427170
push str.OEM
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
call fcn.00425c00
push dword [eax]
mov byte [ebp - 4], 0xb
push str.2235_tKUninstall::DeleteNewUninstallLMReg_tRecurseDeleteKey:__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
mov edx, dword [ebp - 0x20]
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 0x47f4cf
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], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f4ed
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], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f50b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5c485c
lea ecx, [ebp - 0x2c]
call fcn.004349b0
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x47f527
push edi
call ebx
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
push 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x10]
call fcn.004263f0
call fcn.004742e0
mov esi, dword [ebp - 0x10]
neg eax
mov dword [ebp - 0x14], 0
sbb ebx, ebx
mov eax, dword [ebp - 0x24]
and ebx, 0x100
add ebx, 0xf003f
test eax, eax
je 0x47f5b3
cmp dword [eax], 0
je 0x47f5a6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x47f57e
mov eax, 1
jmp 0x47f5c6
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47f5ac
mov ecx, dword [ebp - 0x24]
push 0
push dword [ecx]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 0
push esi
push 0x80000002
call eax
jmp 0x47f5c6
cmp dword [eax + 4], 0
jne 0x47f5b3
mov eax, 1
jmp 0x47f5c6
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47f6b1
test edi, edi
je 0x47f5d9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x14]
and ebx, 0x300
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
test eax, eax
jne 0x47f6b1
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp - 0x18]
call fcn.0043f4e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00427170
push 0x5c4864
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xd
push eax
call fcn.00425c00
push dword [eax]
mov byte [ebp - 4], 0xe
push str.2244_tKUninstall::DeleteNewUninstallLMReg_tDeleteValue:__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
mov edx, dword [ebp - 0x20]
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 0x47f665
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], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f683
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], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f6a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.WPSPreInstallSetup
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x47f6b4
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47f6cd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x47f6d8
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