Function at 0x100133484
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
and qword [rax + 0x18], 0
lea rcx, [rax + 8]
call fcn.100133328
cmp byte [rsp + 0xd0], 0
lea r14, [0x1001653b8]
mov ebx, eax
lea r15, [0x100002e50]
jne 0x1001336ea
test eax, eax
js 0x1001336ee
lea rcx, [rsp + 0xe0]
call fcn.1001331fc
mov rdi, qword [rsp + 0xe0]
mov ebx, eax
test eax, eax
js 0x1001336dc
xor eax, eax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
call fcn.1000a49b0
mov ebx, eax
test eax, eax
js 0x1001336dc
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100133555
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10013357c
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100133555
test byte [rcx + 0x1c], 1
je 0x100133555
cmp byte [rcx + 0x19], 5
jb 0x100133555
mov rcx, qword [rcx + 0x10]
mov edx, 0x12
mov r8, r15
call fcn.10001c854
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or esi, 0xffffffff
cmp eax, esi
jne 0x1001335a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x10013358f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1001336c6
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1001336c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1001336c6
or eax, 2
mov rcx, rdi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x100133565
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x48]
call sub.msvcrt.dll_memset
and dword [rsp + 0xd8], 0
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1001335f9
test byte [rcx + 0x1c], 1
je 0x1001335f9
cmp byte [rcx + 0x19], 5
jb 0x1001335f9
mov rcx, qword [rcx + 0x10]
mov edx, 0x13
mov r9, rdi
mov r8, r15
call fcn.10001db08
and qword [rsp + 0x60], 0
and dword [rsp + 0x68], 0
and qword [rsp + 0x80], 0
lea rax, [0x100005fd8]
lea r9, [rsp + 0xd8]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov edx, 0x1f6
xor ecx, ecx
mov dword [rsp + 0x58], 0x80000000
mov dword [rsp + 0x6c], esi
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x78], rdi
call sub.NETAPI32.dll_NetShareAdd
mov esi, eax
test eax, eax
je 0x10013369d
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x10013368d
test byte [rcx + 0x1c], 1
je 0x10013368d
cmp byte [rcx + 0x19], 2
jb 0x10013368d
mov eax, dword [rsp + 0xd8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x14
mov r9d, esi
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.10001d914
movzx ebx, si
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
jmp 0x1001336c6
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1001336c6
test byte [rcx + 0x1c], 1
je 0x1001336c6
cmp byte [rcx + 0x19], 5
jb 0x1001336c6
mov rcx, qword [rcx + 0x10]
mov edx, 0x15
mov r8, r15
call fcn.10001c854
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1001336dc
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rsp + 0x38], 0
test rdi, rdi
je 0x1001336ea
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
jns 0x10013371a
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x10013371a
test byte [rcx + 0x1c], 1
je 0x10013371a
cmp byte [rcx + 0x19], 2
jb 0x10013371a
mov rcx, qword [rcx + 0x10]
mov edx, 0x16
mov r9d, ebx
mov r8, r15
call fcn.10001c878
mov eax, ebx
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret