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

Disassembly:
jmp 0x1400236d0
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0xf28], rax
lea rcx, [0x14007ddd2]
call fcn.140016b68
nop
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 [0x140074d00]
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
nop
mov edx, 0x410
lea rcx, [rbp + 0x520]
call fcn.140016825
nop
lea rcx, [rbp + 0x2b8]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x140023808
jmp 0x140023cfc
lea rdx, [rbp + 0x228]
lea rcx, [rbp + 0x2b8]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
je 0x140023825
jmp 0x140023cfc
lea rcx, str.pe386
call fcn.1400162a3
mov qword [rbp + 0x188], rax
mov edx, 0x104
lea rcx, [rbp + 0x950]
call fcn.140016825
nop
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]
nop
lea rdx, [0x14004e7e0]
lea rcx, [rbp + 0x950]
call fcn.140016c67
nop
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 0x140023901
lea r9, [rbp + 0xc4]
mov r8d, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x1a8]
mov ecx, 0x68
mov rax, qword [0x140074d18]
call qword [rax + 0x20]
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0
jne 0x1400238ff
jmp 0x140023cfc
jmp 0x140023906
jmp 0x140023cfc
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.1400161f9
nop
lea rdx, str.system32
lea rcx, [rbp + 0x520]
call fcn.140016af0
nop
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 0x14002396f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14002396f
jmp 0x140023cfc
mov dword [rbp + 0x24], 1
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x2f0]
call fcn.1400161f9
nop
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 0x1400239f3
mov rax, qword [rbp + 0xe8]
lea rax, [rax + rax - 2]
mov qword [rbp + 0xef8], rax
cmp qword [rbp + 0xef8], 0x20a
jae 0x1400239dc
jmp 0x1400239e2
call fcn.140016857
nop
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 0x140023a18
jmp 0x140023cfc
lea rcx, [rbp + 0x288]
call fcn.140016401
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140023a32
jmp 0x140023cfc
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 0x140023a72
jmp 0x140023cfc
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 0x140023abb
jmp 0x140023cfc
lea rdx, str.https
mov rcx, qword [rbp + 0x1c8]
call fcn.14001690b
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0
je 0x140023c94
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
nop
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
nop
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 0x140023bbe
mov rax, qword [rbp + 0x248]
movsx eax, byte [rax]
cmp eax, 0x3c
je 0x140023bbe
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
jmp 0x140023b8e
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
nop
mov rax, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x148], rax
lea rdx, [0x14004e560]
lea rcx, [rbp + 0x520]
call fcn.140016af0
nop
lea rdx, str.wf.msc
lea rcx, [rbp + 0x520]
call fcn.140016af0
nop
mov r8d, dword [rbp + 0x148]
mov rdx, qword [rbp + 0x1e8]
lea rcx, [rbp + 0x520]
call fcn.14001612c
test eax, eax
jne 0x140023c72
jmp 0x140023cfc
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x1e8]
call fcn.1400164f6
nop
mov qword [rbp + 0x1e8], 0
lea r9, [rbp + 0x268]
mov r8d, 4
lea rdx, [0x140045168]
lea rcx, str.752438CB_E941_433F_BCB4_8B7D2329F0C8
call fcn.140016965
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
je 0x140023cbf
jmp 0x140023cfc
cmp qword [rbp + 0x268], 0
jne 0x140023ccb
jmp 0x140023cfc
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 0x140023cf2
mov dword [rbp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x1400237f2
cmp qword [rbp + 0x1e8], 0
je 0x140023d1d
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x1e8]
call fcn.1400164f6
nop
cmp qword [rbp + 0x1c8], 0
je 0x140023d3f
mov eax, dword [rbp + 0xc4]
xor r8d, r8d
mov edx, eax
mov rcx, qword [rbp + 0x1c8]
call fcn.1400164f6
nop
cmp qword [rbp + 0x268], 0
je 0x140023d5e
mov rax, qword [rbp + 0x268]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x268]
call qword [rax + InitCommonControls]
nop
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
cmp qword [rbp + 0x228], 0
je 0x140023d9d
lea r8, [rbp + 0x288]
mov rdx, qword [rbp + 0x228]
lea rcx, str.pe386
call fcn.14001613b
nop
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp dword [rbp + 0x84], 0
jne 0x140023dad
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
cmp dword [rbp + 4], 0
je 0x140023dca
xor r9d, r9d
lea r8, str.windir
xor edx, edx
mov ecx, 1
call fcn.1400160d7
nop
cmp dword [rbp + 0x24], 0
je 0x140023e23
lea rcx, [rbp + 0x520]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rax, qword [rbp + 0x108]
shl rax, 1
mov qword [rbp + 0xf18], rax
cmp qword [rbp + 0xf18], 0x410
jae 0x140023dfe
jmp 0x140023e04
call fcn.140016857
nop
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]
nop
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