Function at 0x140007990
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x140017048]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
mov qword [rsp + 0x70], rcx
lea rdi, [0x140017098]
mov rcx, rdi
cmp qword [0x1400170b0], 0x10
cmovae rcx, qword [0x140017098]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140007a4a
cmp qword [0x1400170b0], 0x10
cmovae rdi, qword [0x140017098]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140007a4a
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140007a40
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140007a3b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007ce9
mov rcx, r8
call fcn.14000eda0
xor edi, edi
mov byte [rbx], dil
jmp 0x140007cb3
lea rdx, [0x140017078]
cmp qword [0x140017090], 0x10
cmovae rdx, qword [0x140017078]
mov r8d, 0xa
lea rcx, [0x140017d18]
call fcn.14000bfc0
lea rsi, [0x140017d10]
xor r8d, r8d
test rax, rax
mov rax, qword [0x140017d10]
movsxd rcx, dword [rax + 4]
je 0x140007a9a
add rcx, rsi
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140007aa9
add rcx, rsi
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000b290
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 3]
lea rdx, [0x140011aec]
lea rcx, [rsp + 0x20]
call fcn.14000cd80
nop
mov r8, r14
lea rdx, [0x140017e18]
lea rcx, [rsp + 0x20]
call fcn.140006730
nop
jmp 0x140007b12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000b290
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov r8d, 3
lea rdx, [0x140011b28]
lea rcx, [rsp + 0x20]
call fcn.14000cd80
nop
mov r8, r14
lea rdx, [0x140017e18]
lea rcx, [rsp + 0x20]
call fcn.140006730
nop
jmp 0x140007b7b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000b290
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov r8d, 3
lea rdx, [0x140011b2c]
lea rcx, [rsp + 0x20]
call fcn.14000cd80
nop
mov r8, r14
lea rdx, [0x140017e18]
lea rcx, [rsp + 0x20]
call fcn.140006730
nop
jmp 0x140007be4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000b290
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov r8d, 3
lea rdx, [0x140011b30]
lea rcx, [rsp + 0x20]
call fcn.14000cd80
nop
mov r8, r14
lea rdx, [0x140017e18]
lea rcx, [rsp + 0x20]
call fcn.140006730
nop
jmp 0x140007c4d
lea rcx, [0x140017d18]
call fcn.14000bf00
test rax, rax
jne 0x140007c7a
mov rax, qword [0x140017d10]
movsxd rcx, dword [rax + 4]
add rcx, rsi
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140007cb0
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140007cab
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007ce9
mov rcx, r8
call fcn.14000eda0
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14000ed80
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3