Function at 0x100133438
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.1001332dc
cmp byte [rsp + 0xd0], 0
lea r14, [0x1001653b8]
mov ebx, eax
lea r15, [0x100002e90]
jne 0x10013369e
test eax, eax
js 0x1001336a2
lea rcx, [rsp + 0xe0]
call fcn.1001331b0
mov rdi, qword [rsp + 0xe0]
mov ebx, eax
test eax, eax
js 0x100133690
xor eax, eax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
call fcn.1000a45dc
mov ebx, eax
test eax, eax
js 0x100133690
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100133509
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100133530
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100133509
test byte [rcx + 0x1c], 1
je 0x100133509
cmp byte [rcx + 0x19], 5
jb 0x100133509
mov rcx, qword [rcx + 0x10]
mov edx, 0x12
mov r8, r15
call fcn.10001c7b8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or esi, 0xffffffff
cmp eax, esi
jne 0x100133557
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x100133543
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x10013367a
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x10013367a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
jmp 0x10013367a
or eax, 2
mov rcx, rdi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x100133519
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 0x1001335ad
test byte [rcx + 0x1c], 1
je 0x1001335ad
cmp byte [rcx + 0x19], 5
jb 0x1001335ad
mov rcx, qword [rcx + 0x10]
mov edx, 0x13
mov r9, rdi
mov r8, r15
call fcn.10001da24
and qword [rsp + 0x60], 0
and dword [rsp + 0x68], 0
and qword [rsp + 0x80], 0
lea rax, [0x100006048]
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 0x100133651
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100133641
test byte [rcx + 0x1c], 1
je 0x100133641
cmp byte [rcx + 0x19], 2
jb 0x100133641
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.10001e8b4
movzx ebx, si
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
jmp 0x10013367a
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x10013367a
test byte [rcx + 0x1c], 1
je 0x10013367a
cmp byte [rcx + 0x19], 5
jb 0x10013367a
mov rcx, qword [rcx + 0x10]
mov edx, 0x15
mov r8, r15
call fcn.10001c7b8
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x100133690
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rsp + 0x38], 0
test rdi, rdi
je 0x10013369e
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
jns 0x1001336ce
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1001336ce
test byte [rcx + 0x1c], 1
je 0x1001336ce
cmp byte [rcx + 0x19], 2
jb 0x1001336ce
mov rcx, qword [rcx + 0x10]
mov edx, 0x16
mov r9d, ebx
mov r8, r15
call fcn.10001c7dc
mov eax, ebx
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret