Function at 0x18003ad44
Capabilities:
Create directory
Delete file
Get disk information
Get disk size
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x230
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rsi, rdx
mov bl, cl
mov dl, cl
lea rcx, [rsp + 0x50]
call fcn.18003a2ec
xor ebp, ebp
cmp qword [rax + 0x18], rbp
seta dil
cmp qword [rsp + 0x70], 8
jb 0x18003ad9d
mov rcx, qword [rsp + 0x58]
call fcn.180043070
cmp dil, bpl
je 0x18003adb3
mov dword [0x180086788], 0x1395
xor eax, eax
jmp 0x18003b0a9
mov byte [rsp + 0x40], bpl
lea rdx, [rsp + 0x40]
mov cl, bl
call fcn.1800397c0
cmp al, bpl
je 0x18003b09d
cmp byte [rsp + 0x40], bpl
je 0x18003b09d
movsx eax, bl
mov word [rsp + 0xd0], ax
mov eax, 0x3a
mov word [rsp + 0xd2], ax
mov eax, 0x5c
mov word [rsp + 0xd4], ax
mov word [rsp + 0xd6], bp
xor eax, eax
mov qword [rsp + 0xd8], rax
mov word [rsp + 0x120], bp
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x122]
call fcn.180045560
mov word [rsp + 0xe0], bp
xor edx, edx
lea r8d, [rdx + 0x3e]
lea rcx, [rsp + 0xe2]
call fcn.180045560
mov dword [rsp + 0x38], 0x20
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8d, 0x80
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, ebp
je 0x18003aeb3
lea rdx, str.ntfs
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebp
je 0x18003aeb3
mov dword [0x180086788], 0x1393
xor eax, eax
jmp 0x18003b0a9
movsx r8d, bl
lea r9, str.uvscache
lea rdx, str._c:_ls
lea rcx, [rsp + 0xa8]
call fcn.18002132c
nop
mov r8, rsi
mov dl, bl
lea rcx, [rsp + 0x80]
call fcn.18003a5ac
nop
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 8
cmovae rdx, qword [rsp + 0xb0]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rcx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 8
cmovae rcx, qword [rsp + 0xb0]
mov edi, 6
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [rsp + 0x48], ebp
xor eax, eax
mov dword [rsp + 0x4c], eax
xor r9d, r9d
lea r8, [rsp + 0x48]
xor edx, edx
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180010500
nop
cmp qword [rax + 0x20], 0x10
jb 0x18003af74
mov rcx, qword [rax + 8]
jmp 0x18003af78
lea rcx, [rax + 8]
mov r8, qword [rsp + 0x48]
shr r8, 0x15
mov rdx, rsi
call fcn.18003ebbc
mov ebx, eax
cmp qword [rsp + 0x70], 0x10
jb 0x18003af9d
mov rcx, qword [rsp + 0x58]
call fcn.180043070
cmp ebx, ebp
jne 0x18003b01a
lea rcx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rcx, qword [rsp + 0x88]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
cmp qword [rsp + 0xa0], 8
jb 0x18003afdc
mov rcx, qword [rsp + 0x88]
call fcn.180043070
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], rbp
mov word [rsp + 0x88], bp
cmp qword [rsp + 0xc8], 8
jb 0x18003b010
mov rcx, qword [rsp + 0xb0]
call fcn.180043070
mov eax, 1
jmp 0x18003b0a9
lea rcx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [0x180086788], 0x1396
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
cmp qword [rsp + 0xa0], 8
jb 0x18003b065
mov rcx, qword [rsp + 0x88]
call fcn.180043070
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], rbp
mov word [rsp + 0x88], bp
cmp qword [rsp + 0xc8], 8
jb 0x18003b099
mov rcx, qword [rsp + 0xb0]
call fcn.180043070
xor eax, eax
jmp 0x18003b0a9
mov dword [0x180086788], 0x1391
xor eax, eax
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.180042bb0
mov rbx, qword [rsp + 0x260]
add rsp, 0x230
pop rdi
pop rsi
pop rbp
ret