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

Disassembly:
jmp 0x140020980
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0xf28], rax
lea rcx, [0x140078cb5]
call fcn.140015b09
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 [0x140070be0]
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.1400157e4
mov edx, 0x410
lea rcx, [rbp + 0x520]
call fcn.1400157e4
lea rcx, [rbp + 0x2b8]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x140020ab5
jmp 0x140020f9c
lea rdx, [rbp + 0x228]
lea rcx, [rbp + 0x2b8]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
je 0x140020ad2
jmp 0x140020f9c
lea rcx, str.pe386
call fcn.14001528a
mov qword [rbp + 0x188], rax
mov edx, 0x104
lea rcx, [rbp + 0x950]
call fcn.1400157e4
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, [0x14004a8c0]
lea rcx, [rbp + 0x950]
call fcn.140015bef
lea r8, [rbp + 0xa4]
mov rdx, qword [rbp + 0x208]
mov ecx, 0x68
call fcn.140015613
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
je 0x140020bab
lea r9, [rbp + 0xc4]
mov r8d, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x1a8]
mov ecx, 0x68
mov rax, qword [0x140070bf8]
call qword [rax + 0x20]
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0
jne 0x140020ba9
jmp 0x140020f9c
jmp 0x140020bb0
jmp 0x140020f9c
mov rax, qword [0x140070bf8]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.1400151ea
lea rdx, str.system32
lea rcx, [rbp + 0x520]
call fcn.140015a96
lea rcx, [rbp + 0x520]
call fcn.14001528a
mov qword [rbp + 0x108], rax
xor edx, edx
lea rcx, [rbp + 0x520]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140020c17
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140020c17
jmp 0x140020f9c
mov dword [rbp + 0x24], 1
mov rax, qword [0x140070bf8]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x2f0]
call fcn.1400151ea
lea rcx, [rbp + 0x2f0]
call fcn.14001528a
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
movzx eax, word [rbp + rax*2 + 0x2ee]
cmp eax, 0x5c
jne 0x140020c99
mov rax, qword [rbp + 0xe8]
lea rax, [rax + rax - 2]
mov qword [rbp + 0xef8], rax
cmp qword [rbp + 0xef8], 0x20a
jae 0x140020c83
jmp 0x140020c88
call fcn.140015811
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.1400150d2
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x140020cbe
jmp 0x140020f9c
lea rcx, [rbp + 0x288]
call fcn.1400153d4
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140020cd8
jmp 0x140020f9c
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.14001583e
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140020d18
jmp 0x140020f9c
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.140015019
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0
jne 0x140020d61
jmp 0x140020f9c
lea rdx, str.https
mov rcx, qword [rbp + 0x1c8]
call fcn.1400158c0
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0
je 0x140020f34
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.140015596
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.140015596
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 0x140020e62
mov rax, qword [rbp + 0x248]
movsx eax, byte [rax]
cmp eax, 0x3c
je 0x140020e62
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
jmp 0x140020e32
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.140015596
mov rax, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x148], rax
lea rdx, [0x14004a640]
lea rcx, [rbp + 0x520]
call fcn.140015a96
lea rdx, str.wf.msc
lea rcx, [rbp + 0x520]
call fcn.140015a96
mov r8d, dword [rbp + 0x148]
mov rdx, qword [rbp + 0x1e8]
lea rcx, [rbp + 0x520]
call fcn.140015127
test eax, eax
jne 0x140020f13
jmp 0x140020f9c
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x1e8]
call fcn.1400154c9
mov qword [rbp + 0x1e8], 0
lea r9, [rbp + 0x268]
mov r8d, 4
lea rdx, [0x140042138]
lea rcx, str.752438CB_E941_433F_BCB4_8B7D2329F0C8
call fcn.14001591a
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
je 0x140020f5f
jmp 0x140020f9c
cmp qword [rbp + 0x268], 0
jne 0x140020f6b
jmp 0x140020f9c
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 0x140020f92
mov dword [rbp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x140020a9f
cmp qword [rbp + 0x1e8], 0
je 0x140020fbc
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x1e8]
call fcn.1400154c9
cmp qword [rbp + 0x1c8], 0
je 0x140020fdd
mov eax, dword [rbp + 0xc4]
xor r8d, r8d
mov edx, eax
mov rcx, qword [rbp + 0x1c8]
call fcn.1400154c9
cmp qword [rbp + 0x268], 0
je 0x140020ffb
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 0x140021037
lea r8, [rbp + 0x288]
mov rdx, qword [rbp + 0x228]
lea rcx, str.pe386
call fcn.140015136
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [rbp + 0x84], 0
jne 0x140021046
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp + 4], 0
je 0x140021062
xor r9d, r9d
lea r8, str.windir
xor edx, edx
mov ecx, 1
call fcn.1400150d2
cmp dword [rbp + 0x24], 0
je 0x1400210b8
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 0x140021095
jmp 0x14002109a
call fcn.140015811
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.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0xf28]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0xf38]
pop rdi
pop rbp
ret