Function at 0x417435
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xfd0]
mov eax, 0x1050
call fcn.0042c290
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0xfcc], eax
push ebx
push esi
push edi
mov ebx, 0x206
xor edi, edi
push ebx
lea eax, [ebp + 0xdc6]
push edi
push eax
mov word [ebp + 0xdc4], di
call fcn.0042b8b0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0xdc4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4471bc
push 2
lea eax, [ebp + 0xdc4]
push 0x5c
push eax
call fcn.0042e95d
pop ecx
pop ecx
push eax
call fcn.0042b9b3
push ebx
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.0042b8b0
lea eax, [ebp + 0xdc4]
push eax
lea eax, [ebp + 0x194]
push esi
push eax
call fcn.0042b9b3
push str.kwsmain.exe
lea eax, [ebp + 0x194]
push esi
push eax
call fcn.0042b939
push ebx
lea eax, [ebp - 0x72]
push edi
push eax
mov word [ebp - 0x74], di
call fcn.0042b8b0
lea eax, [ebp + 0xdc4]
push eax
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.0042b9b3
add esp, 0x48
push str.kwstray.exe
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.0042b939
push ebx
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.0042b8b0
lea eax, [ebp + 0xdc4]
push eax
lea eax, [ebp + 0x7ac]
push esi
push eax
call fcn.0042b9b3
push 0x4497ec
lea eax, [ebp + 0x7ac]
push esi
push eax
call fcn.0042b939
add esp, 0x30
push 0xf003f
push str.SOFTWAREkingsoftkswsvc
push 0x80000002
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], edi
call fcn.0040126a
test eax, eax
je 0x41758b
push edi
push edi
push 0x2001f
push edi
push edi
push str.SOFTWAREkingsoftkswsvc
push 0x80000002
lea ecx, [ebp - 0x7c]
call fcn.00406745
push 1
lea eax, [ebp + 0xdc4]
push eax
push str.Installpath
lea ecx, [ebp - 0x7c]
call fcn.004067ad
push 4
lea eax, [ebp - 0x78]
push eax
push 4
push edi
push str.Version
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], 0x23
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 0xfd8]
push 4
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push 4
push edi
push str.mainChannelID
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 0xfdc]
push 4
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push 4
push edi
push str.subChannelID
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x78]
push eax
push 4
push edi
push str.chkhis
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x80]
push eax
push str.install
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], edi
call fcn.0040129f
inc dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
push 4
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push 4
push edi
push str.install
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [0x455b00], edi
je 0x417673
push 4
lea eax, [ebp - 0x78]
push eax
push 4
push edi
push str.forduba
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 0xfe0]
push 4
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push 4
push edi
push 0x446f84
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x7c]
call fcn.00401253
lea ecx, [ebp - 0x7c]
call fcn.00401253
push edi
push edi
lea eax, [ebp + 0x7ac]
push eax
push str.Kingsoft_Antivirus_WebShield_Service
call fcn.0041714a
push ebx
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.0042b8b0
push 0x446f58
lea eax, [ebp + 0x39c]
push esi
push eax
call fcn.0042b9b3
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x39c]
push esi
push eax
call fcn.0042b939
push 0x446f50
lea eax, [ebp + 0x39c]
push esi
push eax
call fcn.0042b939
add esp, 0x40
push str._install
lea eax, [ebp + 0x39c]
push esi
push eax
call fcn.0042b939
push 1
lea eax, [ebp + 0x39c]
push eax
push edi
call fcn.0041a332
push ebx
lea eax, [ebp + 0xbbe]
push edi
push eax
mov word [ebp + 0xbbc], di
call fcn.0042b8b0
push 0x446f58
lea eax, [ebp + 0xbbc]
push esi
push eax
call fcn.0042b9b3
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp + 0xbbc]
push esi
push eax
call fcn.0042b939
push 0x446f50
lea eax, [ebp + 0xbbc]
push esi
push eax
call fcn.0042b939
add esp, 0x48
push str._install
lea eax, [ebp + 0xbbc]
push esi
push eax
call fcn.0042b939
push edi
lea eax, [ebp + 0xbbc]
push eax
push edi
call fcn.0041a332
push ebx
lea eax, [ebp + 0x9b6]
push edi
push eax
mov word [ebp + 0x9b4], di
call fcn.0042b8b0
push 0x446f58
lea eax, [ebp + 0x9b4]
push esi
push eax
call fcn.0042b9b3
lea eax, [ebp + 0x7ac]
push eax
lea eax, [ebp + 0x9b4]
push esi
push eax
call fcn.0042b939
push 0x446f50
lea eax, [ebp + 0x9b4]
push esi
push eax
call fcn.0042b939
add esp, 0x48
push 0x44973c
lea eax, [ebp + 0x9b4]
push esi
push eax
call fcn.0042b939
push 1
lea eax, [ebp + 0x9b4]
push eax
push edi
call fcn.0041a332
add esp, 0x18
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea eax, [ebp + 0x5a6]
push edi
push eax
mov word [ebp + 0x5a4], di
call fcn.0042b8b0
push 0x446f58
lea eax, [ebp + 0x5a4]
push esi
push eax
call fcn.0042b9b3
lea eax, [ebp + 0x7ac]
push eax
lea eax, [ebp + 0x5a4]
push esi
push eax
call fcn.0042b939
push 0x446f50
lea eax, [ebp + 0x5a4]
push esi
push eax
call fcn.0042b939
push str._start
lea eax, [ebp + 0x5a4]
push esi
push eax
call fcn.0042b939
push 1
lea eax, [ebp + 0x5a4]
push eax
push edi
call fcn.0041a332
mov ecx, dword [ebp + 0xfcc]
add esp, 0x48
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042b92a
add ebp, 0xfd0
leave
ret