Function at 0x1402d44f0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rbp + 0xa8], rax
call fcn.14036dfa0
mov rsi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1402d4610
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1402d4610
mov qword [rbp - 0x78], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rax, [0x1401ad6d0]
mov qword [rbp - 0x60], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.14035bee0
mov rdi, rax
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x1401adb88]
lea rcx, [rsp + 0x40]
call fcn.1402ce480
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.140376d70
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1402d45c0
cmp eax, ebx
je 0x1402d45ce
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1402d45ce
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x1402d45de
mov dl, 0x20
call fcn.140376df0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, qword [rdi]
call fcn.140376f50
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x1402d45ff
mov dl, 0x20
call fcn.140376df0
nop
lea rcx, [rsp + 0x50]
call fcn.14036f730
xor al, al
jmp 0x1402d4921
mov edx, 0x28
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x1402d46c7
mov qword [rbp - 0x58], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
lea rax, [0x1401ad6d0]
mov qword [rbp - 0x40], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x58]
call fcn.14035bee0
mov rdi, rax
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x1401adba8]
lea rcx, [rsp + 0x48]
call fcn.1402ce480
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.140376d70
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1402d4697
cmp eax, ebx
je 0x1402d46a5
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1402d46a5
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x1402d46b6
mov dl, 0x20
call fcn.140376df0
nop
lea rcx, [rsp + 0x58]
call fcn.14036f730
xor al, al
jmp 0x1402d4921
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1402d472d
mov qword [rbp - 0x38], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
lea rax, [0x1401ad6d0]
mov qword [rbp - 0x20], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.14035bee0
nop
lea rdx, [0x1401adbd0]
mov rcx, rax
call fcn.1402ce540
nop
lea rcx, [rsp + 0x60]
call fcn.14036f730
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x1402d4921
xor eax, eax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov dword [rbp + 0x78], 0x10000000
mov dword [rbp + 0x7c], 3
mov dword [rbp + 0x80], 3
mov dword [rbp + 0x94], 1
mov dword [rbp + 0x98], 5
lea rax, [0x1401adc00]
mov qword [rbp + 0xa0], rax
xor ebx, ebx
mov qword [rbp + 0x70], rbx
lea r9, [rbp + 0x70]
xor r8d, r8d
lea rdx, [rbp + 0x78]
lea ecx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x1402d47eb
mov qword [rbp - 0x18], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
lea rax, [0x1401ad6d0]
mov qword [rbp], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.14035bee0
nop
lea rdx, [0x1401adc18]
mov rcx, rax
call fcn.1402ce540
nop
lea rcx, [rsp + 0x68]
jmp 0x1402d4718
xor r9d, r9d
mov r8, qword [rbp + 0x70]
lea edx, [r9 + 1]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x1402d4856
mov qword [rbp + 8], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
lea rax, [0x1401ad6d0]
mov qword [rbp + 0x20], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 8]
call fcn.14035bee0
nop
lea rdx, [0x1401adc38]
mov rcx, rax
call fcn.1402ce540
nop
lea rcx, [rsp + 0x70]
call fcn.14036f730
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1402d471d
mov qword [rsp + 0x30], rbx
mov rax, qword [rbp + 0x70]
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, [0x1401ad6d0]
je 0x1402d48d4
mov qword [rbp + 0x28], 2
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x28]
call fcn.14035bee0
nop
lea rdx, [0x1401adc68]
mov rcx, rax
call fcn.1402ce540
nop
lea rcx, [rsp + 0x78]
call fcn.14036f730
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1402d471d
mov qword [rbp + 0x48], 2
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x48]
call fcn.14035bee0
nop
lea rdx, [0x1401adc98]
mov rcx, rax
call fcn.1402ce540
nop
lea rcx, [rbp - 0x80]
call fcn.14036f730
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1404e17d0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret