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

Disassembly:
jmp 0x140023580
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf78
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x2ae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf98]
mov rax, qword [0x140073340]
xor rax, rbp
mov qword [rbp + 0xf28], rax
lea rcx, [0x14007cdd2]
call fcn.140016b68
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0xc0000022
mov dword [rbp + 0x64], 0x80004005
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0xc4], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x148], 0
mov qword [rbp + 0x168], 0
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0x1c8], 0
mov qword [rbp + 0x1e8], 0
mov rax, qword [0x140073c40]
mov qword [rbp + 0x208], rax
mov qword [rbp + 0x228], 0
mov qword [rbp + 0x268], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x84], eax
mov edx, InitCommonControls
lea rcx, [rbp + 0x288]
call fcn.140016825
mov edx, 0x410
lea rcx, [rbp + 0x520]
call fcn.140016825
lea rcx, [rbp + 0x2b8]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x1400236b5
jmp 0x140023b9c
lea rdx, [rbp + 0x228]
lea rcx, [rbp + 0x2b8]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
je 0x1400236d2
jmp 0x140023b9c
lea rcx, str.pe386
call fcn.1400162a3
mov qword [rbp + 0x188], rax
mov edx, 0x104
lea rcx, [rbp + 0x950]
call fcn.140016825
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x950]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, str.pe386
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [0x14004d7e0]
lea rcx, [rbp + 0x950]
call fcn.140016c5d
lea r8, [rbp + 0xa4]
mov rdx, qword [rbp + 0x208]
mov ecx, 0x68
call fcn.14001664f
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
je 0x1400237ab
lea r9, [rbp + 0xc4]
mov r8d, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x1a8]
mov ecx, 0x68
mov rax, qword [0x140073c58]
call qword [rax + 0x20]
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0
jne 0x1400237a9
jmp 0x140023b9c
jmp 0x1400237b0
jmp 0x140023b9c
mov rax, qword [0x140073c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.1400161f9
lea rdx, str.system32
lea rcx, [rbp + 0x520]
call fcn.140016af0
lea rcx, [rbp + 0x520]
call fcn.1400162a3
mov qword [rbp + 0x108], rax
xor edx, edx
lea rcx, [rbp + 0x520]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140023817
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140023817
jmp 0x140023b9c
mov dword [rbp + 0x24], 1
mov rax, qword [0x140073c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x2f0]
call fcn.1400161f9
lea rcx, [rbp + 0x2f0]
call fcn.1400162a3
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
movzx eax, word [rbp + rax*2 + 0x2ee]
cmp eax, 0x5c
jne 0x140023899
mov rax, qword [rbp + 0xe8]
lea rax, [rax + rax - 2]
mov qword [rbp + 0xef8], rax
cmp qword [rbp + 0xef8], 0x20a
jae 0x140023883
jmp 0x140023888
call fcn.140016857
xor eax, eax
mov rcx, qword [rbp + 0xef8]
mov word [rbp + rcx + 0x2f0], ax
lea r9, [rbp + 0x2f0]
lea r8, str.windir
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x1400238be
jmp 0x140023b9c
lea rcx, [rbp + 0x288]
call fcn.140016401
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x1400238d8
jmp 0x140023b9c
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9, qword [rbp + 0xf50]
lea r8, [rbp + 0x288]
mov rdx, qword [rbp + 0x228]
lea rcx, str.pe386
call fcn.140016889
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140023918
jmp 0x140023b9c
mov eax, dword [rbp + 0xc4]
add rax, 0x1104
and rax, 0xfffffffffffff000
mov qword [rbp + 0x128], rax
xor r9d, r9d
mov r8d, 4
mov edx, 0x3000
lea rcx, [rbp + 0x128]
call fcn.140016019
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0
jne 0x140023961
jmp 0x140023b9c
lea rdx, str.https
mov rcx, qword [rbp + 0x1c8]
call fcn.14001690b
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0
je 0x140023b34
mov rax, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x248]
sub rcx, rax
mov rax, rcx
mov eax, eax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x148], rax
mov r8, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x1e8]
call fcn.1400165cd
mov rax, qword [rbp + 0x188]
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
inc rax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x1e8]
add rcx, rax
mov rax, rcx
mov r8, qword [rbp + 0x168]
lea rdx, [rbp + 0x950]
mov rcx, rax
call fcn.1400165cd
mov rax, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x248]
movsx eax, byte [rax]
test eax, eax
je 0x140023a62
mov rax, qword [rbp + 0x248]
movsx eax, byte [rax]
cmp eax, 0x3c
je 0x140023a62
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
jmp 0x140023a32
mov eax, dword [rbp + 0xc4]
mov rcx, qword [rbp + 0x1c8]
add rcx, rax
mov rax, rcx
sub rax, qword [rbp + 0x248]
mov eax, eax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x1e8]
add rcx, rax
mov rax, rcx
mov r8, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x248]
mov rcx, rax
call fcn.1400165cd
mov rax, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x148], rax
lea rdx, [0x14004d560]
lea rcx, [rbp + 0x520]
call fcn.140016af0
lea rdx, str.wf.msc
lea rcx, [rbp + 0x520]
call fcn.140016af0
mov r8d, dword [rbp + 0x148]
mov rdx, qword [rbp + 0x1e8]
lea rcx, [rbp + 0x520]
call fcn.14001612c
test eax, eax
jne 0x140023b13
jmp 0x140023b9c
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x1e8]
call fcn.1400164f6
mov qword [rbp + 0x1e8], 0
lea r9, [rbp + 0x268]
mov r8d, 4
lea rdx, [0x140044168]
lea rcx, str.752438CB_E941_433F_BCB4_8B7D2329F0C8
call fcn.140016965
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
je 0x140023b5f
jmp 0x140023b9c
cmp qword [rbp + 0x268], 0
jne 0x140023b6b
jmp 0x140023b9c
mov rax, qword [rbp + 0x268]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x268]
call qword [rax + 0x90]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jl 0x140023b92
mov dword [rbp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x14002369f
cmp qword [rbp + 0x1e8], 0
je 0x140023bbc
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x1e8]
call fcn.1400164f6
cmp qword [rbp + 0x1c8], 0
je 0x140023bdd
mov eax, dword [rbp + 0xc4]
xor r8d, r8d
mov edx, eax
mov rcx, qword [rbp + 0x1c8]
call fcn.1400164f6
cmp qword [rbp + 0x268], 0
je 0x140023bfb
mov rax, qword [rbp + 0x268]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x268]
call qword [rax + InitCommonControls]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rbp + 0x228], 0
je 0x140023c37
lea r8, [rbp + 0x288]
mov rdx, qword [rbp + 0x228]
lea rcx, str.pe386
call fcn.14001613b
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [rbp + 0x84], 0
jne 0x140023c46
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp + 4], 0
je 0x140023c62
xor r9d, r9d
lea r8, str.windir
xor edx, edx
mov ecx, 1
call fcn.1400160d7
cmp dword [rbp + 0x24], 0
je 0x140023cb8
lea rcx, [rbp + 0x520]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rbp + 0x108]
shl rax, 1
mov qword [rbp + 0xf18], rax
cmp qword [rbp + 0xf18], 0x410
jae 0x140023c95
jmp 0x140023c9a
call fcn.140016857
xor eax, eax
mov rcx, qword [rbp + 0xf18]
mov word [rbp + rcx + 0x520], ax
lea rcx, [rbp + 0x520]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [rbp + 0x44]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.Cabinet.dll_FCICreate
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0xf28]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0xf38]
pop rdi
pop rbp
ret