Function at 0x45927b
Capabilities:
Set registry value

Disassembly:
push 0x38
mov eax, 0x4b2361
call fcn.00476519
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x459557
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x459557
mov dword [ebp - 0x34], ebx
call fcn.0045e717
test eax, eax
jne 0x4592b4
mov dword [ebp - 0x34], 1
jmp 0x45930a
mov ecx, dword [esi + 8]
call fcn.0045e72b
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403c36
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x16]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x1c]
push eax
push str._d._d._d._d
push edi
call fcn.0047a82c
add esp, 0x18
cmp eax, 4
jne 0x459302
cmp word [ebp - 0x1c], 0xb
jae 0x459302
mov dword [ebp - 0x34], 1
lea ecx, [edi - 0x10]
call fcn.00402963
push 4
lea eax, [ebp - 0x34]
push eax
push 4
push str.360Preview
push str.Software360Safe_safemon
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.RFlags
push str.SOFTWARE360Safe360krnlsvc
push edi
call fcn.004697ac
mov ecx, dword [esi + 8]
add esp, 0xc
call fcn.0045e750
mov ecx, dword [esi + 8]
mov edi, eax
call fcn.0045e7a8
mov ecx, eax
mov dword [ebp - 0x20], ecx
call fcn.0043cdc4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
call fcn.0043cdc0
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
call fcn.0043cda0
mov dword [ebp - 0x40], eax
call fcn.0044ebc5
mov ecx, eax
call fcn.0044eafe
mov ecx, dword [ebp - 0x20]
call fcn.0043cde4
test eax, eax
jne 0x4594cc
mov ecx, edi
call fcn.00431cca
mov ecx, dword [ebp - 0x20]
call fcn.0043cdd0
test eax, eax
jne 0x4594ad
call fcn.0044cbc2
push 0x2860
lea ecx, [ebp - 0x38]
call fcn.0040260e
mov eax, dword [eax]
push ebx
push ebx
push eax
call fcn.00477872
mov ecx, dword [ebp - 0x38]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [ebp - 0x24], eax
call fcn.00402963
push str.__showtrayicon
lea ecx, [ebp - 0x28]
call fcn.0040260e
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24], ebx
je 0x4593f4
push 0x4d3230
lea ecx, [ebp - 0x28]
call fcn.00402894
mov ecx, dword [esi + 8]
call fcn.0045e717
test eax, eax
lea eax, [ebp - 0x28]
push eax
jne 0x459443
lea eax, [ebp - 0x24]
cmp dword [0x4f7cc8], ebx
je 0x45942f
push str._TrayInstall__cleantrust
push eax
call fcn.00432c5f
add esp, 0xc
mov byte [ebp - 4], 1
push dword [eax]
mov ecx, edi
call fcn.0043161d
mov ecx, dword [ebp - 0x24]
jmp 0x459464
push str._TrayInstall__clean
push eax
call fcn.00432c5f
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x459421
lea eax, [ebp - 0x44]
push str._TrayInstall
push eax
call fcn.00432c5f
add esp, 0xc
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0043161d
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402963
cmp dword [ebp - 0x2c], ebx
je 0x45947a
cmp dword [ebp - 0x40], 1
jne 0x45949e
cmp dword [ebp + 0xc], ebx
jne 0x459492
cmp dword [ebp - 0x3c], ebx
je 0x459492
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x459497
jmp 0x45949e
cmp dword [ebp + 8], ebx
je 0x45949e
mov ecx, edi
call fcn.00431a38
mov ecx, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402963
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 8]
push ebx
call fcn.0045ec2a
push eax
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.00430721
mov ecx, dword [ebp - 0x20]
call fcn.0043cde0
test eax, eax
je 0x4594f8
mov ecx, dword [esi + 8]
call fcn.0045ec2a
test eax, eax
jne 0x4594f8
mov ecx, dword [ebp - 0x20]
call fcn.0043cddc
cmp eax, 1
jne 0x4594f8
mov ecx, edi
call fcn.00431afc
mov ecx, edi
call fcn.0043219d
mov ecx, edi
call fcn.00431bbc
mov ecx, dword [esi + 8]
call fcn.0045e7ac
push 0x4f9e00
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.0040293e
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 4
call fcn.004600b7
push dword [ebp - 0x30]
mov ecx, edi
call fcn.0043837d
mov ecx, dword [esi + 8]
call fcn.0045e781
cmp eax, ebx
je 0x45954c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00402963
call fcn.0047659c
ret 8