Function at 0x140009c00
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 [0x1410cc870]
xor rax, rsp
mov qword [rbp + 0xa8], rax
call fcn.140022180
mov rsi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140009d20
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140009d20
mov qword [rbp - 0x78], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rax, [0x140347c70]
mov qword [rbp - 0x60], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.140010200
mov rdi, rax
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x140348098]
lea rcx, [rsp + 0x40]
call fcn.140004110
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.14002aae0
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x140009cd0
cmp eax, ebx
je 0x140009cde
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140009cde
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x140009cee
mov dl, 0x20
call fcn.14002ab60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, qword [rdi]
call fcn.14002ad40
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x140009d0f
mov dl, 0x20
call fcn.14002ab60
nop
lea rcx, [rsp + 0x50]
call fcn.140023910
xor al, al
jmp 0x14000a031
mov edx, 0x28
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x140009dd7
mov qword [rbp - 0x58], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
lea rax, [0x140347c70]
mov qword [rbp - 0x40], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x58]
call fcn.140010200
mov rdi, rax
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x1403480b8]
lea rcx, [rsp + 0x48]
call fcn.140004110
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.14002aae0
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x140009da7
cmp eax, ebx
je 0x140009db5
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140009db5
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x140009dc6
mov dl, 0x20
call fcn.14002ab60
nop
lea rcx, [rsp + 0x58]
call fcn.140023910
xor al, al
jmp 0x14000a031
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x140009e3d
mov qword [rbp - 0x38], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
lea rax, [0x140347c70]
mov qword [rbp - 0x20], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.140010200
nop
lea rdx, [0x1403480e0]
mov rcx, rax
call fcn.1400041d0
nop
lea rcx, [rsp + 0x60]
call fcn.140023910
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x14000a031
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, [0x140348110]
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 0x140009efb
mov qword [rbp - 0x18], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
lea rax, [0x140347c70]
mov qword [rbp], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.140010200
nop
lea rdx, [0x140348128]
mov rcx, rax
call fcn.1400041d0
nop
lea rcx, [rsp + 0x68]
jmp 0x140009e28
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 0x140009f66
mov qword [rbp + 8], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
lea rax, [0x140347c70]
mov qword [rbp + 0x20], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 8]
call fcn.140010200
nop
lea rdx, [0x140348148]
mov rcx, rax
call fcn.1400041d0
nop
lea rcx, [rsp + 0x70]
call fcn.140023910
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140009e2d
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, [0x140347c70]
je 0x140009fe4
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.140010200
nop
lea rdx, [0x140348178]
mov rcx, rax
call fcn.1400041d0
nop
lea rcx, [rsp + 0x78]
call fcn.140023910
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140009e2d
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.140010200
nop
lea rdx, [0x1403481a8]
mov rcx, rax
call fcn.1400041d0
nop
lea rcx, [rbp - 0x80]
call fcn.140023910
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.14015c110
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