Function at 0x10009d620
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 0x10009d797
test r8b, r8b
je 0x10009d783
test r9, r9
jne 0x10009d6a8
lea r8, [0x10000a0c0]
lea edx, [rbx + 0x7d]
lea rcx, [0x10000a090]
call fcn.100099ad8
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.10009a040
mov r13, qword [rsp + 0x50]
mov ebx, eax
test eax, eax
js 0x10009d823
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, rdi
call fcn.1000a4b18
mov ebx, eax
test eax, eax
js 0x10009d823
mov r14b, byte [rsp + 0x30]
mov rcx, rdi
test r14b, r14b
jne 0x10009d734
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.1000a56e4
mov r12, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
js 0x10009d72a
lea rdx, [rsp + 0x38]
xor r8d, r8d
mov rcx, r12
call fcn.10009b4ec
mov rsi, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
jns 0x10009d747
mov rbp, qword [rsp + 0x38]
jmp 0x10009d7c6
mov rsi, qword [rsp + 0x40]
jmp 0x10009d7c6
lea rdx, [rsp + 0x38]
xor r8d, r8d
call fcn.10009b4ec
mov ebx, eax
test eax, eax
js 0x10009d779
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.1000a464c
mov ebx, eax
test eax, eax
js 0x10009d7c6
mov r14b, byte [rsp + 0xa8]
jmp 0x10009d797
mov rbp, qword [rsp + 0x38]
jmp 0x10009d804
lea rcx, [rsp + 0x58]
call fcn.1000a45dc
mov ebx, eax
test eax, eax
js 0x10009d85b
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 0x10009d7c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test r12, r12
je 0x10009d7e5
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 0x10009d804
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 0x10009d823
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 0x10009d831
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r12, r12
je 0x10009d83f
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rsi, rsi
je 0x10009d84d
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rbp, rbp
je 0x10009d85b
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x10009d86b
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