Function at 0x140016014
Capabilities:
Copy file
Delete file

Disassembly:
jmp 0x14002d1d0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1258
call fcn.14001600a
sub rsp, rax
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x496
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1278]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x1228], rax
lea rcx, [0x14006d19a]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
mov rcx, qword [rbp + 0x1250]
call fcn.14001680c
cmp rax, 0x64
jbe 0x14002d25e
mov eax, 0xc00000ef
jmp 0x14002d57e
mov edx, 0x410
lea rcx, [rbp + 0x70]
call fcn.140016c2b
mov edx, 0x410
lea rcx, [rbp + 0x4a0]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.14001616d
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x70]
call fcn.1400165e1
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x4a0]
call fcn.14001616d
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x4a0]
call fcn.1400165e1
xor r8d, r8d
lea rdx, [rbp + 0x4a0]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14002d2f2
jmp 0x14002d4cb
mov edx, 0x410
lea rcx, [rbp + 0x70]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.14001616d
mov rdx, qword [rbp + 0x1250]
lea rcx, [rbp + 0x70]
call fcn.1400165e1
mov r8d, dword [rbp + 0x1260]
mov rdx, qword [rbp + 0x1258]
lea rcx, [rbp + 0x70]
call fcn.140016ad7
test eax, eax
jne 0x14002d349
jmp 0x14002d4cb
cmp dword [rbp + 0x1268], 0
je 0x14002d457
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x8d0]
call fcn.14001616d
lea rdx, str.update.msu
lea rcx, [rbp + 0x8d0]
call fcn.1400165e1
lea rcx, [rbp + 0x8d0]
call fcn.14001699c
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x14002d401
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x4a0]
call fcn.14001616d
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x4a0]
call fcn.1400165e1
mov r8, qword [rbp + 0x1250]
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
call fcn.140016c1c
lea r8, str.winsat.exe
lea rdx, [rbp + 0x4a0]
mov rcx, qword [rbp + 0x48]
call fcn.140016c1c
mov rcx, qword [rbp + 0x48]
call fcn.14001691f
jmp 0x14002d406
jmp 0x14002d4cb
mov edx, 0x410
lea rcx, [rbp + 0x8d0]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x8d0]
call fcn.14001616d
lea rdx, str.sysprep_
lea rcx, [rbp + 0x8d0]
call fcn.1400165e1
lea rcx, [rbp + 0x8d0]
call fcn.1400162a3
mov dword [rbp + 0x24], eax
jmp 0x14002d4c1
mov edx, 0x410
lea rcx, [rbp + 0x8d0]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x8d0]
call fcn.14001616d
lea rdx, str.sysprep_
lea rcx, [rbp + 0x8d0]
call fcn.1400165e1
lea rdx, [rbp + 0x8d0]
lea rcx, [rbp + 0x70]
call fcn.1400168de
test eax, eax
je 0x14002d4c1
lea rdx, [rbp + 0x8d0]
lea rcx, [rbp + 0x4a0]
call fcn.1400168de
mov dword [rbp + 0x24], eax
xor eax, eax
test eax, eax
jne 0x14002d27d
cmp dword [rbp + 0x24], 0
je 0x14002d53d
mov edx, 0x410
lea rcx, [rbp + 0x8d0]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x8d0]
call fcn.14001616d
lea rdx, str.sysprep_
lea rcx, [rbp + 0x8d0]
call fcn.1400165e1
lea rdx, str.winsat.exe
lea rcx, [rbp + 0x8d0]
call fcn.1400165e1
xor edx, edx
lea rcx, [rbp + 0x8d0]
call fcn.140016a7d
test eax, eax
je 0x14002d53d
mov dword [rbp + 4], 0
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x4a0]
test eax, eax
je 0x14002d55f
lea rcx, [rbp + 0x4a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x70]
test eax, eax
je 0x14002d57b
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14004b740]
call fcn.140016b90
mov rax, rdi
mov rcx, qword [rbp + 0x1228]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x1238]
pop rdi
pop rbp
ret