Function at 0x1413c2280
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
mov qword [rbp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rbp + 0xb8], rax
call fcn.1413db220
mov rsi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1413c23a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1413c23a0
mov qword [rbp - 0x68], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
lea rax, [0x140181050]
mov qword [rbp - 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.1413c9170
mov rdi, rax
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x1401812e8]
lea rcx, [rsp + 0x40]
call fcn.1413bc190
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.1413e4110
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1413c2350
cmp eax, ebx
je 0x1413c235e
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1413c235e
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x1413c236e
mov dl, 0x20
call fcn.1413e4190
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, qword [rdi]
call fcn.1413e4370
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x1413c238f
mov dl, 0x20
call fcn.1413e4190
nop
lea rcx, [rsp + 0x60]
call fcn.1413dc9c0
xor al, al
jmp 0x1413c277a
mov edx, 0x28
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x1413c2457
mov qword [rbp - 0x48], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
lea rax, [0x140181050]
mov qword [rbp - 0x30], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.1413c9170
mov rdi, rax
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x140181308]
lea rcx, [rsp + 0x48]
call fcn.1413bc190
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.1413e4110
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1413c2427
cmp eax, ebx
je 0x1413c2435
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1413c2435
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x1413c2446
mov dl, 0x20
call fcn.1413e4190
nop
lea rcx, [rsp + 0x68]
call fcn.1413dc9c0
xor al, al
jmp 0x1413c277a
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1413c2513
mov qword [rbp - 0x28], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
lea rax, [0x140181050]
mov qword [rbp - 0x10], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x28]
call fcn.1413c9170
mov rsi, rax
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x140181330]
lea rcx, [rsp + 0x50]
call fcn.1413bc190
nop
mov rdx, rax
mov rcx, qword [rsi]
call fcn.1413e4110
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1413c24da
cmp eax, ebx
je 0x1413c24e8
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1413c24e8
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
mov rcx, qword [rsi]
cmp byte [rcx + 0x20], 0
je 0x1413c24f9
mov dl, 0x20
call fcn.1413e4190
nop
lea rcx, [rsp + 0x70]
call fcn.1413dc9c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x1413c277a
xor eax, eax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0x88], 0x10000000
mov dword [rbp + 0x8c], 3
mov dword [rbp + 0x90], 3
mov dword [rbp + 0xa4], 1
mov dword [rbp + 0xa8], 5
lea rax, [0x140181360]
mov qword [rbp + 0xb0], rax
xor ebx, ebx
mov qword [rbp + 0x80], rbx
lea r9, [rbp + 0x80]
xor r8d, r8d
lea rdx, [rbp + 0x88]
lea ecx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x1413c2639
mov qword [rbp - 8], 2
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
lea rax, [0x140181050]
mov qword [rbp + 0x10], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 8]
call fcn.1413c9170
mov rsi, rax
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x140181378]
lea rcx, [rsp + 0x58]
call fcn.1413bc190
nop
mov rdx, rax
mov rcx, qword [rsi]
call fcn.1413e4110
nop
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1413c2610
cmp eax, ebx
je 0x1413c261e
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1413c261e
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
mov rcx, qword [rsi]
cmp byte [rcx + 0x20], 0
je 0x1413c262f
mov dl, 0x20
call fcn.1413e4190
nop
lea rcx, [rsp + 0x78]
jmp 0x1413c24fe
xor r9d, r9d
mov r8, qword [rbp + 0x80]
lea edx, [r9 + 1]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x1413c26a8
mov qword [rbp + 0x18], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
lea rax, [0x140181050]
mov qword [rbp + 0x30], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x18]
call fcn.1413c9170
nop
lea rdx, [0x140181398]
mov rcx, rax
call fcn.1413bc250
nop
lea rcx, [rbp - 0x80]
call fcn.1413dc9c0
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1413c2503
mov qword [rsp + 0x30], rbx
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 4]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
xorps xmm0, xmm0
test eax, eax
lea rax, [0x140181050]
je 0x1413c272a
mov qword [rbp + 0x38], 2
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x38]
call fcn.1413c9170
nop
lea rdx, [0x1401813c8]
mov rcx, rax
call fcn.1413bc250
nop
lea rcx, [rbp - 0x78]
call fcn.1413dc9c0
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1413c2503
mov qword [rbp + 0x58], 2
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x58]
call fcn.1413c9170
nop
lea rdx, [0x140181400]
mov rcx, rax
call fcn.1413bc250
nop
lea rcx, [rbp - 0x70]
call fcn.1413dc9c0
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.1414c4ac0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret