Function at 0x18001b540
Capabilities:
Check if file exists
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x128]
sub rsp, 0x200
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rbp + 0xf8], rax
mov rdi, rcx
cmp qword [rcx + 0x10], 0
jne 0x18001b58c
xor al, al
jmp 0x18001bc7a
mov qword [rbp + 0x70], 7
xor r14d, r14d
mov qword [rbp + 0x68], r14
mov word [rbp + 0x58], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [rbp + 0x58]
call fcn.180005820
nop
mov rdx, qword [rbp + 0x68]
lea rcx, [rdx - 1]
cmp rdx, rcx
ja 0x18001b5ce
lea rcx, str.invalid_string_position
call fcn.180072554
int3
lea rax, [rbp + 0x58]
mov r8, qword [rbp + 0x58]
mov r9, qword [rbp + 0x70]
cmp r9, 8
cmovae rax, r8
cmp word [rax + rcx*2], 0x5c
je 0x18001b624
cmp rdx, rcx
ja 0x18001b5fb
lea rcx, str.invalid_string_position
call fcn.180072554
int3
lea rax, [rbp + 0x58]
cmp r9, 8
cmovae rax, r8
cmp word [rax + rcx*2], 0x2f
je 0x18001b624
mov r8d, 1
lea rdx, [0x1800b6ec0]
lea rcx, [rbp + 0x58]
call fcn.1800076f0
lea rcx, [rbp + 0x58]
call fcn.18001ada0
test al, al
jne 0x18001b7fb
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.18000d500
nop
lea rdx, str.return_false1._path:
lea rcx, [rsp + 0x40]
call fcn.180010b40
mov rcx, rax
mov rdx, rdi
call fcn.180010da0
mov qword [rbp + 0xc0], 0xf
mov qword [rbp + 0xb8], r14
mov byte [rbp + 0xa8], 0
mov r8d, 0x17
lea rdx, str.CFileUtility::CreateDir
lea rcx, [rbp + 0xa8]
call fcn.1800071c0
nop
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], 0
mov r8d, 0xf
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0x30]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.18000d630
mov rdi, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0x2ea
lea r8, [rbp + 0x30]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0x98], 8
jb 0x18001b714
mov rcx, qword [rbp + 0x80]
call fcn.18007309c
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r14
mov word [rbp + 0x80], r14w
cmp qword [rbp + 0x48], 0x10
jb 0x18001b73e
mov rcx, qword [rbp + 0x30]
call fcn.18007309c
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], 0
cmp qword [rbp + 0xc0], 0x10
jb 0x18001b764
mov rcx, qword [rbp + 0xa8]
call fcn.18007309c
mov qword [rbp + 0xc0], 0xf
mov qword [rbp + 0xb8], r14
mov byte [rbp + 0xa8], 0
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
lea rcx, [rsp + 0x48]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x38], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.1800724a4
nop
cmp qword [rbp + 0x70], 8
jb 0x18001b7f4
mov rcx, qword [rbp + 0x58]
call fcn.18007309c
xor al, al
jmp 0x18001bc69
cmp qword [rbp + 0x68], 0
je 0x18001b837
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rcx, qword [rbp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x18001b837
cmp qword [rbp + 0x70], 8
jb 0x18001b830
mov rcx, qword [rbp + 0x58]
call fcn.18007309c
mov al, 1
jmp 0x18001bc69
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], r14
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x58]
call fcn.18001b110
mov r12, qword [rbp + 0xa8]
mov rsi, qword [rbp + 0xb0]
cmp r12, rsi
jne 0x18001b9ed
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.18000d500
nop
lea rdx, str.return_false2._path:
lea rcx, [rsp + 0x40]
call fcn.180010b40
mov rcx, rax
mov rdx, rdi
call fcn.180010da0
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], r14
mov byte [rbp + 0x80], 0
mov r8d, 0x17
lea rdx, str.CFileUtility::CreateDir
lea rcx, [rbp + 0x80]
call fcn.1800071c0
nop
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], 0
mov r8d, 0xf
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0x30]
call fcn.1800071c0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x40]
call fcn.18000d630
mov rdi, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x2f7
lea r8, [rbp + 0x30]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0xe8], 8
jb 0x18001b952
mov rcx, qword [rbp + 0xd0]
call fcn.18007309c
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], r14
mov word [rbp + 0xd0], r14w
cmp qword [rbp + 0x48], 0x10
jb 0x18001b97c
mov rcx, qword [rbp + 0x30]
call fcn.18007309c
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], 0
cmp qword [rbp + 0x98], 0x10
jb 0x18001b9a2
mov rcx, qword [rbp + 0x80]
call fcn.18007309c
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], r14
mov byte [rbp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.18000caa0
nop
test r12, r12
je 0x18001b9d3
mov rcx, r12
call fcn.18007309c
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], r14
jmp 0x18001b7e4
mov r13b, 1
mov rbx, r12
cmp qword [rbx + 0x18], 8
jb 0x18001b9ff
mov rdx, qword [rbx]
jmp 0x18001ba02
mov rdx, rbx
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], r14
mov word [rbp + 0x30], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x30]
call fcn.180007850
nop
cmp qword [rbp + 0x40], 0
jne 0x18001ba3b
xor al, al
jmp 0x18001ba55
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rcx, qword [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
sete dil
cmp qword [rbp + 0x48], 8
jb 0x18001ba6b
mov rcx, qword [rbp + 0x30]
call fcn.18007309c
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], r14
mov word [rbp + 0x30], r14w
test dil, dil
je 0x18001ba9c
cmp qword [rbx + 0x18], 8
jb 0x18001ba8d
mov rcx, qword [rbx]
jmp 0x18001ba90
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x18001baae
add rbx, 0x28
cmp rbx, rsi
je 0x18001bc06
jmp 0x18001b9f3
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.18000d500
nop
lea rdx, str.bRet__false.
lea rcx, [rsp + 0x40]
call fcn.180010b40
mov rcx, rax
mov rdx, rbx
call fcn.180010da0
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], 0
mov r8d, 0x17
lea rdx, str.CFileUtility::CreateDir
lea rcx, [rbp + 0x30]
call fcn.1800071c0
nop
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], r14
mov byte [rbp + 0x80], 0
mov r8d, 0xf
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0x80]
call fcn.1800071c0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x40]
call fcn.18000d630
mov rdi, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x303
lea r8, [rbp + 0x80]
mov edx, 3
call fcn.180002e80
nop
cmp qword [rbp + 0xe8], 8
jb 0x18001bb90
mov rcx, qword [rbp + 0xd0]
call fcn.18007309c
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], r14
mov word [rbp + 0xd0], r14w
cmp qword [rbp + 0x98], 0x10
jb 0x18001bbc0
mov rcx, qword [rbp + 0x80]
call fcn.18007309c
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], r14
mov byte [rbp + 0x80], 0
cmp qword [rbp + 0x48], 0x10
jb 0x18001bbe9
mov rcx, qword [rbp + 0x30]
call fcn.18007309c
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.18000caa0
xor r13b, r13b
test r12, r12
je 0x18001bc40
mov rdi, r12
nop
cmp qword [rdi + 0x18], 8
jb 0x18001bc1f
mov rcx, qword [rdi]
call fcn.18007309c
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
add rdi, 0x28
cmp rdi, rsi
jne 0x18001bc10
mov rcx, r12
call fcn.18007309c
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], r14
cmp qword [rbp + 0x70], 8
jb 0x18001bc65
mov rcx, qword [rbp + 0x58]
call fcn.18007309c
movzx eax, r13b
mov word [rbp + 0x58], r14w
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], 7
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.180073c80
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret