Function at 0x1800014d0
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x690]
sub rsp, 0x790
mov rcx, qword [section..data]
mov r12d, r9d
lea rax, [rbp + 0x6e0]
mov r15, qword [rcx + 0x20]
mov r14d, dword [rcx + 0x28]
lea r9, [rsp + 0x70]
add r15, rcx
neg r8d
mov r13d, edx
sbb r8d, r8d
mov rcx, r15
mov qword [rsp + 0x20], rax
neg r8d
add r8d, 0x6b
call fcn.1800020d0
mov edx, dword [rbp + 0x6e0]
mov rcx, qword [rsp + 0x70]
lea r9, [rbp + 0x6d0]
lea r8, [rsp + 0x50]
call fcn.180002290
lea rdx, [rbp + 0x280]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x70]
lea rdx, [0x1800030f0]
lea rcx, [rbp + 0x280]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
xor edi, edi
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800015e0
mov r8d, dword [rbp + 0x6d0]
mov rdx, qword [rsp + 0x50]
lea r9, [rbp + 0x6e0]
mov rcx, rax
mov dword [rbp + 0x6e0], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, str.FM_d
lea rcx, [rbp - 0x10]
mov edx, 0x40
mov r9d, eax
call fcn.180001ea0
xor r9d, r9d
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea r8d, [r9 + 4]
xor edx, edx
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x18000174e
mov ecx, esi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov edx, 0xf001f
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
je 0x180001745
lea rcx, [rax + 8]
mov r8d, r14d
mov rdx, r15
mov r9d, ecx
mov dword [rax + 4], r14d
sub r9d, eax
mov dword [rax], r9d
call fcn.180001ed0
mov r14d, 0x68
lea rcx, [rbp - 0x80]
mov r8d, r14d
xor edx, edx
call sub.ntdll.dll_memset
mov dword [rbp - 0x80], r14d
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x30], r12d
lea r8, str._d__d__d__d
mov dword [rsp + 0x28], eax
lea rcx, [rbp + 0x490]
mov r9d, r13d
mov edx, 0x100
mov dword [rsp + 0x20], esi
call fcn.180001ea0
lea rax, [rsp + 0x58]
lea rdx, [rbp + 0x490]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x280]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], 0xc000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18000173c
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8, qword [rsp + 0x50]
mov rcx, qword [0x180004008]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x7d8]
mov eax, 1
add rsp, 0x790
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret