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

Disassembly:
jmp 0x1400285f0
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x1288], rax
lea rcx, [0x14007ded3]
call fcn.140016b68
nop
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
nop
lea rdx, str.system32_
lea rcx, [rbp + 0xd0]
call fcn.140016af0
nop
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400286a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400286a9
jmp 0x140028965
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x930]
call fcn.1400161f9
nop
lea rdx, str.winmm.dll
lea rcx, [rbp + 0x930]
call fcn.140016af0
nop
mov r8d, dword [rbp + 0x12b8]
mov rdx, qword [rbp + 0x12b0]
lea rcx, [rbp + 0x930]
call fcn.14001612c
test eax, eax
jne 0x1400286f4
jmp 0x140028965
mov rax, qword [0x140074d18]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x500]
call fcn.1400161f9
nop
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x500]
call fcn.140016af0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x930]
call fcn.1400161f9
nop
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x930]
call fcn.140016af0
nop
xor r8d, r8d
lea rdx, [rbp + 0x930]
lea rcx, [rbp + 0x500]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14002876d
jmp 0x140028965
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.140016825
nop
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 [0x140074d18]
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
nop
lea rdx, str.Windows
lea rcx, [rbp + 0x500]
call fcn.140016af0
nop
lea rdx, [rbp + 0x500]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop
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 0x14002888c
jmp 0x140028965
lea rdx, [0x14004f1a0]
lea rcx, [rbp + 0x500]
call fcn.1400161f9
nop
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x500]
call fcn.140016af0
nop
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.140016b95
nop
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.140016825
nop
mov rax, qword [0x140074d18]
add rax, 0x68
mov r9d, 4
mov r8, rax
mov edx, 4
lea rcx, [rbp + 0x500]
call fcn.1400165af
nop
lea rdx, str.Windows__system32_
lea rcx, [rbp + 0x500]
call fcn.140016af0
nop
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x500]
call fcn.140016af0
nop
xor edx, edx
lea rcx, [rbp + 0x500]
call fcn.140016a37
test eax, eax
je 0x14002895b
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140028653
cmp qword [rbp + 0x28], 0
je 0x140028a8d
mov rcx, qword [rbp + 0x28]
call fcn.14001633e
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtClose]
nop
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.140016825
nop
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 [0x140074d18]
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
nop
lea rdx, str.Windows
lea rcx, [rbp + 0x500]
call fcn.140016af0
nop
lea rdx, [rbp + 0x500]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop
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]
nop
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