Function at 0x1400da8d0
Capabilities:
Create process on windows
Delete file
Write and execute a file
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
cmp qword [rcx], r15
jne 0x1400da918
lea rdi, [rcx + 0x28]
mov rax, qword [rdi]
cmp qword [rax - 0x10], r15
jg 0x1400da90d
xor eax, eax
jmp 0x1400dab64
mov r12d, 1
jmp 0x1400dab1d
cmp byte [rcx + 0x30], 0
jne 0x1400da925
xor edx, edx
call fcn.1400da030
lea rcx, [rsi + 0x30]
call fcn.1400d0090
test eax, eax
je 0x1400da93c
lea rcx, [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r12d, 1
mov r8d, r12d
mov edx, 0x40000000
lea rcx, [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
mov r13d, r15d
mov dword [rsp + 0x44], r15d
lea rdx, str._META
mov rcx, qword [rsi]
call fcn.1400c9790
mov rdi, rax
nop dword [rax]
test rdi, rdi
je 0x1400daa11
lea rdx, [0x1401ed66c]
mov rcx, rdi
call fcn.14010d30c
mov rbx, rax
test rax, rax
je 0x1400daa11
mov byte [rax], r13b
lea rdx, str.HTTP_EQUIV_Content_Type_
mov rcx, rdi
call fcn.1400c9790
test rax, rax
jne 0x1400da9ee
lea rdx, str.HTTP_EQUIVContent_Type
mov rcx, rdi
call fcn.1400c9790
test rax, rax
jne 0x1400da9ee
mov byte [rbx], 0x3e
lea rdx, str._META
mov rcx, rbx
call fcn.1400c9790
mov rdi, rax
jmp 0x1400da990
lea rdx, [0x140231af4]
mov rcx, rdi
call fcn.1400c9790
mov ecx, 0xfde9
test rax, rax
cmovne r13d, ecx
mov dword [rsp + 0x44], r13d
mov byte [rbx], 0x3e
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
or r15, 0xffffffffffffffff
mov r9d, r15d
mov r8, qword [rsi]
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc eax
movsxd rdi, eax
mov qword [rsp + 0xa8], rdi
mov eax, 2
mul rdi
cmovo rax, r15
mov rcx, rax
call fcn.1400854f0
mov rbx, rax
lea r8, [rdi + rdi]
xor edx, edx
mov rcx, rax
call fcn.14010da60
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r9d, r15d
mov r8, qword [rsi]
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov word [rsp + 0x98], 0xfeff
lea r9d, [r15 + 3]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xa0]
lea r8d, [r15 + 3]
lea rdx, [rsp + 0x98]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov rcx, r15
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx + rcx - 2]
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0xa0]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.140085540
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, [rsi + 0x28]
lea rdx, str.file:___
mov rcx, rdi
call fcn.1400ca6a0
lea rdx, [rsi + 0x30]
mov rcx, rdi
call fcn.1400ca830
call fcn.1400d1710
test eax, eax
je 0x1400dab33
mov rdx, qword [rdi]
mov rcx, rsi
call fcn.1400da490
jmp 0x1400dab55
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [rdi]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [rsp + 0x40], r12d
jmp 0x1400dab61
mov eax, r12d
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret