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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522dc3
mov eax, dword fs:[0]
push eax
sub esp, 0xacc
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa94], ecx
push 0x20a
lea eax, [ebp - 0x864]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.JPEG_file_.jpg_.jpeg_.jpg_.jpeg_PNG_file_.png_.pngBitmap_file_.bmp_.bmpAll_files_._.
push 0x5312ac
lea eax, [ebp - 0x864]
push 0x104
push eax
call fcn.004f0210
lea eax, [ebp - 0x864]
push eax
call fcn.004f7ff0
push 0x20a
lea eax, [ebp - 0xa70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x528aec
push 0x5312ac
lea eax, [ebp - 0xa70]
push 0x104
push eax
call fcn.004f0210
lea eax, [ebp - 0xa98]
mov dword [ebp - 0xa98], 2
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0xaa4]
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.004f83d0
add esp, 0x44
push dword [ebp - 0xaa4]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push 0x5312ac
push 0x14
push eax
call fcn.004f0210
push 0x20a
lea eax, [ebp - 0x450]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.Option
push str.SoftwareCatchScreen
push 0x52892c
lea eax, [ebp - 0x450]
push 0x104
push eax
call fcn.004f0210
push 0x20a
lea eax, [ebp - 0x244]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x38
mov esi, esp
mov dword [ebp - 0xaac], esp
mov dword [ebp - 0xaa8], esi
call fcn.00404590
mov ecx, eax
test ecx, ecx
je 0x4ff15d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x52875c
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004037a0
test al, al
jne 0x4feb1c
push 2
push 0x52875c
mov ecx, esi
call fcn.00403c10
lea eax, [ebp - 0xaa0]
mov byte [ebp - 4], 2
push eax
call fcn.004df840
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.004e3460
lea eax, [ebp - 0xa9c]
mov byte [ebp - 4], 3
push eax
call fcn.004df840
mov ecx, eax
call fcn.004e1b40
lea eax, [ebp - 0xa8c]
mov byte [ebp - 4], 4
push eax
call fcn.004df840
mov ecx, eax
call fcn.004e1150
push 0x528af4
lea ecx, [ebp - 0xa8c]
mov byte [ebp - 4], 5
call fcn.004f6670
mov eax, dword [ebp - 0xaa0]
lea ecx, [ebp - 0xa8c]
push dword [eax - 0xc]
push eax
call fcn.004874e0
push 0x528af8
lea ecx, [ebp - 0xa8c]
call fcn.004f6670
mov eax, dword [ebp - 0xa9c]
lea ecx, [ebp - 0xa8c]
push dword [eax - 0xc]
push eax
call fcn.004874e0
push 0x531c74
push 0x528afc
lea ecx, [ebp - 0xa8c]
call fcn.0041fe60
mov eax, dword [ebp - 0xa8c]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x4ff153
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4febfc
push esi
lea ecx, [ebp - 0xa8c]
call fcn.004039e0
mov eax, dword [ebp - 0xa8c]
lea ecx, [esi + 1]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov eax, dword [ebp - 0xa8c]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x4ff153
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0xa8c]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0xa8c]
cmp dword [eax - 4], 1
jle 0x4fec48
push dword [eax - 0xc]
lea ecx, [ebp - 0xa8c]
call fcn.004038f0
mov eax, dword [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x244]
push 0x104
push eax
call fcn.004f0210
push 0x208
lea eax, [ebp - 0x658]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0xaa8], 1
lea eax, [ebp - 0xabc]
mov dword [ebp - 0xabc], 0x208
push eax
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0xaa8]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or edi, 0xffffffff
test eax, eax
jne 0x4fed98
call fcn.00404590
mov ecx, eax
test ecx, ecx
je 0x4ff167
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xa90], eax
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xa90]
call fcn.004037a0
test al, al
jne 0x4fed22
lea ecx, [ebp - 0x244]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fed00
sub ecx, edx
lea eax, [ebp - 0x244]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa90]
call fcn.00403c10
mov esi, dword [ebp - 0xa90]
mov byte [ebp - 4], 5
cmp dword [esi - 0xc], 0
jl 0x4fed81
lea eax, [ebp - 0x658]
push eax
push esi
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x4fed81
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4fed81
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
or edi, 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4ff0b1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4ff0b1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4fed98
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0xa98]
push 4
push eax
push 4
push str.SaveAsIndexEx
lea eax, [ebp - 0x450]
push eax
push SysReAllocString
call esi
lea eax, [ebp - 0x244]
push 0x2e
push eax
call sub.VCRUNTIME140.dll_wcsrchr
mov edx, eax
add esp, 8
test edx, edx
je 0x4fee0e
add edx, 2
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xa90], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fede1
sub ecx, dword [ebp - 0xa90]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push str.SaveDefExtend
lea eax, [ebp - 0x450]
push eax
push SysReAllocString
call esi
mov esi, dword [ebp - 0xa94]
cmp dword [esi + 0x180], 7
je 0x4fee59
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 0xa94]
mov esi, eax
push esi
call fcn.004f6c40
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.004f1bb0
add esp, 0xc
push esi
mov esi, dword [ebp - 0xa94]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4ff032
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0xa90]
push eax
call fcn.004ae8c0
add esp, 8
lea eax, [esi + 0x1d4]
mov dword [ebp - 0xad0], 0
mov dword [ebp - 0xad4], eax
mov eax, dword [ebp - 0xa90]
mov dword [ebp - 0xacc], 0
mov dword [ebp - 0xad8], 0x1010000
mov byte [ebp - 4], 7
cmp dword [eax - 4], 1
jle 0x4feebd
push dword [eax - 0xc]
lea ecx, [ebp - 0xa90]
call fcn.004081b0
mov eax, dword [ebp - 0xa90]
mov edx, eax
mov dword [ebp - 0xa78], 0
xorps xmm0, xmm0
mov dword [ebp - 0xa74], 0
movups xmmword [ebp - 0xa88], xmm0
lea ecx, [edx + 1]
mov dword [ebp - 0xa94], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4feee6
sub edx, dword [ebp - 0xa94]
lea ecx, [ebp - 0xa88]
push edx
push eax
call fcn.0040af70
mov dword [ebp - 0xab8], 0
mov dword [ebp - 0xab4], 0
mov dword [ebp - 0xab0], 0
lea eax, [ebp - 0xab8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xad8]
push eax
lea eax, [ebp - 0xa88]
push eax
call sub.opencv_world455.dll_bool___cdecl_cv::imwrite_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_cv::_InputArray_const___class_std::vector_int__class_std::allocator_int___const__
mov ecx, dword [ebp - 0xab8]
add esp, 0xc
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4fefa1
mov eax, dword [ebp - 0xab0]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fef79
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fefd1
push edx
push ecx
call fcn.0050e5c2
add esp, 8
mov dword [ebp - 0xab8], 0
mov dword [ebp - 0xab4], 0
mov dword [ebp - 0xab0], 0
mov ecx, dword [ebp - 0xa74]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x4fefe1
mov edx, dword [ebp - 0xa88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4fefd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4fefd7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050e5c2
add esp, 8
cmp dword [ebp + 8], 0
mov dword [ebp - 0xa78], 0
mov dword [ebp - 0xa74], 0xf
mov byte [ebp - 0xa88], 0
je 0x4ff011
push 1
push dword [ebp - 0xa90]
mov ecx, esi
call fcn.004f69d0
mov edx, dword [ebp - 0xa90]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ff032
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x244]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ff040
sub ecx, edx
mov dword [ebp - 0xac8], 0x3ed
sar ecx, 1
mov dword [ebp - 0xaac], 0
lea eax, [ecx*2 + 2]
mov dword [ebp - 0xac4], eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0xac0], eax
lea eax, [ebp - 0xaac]
push eax
push 0xbb8
push 0
lea eax, [ebp - 0xac8]
push eax
push dword [esi + 4]
push 0x4a
call fcn.004f8020
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0xa8c]
mov eax, edi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ff0d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa9c]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ff0f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xaa0]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ff114
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xaa4]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4ff136
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404110
push 0x80004005
call fcn.00404110
push 0x80004005
call fcn.00404110
int3