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

Disassembly:
jmp 0x140025790
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x12b8
call fcn.14001521c
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x1288], rax
lea rcx, [0x140078db2]
call fcn.140015b09
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov rax, qword [0x140070bf8]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400151ea
lea rdx, str.system32_
lea rcx, [rbp + 0xd0]
call fcn.140015a96
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140025846
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140025846
jmp 0x140025af1
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x930]
call fcn.1400151ea
lea rdx, str.winmm.dll
lea rcx, [rbp + 0x930]
call fcn.140015a96
mov r8d, dword [rbp + 0x12b8]
mov rdx, qword [rbp + 0x12b0]
lea rcx, [rbp + 0x930]
call fcn.140015127
test eax, eax
jne 0x14002588f
jmp 0x140025af1
mov rax, qword [0x140070bf8]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x500]
call fcn.1400151ea
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x500]
call fcn.140015a96
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x930]
call fcn.1400151ea
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x930]
call fcn.140015a96
xor r8d, r8d
lea rdx, [rbp + 0x930]
lea rcx, [rbp + 0x500]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140025904
jmp 0x140025af1
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.1400157e4
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 [0x140070bf8]
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.140015578
lea rdx, str.Windows
lea rcx, [rbp + 0x500]
call fcn.140015a96
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.140015037
test eax, eax
jge 0x140025a1f
jmp 0x140025af1
lea rdx, [0x14004b290]
lea rcx, [rbp + 0x500]
call fcn.1400151ea
mov rax, qword [0x140070bf8]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x500]
call fcn.140015a96
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.140015b31
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.1400157e4
mov rax, qword [0x140070bf8]
add rax, 0x68
mov r9d, 4
mov r8, rax
mov edx, 4
lea rcx, [rbp + 0x500]
call fcn.140015578
lea rdx, str.Windows__system32_
lea rcx, [rbp + 0x500]
call fcn.140015a96
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x500]
call fcn.140015a96
xor edx, edx
lea rcx, [rbp + 0x500]
call fcn.1400159dd
test eax, eax
je 0x140025ae7
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x1400257f2
cmp qword [rbp + 0x28], 0
je 0x140025c12
mov rcx, qword [rbp + 0x28]
call fcn.140015320
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtClose]
mov edx, 0x410
lea rcx, [rbp + 0x500]
call fcn.1400157e4
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 [0x140070bf8]
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.140015578
lea rdx, str.Windows
lea rcx, [rbp + 0x500]
call fcn.140015a96
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.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x1288]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x1298]
pop rdi
pop rbp
ret