Function at 0x1400123b0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, rcx
test rcx, rcx
je 0x140012649
cmp word [rcx], 0
je 0x140012649
lea r14, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x39], r14
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x39], rsi
xor edi, edi
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x29], rdi
lea r15, vtable.CWString.0
mov qword [rbp - 0x39], r15
lea rax, [rbp - 0x19]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rdi
lea r12, vtable.CVolMem.0
mov qword [rbp - 0x19], r12
mov qword [rbp - 1], rdi
mov qword [rbp + 0xf], rdi
mov qword [rbp + 7], rdi
mov qword [rbp + 0x17], 0x40
mov qword [rbp - 0x21], rdi
mov qword [rbp + 0x17], 0xfe
movzx ecx, word [rcx]
movzx eax, cx
test cx, cx
je 0x1400124bb
cmp word [rbx + 2], di
je 0x1400124bb
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140012472
movzx eax, cx
cmp word [rbx + r8*2 - 2], 0x5c
jne 0x1400124bb
cmp word [rbx + r8*2 - 4], 0x3a
je 0x1400124bb
dec r8
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140014cb0
mov rbx, qword [rbp - 0x21]
test rbx, rbx
jne 0x1400124b8
cmp qword [rbp + 0xf], rbx
je 0x140012631
mov rbx, qword [rbp - 1]
movzx eax, word [rbx]
test ax, ax
je 0x140012631
cmp ax, 0x5c
jne 0x1400124d5
cmp word [rbx + 2], 0
je 0x140012631
cmp word [rbx + 2], 0x3a
jne 0x1400124fa
movzx eax, word [rbx + 4]
test ax, ax
je 0x140012631
cmp ax, 0x5c
jne 0x1400124fa
cmp word [rbx + 6], 0
je 0x140012631
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140012631
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140012631
cmp eax, 3
jne 0x140012636
lea edx, [rax + 0x59]
mov rcx, rbx
call fcn.1400355a0
test rax, rax
je 0x140012636
cmp word [rax + 2], 0
jne 0x14001256d
sub rax, 2
cmp rax, rbx
jb 0x140012636
nop
cmp word [rax], 0x5c
je 0x140012564
sub rax, 2
cmp rax, rbx
jae 0x140012550
jmp 0x140012636
cmp rax, rbx
jb 0x140012636
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], r15
lea rcx, [rbp - 0x79]
mov qword [rbp + 0x67], rcx
mov qword [rbp - 0x79], r14
mov qword [rbp - 0x79], rsi
mov qword [rbp - 0x71], rdi
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x49], 0x40
mov qword [rsp + 0x38], rdi
mov qword [rbp - 0x49], 0xfe
sub rax, rbx
sar rax, 1
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140014cb0
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1400125f4
lea rax, [0x140052a58]
cmp qword [rbp - 0x51], 0
cmovne rax, qword [rbp - 0x61]
mov rcx, rax
call fcn.1400123b0
test rax, rax
je 0x140012620
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movsxd rdi, eax
lea rcx, [rbp - 0x79]
call fcn.1400055d0
nop
mov qword [rsp + 0x20], rsi
jmp 0x140012636
lea rcx, [rbp - 0x79]
call fcn.1400055d0
nop
mov qword [rsp + 0x20], rsi
jmp 0x140012636
mov edi, 1
lea rcx, [rbp - 0x19]
call fcn.1400055d0
nop
mov qword [rbp - 0x39], rsi
mov rax, rdi
jmp 0x14001264b
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret