Function at 0x180009d70
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, rdx
mov byte [rsp + 0x70], 1
mov r14, rcx
xor ebp, ebp
mov rcx, rax
mov qword [rsp + 0x80], rbp
xor edx, edx
xor esi, esi
xor r13d, r13d
call sym.ulib.dll_public:_class_ARRAY____ptr64___cdecl_PATH::QueryComponentArray_class_ARRAY____ptr64_const___ptr64
xor edx, edx
lea rcx, [r14 + 0x10]
mov rdi, rax
call sym.ulib.dll_public:_class_ARRAY____ptr64___cdecl_PATH::QueryComponentArray_class_ARRAY____ptr64_const___ptr64
mov rbx, rax
test rdi, rdi
je 0x180009f4f
test rax, rax
je 0x180009f35
mov rax, qword [rdi]
movabs r10, 0xca8007397c547370
mov rax, qword [rax + 0x30]
mov rcx, rdi
call qword [0x1800214b0]
mov r12, rax
mov rax, qword [rbx]
movabs r10, 0xca8007397c547370
mov rax, qword [rax + 0x30]
mov rcx, rbx
call qword [0x1800214b0]
mov r15, rax
test r12, r12
je 0x180009f12
test rax, rax
je 0x180009ef3
mov rax, qword [r15]
movabs r10, 0x83602fef5e53c270
mov rax, qword [rax + 0x28]
mov rcx, r15
call qword [0x1800214b0]
mov rbp, rax
test rax, rax
je 0x180009e7f
mov rax, qword [r12]
movabs r10, 0x83602fef5e53c270
mov rax, qword [rax + 0x28]
mov rcx, r12
call qword [0x1800214b0]
test rax, rax
je 0x180010217
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x180009e1c
jmp 0x180010217
lea rcx, [r14 + 0x10]
call sym.ulib.dll_public:_class_PATH____ptr64___cdecl_PATH::QueryPath_void_const___ptr64
mov r14, rax
test rax, rax
je 0x180010217
mov bpl, byte [rsp + 0x70]
mov rax, qword [r12]
movabs r10, 0x83602fef5e53c270
mov rax, qword [rax + 0x28]
mov rcx, r12
call qword [0x1800214b0]
test rax, rax
jne 0x180010170
test bpl, bpl
je 0x18001020a
mov rcx, qword [rsp + 0x78]
xor edx, edx
call sym.ulib.dll_public:_static_class_FSN_DIRECTORY____ptr64___cdecl_SYSTEM::QueryDirectory_class_PATH_const____ptr64__unsigned_char_
mov rbp, rax
mov rcx, qword [r14]
mov rax, qword [rcx]
movabs r10, 0xfd980fd51c5c1870
mov edx, 1
mov rcx, r14
call qword [0x1800214b0]
mov rcx, qword [r12]
mov rax, qword [rcx]
movabs r10, 0xfd980fd51c5c1870
mov edx, 1
mov rcx, r12
call qword [0x1800214b0]
test r15, r15
je 0x180009f35
mov rax, qword [r15]
movabs r10, 0xfd980fd51c5c1870
mov rax, qword [rax]
mov edx, 1
mov rcx, r15
call qword [0x1800214b0]
mov rax, qword [rdi]
movabs r10, 0xa3e0b674165a3170
mov rax, qword [rax + 0x28]
mov rcx, rdi
call qword [0x1800214b0]
test rbx, rbx
je 0x180009f6e
mov rax, qword [rbx]
movabs r10, 0xa3e0b674165a3170
mov rax, qword [rax + 0x28]
mov rcx, rbx
call qword [0x1800214b0]
test rdi, rdi
je 0x180009f91
mov rax, qword [rdi]
movabs r10, 0xfd980fd51c5c1870
mov rax, qword [rax]
mov edx, 1
mov rcx, rdi
call qword [0x1800214b0]
test rbx, rbx
je 0x180009fb4
mov rax, qword [rbx]
movabs r10, 0xfd980fd51c5c1870
mov rax, qword [rax]
mov edx, 1
mov rcx, rbx
call qword [0x1800214b0]
mov rbx, qword [rsp + 0x88]
mov rax, rbp
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8b, 1
mov rdx, rax
mov rcx, r14
call sym.ulib.dll_public:_unsigned_char___cdecl_PATH::AppendBase_class_WSTRING_const____ptr64__unsigned_char____ptr64
mov eax, dword [r14 + 0x230]
lea ebp, [rax*2 + 2]
cmp ebp, r13d
jbe 0x1800101cb
test rsi, rsi
je 0x1800101a2
mov edx, ebp
mov rcx, rsi
call sym.ulib.dll_UlibRealloc
jmp 0x1800101c0
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, ebp
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x18001020a
mov r13d, ebp
mov eax, r13d
mov byte [rsp + 0x28], 1
shr eax, 1
lea rcx, [r14 + 0x218]
mov r9, rsi
mov dword [rsp + 0x20], eax
or r8d, 0xffffffff
xor edx, edx
call sym.ulib.dll_public:_unsigned_short_int____ptr64___cdecl_WSTRING::QueryWSTR_unsigned_long_int__unsigned_long_int__unsigned_short_int____ptr64__unsigned_long_int__unsigned_char_const___ptr64
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
setne bpl
jmp 0x180009e99
mov rbp, qword [rsp + 0x80]
jmp 0x180009ed5
mov rbp, rsi
jmp 0x180009ef3