Function at 0x415184
Capabilities:
Persist via app paths registry key
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
push 0xa8c
mov eax, 0x56954f
call fcn.005106a0
mov ebx, ecx
xor eax, eax
push 0x20a
push eax
mov dword [ebp - 0xa98], eax
lea eax, [ebp - 0x458]
push eax
call fcn.00516940
add esp, 0xc
lea eax, [ebp - 0x458]
mov esi, 0x5893bc
mov edi, 0x104
push str.JPEG_file_.jpg_.jpeg_.jpg_.jpeg_PNG_file_.png_.pngBitmap_file_.bmp_.bmpAll_files_._.
push esi
push edi
push eax
call fcn.00408e72
lea ecx, [ebp - 0x458]
call fcn.00414c0f
xor eax, eax
push 0x20a
push eax
lea eax, [ebp - 0xa80]
push eax
call fcn.00516940
add esp, 0x1c
lea eax, [ebp - 0xa80]
push 0x58c63c
push esi
push edi
push eax
call fcn.00408e72
push 0xa
pop ecx
xor eax, eax
mov dword [ebp - 0xa88], 2
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0xa88]
lea ecx, [ebp - 0xa8c]
call fcn.00414c2b
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x38]
push dword [ebp - 0xa8c]
push esi
push 0x14
push eax
call fcn.00408e72
mov edi, 0x20a
xor eax, eax
push edi
push eax
lea eax, [ebp - 0x668]
push eax
call fcn.00516940
add esp, 0x2c
lea eax, [ebp - 0x668]
mov esi, 0x104
push str.Option
push str.SoftwareCatchScreen
push 0x58c430
push esi
push eax
call fcn.00408e72
add esp, 0x14
lea eax, [ebp - 0x248]
push edi
xor edi, edi
push edi
push eax
call fcn.00516940
add esp, 0xc
lea ecx, [ebp - 0xa84]
call fcn.00414d2f
push dword [eax]
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.00408e72
add esp, 0xc
mov ecx, dword [ebp - 0xa84]
add ecx, 0xfffffff0
call fcn.00409cc2
mov edx, dword [ebx + 4]
lea eax, [ebp - 0xa88]
push ecx
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0xa80]
push eax
call fcn.0041e2da
add esp, 0x1c
test eax, eax
je 0x415446
mov esi, 0x208
lea eax, [ebp - 0x870]
push esi
push edi
push eax
call fcn.00516940
add esp, 0xc
mov dword [ebp - 0xa94], 1
lea eax, [ebp - 0xa90]
mov dword [ebp - 0xa90], esi
push eax
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0xa94]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41539c
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0xa84]
call fcn.0040941c
push edi
lea eax, [ebp - 0x870]
push eax
lea ecx, [ebp - 0xa84]
call fcn.00407b8a
cmp eax, 0xffffffff
je 0x41538e
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xa84]
lea ecx, [ecx - 0x10]
call fcn.00409cc2
jmp 0x415446
mov ecx, dword [ebp - 0xa84]
lea ecx, [ecx - 0x10]
call fcn.00409cc2
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0xa88]
push 4
push eax
push 4
push str.SaveAsIndexEx
lea eax, [ebp - 0x668]
push eax
push SysReAllocString
call esi
lea eax, [ebp - 0x248]
push 0x2e
push eax
call fcn.00512c04
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0x41540d
add edx, 2
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xa98]
jne 0x4153de
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push str.SaveDefExtend
lea eax, [ebp - 0x668]
push eax
push SysReAllocString
call esi
xor edi, edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov ecx, ebx
push esi
call fcn.004159ab
mov edx, eax
lea ecx, [ebp - 0x248]
call fcn.0040d58f
pop ecx
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xa8c]
lea ecx, [ecx - 0x10]
call fcn.00409cc2
call fcn.0051064a
ret