Function at 0x140019e20
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14006b088]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15, r8
mov r14, rdx
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], r8
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x20], 0x42
lea r9, str.CFiles::CreateDirectoryHierarchy
mov r8d, 0x22
lea rdx, str.PIE_Common_Files
lea rcx, [rbp - 0x20]
call fcn.140011450
lea rax, vtable.CTracePieCommonFiles.0
mov qword [rbp - 0x20], rax
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x40], 7
xor r12d, r12d
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
lea r8d, [r12 + 1]
lea rdx, [0x14005bf48]
lea rcx, [rbp - 0x58]
call fcn.140007f20
nop
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.140008070
nop
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.14001b7d0
nop
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140008070
nop
mov rdi, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
cmp rbx, rdi
je 0x14001a164
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140008070
nop
lea r8, [rbp - 0x58]
lea rdx, [0x14005bf48]
lea rcx, [rsp + 0x40]
call fcn.14001a4a0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000a150
nop
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x140019fbf
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140008b70
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x140019fea
lea r8, str.Directory___ws__was_created
jmp 0x140019ff8
cmp eax, 0xb7
jne 0x14001a041
lea r8, str.Directory___ws__already_exists
lea r9, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r9, qword [rbp - 0x78]
mov edx, 4
lea rcx, [rbp - 0x20]
call fcn.140011590
nop
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x14001a02f
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.140008b70
add rbx, 0x20
cmp rbx, rdi
jne 0x140019f53
jmp 0x14001a164
lea r9, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r9, qword [rbp - 0x78]
mov dword [rsp + 0x20], eax
lea r8, str.Could_not_create_directory___ws___error_code:__d
mov edx, 2
lea rcx, [rbp - 0x20]
call fcn.140011590
nop
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x14001a083
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.140008b70
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x14001a0ae
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140008b70
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
lea rcx, [rbp - 0x38]
call fcn.140016200
nop
lea rax, vtable.CTracePie.0
mov qword [rbp - 0x20], rax
cmp byte [rbp + 0x91], 1
jne 0x14001a0fc
cmp byte [rbp + 0x90], 0
jne 0x14001a0fc
lea r8, [0x140056e3c]
mov edx, 5
lea rcx, [rbp - 0x20]
call fcn.140011590
nop
cmp qword [r14 + 0x18], 8
jb 0x14001a115
mov r8, qword [r14 + 0x18]
inc r8
mov rdx, qword [r14]
mov rcx, r14
call fcn.140008b70
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r12
cmp qword [r14 + 0x18], 8
jb 0x14001a12b
mov r14, qword [r14]
mov word [r14], r12w
mov r8, qword [r15 + 0x18]
cmp r8, 8
jb 0x14001a147
inc r8
mov rdx, qword [r15]
mov rcx, r15
call fcn.140008b70
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], r12
cmp qword [r15 + 0x18], 8
jb 0x14001a15d
mov r15, qword [r15]
xor eax, eax
jmp 0x14001a232
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x14001a17e
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140008b70
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
lea rcx, [rbp - 0x38]
call fcn.140016200
nop
lea rax, vtable.CTracePie.0
mov qword [rbp - 0x20], rax
cmp byte [rbp + 0x91], 1
jne 0x14001a1cc
cmp byte [rbp + 0x90], 0
jne 0x14001a1cc
lea r8, [0x140056e3c]
mov edx, 5
lea rcx, [rbp - 0x20]
call fcn.140011590
nop
cmp qword [r14 + 0x18], 8
jb 0x14001a1e5
mov r8, qword [r14 + 0x18]
inc r8
mov rdx, qword [r14]
mov rcx, r14
call fcn.140008b70
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r12
cmp qword [r14 + 0x18], 8
jb 0x14001a1fb
mov r14, qword [r14]
mov word [r14], r12w
mov r8, qword [r15 + 0x18]
cmp r8, 8
jb 0x14001a217
inc r8
mov rdx, qword [r15]
mov rcx, r15
call fcn.140008b70
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], r12
cmp qword [r15 + 0x18], 8
jb 0x14001a22d
mov r15, qword [r15]
mov eax, 1
mov word [r15], r12w
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14001e5b0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret