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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x118]
sub rsp, 0x200
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rbp + 0xf8], rax
mov rdi, rcx
cmp qword [rcx + 0x10], 0
je 0x18002fdee
mov rdx, rcx
lea rcx, [rbp + 0x30]
call fcn.180012600
nop
mov rdx, qword [rbp + 0x40]
lea rcx, [rdx - 1]
cmp rdx, rcx
ja 0x18002fcbc
lea rcx, str.invalid_string_position
call fcn.1800bd038
int3
lea rax, [rbp + 0x30]
mov r8, qword [rbp + 0x30]
mov r9, qword [rbp + 0x48]
cmp r9, 8
cmovae rax, r8
cmp word [rax + rcx*2], 0x5c
je 0x18002fd12
cmp rdx, rcx
ja 0x18002fce9
lea rcx, str.invalid_string_position
call fcn.1800bd038
int3
lea rax, [rbp + 0x30]
cmp r9, 8
cmovae rax, r8
cmp word [rax + rcx*2], 0x2f
je 0x18002fd12
mov r8d, 1
lea rdx, [0x18014935c]
lea rcx, [rbp + 0x30]
call fcn.180015430
lea rcx, [rbp + 0x30]
call fcn.18002f780
test al, al
jne 0x18002fdf5
lea rcx, [rsp + 0x40]
call fcn.180012fc0
nop
lea rdx, str.return_false1._path:
lea rcx, [rsp + 0x40]
call fcn.18001da90
mov rcx, rax
mov rdx, rdi
call fcn.18001ddc0
lea rdx, str.CFileUtility::CreateDir
lea rcx, [rbp + 0x80]
call fcn.1800104c0
nop
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0x58]
call fcn.1800104c0
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x40]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x2ea
lea r8, [rbp + 0x58]
xor edx, edx
call fcn.1800326a0
nop
lea rcx, [rbp + 0xa8]
call fcn.1800126d0
nop
lea rcx, [rbp + 0x58]
call fcn.18008f070
nop
lea rcx, [rbp + 0x80]
call fcn.18008f070
nop
lea rcx, [rbp - 0x38]
call fcn.180013040
lea rcx, [rbp - 0x38]
call fcn.180012100
nop
lea rcx, [rbp + 0x30]
call fcn.1800126d0
xor al, al
jmp 0x18003008d
cmp qword [rbp + 0x40], 0
je 0x18002fe2a
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
je 0x18002fe2a
lea rcx, [rbp + 0x30]
call fcn.1800126d0
mov al, 1
jmp 0x18003008d
lea rcx, [rbp + 0x80]
call fcn.180013820
nop
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x30]
call fcn.18002f9f0
mov rbx, qword [rbp + 0x80]
mov rsi, qword [rbp + 0x88]
cmp rbx, rsi
jne 0x18002ff35
lea rcx, [rsp + 0x40]
call fcn.180012fc0
nop
lea rdx, str.return_false2._path:
lea rcx, [rsp + 0x40]
call fcn.18001da90
mov rcx, rax
mov rdx, rdi
call fcn.18001ddc0
lea rdx, str.CFileUtility::CreateDir
lea rcx, [rbp + 0xa8]
call fcn.1800104c0
nop
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0x58]
call fcn.1800104c0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x40]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0x2f7
lea r8, [rbp + 0x58]
xor edx, edx
call fcn.1800326a0
nop
lea rcx, [rbp + 0xd0]
call fcn.1800126d0
nop
lea rcx, [rbp + 0x58]
call fcn.18008f070
nop
lea rcx, [rbp + 0xa8]
call fcn.18008f070
nop
lea rcx, [rsp + 0x40]
call fcn.180006b40
nop
lea rcx, [rbp + 0x80]
call fcn.180013840
nop
lea rcx, [rbp + 0x30]
call fcn.1800126d0
xor al, al
jmp 0x18003008d
mov r12b, 1
cmp qword [rbx + 0x18], 8
jb 0x18002ff44
mov rdx, qword [rbx]
jmp 0x18002ff47
mov rdx, rbx
lea rcx, [rbp + 0x58]
call fcn.180012650
nop
cmp qword [rbp + 0x68], 0
jne 0x18002ff5c
xor al, al
jmp 0x18002ff76
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
sete dil
lea rcx, [rbp + 0x58]
call fcn.1800126d0
test dil, dil
je 0x18002ffa5
cmp qword [rbx + 0x18], 8
jb 0x18002ff96
mov rcx, qword [rbx]
jmp 0x18002ff99
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x18002ffb4
add rbx, 0x28
cmp rbx, rsi
je 0x180030073
jmp 0x18002ff38
lea rcx, [rsp + 0x40]
call fcn.180012fc0
nop
lea rdx, str.bRet__false.
lea rcx, [rsp + 0x40]
call fcn.18001da90
mov rcx, rax
mov rdx, rbx
call fcn.18001ddc0
lea rdx, str.CFileUtility::CreateDir
lea rcx, [rbp + 0x58]
call fcn.1800104c0
nop
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0xa8]
call fcn.1800104c0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x40]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x303
lea r8, [rbp + 0xa8]
mov edx, 3
call fcn.1800326a0
nop
lea rcx, [rbp + 0xd0]
call fcn.1800126d0
nop
lea rcx, [rbp + 0xa8]
call fcn.18008f070
nop
lea rcx, [rbp + 0x58]
call fcn.18008f070
nop
lea rcx, [rsp + 0x40]
call fcn.180006b40
xor r12b, r12b
lea rcx, [rbp + 0x80]
call fcn.180013840
nop
lea rcx, [rbp + 0x30]
call fcn.1800126d0
movzx eax, r12b
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.1800be9b0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret