Function at 0x407b10
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454524
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x47f060]
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 ebx, edx
mov dword [ebp - 0x438], ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
call fcn.00410c00
xor eax, eax
push eax
push 0x45ec1c
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x4a4], 7
mov dword [ebp - 0x4a8], 0
mov word [ebp - 0x4b8], ax
call fcn.00406c00
xor eax, eax
push 0xffffffffffffffff
mov dword [ebp - 4], 0
push eax
push esi
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x45c], 7
mov dword [ebp - 0x460], 0
mov word [ebp - 0x470], ax
call fcn.00406870
xor eax, eax
push 0xffffffffffffffff
mov byte [ebp - 4], 1
push eax
push edi
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], ax
call fcn.00406870
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x438]
xor eax, eax
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x474], 7
mov dword [ebp - 0x478], 0
mov word [ebp - 0x488], ax
call fcn.00406870
xor eax, eax
push 0xffffffffffffffff
mov byte [ebp - 4], 3
push eax
push ebx
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
call fcn.00406870
push str.YAC_
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 8
call fcn.00406d00
mov byte [ebp - 4], 9
cmp dword [ebp - 0x4a8], 0
je 0x407cc5
lea eax, [ebp - 0x4b8]
push eax
mov edx, 0x45ebf0
lea ecx, [ebp - 0x4d0]
call fcn.00411570
add esp, 4
push 0x45ebf0
mov edx, eax
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 0xa
call fcn.00411660
add esp, 4
lea ecx, [ebp - 0x428]
push eax
call fcn.00404f50
lea ecx, [ebp - 0x4e8]
call fcn.00401100
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 9
call fcn.00401100
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x488]
push eax
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x428]
call fcn.0042c5c0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
cmp dword [ebp - 0x414], 8
jb 0x407d08
push dword [ebp - 0x428]
call esi
add esp, 4
cmp dword [ebp - 0x444], 8
jb 0x407d1c
push dword [ebp - 0x458]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x474], 8
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
jb 0x407d4d
push dword [ebp - 0x488]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x48c], 8
mov dword [ebp - 0x474], 7
mov dword [ebp - 0x478], 0
mov word [ebp - 0x488], ax
jb 0x407d7e
push dword [ebp - 0x4a0]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x45c], 8
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], ax
jb 0x407daf
push dword [ebp - 0x470]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x4a4], 8
mov dword [ebp - 0x45c], 7
mov dword [ebp - 0x460], 0
mov word [ebp - 0x470], ax
jb 0x407de7
push dword [ebp - 0x4b8]
call esi
add esp, 4
lea edx, [ebp - 0x43c]
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x43c], 0
call fcn.0042dda0
mov eax, dword [ebp - 0x438]
and eax, 0xff00
cmp eax, 0x1500
setae al
test al, al
je 0x407fbc
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407eb7
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.Common_Programs
push dword [ebp - 0x434]
mov dword [ebp - 0x42c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x407ed2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x434], 0
xor eax, eax
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
cmp word [ebp - 0x410], ax
jne 0x407efc
xor ecx, ecx
jmp 0x407f14
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407f05
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.00406c00
push 5
push str.YAC_
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0xb
call fcn.00405270
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x428]
call fcn.004065d0
cmp dword [ebp - 0x414], 8
mov eax, dword [ebp - 0x428]
jb 0x407f67
mov ecx, eax
test eax, eax
je 0x407fad
jmp 0x407f6d
lea ecx, [ebp - 0x428]
cmp word [ecx], 0
je 0x407fad
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407fa7
cmp dword [ebp - 0x414], 8
push 0
push 0
push 0
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
push str.startpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x428]
cmp dword [ebp - 0x414], 8
jb 0x407fbc
push eax
call esi
add esp, 4
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.00452076
mov esp, ebp
pop ebp
ret