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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
and qword [rbp + 0x77], 0
lea rcx, [rbp + 0x67]
call fcn.140135ef0
cmp byte [rbp + 0x67], 0
lea r13, [0x14017a048]
mov ebx, eax
jne 0x1401362d1
test eax, eax
js 0x1401362d5
lea rcx, [rbp + 0x77]
call fcn.14013631c
mov rsi, qword [rbp + 0x77]
mov ebx, eax
test eax, eax
js 0x1401362bd
xorps xmm0, xmm0
lea rcx, [rbp - 0x39]
xor eax, eax
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rax
call fcn.140098724
mov ebx, eax
test eax, eax
js 0x1401362bd
lea rdx, [rbp - 0x39]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14013612a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
jne 0x14013615e
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14013612a
test byte [rcx + 0x1c], 1
je 0x14013612a
cmp byte [rcx + 0x19], 5
jb 0x14013612a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169608]
mov edx, 0x12
call fcn.140006b98
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
or edi, 0xffffffff
cmp eax, edi
jne 0x140136185
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x140136177
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x140136162
test eax, eax
jg 0x140136169
mov ebx, eax
jmp 0x1401362a3
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1401362a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x140136169
or eax, 2
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
test eax, eax
je 0x140136140
and dword [rbp - 0xd], 0
and qword [rbp + 7], 0
and qword [rbp + 0x1f], 0
and dword [rbp + 0x6f], 0
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x1401361df
test byte [rcx + 0x1c], 1
je 0x1401361df
cmp byte [rcx + 0x19], 5
jb 0x1401361df
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169608]
mov edx, 0x13
mov r9, rsi
call fcn.1400112c8
and qword [rbp - 9], 0
lea rax, str.WsbMountedVolumes
and dword [rbp - 1], 0
lea r9, [rbp + 0x6f]
and qword [rbp + 0x17], 0
lea r8, [rbp - 0x19]
mov qword [rbp - 0x19], rax
mov edx, 0x1f6
mov rax, qword [rbp - 0x31]
xor ecx, ecx
mov qword [rbp + 0x27], rax
mov dword [rbp - 0x11], 0x80000000
mov dword [rbp + 3], edi
mov qword [rbp + 0xf], rsi
call qword [sym.imp.NETAPI32.dll_NetShareAdd]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x140136276
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x140136266
test byte [rcx + 0x1c], 1
je 0x140136266
cmp byte [rcx + 0x19], 2
jb 0x140136266
mov eax, dword [rbp + 0x6f]
lea r8, [0x140169608]
mov rcx, qword [rcx + 0x10]
mov edx, 0x14
mov r9d, edi
mov dword [rsp + 0x20], eax
call fcn.14003dbf0
test edi, edi
jg 0x14013626e
mov ebx, edi
jmp 0x1401362a3
movzx ebx, di
jmp 0x14013616c
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x1401362a3
test byte [rcx + 0x1c], 1
je 0x1401362a3
cmp byte [rcx + 0x19], 5
jb 0x1401362a3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169608]
mov edx, 0x15
call fcn.140006b98
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1401362bd
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
and qword [rbp - 0x31], 0
test rsi, rsi
je 0x1401362d1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x140136305
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x140136305
test byte [rcx + 0x1c], 1
je 0x140136305
cmp byte [rcx + 0x19], 2
jb 0x140136305
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169608]
mov edx, 0x16
mov r9d, ebx
call fcn.140006bc4
mov eax, ebx
add rsp, 0xa0
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret