Function at 0x140002bc0
Capabilities:
Create process on windows
Delete file
Encode data using xor
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
xor r12d, r12d
mov dword [rbp + 0x67], 0x48a2
mov r8d, r12d
mov rdi, rcx
mov ebx, 0x4882
nop dword [rax]
movsxd rax, r8d
lea rdx, [rbp + 0x67]
lea rdx, [rdx + rax*2]
lea eax, [rbx + r8]
inc r8d
xor word [rdx], ax
cmp r8d, 1
jb 0x140002bf0
mov r8, rdi
mov word [rbp + 0x69], r12w
lea rdx, [rbp + 0x67]
lea rcx, [rbp + 0x17]
call fcn.14000ca50
xor eax, eax
mov dword [rbp - 0x59], 0x48e648ac
mov word [rbp - 0x51], ax
mov edx, r12d
mov dword [rbp - 0x55], 0x48e048fc
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x59]
lea rcx, [rcx + rax*2]
lea eax, [rbx + rdx]
inc edx
xor word [rcx], ax
cmp edx, 4
jb 0x140002c40
movdqa xmm0, xmmword [0x1400b6a20]
lea rax, [rbp - 0x59]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x51], r12w
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x29], r12
nop dword [rax]
inc r8
cmp word [rax + r8*2], r12w
jne 0x140002c80
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.14000a870
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.1400029e0
cmp qword [rbp + 0xf], 8
lea r14, [rbp - 9]
mov rsi, qword [rbp + 7]
lea rcx, [rbp - 0x49]
cmovae r14, qword [rbp - 9]
xorps xmm0, xmm0
mov qword [rbp - 0x49], r12
movabs rax, 0x7ffffffffffffffe
mov dword [rbp + 0x67], r12d
movdqu xmmword [rbp - 0x39], xmm0
cmp rsi, 8
jae 0x140002cec
movups xmm0, xmmword [r14]
mov qword [rbp - 0x31], 7
movups xmmword [rbp - 0x49], xmm0
jmp 0x140002d2b
mov rbx, rsi
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.14000c200
lea r8, [rsi*2 + 2]
mov qword [rbp - 0x49], rax
mov rdx, r14
mov rcx, rax
call fcn.140068630
cmp rbx, 8
mov qword [rbp - 0x31], rbx
lea rcx, [rbp - 0x49]
cmovae rcx, qword [rbp - 0x49]
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
mov qword [rbp - 0x39], rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140002df7
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x140002da7
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002da2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000317b
call fcn.140066554
mov rsi, qword [rbp + 0x17]
lea r14, [rbp + 0x17]
mov qword [rsp + 0x108], r13
xorps xmm0, xmm0
mov r13, qword [rbp + 0x2f]
cmp r13, 8
mov qword [rsp + 0x110], r15
mov r15, qword [rbp + 0x27]
cmovae r14, rsi
mov qword [rbp - 0x29], r12
movdqu xmmword [rbp - 0x19], xmm0
cmp r15, 8
jae 0x140002e7b
movups xmm0, xmmword [r14]
mov ebx, 7
movups xmmword [rbp - 0x29], xmm0
jmp 0x140002eb7
cmp rsi, 0xffffffffffffffff
je 0x140002d67
lea r9, [rbp + 0x67]
mov qword [rsp + 0x20], r12
mov r8d, 0x53da00
lea rdx, [0x1400c73b0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x31]
test bl, bl
je 0x140002d6b
cmp rdx, 8
jb 0x140002da7
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002da2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000317b
jmp 0x140002da2
movabs rax, 0x7ffffffffffffffe
lea rcx, [rbp - 0x29]
mov rbx, r15
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.14000c200
lea r8, [r15*2 + 2]
mov qword [rbp - 0x29], rax
mov rdx, r14
mov rcx, rax
call fcn.140068630
cmp qword [rbp + 0xf], 8
lea r14, [rbp - 9]
mov qword [rbp - 0x49], r12
xorps xmm0, xmm0
mov r12, qword [rbp + 7]
cmovae r14, qword [rbp - 9]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], r15
movdqu xmmword [rbp - 0x39], xmm0
cmp r12, 8
jae 0x140002efb
movups xmm0, xmmword [r14]
mov qword [rbp - 0x31], 7
mov r15d, 7
movups xmmword [rbp - 0x49], xmm0
jmp 0x140002f3f
movabs rax, 0x7ffffffffffffffe
lea rcx, [rbp - 0x49]
mov r15, r12
or r15, 7
cmp r15, rax
cmova r15, rax
lea rdx, [r15 + 1]
call fcn.14000c200
lea r8, [r12*2 + 2]
mov qword [rbp - 0x49], rax
mov rdx, r14
mov rcx, rax
call fcn.140068630
mov rbx, qword [rbp - 0x11]
mov qword [rbp - 0x31], r15
cmp rbx, 8
mov qword [rbp - 0x39], r12
lea r9, [rbp - 0x29]
mov dword [rbp - 0x59], 0x48f648f0
cmovae r9, qword [rbp - 0x29]
lea r8, [rbp - 0x49]
cmp r15, 8
mov dword [rbp - 0x55], 0x48e448ea
mov r15, qword [rsp + 0x110]
mov r10d, 0x4882
cmovae r8, qword [rbp - 0x49]
xor ebx, ebx
mov edx, ebx
mov dword [rbp - 0x51], 0x48f5
nop dword [rax]
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x59]
lea rcx, [rcx + rax*2]
lea eax, [r10 + rdx]
inc edx
xor word [rcx], ax
cmp edx, 5
jb 0x140002f90
mov dword [rsp + 0x28], ebx
lea rdx, [rbp - 0x59]
xor ecx, ecx
mov qword [rsp + 0x20], rbx
mov word [rbp - 0x4f], bx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x140003002
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ffd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003175
call fcn.140066554
mov rdx, qword [rbp - 0x11]
movdqa xmm0, xmmword [0x1400b6a20]
mov word [rbp - 0x49], bx
movdqu xmmword [rbp - 0x39], xmm0
cmp rdx, 8
jb 0x140003053
mov rcx, qword [rbp - 0x29]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000304e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003175
call fcn.140066554
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14000306b
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rbp + 0xf], 8
lea rcx, [rbp - 9]
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1400030c5
mov rcx, qword [rbp - 9]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030c0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003181
call fcn.140066554
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], 7
mov word [rbp - 9], bx
cmp r13, 8
jb 0x14000310c
lea rdx, [r13*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140003104
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003181
mov rcx, rsi
call fcn.140066554
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003147
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140003142
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003181
mov rcx, r8
call fcn.140066554
mov r13, qword [rsp + 0x108]
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
mov rbx, qword [rsp + 0x118]
mov qword [rdi + 0x18], 7
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140072d5c
int3
call fcn.140072d5c
int3
call fcn.140072d5c
int3