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

Disassembly:
jmp 0x1400283b0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x12b8
call fcn.14001622b
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x356
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x12d8]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x1288], rax
lea rcx, [0x14007eed3]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov rax, qword [0x140075c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
lea rdx, str.system32_
lea rcx, [rbp + 0xd0]
call fcn.140016af0
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140028466
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140028466
jmp 0x140028711
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x930]
call fcn.1400161f9
lea rdx, str.winmm.dll
lea rcx, [rbp + 0x930]
call fcn.140016af0
mov r8d, dword [rbp + 0x12b8]
mov rdx, qword [rbp + 0x12b0]
lea rcx, [rbp + 0x930]
call fcn.14001612c
test eax, eax
jne 0x1400284af
jmp 0x140028711
mov rax, qword [0x140075c58]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x500]
call fcn.1400161f9
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x500]
call fcn.140016af0
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x930]
call fcn.1400161f9
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x930]
call fcn.140016af0
xor r8d, r8d
lea rdx, [rbp + 0x930]
lea rcx, [rbp + 0x500]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140028524
jmp 0x140028711
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.140016825
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 [0x140075c58]
add rax, 0x68
mov ecx, 2
imul rcx, rcx, 4
lea rcx, [rbp + rcx + 0x500]
mov r9d, 4
mov r8, rax
mov edx, 4
call fcn.1400165af
lea rdx, str.Windows
lea rcx, [rbp + 0x500]
call fcn.140016af0
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.140016037
test eax, eax
jge 0x14002863f
jmp 0x140028711
lea rdx, [0x14004f1e0]
lea rcx, [rbp + 0x500]
call fcn.1400161f9
mov rax, qword [0x140075c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x500]
call fcn.140016af0
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.140016b90
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.140016825
mov rax, qword [0x140075c58]
add rax, 0x68
mov r9d, 4
mov r8, rax
mov edx, 4
lea rcx, [rbp + 0x500]
call fcn.1400165af
lea rdx, str.Windows__system32_
lea rcx, [rbp + 0x500]
call fcn.140016af0
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x500]
call fcn.140016af0
xor edx, edx
lea rcx, [rbp + 0x500]
call fcn.140016a37
test eax, eax
je 0x140028707
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140028412
cmp qword [rbp + 0x28], 0
je 0x140028832
mov rcx, qword [rbp + 0x28]
call fcn.14001633e
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtClose]
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.140016825
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 [0x140075c58]
add rax, 0x68
mov ecx, 2
imul rcx, rcx, 4
lea rcx, [rbp + rcx + 0x500]
mov r9d, 4
mov r8, rax
mov edx, 4
call fcn.1400165af
lea rdx, str.Windows
lea rcx, [rbp + 0x500]
call fcn.140016af0
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.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x1288]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x1298]
pop rdi
pop rbp
ret