Function at 0x14000c144
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor edx, edx
mov rsi, rcx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x14000c392
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 3
jne 0x14000c380
lea rdx, [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchSkipRoot]
nop dword [rax + rax]
test eax, eax
js 0x14000c306
mov rax, qword [rsp + 0x58]
cmp word [rax], r14w
je 0x14000c306
or r15, 0xffffffffffffffff
mov rax, r15
inc rax
cmp word [rsi + rax*2], r14w
jne 0x14000c1bf
lea rbx, [rax + rax]
test rax, rax
je 0x14000c1dd
cmp word [rbx + rsi - 2], 0x5c
jne 0x14000c1dd
dec rax
mov dword [rsp + 0x28], 1
lea r9, [0x14008eecc]
mov r8d, eax
mov dword [rsp + 0x20], 1
mov rdx, rsi
mov ecx, 0x800000
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindStringOrdinal]
nop dword [rax + rax]
cmp eax, r15d
jne 0x14000c216
lea rdi, [rbx + rsi]
jmp 0x14000c220
movsxd rdi, eax
inc rdi
lea rdi, [rsi + rdi*2]
sub rdi, rsi
sar rdi, 1
je 0x14000c306
lea rbp, [rdi + 1]
mov eax, 2
mul rbp
lea rdx, [0x1400926e0]
cmovo rax, r15
mov rcx, rax
call fcn.14007eb7c
mov rbx, rax
test rax, rax
jne 0x14000c276
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov ebx, 0x8007000e
lea edx, [rax + 0x7b]
mov r9d, ebx
call fcn.140005fe4
mov eax, ebx
jmp 0x14000c394
lea rax, [rbp - 1]
mov ecx, 0x7ffffffe
cmp rax, rcx
ja 0x14000c34d
cmp rdi, rcx
jbe 0x14000c298
mov edi, 0x80070057
mov word [rbx], r14w
jmp 0x14000c2e2
mov rdx, rsi
lea rax, [rbp - 1]
sub rdx, rbx
mov rcx, rbx
test rax, rax
je 0x14000c2c6
movzx r8d, word [rdx + rcx]
test r8w, r8w
je 0x14000c2c6
mov word [rcx], r8w
dec rax
add rcx, 2
sub rbp, 1
jne 0x14000c2a5
test rbp, rbp
lea rax, [rcx - 2]
cmovne rax, rcx
neg rbp
sbb edi, edi
not edi
and edi, 0x8007007a
mov word [rax], r14w
test edi, edi
js 0x14000c35b
mov rcx, rbx
call fcn.14000c144
mov edi, eax
test eax, eax
jns 0x14000c2fe
mov r9d, eax
mov edx, 0x7d
jmp 0x14000c363
mov rcx, rbx
call fcn.14007eb88
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c392
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x14000c392
test eax, eax
je 0x14000c392
mov edx, 0x84
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov r9d, eax
call fcn.140010e08
jmp 0x14000c394
mov edi, 0x80070057
test rbp, rbp
je 0x14000c35b
mov word [rbx], r14w
mov r9d, edi
mov edx, 0x7c
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
call fcn.140005fe4
mov rcx, rbx
call fcn.14007eb88
mov eax, edi
jmp 0x14000c394
cmp eax, 0xb7
je 0x14000c392
test eax, eax
je 0x14000c392
mov edx, 0x8a
jmp 0x14000c337
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret