Function at 0x10009dbf8
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov byte [rax + 0x10], dl
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
xor ebx, ebx
xor r12d, r12d
xor esi, esi
and dword [rax - 0x64], ebx
xor ebp, ebp
xor r13d, r13d
mov qword [rax - 0x50], r12
mov qword [rax - 0x58], rsi
mov byte [rax - 0x68], 1
mov qword [rax - 0x60], rbp
mov qword [rax - 0x48], r13
xor eax, eax
mov rdi, r9
mov r14b, dl
mov r15, rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
test dl, dl
je 0x10009dd6f
test r8b, r8b
je 0x10009dd5b
test r9, r9
jne 0x10009dc80
lea r8, [0x10000a040]
lea edx, [rbx + 0x7d]
lea rcx, [0x10000a010]
call fcn.10009a050
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.10009a5b8
mov r13, qword [rsp + 0x50]
mov ebx, eax
test eax, eax
js 0x10009ddfb
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, rdi
call fcn.1000a4eec
mov ebx, eax
test eax, eax
js 0x10009ddfb
mov r14b, byte [rsp + 0x30]
mov rcx, rdi
test r14b, r14b
jne 0x10009dd0c
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.1000a5ab8
mov r12, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
js 0x10009dd02
lea rdx, [rsp + 0x38]
xor r8d, r8d
mov rcx, r12
call fcn.10009bac4
mov rsi, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
jns 0x10009dd1f
mov rbp, qword [rsp + 0x38]
jmp 0x10009dd9e
mov rsi, qword [rsp + 0x40]
jmp 0x10009dd9e
lea rdx, [rsp + 0x38]
xor r8d, r8d
call fcn.10009bac4
mov ebx, eax
test eax, eax
js 0x10009dd51
mov rbp, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x58]
mov r8b, r14b
mov rcx, r15
mov rdx, rbp
mov qword [rsp + 0x20], rax
call fcn.1000a4a20
mov ebx, eax
test eax, eax
js 0x10009dd9e
mov r14b, byte [rsp + 0xa8]
jmp 0x10009dd6f
mov rbp, qword [rsp + 0x38]
jmp 0x10009dddc
lea rcx, [rsp + 0x58]
call fcn.1000a49b0
mov ebx, eax
test eax, eax
js 0x10009de33
lea rax, [rsp + 0x58]
neg r14b
mov rcx, r15
sbb rdx, rdx
and rdx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10009dd9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test r12, r12
je 0x10009ddbd
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasw ax, word [rdi]
mov rdi, r12
not rcx
dec rcx
add rcx, rcx
rep stosb byte [rdi], al
test rsi, rsi
je 0x10009dddc
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov rdi, rsi
not rcx
dec rcx
add rcx, rcx
rep stosb byte [rdi], al
test rbp, rbp
je 0x10009ddfb
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasw ax, word [rdi]
mov rdi, rbp
not rcx
dec rcx
add rcx, rcx
rep stosb byte [rdi], al
test r13, r13
je 0x10009de09
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r12, r12
je 0x10009de17
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rsi, rsi
je 0x10009de25
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rbp, rbp
je 0x10009de33
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x10009de43
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret