Function at 0x1400091b0
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rbp + 0x80], 0xfffffffffffffffe
call fcn.14001afc0
mov rdi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140009284
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140009284
mov dword [rbp - 0x60], 1
mov dword [rbp - 0x5c], 0xad
lea rax, [0x14143e2a0]
mov qword [rbp - 0x58], rax
lea rax, [0x14143e430]
mov qword [rbp - 0x50], rax
lea rax, [0x141584378]
mov qword [rbp - 0x48], rax
lea rdx, [rbp + 0xc8]
lea rcx, [rbp - 0x60]
call fcn.14000f490
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, [0x14143e470]
mov rcx, rbx
call fcn.140001a60
mov rbx, rax
mov edx, edi
mov rcx, qword [rax]
call fcn.140024190
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x140009271
mov dl, 0x20
call fcn.140023e10
nop
lea rcx, [rbp + 0xc8]
call fcn.140003fa0
xor al, al
jmp 0x140009624
mov edx, 0x28
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x14000934e
mov dword [rbp - 0x20], 1
mov dword [rbp - 0x1c], 0xb5
lea rax, [0x14143e2a0]
mov qword [rbp - 0x18], rax
lea rax, [0x14143e430]
mov qword [rbp - 0x10], rax
lea rax, [0x141584378]
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x20]
call fcn.14000f490
mov rdi, rax
or r8d, 0xffffffff
lea rdx, [0x14143e490]
lea rcx, [rbp + 0xc0]
call fcn.140001960
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.140023d90
nop
mov rcx, qword [rbp + 0xc0]
mov eax, dword [rcx]
test eax, eax
je 0x14000931f
cmp eax, 0xffffffff
je 0x14000932d
lock dec dword [rcx]
jne 0x14000932d
mov rcx, qword [rbp + 0xc0]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x14000933e
mov dl, 0x20
call fcn.140023e10
nop
lea rcx, [rbp - 0x68]
call fcn.140003fa0
xor al, al
jmp 0x140009624
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1400093c6
mov dword [rbp + 0x60], 1
mov dword [rbp + 0x64], 0xba
lea rax, [0x14143e2a0]
mov qword [rbp + 0x68], rax
lea rax, [0x14143e430]
mov qword [rbp + 0x70], rax
lea rax, [0x141584378]
mov qword [rbp + 0x78], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x60]
call fcn.14000f490
nop
lea rdx, [0x14143e4b8]
mov rcx, rax
call fcn.140001a60
nop
lea rcx, [rbp - 0x70]
call fcn.140003fa0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x140009624
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x40], 0x10000000
mov dword [rsp + 0x44], 3
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 5
lea rax, [0x14143e4e8]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0xb8], 0
lea r9, [rbp + 0xb8]
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea ecx, [r8 + 1]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x140009498
mov dword [rbp + 0x20], 1
mov dword [rbp + 0x24], 0xcb
lea rax, [0x14143e2a0]
mov qword [rbp + 0x28], rax
lea rax, [0x14143e430]
mov qword [rbp + 0x30], rax
lea rax, [0x141584378]
mov qword [rbp + 0x38], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x20]
call fcn.14000f490
nop
lea rdx, [0x14143e500]
mov rcx, rax
call fcn.140001a60
nop
lea rcx, [rbp - 0x80]
jmp 0x1400093b1
xor r9d, r9d
mov r8, qword [rbp + 0xb8]
lea edx, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x14000951d
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x3c], 0xd1
lea rax, [0x14143e2a0]
mov qword [rbp - 0x38], rax
lea rax, [0x14143e430]
mov qword [rbp - 0x30], rax
lea rax, [0x141584378]
mov qword [rbp - 0x28], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.14000f490
nop
lea rdx, [0x14143e520]
mov rcx, rax
call fcn.140001a60
nop
lea rcx, [rsp + 0x70]
call fcn.140003fa0
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400093b6
mov qword [rsp + 0x30], 0
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 4]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test eax, eax
lea rax, [0x14143e2a0]
je 0x1400095bd
mov dword [rbp], 1
mov dword [rbp + 4], 0xd9
mov qword [rbp + 8], rax
lea rax, [0x14143e430]
mov qword [rbp + 0x10], rax
lea rax, [0x141584378]
mov qword [rbp + 0x18], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp]
call fcn.14000f490
nop
lea rdx, [0x14143e550]
mov rcx, rax
call fcn.140001a60
nop
lea rcx, [rsp + 0x78]
call fcn.140003fa0
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400093b6
mov dword [rbp + 0x40], 1
mov dword [rbp + 0x44], 0xdf
mov qword [rbp + 0x48], rax
lea rax, [0x14143e430]
mov qword [rbp + 0x50], rax
lea rax, [0x141584378]
mov qword [rbp + 0x58], rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x40]
call fcn.14000f490
nop
lea rdx, [0x14143e580]
mov rcx, rax
call fcn.140001a60
nop
lea rcx, [rbp - 0x78]
call fcn.140003fa0
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
add rsp, 0x190
pop rdi
pop rbx
pop rbp
ret