Function at 0x1411b0530
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14136fbc0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
call fcn.1411c8780
mov rsi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1411b0656
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1411b0656
mov qword [rbp - 0x21], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
lea rax, [0x1400f0658]
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x21]
call fcn.1411ca240
mov rdi, rax
mov rbx, qword [rax]
mov qword [rbp - 0x39], 0x1b
lea rax, [0x1400f0948]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.1411c2640
nop
mov rdx, rax
mov rcx, rbx
call fcn.1411d9ab0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1411b0615
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1411b0615
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 1]
call fcn.1411dba10
mov rcx, qword [rdi]
cmp byte [rcx + 0x30], 0
je 0x1411b0625
mov dl, 0x20
call fcn.1411d9b20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, qword [rdi]
call fcn.1411d9d00
mov rcx, qword [rdi]
cmp byte [rcx + 0x30], 0
je 0x1411b0646
mov dl, 0x20
call fcn.1411d9b20
nop
lea rcx, [rbp - 0x29]
call fcn.1411cffd0
xor al, al
jmp 0x1411b0b54
mov edx, 0x28
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x1411b0722
mov qword [rbp - 0x21], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
lea rax, [0x1400f0658]
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x21]
call fcn.1411ca240
mov rdi, rax
mov rbx, qword [rax]
mov qword [rbp - 0x39], 0x27
lea rax, [0x1400f0968]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.1411c2640
nop
mov rdx, rax
mov rcx, rbx
call fcn.1411d9ab0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1411b0701
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1411b0701
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 1]
call fcn.1411dba10
mov rcx, qword [rdi]
cmp byte [rcx + 0x30], 0
je 0x1411b0712
mov dl, 0x20
call fcn.1411d9b20
nop
lea rcx, [rbp - 0x29]
call fcn.1411cffd0
xor al, al
jmp 0x1411b0b54
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xorps xmm0, xmm0
test eax, eax
jne 0x1411b07f1
mov qword [rbp - 0x21], 2
movdqu xmmword [rbp - 0x19], xmm0
lea rax, [0x1400f0658]
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x21]
call fcn.1411ca240
mov rsi, rax
mov rbx, qword [rax]
mov qword [rbp - 0x39], 0x29
lea rax, [0x1400f0990]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.1411c2640
nop
mov rdx, rax
mov rcx, rbx
call fcn.1411d9ab0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1411b07c7
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1411b07c7
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 1]
call fcn.1411dba10
mov rcx, qword [rsi]
cmp byte [rcx + 0x30], 0
je 0x1411b07d8
mov dl, 0x20
call fcn.1411d9b20
nop
lea rcx, [rbp - 0x29]
call fcn.1411cffd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x1411b0b54
movdqu xmmword [rbp + 0x2b], xmm0
xor ebx, ebx
mov qword [rbp + 0x3f], 5
mov dword [rbp + 0x1f], 0x10000000
mov dword [rbp + 0x23], 3
mov dword [rbp + 0x27], 3
mov dword [rbp + 0x3b], 1
lea rax, [0x1400f09c0]
mov qword [rbp + 0x47], rax
mov qword [rbp + 0x17], rbx
lea r9, [rbp + 0x17]
xor r8d, r8d
lea rdx, [rbp + 0x1f]
mov ecx, 1
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x1411b0902
mov qword [rbp - 0x21], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
lea rax, [0x1400f0658]
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x21]
call fcn.1411ca240
mov rsi, rax
mov rbx, qword [rax]
mov qword [rbp - 0x39], 0x1d
lea rax, [0x1400f09d8]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.1411c2640
nop
mov rdx, rax
mov rcx, rbx
call fcn.1411d9ab0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1411b08d8
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1411b08d8
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 1]
call fcn.1411dba10
mov rcx, qword [rsi]
cmp byte [rcx + 0x30], 0
je 0x1411b08e9
mov dl, 0x20
call fcn.1411d9b20
nop
lea rcx, [rbp - 0x29]
call fcn.1411cffd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x1411b0b54
xor r9d, r9d
mov r8, qword [rbp + 0x17]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x1411b09e2
mov qword [rbp - 0x21], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
lea rax, [0x1400f0658]
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x21]
call fcn.1411ca240
mov rsi, rax
mov rbx, qword [rax]
mov qword [rbp - 0x39], 0x2a
lea rax, [0x1400f09f8]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.1411c2640
nop
mov rdx, rax
mov rcx, rbx
call fcn.1411d9ab0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1411b09ae
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1411b09ae
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 1]
call fcn.1411dba10
mov rcx, qword [rsi]
cmp byte [rcx + 0x30], 0
je 0x1411b09bf
mov dl, 0x20
call fcn.1411d9b20
nop
lea rcx, [rbp - 0x29]
call fcn.1411cffd0
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x1411b0b54
mov qword [rsp + 0x30], rbx
mov rax, qword [rbp + 0x17]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov edx, 1
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov qword [rbp - 0x21], 2
xorps xmm0, xmm0
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x21]
movdqu xmmword [rbp - 0x19], xmm0
test eax, eax
lea rax, [0x1400f0658]
mov qword [rbp - 9], rax
je 0x1411b0ab9
call fcn.1411ca240
mov rsi, rax
mov rbx, qword [rax]
mov qword [rbp - 0x39], 0x28
lea rax, [0x1400f0a28]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.1411c2640
nop
mov rdx, rax
mov rcx, rbx
call fcn.1411d9ab0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1411b0aa3
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1411b0aa3
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 1]
call fcn.1411dba10
mov rcx, qword [rsi]
cmp byte [rcx + 0x30], 0
je 0x1411b0ab4
mov dl, 0x20
call fcn.1411d9b20
nop
jmp 0x1411b09bf
call fcn.1411ca240
mov rsi, rax
mov rbx, qword [rax]
mov qword [rbp - 0x39], 0x24
lea rax, [0x1400f0a58]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.1411c2640
nop
mov rdx, rax
mov rcx, rbx
call fcn.1411d9ab0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1411b0b25
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1411b0b25
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 1]
call fcn.1411dba10
mov rcx, qword [rsi]
cmp byte [rcx + 0x30], 0
je 0x1411b0b36
mov dl, 0x20
call fcn.1411d9b20
nop
lea rcx, [rbp - 0x29]
call fcn.1411cffd0
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1413164a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret