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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b710
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x485753
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 0x4850a0
movzx eax, ax
push eax
call fcn.004295b0
jmp 0x4850ac
push 0x33
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.00429870
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 0x2001f
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or esi, 0xffffffff
test eax, eax
jne 0x4851c0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push 0x5bcac0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
call fcn.004434e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042a710
push str.Kingsoft_Office
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
call fcn.00429080
push dword [eax]
mov byte [ebp - 4], 5
push str.2543_tKUninstall::DeleteNewUninstallLMReg_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 - 0x18]
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 0x48515a
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], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485178
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 0x485196
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b0368
lea ecx, [ebp - 0x2c]
call fcn.004395c0
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x4851b6
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.00429870
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x48522d
cmp dword [ebx], 0
je 0x485220
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4851f5
mov eax, 1
jmp 0x485247
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x485226
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call eax
jmp 0x485247
cmp dword [ebx + 4], 0
jne 0x48522d
mov eax, 1
jmp 0x485247
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 0x485403
test edi, edi
je 0x48525a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
test eax, eax
jne 0x485403
push 0x5bcac0
lea ecx, [ebp - 0x20]
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.languages
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.2550_tKUninstall::DeleteNewUninstallLMReg_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 - 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 0x4852e1
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 0x4852ff
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 0x48531d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b0750
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x5bcac0
lea ecx, [ebp - 0x18]
call fcn.004434e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a710
push str.OEM
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
call fcn.00429080
push dword [eax]
mov byte [ebp - 4], 0xb
push str.2552_tKUninstall::DeleteNewUninstallLMReg_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 - 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 0x48539d
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 0x4853bb
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 0x4853d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5bd11c
lea ecx, [ebp - 0x2c]
call fcn.004395c0
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x4853f9
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 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x10]
call fcn.00429870
call fcn.00478ce0
mov esi, dword [ebp - 0x10]
neg eax
mov dword [ebp - 0x14], 0
sbb eax, eax
and eax, 0x100
add eax, 0xf003f
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x485485
cmp dword [ebx], 0
je 0x485478
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x485451
mov eax, 1
jmp 0x485498
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48547e
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x18]
push 0
push esi
push 0x80000002
call eax
jmp 0x485498
cmp dword [ebx + 4], 0
jne 0x485485
mov eax, 1
jmp 0x485498
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x485646
xor ecx, ecx
test edi, edi
je 0x4854af
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 - 0x2c], edi
mov dword [ebp - 0x28], eax
test ecx, ecx
jne 0x485646
push 0x5bcac0
lea ecx, [ebp - 0x18]
call fcn.004434e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a710
push 0x5bd124
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xd
push eax
call fcn.00429080
push dword [eax]
mov byte [ebp - 4], 0xe
push str.2561_tKUninstall::DeleteNewUninstallLMReg_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 - 0x20]
add esp, 0x2c
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48553b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48555a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485579
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]
push 0x5bcac0
lea ecx, [ebp - 0x18]
call fcn.004434e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a710
push str.wpsphotoautoasso
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x10
push eax
call fcn.00429080
push dword [eax]
mov byte [ebp - 4], 0x11
push str.2563_tKUninstall::DeleteNewUninstallLMReg_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 - 0x20]
add esp, 0x2c
mov byte [ebp - 4], 0x10
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4855fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485619
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485638
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5b0880
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
call fcn.00478ce0
neg eax
mov dword [ebp - 0x18], 0
sbb eax, eax
and eax, 0x100
add eax, 0xf003f
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x4856bb
cmp dword [ebx], 0
je 0x4856ae
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x485682
mov eax, 1
jmp 0x4856d2
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4856b4
push 0
push dword [ebx]
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call eax
jmp 0x4856d5
cmp dword [ebx + 4], 0
jne 0x4856bb
mov eax, 1
jmp 0x4856d2
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [ebp - 0x14]
test eax, eax
jne 0x48571a
test edi, edi
je 0x4856e4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x18]
and ebx, 0x300
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
test eax, eax
jne 0x48571a
push str.wpsaddonsvr
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
je 0x485713
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x485736
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x485741
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