Function at 0x140023290
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp + 0x47], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
test rcx, rcx
je 0x14002355b
cmp word [rcx], 0
je 0x14002355b
lea rdx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x19], rdx
lea rcx, vtable.CVolObject.0
mov qword [rbp - 0x19], rcx
xor esi, esi
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], rsi
lea rax, vtable.CWString.0
mov qword [rbp - 0x19], rax
lea rax, [rbp + 7]
mov qword [rbp + 0x67], rax
mov qword [rbp + 7], rdx
mov qword [rbp + 7], rcx
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], rsi
lea rax, vtable.CVolMem.0
mov qword [rbp + 7], rax
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x37], 0x40
mov qword [rbp - 1], rsi
mov qword [rbp + 0x37], 0xfe
cmp word [rdi], si
je 0x1400234f8
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.140023580
mov rdi, rax
cmp word [rax], si
je 0x1400234f8
cmp word [rax + 2], 0x3a
jne 0x140023369
cmp word [rax + 4], si
je 0x1400234f8
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400234f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400234f8
cmp eax, 3
jne 0x1400234f3
lea edx, [rax + 0x59]
mov rcx, rdi
call fcn.14008e6f0
mov rbx, rax
test rax, rax
je 0x1400234f3
cmp word [rax + 2], 0
jne 0x1400233de
sub rbx, 2
cmp rbx, rdi
jb 0x1400234f3
cmp word [rbx], 0x5c
je 0x1400233d5
sub rbx, 2
cmp rbx, rdi
jae 0x1400233c1
jmp 0x1400234f3
cmp rbx, rdi
jb 0x1400234f3
lea rdx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x79], rdx
lea rcx, vtable.CVolObject.0
mov qword [rbp - 0x79], rcx
mov qword [rbp - 0x71], rsi
mov qword [rbp - 0x69], rsi
lea rax, vtable.CWString.0
mov qword [rbp - 0x79], rax
lea rax, [rbp - 0x59]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x59], rdx
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], rsi
lea rcx, vtable.CVolMem.0
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x29], 0x40
mov qword [rbp - 0x61], rsi
mov qword [rbp - 0x29], 0xfe
sub rbx, rdi
sar rbx, 1
mov qword [rbp - 0x61], rsi
mov rdx, qword [rbp - 0x41]
test rdx, rdx
je 0x14002347f
mov rax, qword [rbp - 0x59]
mov r8, qword [rax + 0x18]
cmp rax, rcx
jne 0x140023478
lea rcx, [0x1400fc2f8]
call fcn.140025900
jmp 0x14002347f
lea rcx, [rbp - 0x59]
call r8
mov rcx, rsi
mov qword [rbp - 0x41], rcx
mov rdx, rsi
mov qword [rbp - 0x31], rdx
mov qword [rbp - 0x39], rsi
test rbx, rbx
jle 0x1400234ad
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.140026d80
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rbp - 0x61]
test rax, rax
jne 0x1400234c4
lea rax, [0x1400d1140]
test rdx, rdx
cmovne rax, rcx
mov rcx, rax
call fcn.140023290
test rax, rax
je 0x1400234ea
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movsxd rbx, eax
lea rcx, [rbp - 0x79]
call fcn.14000a780
jmp 0x1400234fd
lea rcx, [rbp - 0x79]
call fcn.14000a780
mov rbx, rsi
jmp 0x1400234fd
mov ebx, 1
lea rax, [rbp + 7]
mov qword [rbp + 0x67], rax
lea rcx, vtable.CVolMem.0
mov qword [rbp + 7], rcx
mov rdx, qword [rbp + 0x1f]
test rdx, rdx
je 0x14002353b
mov rax, qword [rbp + 7]
mov r8, qword [rax + 0x18]
cmp rax, rcx
jne 0x140023534
lea rcx, [0x1400fc2f8]
call fcn.140025900
jmp 0x14002353b
lea rcx, [rbp + 7]
call r8
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x27], rsi
lea rax, vtable.CVolObject.0
mov qword [rbp + 7], rax
mov qword [rbp - 0x19], rax
mov rax, rbx
jmp 0x14002355d
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret