Function at 0x14001cdd0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14006b020]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r14, r8
mov qword [rsp + 0x58], r8
mov r15, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], r8
lea rax, vtable.CTracePie.0
mov qword [rbp - 0x20], rax
xor r12d, r12d
mov qword [rbp + 0x88], r12
mov word [rbp + 0x90], r12w
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp + 0x88], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x8c], eax
lea r9d, [r12 + 0x42]
lea r8, str.CFiles::CreateDirectoryHierarchy
lea edx, [r12 + 0x78]
lea rcx, [rbp - 0x18]
call fcn.1400133b0
lea r9d, [r12 + 0x22]
lea r8, str.PIE_Common_Files
lea edx, [r12 + 0x28]
lea rcx, [rbp + 0x60]
call fcn.1400133b0
cmp byte [rbp + 0x91], 1
jne 0x14001cea1
lea r8, [0x14005a24c]
lea edx, [r12 + 5]
lea rcx, [rbp - 0x20]
call fcn.1400134a0
lea rax, vtable.CTracePieCommonFiles.0
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov r8d, 1
lea rdx, [0x14005f030]
lea rcx, [rbp - 0x48]
call fcn.140009ed0
nop
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov rdi, qword [r14 + 0x10]
mov rsi, r14
cmp qword [r14 + 0x18], 8
jb 0x14001cf09
mov rsi, qword [r14]
movabs r13, 0x7ffffffffffffffe
cmp rdi, 8
jae 0x14001cf28
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x30], xmm0
mov ebx, 7
jmp 0x14001cf5c
mov rbx, rdi
or rbx, 7
cmp rbx, r13
cmova rbx, r13
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x30]
call fcn.14000a000
mov qword [rsp + 0x30], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.140024700
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14001ed40
nop
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov rbx, qword [r15 + 0x10]
mov rsi, r15
cmp qword [r15 + 0x18], 8
jb 0x14001cf96
mov rsi, qword [r15]
cmp rbx, 8
jae 0x14001cfaa
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x80], xmm0
mov edi, 7
jmp 0x14001cfdc
mov rdi, rbx
or rdi, 7
cmp rdi, r13
cmova rdi, r13
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x80]
call fcn.14000a000
mov qword [rbp - 0x80], rax
lea r8, [rbx*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.140024700
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], rbx
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x68], rax
mov rbx, qword [rbp - 0x60]
cmp rbx, rax
je 0x14001d246
mov r8, 0xffffffffffffffff
lea ecx, [r8 + 0xb]
mov r15, qword [rbx + 0x10]
mov rdi, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001d016
mov rdi, qword [rbx]
cmp r15, 8
jae 0x14001d02f
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x48], xmm0
mov r14d, 7
mov rsi, qword [rbp - 0x48]
jmp 0x14001d06d
mov r14, r15
or r14, 7
cmp r14, r13
cmova r14, r13
lea rdx, [r14 + 1]
lea rcx, [rbp - 0x48]
call fcn.14000a000
mov rsi, rax
mov qword [rbp - 0x48], rax
lea r8, [r15*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.140024700
mov ecx, 0xa
lea r8, [rcx - 0xb]
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x38], r15
mov rax, r13
sub rax, r15
cmp rax, 1
jb 0x14001d5f1
lea rax, [rbp - 0x48]
cmp r14, 8
cmovae rax, rsi
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], r12
lea r13, [r15 + 1]
mov edi, 7
lea r12, [rsp + 0x30]
cmp r13, rdi
jbe 0x14001d0f3
mov rdi, r13
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x14001d0c9
mov rdi, rax
jmp 0x14001d0d1
cmp rdi, 0xa
cmovb rdi, rcx
mov rdx, rdi
add rdx, 1
cmovb rdx, r8
lea rcx, [rsp + 0x30]
call fcn.14000a000
mov r12, rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rdi
mov ecx, 0x5c
mov word [r12], cx
lea rcx, [r12 + 2]
lea r8, [r15 + r15]
mov rdx, rax
call fcn.140024700
xor r15d, r15d
mov word [r12 + r13*2], r15w
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140008330
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14001d182
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d17d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d5df
call fcn.140022904
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x14001d1ad
lea r8, str.Directory___ws__was_created
jmp 0x14001d1bf
cmp eax, 0xb7
jne 0x14001d3ed
lea r8, str.Directory___ws__already_exists
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r9, qword [rbp - 0x80]
mov edx, 4
lea rcx, [rbp - 0x20]
call fcn.1400134a0
nop
cmp r14, 8
jb 0x14001d217
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14001d20f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d5eb
mov rcx, rsi
call fcn.140022904
add rbx, 0x20
xor r12d, r12d
cmp rbx, qword [rsp + 0x68]
je 0x14001d234
movabs r13, 0x7ffffffffffffffe
jmp 0x14001cffa
mov rbx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
cmp rdi, 8
jb 0x14001d286
lea rdx, [rdi*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d27d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d5e5
call fcn.140022904
mov rbx, qword [rbp - 0x60]
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
test rbx, rbx
je 0x14001d2ed
mov rdx, qword [rbp - 0x58]
mov rcx, rbx
call fcn.14000c260
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x60]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d2dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d5f7
call fcn.140022904
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
lea rax, vtable.CTracePie.0
mov qword [rbp - 0x20], rax
cmp byte [rbp + 0x91], 1
jne 0x14001d320
cmp byte [rbp + 0x90], 0
jne 0x14001d320
lea r8, [0x14005a254]
mov edx, 5
lea rcx, [rbp - 0x20]
call fcn.1400134a0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 8
jb 0x14001d35f
mov rcx, qword [r15]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001d35a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001d5d3
mov rcx, r8
call fcn.140022904
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], 7
mov word [r15], r12w
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x14001d3ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14001d3a9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001d5d9
mov rcx, r8
call fcn.140022904
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 7
mov word [r14], r12w
mov eax, 1
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400223c0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r9, qword [rbp - 0x80]
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.1400134a0
nop
cmp r14, 8
jb 0x14001d451
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14001d448
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d5eb
mov rcx, rsi
call fcn.140022904
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14001d491
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d48c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d5e5
call fcn.140022904
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14001d4f9
mov rdx, qword [rbp - 0x58]
call fcn.14000c260
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x60]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d4e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d5f7
call fcn.140022904
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
lea rax, vtable.CTracePie.0
mov qword [rbp - 0x20], rax
cmp byte [rbp + 0x91], 1
jne 0x14001d52c
cmp byte [rbp + 0x90], 0
jne 0x14001d52c
lea r8, [0x14005a254]
mov edx, 5
lea rcx, [rbp - 0x20]
call fcn.1400134a0
nop
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001d56c
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001d567
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001d5d3
mov rcx, r8
call fcn.140022904
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001d5bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001d5b7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001d5d9
mov rcx, r8
call fcn.140022904
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
xor eax, eax
jmp 0x14001d3c3
call fcn.14002c5b4
nop
call fcn.14002c5b4
nop
call fcn.14002c5b4
nop
call fcn.14002c5b4
nop
call fcn.14002c5b4
nop
call fcn.1400012a0
nop
call fcn.14002c5b4
int3