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

Disassembly:
push ebp
lea ebp, [esp - 0x11e8]
mov eax, 0x1268
call fcn.0042c290
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x11e4], eax
push ebx
push esi
mov esi, dword [ebp + 0x11fc]
push edi
xor edi, edi
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x58], 7
call fcn.00401734
lea eax, [ebp - 0x70]
push eax
call fcn.00418f6d
test eax, eax
pop ecx
je 0x419066
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x41904c
lea eax, [ebp - 0x6c]
push eax
call fcn.0040b2bf
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
pop ecx
jae 0x41905f
lea eax, [ebp - 0x6c]
push eax
call fcn.0041a465
pop ecx
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], edi
call fcn.0040126a
test eax, eax
jne 0x4190d6
push 0x3fe
lea eax, [ebp + 0xde6]
push edi
push eax
mov word [ebp + 0xde4], di
call fcn.0042b8b0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xde4]
push eax
mov ebx, str.kwsuninstalldel
push ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x78], 0x200
call fcn.004012d7
test eax, eax
je 0x4190d6
push 1
lea eax, [ebp + 0xde4]
push eax
push ebx
lea ecx, [ebp - 0x7c]
call fcn.004067ad
lea ecx, [ebp - 0x7c]
call fcn.00401253
mov ebx, 0x206
push ebx
lea eax, [ebp + 0xbde]
push edi
push eax
mov word [ebp + 0xbdc], di
call fcn.0042b8b0
add esp, 0xc
cmp esi, edi
lea eax, [ebp + 0xbdc]
jne 0x419135
mov esi, 0x104
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4471bc
push 2
lea eax, [ebp + 0xbdc]
push 0x5c
push eax
call fcn.0042e95d
pop ecx
pop ecx
push eax
call fcn.0042b9b3
add esp, 0xc
jmp 0x419155
push esi
mov esi, 0x104
push esi
push eax
call fcn.0042b9b3
add esp, 0xc
lea eax, [ebp + 0xbdc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov dword [ebp - 0x74], edi
push ebx
lea eax, [ebp + 0x5c6]
push edi
push eax
mov word [ebp + 0x5c4], di
call fcn.0042b8b0
lea eax, [ebp + 0xbdc]
push eax
lea eax, [ebp + 0x5c4]
push esi
push eax
call fcn.0042b9b3
push str.kwsmain.exe
lea eax, [ebp + 0x5c4]
push esi
push eax
call fcn.0042b939
push ebx
lea eax, [ebp + 0x1b6]
push edi
push eax
mov word [ebp + 0x1b4], di
call fcn.0042b8b0
lea eax, [ebp + 0xbdc]
push eax
lea eax, [ebp + 0x1b4]
push esi
push eax
call fcn.0042b9b3
push str.kwstray.exe
lea eax, [ebp + 0x1b4]
push esi
push eax
call fcn.0042b939
add esp, 0x48
push ebx
lea eax, [ebp - 0x52]
push edi
push eax
mov word [ebp - 0x54], di
call fcn.0042b8b0
lea eax, [ebp + 0xbdc]
push eax
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0042b9b3
push 0x4497ec
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0042b939
push ebx
lea eax, [ebp + 0x3be]
push edi
push eax
mov word [ebp + 0x3bc], di
call fcn.0042b8b0
lea eax, [ebp + 0xbdc]
push eax
lea eax, [ebp + 0x3bc]
push esi
push eax
call fcn.0042b9b3
push str.KWSUpreport.exe
lea eax, [ebp + 0x3bc]
push esi
push eax
call fcn.0042b939
add esp, 0x48
cmp dword [ebp + 0x11f8], edi
jne 0x4192b0
push ebx
lea eax, [ebp + 0xfde]
push edi
push eax
mov word [ebp + 0xfdc], di
call fcn.0042b8b0
push 0x446f58
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0042b9b3
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0042b939
push 0x446f50
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0042b939
push str._uninstall
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0042b939
push edi
lea eax, [ebp + 0xfdc]
push eax
push edi
call fcn.0041a332
add esp, 0x48
push ebx
lea eax, [ebp + 0x9d6]
push edi
push eax
mov word [ebp + 0x9d4], di
call fcn.0042b8b0
push 0x446f58
lea eax, [ebp + 0x9d4]
push esi
push eax
call fcn.0042b9b3
lea eax, [ebp + 0x5c4]
push eax
lea eax, [ebp + 0x9d4]
push esi
push eax
call fcn.0042b939
push 0x446f50
lea eax, [ebp + 0x9d4]
push esi
push eax
call fcn.0042b939
push str._close
lea eax, [ebp + 0x9d4]
push esi
push eax
call fcn.0042b939
push 1
lea eax, [ebp + 0x9d4]
push eax
push edi
call fcn.0041a332
add esp, 0x48
cmp dword [ebp - 0x74], edi
je 0x419396
push ebx
lea eax, [ebp + 0xfde]
push edi
push eax
mov word [ebp + 0xfdc], di
call fcn.0042b8b0
push 0x446f58
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0042b9b3
lea eax, [ebp + 0x5c4]
push eax
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0042b939
push 0x446f50
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0042b939
push 0x449cf0
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0042b939
push edi
lea eax, [ebp + 0xfdc]
push eax
push edi
call fcn.0041a332
add esp, 0x48
push ebx
lea eax, [ebp + 0x7ce]
push edi
push eax
mov word [ebp + 0x7cc], di
call fcn.0042b8b0
push 0x446f58
lea eax, [ebp + 0x7cc]
push esi
push eax
call fcn.0042b9b3
lea eax, [ebp + 0x1b4]
push eax
lea eax, [ebp + 0x7cc]
push esi
push eax
call fcn.0042b939
push 0x446f50
lea eax, [ebp + 0x7cc]
push esi
push eax
call fcn.0042b939
push str._close
lea eax, [ebp + 0x7cc]
push esi
push eax
call fcn.0042b939
push 1
lea eax, [ebp + 0x7cc]
push eax
push edi
call fcn.0041a332
add esp, 0x48
push 0xf003f
push str.SOFTWAREkingsoftkswsvc
push 0x80000002
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], edi
call fcn.0040126a
test eax, eax
je 0x419440
push edi
push edi
push 0x2001f
push edi
push edi
push str.SOFTWAREkingsoftkswsvc
push 0x80000002
lea ecx, [ebp - 0x78]
call fcn.00406745
push str.Installpath
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x74]
push eax
push str.uninstall
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], edi
call fcn.0040129f
inc dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
push 4
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
push 4
push edi
push str.uninstall
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.forduba
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.Version
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.autosetting
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x446f84
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x78]
call fcn.00401253
push 0xf003f
push str.SOFTWAREKingsoftKISCommonUpdate
push 0x80000002
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], edi
call fcn.0040126a
test eax, eax
jne 0x4194ee
push str.Pr16Vctl
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x74]
call fcn.00401253
push 0xf003f
push str.softwarekingsoftKSWProID
push 0x80000002
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], edi
call fcn.0040126a
test eax, eax
jne 0x419522
push str.ProductID
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x74]
call fcn.00401253
push edi
lea eax, [ebp + 0x3bc]
push edi
push eax
call fcn.0041a332
add esp, 0xc
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], edi
call fcn.0040126a
test eax, eax
jne 0x41956f
push str.kwstray
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x74]
call fcn.00401253
lea ecx, [ebp - 0x74]
call fcn.00401253
cmp dword [ebp + 0x11f8], edi
jne 0x4195b0
push ebx
lea eax, [ebp + 0xfde]
push edi
push eax
mov word [ebp + 0xfdc], di
call fcn.0042b8b0
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0040b321
lea eax, [ebp + 0xfdc]
push eax
call fcn.0041a465
add esp, 0x18
cmp dword [ebp + 0x11f0], edi
je 0x4195c5
lea eax, [ebp + 0xbdc]
push eax
call fcn.0041a465
pop ecx
call fcn.00417d92
call fcn.00417dd0
lea ecx, [ebp - 0x7c]
call fcn.00401253
push edi
push 1
lea ecx, [ebp - 0x70]
call fcn.00401f6b
mov ecx, dword [ebp + 0x11e4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042b92a
add ebp, 0x11e8
leave
ret