Function at 0x1800faf40
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180129050]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x58], rcx
call fcn.1800fbd50
cmp dword [rbx + 0x10], 0
jg 0x1800faf97
cmp qword [rbx + 0x18], 8
jb 0x1800faf90
mov rcx, qword [rbx]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
xor esi, esi
jmp 0x1800fb159
mov qword [rbp - 0x18], 7
xor esi, esi
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.180001ec0
lea rcx, [rbp - 0x30]
call fcn.1800fb500
test al, al
je 0x1800fafdf
cmp qword [rbx + 0x18], 8
jb 0x1800fafd8
mov rcx, qword [rbx]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov al, 1
jmp 0x1800fb15b
call fcn.1800fb910
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.180010260
mov rdi, rax
cmp rbx, rax
je 0x1800fb024
cmp qword [rbx + 0x18], 8
jb 0x1800fb00a
mov rcx, qword [rbx]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rdx, rdi
mov rcx, rbx
call fcn.180007770
cmp qword [rbp - 0x38], 8
jb 0x1800fb034
mov rcx, qword [rbp - 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, rbx
call fcn.1800fb750
mov r14d, 1
cmp qword [rbx + 0x10], r14
jbe 0x1800fb0fe
mov edi, r14d
nop
cmp qword [rbx + 0x10], rdi
jbe 0x1800fb0f0
cmp qword [rbx + 0x18], 8
jb 0x1800fb066
mov rax, qword [rbx]
jmp 0x1800fb069
mov rax, rbx
cmp word [rax + rdi*2], 0x5c
jne 0x1800fb0db
movsxd r9, r14d
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.18000fc10
nop
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x50], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.180001ec0
lea rcx, [rbp - 0x50]
call fcn.1800fb500
test al, al
jne 0x1800fb0cb
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
cmp qword [rbp - 0x18], 8
jb 0x1800fb0db
mov rcx, qword [rbp - 0x30]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
inc r14d
inc rdi
movsxd rax, r14d
cmp rax, qword [rbx + 0x10]
jb 0x1800fb050
jmp 0x1800fb0fe
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
cmp qword [rbx + 0x18], 8
jb 0x1800fb10a
mov rcx, qword [rbx]
jmp 0x1800fb10d
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x50], si
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.180001ec0
lea rcx, [rbp - 0x50]
call fcn.1800fb500
nop
test al, al
jne 0x1800fafc9
cmp qword [rbx + 0x18], 8
jb 0x1800fb159
mov rcx, qword [rbx]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
xor al, al
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180107750
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret