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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4af5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 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.00429250
mov ecx, eax
test ecx, ecx
je 0x48d8b8
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 0x48d250
movzx eax, ax
push eax
call fcn.00429d90
jmp 0x48d25c
push 0x33
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.0042a060
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 0x48d289
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 0x48d368
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.Kingsoft_Office
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.2802_tKUninstall::DeleteNewUninstallLMReg_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 - 0x18]
add esp, 0x2c
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d306
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 0x48d320
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 0x48d33e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5bbef8
lea ecx, [ebp - 0x28]
call fcn.0043a090
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x48d35e
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.0042a060
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x48d3d9
cmp dword [ebx], 0
je 0x48d3cc
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48d3a1
mov eax, 1
jmp 0x48d40f
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48d3d2
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push dword [ebp - 0x10]
push 0x80000002
call eax
jmp 0x48d3f3
cmp dword [ebx + 4], 0
jne 0x48d3d9
mov eax, 1
jmp 0x48d3f3
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 0x48d40f
test edi, edi
je 0x48d402
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 0x48d59d
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.languages
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.2809_tKUninstall::DeleteNewUninstallLMReg_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 - 0x1c]
add esp, 0x2c
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d489
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 0x48d4a3
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 0x48d4c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5bc304
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x5c6a60
lea ecx, [ebp - 0x14]
call fcn.004444c0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042afa0
push str.OEM
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
push eax
call fcn.00429810
push dword [eax]
mov byte [ebp - 4], 0xd
push str.2811_tKUninstall::DeleteNewUninstallLMReg_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 0x48d53b
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 0x48d555
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 0x48d573
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5c7564
lea ecx, [ebp - 0x28]
call fcn.0043a090
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x48d593
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.0042a060
call fcn.0047e850
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 0x48d621
cmp dword [ebx], 0
je 0x48d614
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48d5ed
lea ecx, [eax + 1]
jmp 0x48d658
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48d61a
push 0
push dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x18]
push 0
push esi
push 0x80000002
call eax
jmp 0x48d634
cmp dword [ebx + 4], 0
jne 0x48d621
mov ecx, 1
jmp 0x48d636
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 0x48d658
test edi, edi
je 0x48d647
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 0x48d7ce
push 0x5c6a60
lea ecx, [ebp - 0x14]
call fcn.004444c0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042afa0
push 0x5c756c
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
push eax
call fcn.00429810
push dword [eax]
mov byte [ebp - 4], 0x11
push str.2820_tKUninstall::DeleteNewUninstallLMReg_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 - 0x1c]
add esp, 0x2c
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d6d3
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 0x48d6ee
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 0x48d70d
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 0x5c6a60
lea ecx, [ebp - 0x14]
call fcn.004444c0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x12
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042afa0
push str.wpsphotoautoasso
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
push eax
call fcn.00429810
push dword [eax]
mov byte [ebp - 4], 0x14
push str.2822_tKUninstall::DeleteNewUninstallLMReg_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 - 0x1c]
add esp, 0x2c
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d788
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 0x48d7a3
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 0x48d7c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5bc428
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
call fcn.0047e850
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 0x48d83f
cmp dword [ebx], 0
je 0x48d832
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48d883
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48d838
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 0x48d856
cmp dword [ebx + 4], 0
jne 0x48d83f
mov eax, 1
jmp 0x48d856
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 0x48d883
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x48d867
push edi
call ebx
mov edi, dword [ebp - 0x14]
test eax, eax
jne 0x48d883
push str.wpsaddonsvr
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
je 0x48d883
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 0x48d89b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x48d8a6
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.00429b60
int3