Function at 0x140007d80
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov qword [rbp + 0x37], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
call fcn.140012e50
mov rdi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140007e4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140007e4c
lea rcx, [rbp + 0x2f]
call fcn.140003810
mov rbx, rax
or r8d, 0xffffffff
lea rdx, [0x141536590]
lea rcx, [rbp + 0x77]
call fcn.140014790
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.14001a6b0
nop
mov rax, qword [rbp + 0x77]
lock dec dword [rax]
jne 0x140007e0b
mov rcx, qword [rbp + 0x77]
call fcn.140012a00
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x140007e1b
mov dl, 0x20
call fcn.14001a460
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, qword [rbx]
call fcn.14001a530
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x140007e3c
mov dl, 0x20
call fcn.14001a460
nop
lea rcx, [rbp + 0x2f]
call fcn.1400011d0
xor al, al
jmp 0x1400080a5
mov edx, 0x28
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x140007ec2
lea rcx, [rbp + 0x27]
call fcn.140003810
mov rbx, rax
or r8d, 0xffffffff
lea rdx, [0x141536568]
lea rcx, [rbp + 0x7f]
call fcn.140014790
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.14001a6b0
nop
mov rax, qword [rbp + 0x7f]
lock dec dword [rax]
jne 0x140007ea1
mov rcx, qword [rbp + 0x7f]
call fcn.140012a00
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x140007eb2
mov dl, 0x20
call fcn.14001a460
nop
lea rcx, [rbp + 0x27]
call fcn.1400011d0
xor al, al
jmp 0x1400080a5
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x140007f3d
lea rcx, [rbp + 0xf]
call fcn.140003810
mov rsi, rax
or r8d, 0xffffffff
lea rdx, [0x141536538]
lea rcx, [rbp - 0x39]
call fcn.140014790
nop
mov rdx, rax
mov rcx, qword [rsi]
call fcn.14001a6b0
nop
mov rax, qword [rbp - 0x39]
lock dec dword [rax]
jne 0x140007f13
mov rcx, qword [rbp - 0x39]
call fcn.140012a00
mov rcx, qword [rsi]
cmp byte [rcx + 0x20], 0
je 0x140007f24
mov dl, 0x20
call fcn.14001a460
nop
lea rcx, [rbp + 0xf]
call fcn.1400011d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x1400080a5
xor eax, eax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov dword [rbp - 0x31], 0x10000000
mov dword [rbp - 0x2d], 3
mov dword [rbp - 0x29], 3
mov dword [rbp - 0x15], 1
mov dword [rbp - 0x11], 5
lea rax, [0x141536520]
mov qword [rbp - 9], rax
xor esi, esi
mov qword [rbp + 0x6f], rsi
lea r9, [rbp + 0x6f]
xor r8d, r8d
lea rdx, [rbp - 0x31]
lea ecx, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x140007fc6
lea rcx, [rbp - 1]
call fcn.140003810
nop
lea rdx, [0x141536500]
mov rcx, rax
call fcn.1400012b0
nop
lea rcx, [rbp - 1]
jmp 0x140007f28
xor r9d, r9d
mov r8, qword [rbp + 0x6f]
lea edx, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x140008010
lea rcx, [rbp + 0x1f]
call fcn.140003810
nop
lea rdx, [0x1415364d0]
mov rcx, rax
call fcn.1400012b0
nop
lea rcx, [rbp + 0x1f]
call fcn.1400011d0
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140007f2d
mov qword [rsp + 0x30], rsi
mov rax, qword [rbp + 0x6f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 4]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test eax, eax
je 0x14000806d
lea rcx, [rbp + 7]
call fcn.140003810
nop
lea rdx, [0x1415364a0]
mov rcx, rax
call fcn.1400012b0
nop
lea rcx, [rbp + 7]
call fcn.1400011d0
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140007f2d
lea rcx, [rbp + 0x17]
call fcn.140003810
nop
lea rdx, [0x141536478]
mov rcx, rax
call fcn.1400012b0
nop
lea rcx, [rbp + 0x17]
call fcn.1400011d0
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret