Function at 0x180005e74
Capabilities:
Create process on windows
Delete file
Encode data using xor
Move file
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1118]
mov eax, 0x11f0
call sub.ntdll.dll___chkstk
sub rsp, rax
mov rsi, rdx
call fcn.1800042a4
mov r8, qword [rsi + 0x30]
mov rcx, rsi
mov r14, rax
mov rdi, qword [rax + 0x28]
call r8
mov r8, qword [rsi + 0x38]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call r8
mov r8d, ebx
mov rdx, rax
mov rcx, r14
call rdi
mov rcx, rsi
call fcn.180004324
xor eax, eax
lea rdx, [rbp - 0x68]
xorps xmm0, xmm0
mov qword [rbp - 0x48], rax
mov rcx, r14
movups xmmword [rbp - 0x68], xmm0
lea r8d, [rax + 0x28]
movups xmmword [rbp - 0x58], xmm0
call qword [r14 + 0x20]
xor esi, esi
lea rdx, [rbp + 0x1120]
mov rcx, r14
mov dword [rbp + 0x1120], esi
lea ebx, [rsi + 4]
mov r8d, ebx
call qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
mov rcx, r14
call rax
cmp eax, dword [rbp + 0x1120]
jne 0x18000627d
mov edx, dword [rbp + 0x1120]
mov r9d, ebx
xor ecx, ecx
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x18000627d
mov r8d, dword [rbp + 0x1120]
mov rdx, rax
mov rcx, r14
call qword [r14 + 0x20]
mov rcx, r14
call fcn.180004324
mov edi, dword [rbp + 0x1120]
lea rcx, [rbp + 0x660]
mov r14d, 0xa88
xor edx, edx
mov r8d, r14d
add edi, 0xfffff574
call sub.ntdll.dll_memset
mov r8d, r14d
lea rdx, [0x1800347b0]
lea rcx, [rbp + 0x660]
call qword [sym.imp.ntdll.dll_memcpy]
mov eax, esi
xor byte [rbp + rax + 0x660], 0x3a
inc rax
cmp rax, r14
jl 0x180005fa2
mov ecx, edi
lea rdx, [rbp + 0x660]
add rcx, rbx
mov r8, r14
call qword [sym.imp.ntdll.dll_memcpy]
movabs rax, 0xb19e692f337c19b9
lea rcx, [rbp + 0x30]
movabs rdi, 0x6bc1629f3926102c
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
movabs r14, 0xb1f5694e331e1997
movups xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x50], r14
mov r15d, 0x208
mov qword [rsp + 0x58], rdi
mov r8d, r15d
pxor xmm0, xmmword [rsp + 0x50]
xor edx, edx
movdqa xmmword [rsp + 0x70], xmm0
call sub.ntdll.dll_memset
mov r8d, r15d
lea rcx, [rbp + 0x450]
xor edx, edx
call sub.ntdll.dll_memset
lea rdx, [0x180035014]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.DLL_lstrcatW]
mov qword [rsp + 0x58], rdi
lea rdx, [rsp + 0x50]
movabs r12, 0xb1f5694e331e19cb
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], r12
lea rcx, [rbp + 0x30]
movups xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x68], rdi
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmm0
movdqa xmmword [rsp + 0x50], xmm1
call qword [sym.imp.KERNEL32.DLL_lstrcatW]
lea rdx, [0x1800351a4]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.DLL_lstrcatW]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x450]
call qword [sym.imp.KERNEL32.DLL_lstrcatW]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x450]
call qword [sym.imp.KERNEL32.DLL_lstrcatW]
lea rdx, [rbp + 0x450]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
mov r8d, dword [rbp + 0x1120]
lea rcx, [rbp + 0x30]
mov rdx, rbx
call fcn.180015490
lea rcx, [rbp + 0x450]
test eax, eax
jne 0x180006262
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
mov ebx, 0x68
lea rcx, [rbp - 0x40]
mov r8d, ebx
xor edx, edx
call sub.ntdll.dll_memset
xorps xmm0, xmm0
mov dword [rbp - 4], 1
xor eax, eax
mov word [rbp], si
mov r8d, r15d
mov qword [rbp - 0x70], rax
xor edx, edx
mov dword [rbp - 0x40], ebx
lea rcx, [rbp + 0x240]
movups xmmword [rbp - 0x80], xmm0
call sub.ntdll.dll_memset
lea rdx, [0x180035014]
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.DLL_lstrcatW]
mov qword [rsp + 0x50], r12
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x58], rdi
lea rcx, [rbp + 0x240]
movups xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
pxor xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.DLL_lstrcatW]
lea rdx, [0x1800350dc]
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.DLL_lstrcatW]
movabs rax, 0xb183693d333319b7
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
movabs rax, 0x6bc1629f3926104f
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x58], rax
lea rcx, [rbp + 0x240]
movups xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.DLL_lstrcatW]
lea rax, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x240]
lea rax, [rbp - 0x40]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x210
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x180006256
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x180006243
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbp - 0x80], rsi
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180006256
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbp - 0x78], rsi
mov ecx, 0x7b
call qword [sym.imp.KERNEL32.DLL_ExitProcess]
lea rdx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
lea r11, [rsp + 0x11f0]
xor eax, eax
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret