Function at 0x459e7e
Capabilities:
Set registry value

Disassembly:
push 0x38
mov eax, 0x4b2499
call fcn.00476529
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x45a15a
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x45a15a
mov dword [ebp - 0x34], ebx
call fcn.0045f262
test eax, eax
jne 0x459eb7
mov dword [ebp - 0x34], 1
jmp 0x459f0d
mov ecx, dword [esi + 8]
call fcn.0045f276
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403cb9
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.0047a83c
add esp, 0x18
cmp eax, 4
jne 0x459f05
cmp word [ebp - 0x1c], 0xb
jae 0x459f05
mov dword [ebp - 0x34], 1
lea ecx, [edi - 0x10]
call fcn.00402820
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.0046981e
mov ecx, dword [esi + 8]
add esp, 0xc
call fcn.0045f29b
mov ecx, dword [esi + 8]
mov edi, eax
call fcn.0045f2f3
mov ecx, eax
mov dword [ebp - 0x20], ecx
call fcn.0043ce30
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
call fcn.0043ce2c
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
call fcn.0043ce0c
mov dword [ebp - 0x40], eax
call fcn.0044f1ba
mov ecx, eax
call fcn.0044f0f3
mov ecx, dword [ebp - 0x20]
call fcn.0046f0c3
test eax, eax
jne 0x45a0cf
mov ecx, edi
call fcn.00431cdd
mov ecx, dword [ebp - 0x20]
call fcn.0043ce3c
test eax, eax
jne 0x45a0b0
call fcn.0044d186
push 0x2860
lea ecx, [ebp - 0x38]
call fcn.004024e0
mov eax, dword [eax]
push ebx
push ebx
push eax
call fcn.00477882
mov ecx, dword [ebp - 0x38]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [ebp - 0x24], eax
call fcn.00402820
push str.__showtrayicon
lea ecx, [ebp - 0x28]
call fcn.004024e0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24], ebx
je 0x459ff7
push 0x4d3260
lea ecx, [ebp - 0x28]
call fcn.00402766
mov ecx, dword [esi + 8]
call fcn.0045f262
test eax, eax
lea eax, [ebp - 0x28]
push eax
jne 0x45a046
lea eax, [ebp - 0x24]
cmp dword [0x4f7cc8], ebx
je 0x45a032
push str._TrayInstall__cleantrust
push eax
call fcn.00432cd1
add esp, 0xc
mov byte [ebp - 4], 1
push dword [eax]
mov ecx, edi
call fcn.00431622
mov ecx, dword [ebp - 0x24]
jmp 0x45a067
push str._TrayInstall__clean
push eax
call fcn.00432cd1
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x45a024
lea eax, [ebp - 0x44]
push str._TrayInstall
push eax
call fcn.00432cd1
add esp, 0xc
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00431622
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402820
cmp dword [ebp - 0x2c], ebx
je 0x45a07d
cmp dword [ebp - 0x40], 1
jne 0x45a0a1
cmp dword [ebp + 0xc], ebx
jne 0x45a095
cmp dword [ebp - 0x3c], ebx
je 0x45a095
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x45a09a
jmp 0x45a0a1
cmp dword [ebp + 8], ebx
je 0x45a0a1
mov ecx, edi
call fcn.00431a4b
mov ecx, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402820
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 8]
push ebx
call fcn.0045f7a8
push eax
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.004306d1
mov ecx, dword [ebp - 0x20]
call fcn.0043ce4c
test eax, eax
je 0x45a0fb
mov ecx, dword [esi + 8]
call fcn.0045f7a8
test eax, eax
jne 0x45a0fb
mov ecx, dword [ebp - 0x20]
call fcn.0043ce48
cmp eax, 1
jne 0x45a0fb
mov ecx, edi
call fcn.00431b0f
mov ecx, edi
call fcn.004321b0
mov ecx, edi
call fcn.00431bcf
mov ecx, dword [esi + 8]
call fcn.0045f2f7
push 0x4f9e00
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.004027fb
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 4
call fcn.00460be6
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004383f2
mov ecx, dword [esi + 8]
call fcn.0045f2cc
cmp eax, ebx
je 0x45a14f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00402820
call fcn.004765ac
ret 8