Function at 0x1401921c0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rbx, rcx
test rcx, rcx
je 0x14019250a
cmp word [rcx], 0
je 0x14019250a
lea r13, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x29], r13
lea r14, vtable.CVolObject.0
mov qword [rbp - 0x29], r14
xor esi, esi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], rsi
lea rax, vtable.CWString.0
mov qword [rbp - 0x29], rax
lea rax, [rbp - 9]
mov qword [rbp + 0x67], rax
mov qword [rbp - 9], r13
mov qword [rbp - 9], r14
mov qword [rbp - 1], rsi
mov qword [rbp + 7], rsi
lea r15, vtable.CVolMem.0
mov qword [rbp - 9], r15
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x27], 0x40
mov qword [rbp - 0x11], rsi
mov qword [rbp + 0x27], 0xfe
lea rdi, [0x1402ac8c0]
cmp word [rcx], si
je 0x1401922c3
cmp word [rcx + 2], si
je 0x1401922c3
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], 0
jne 0x140192281
cmp word [rcx + r8*2 - 2], 0x5c
jne 0x1401922c3
cmp word [rcx + r8*2 - 4], 0x3a
je 0x1401922c3
dec r8
mov rdx, rcx
lea rcx, [rbp - 0x29]
call fcn.140198150
mov rbx, qword [rbp - 0x11]
test rbx, rbx
jne 0x1401922c3
mov rbx, rdi
cmp qword [rbp + 0x1f], 0
cmovne rbx, qword [rbp + 0xf]
movzx ecx, word [rbx]
lea r12, [fcn.14018de50]
test cx, cx
je 0x1401924b5
cmp cx, 0x5c
jne 0x1401922e7
cmp word [rbx + 2], 0
je 0x1401924b5
cmp word [rbx + 2], 0x3a
jne 0x14019230c
movzx eax, word [rbx + 4]
test ax, ax
je 0x1401924b5
cmp ax, 0x5c
jne 0x14019230c
cmp word [rbx + 6], 0
je 0x1401924b5
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1401924b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1401924b5
cmp eax, 3
jne 0x1401924b0
lea edx, [rax + 0x59]
mov rcx, rbx
call fcn.14023db50
test rax, rax
je 0x1401924b0
cmp word [rax + 2], 0
jne 0x140192378
sub rax, 2
cmp rax, rbx
jb 0x1401924b0
cmp word [rax], 0x5c
je 0x140192378
sub rax, 2
cmp rax, rbx
jae 0x140192361
mov rbx, rsi
jmp 0x1401924ba
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], rsi
mov qword [rbp - 0x79], rsi
lea rcx, vtable.CWString.0
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x69]
mov qword [rbp + 0x67], rcx
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], rsi
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], 0x40
mov qword [rbp - 0x71], rsi
mov qword [rbp - 0x39], 0xfe
sub rax, rbx
sar rax, 1
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140198150
mov rcx, qword [rbp - 0x71]
test rcx, rcx
jne 0x1401923fe
cmp qword [rbp - 0x41], rcx
cmovne rdi, qword [rbp - 0x51]
mov rcx, rdi
call fcn.1401921c0
test rax, rax
je 0x140192464
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movsxd rbx, eax
lea rax, [rbp - 0x69]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x69], r15
mov rdx, qword [rbp - 0x51]
test rdx, rdx
je 0x14019244d
mov rax, qword [rbp - 0x69]
mov r8, qword [rax + 0x18]
cmp r8, r12
jne 0x140192446
lea rcx, [0x140489958]
call fcn.140196cd0
jmp 0x14019244d
lea rcx, [rbp - 0x69]
call r8
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x69], r14
mov qword [rsp + 0x20], r14
jmp 0x1401924ba
lea rax, [rbp - 0x69]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x69], r15
mov rdx, qword [rbp - 0x51]
test rdx, rdx
je 0x14019249b
mov rax, qword [rbp - 0x69]
mov r8, qword [rax + 0x18]
cmp r8, r12
jne 0x140192494
lea rcx, [0x140489958]
call fcn.140196cd0
jmp 0x14019249b
lea rcx, [rbp - 0x69]
call r8
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x69], r14
mov qword [rsp + 0x20], r14
mov rbx, rsi
jmp 0x1401924ba
mov ebx, 1
lea rax, [rbp - 9]
mov qword [rbp + 0x67], rax
mov qword [rbp - 9], r15
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x1401924f1
mov rax, qword [rbp - 9]
mov r8, qword [rax + 0x18]
cmp r8, r12
jne 0x1401924ea
lea rcx, [0x140489958]
call fcn.140196cd0
jmp 0x1401924f1
lea rcx, [rbp - 9]
call r8
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x17], rsi
mov qword [rbp - 9], r14
mov qword [rbp - 0x29], r14
mov rax, rbx
jmp 0x14019250c
xor eax, eax
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret