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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140059088]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp + 7], rcx
xor esi, esi
mov dword [rbp - 9], esi
mov dil, sil
call sub.base.dll_public:_static_class_base::Application____ptr64___cdecl_base::Application::Instance_void_
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
movdqa xmm1, xmmword [0x14003d6e0]
movdqu xmmword [rbp + 0x1f], xmm1
mov word [rbp + 0xf], si
xor r8d, r8d
lea rdx, [0x14003ccf4]
lea rcx, [rbp + 0xf]
call fcn.140012de0
nop
lea rdx, [rbp + 0xf]
mov rcx, rbx
call sub.base.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_base::Application::GetExeDirSubPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_
mov dword [rbp - 9], 1
lea rcx, [rbp + 0xf]
call fcn.140012474
lea r8d, [rsi + 7]
lea rdx, str...log
mov rcx, rbx
call fcn.140012c84
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000a7f2
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, rbx
cmp eax, 0xffffffff
jne 0x14000a822
cmp qword [rbx + 0x18], 8
jb 0x14000a80a
mov rdx, qword [rbx]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x14000a8a3
jmp 0x14000a988
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
lea rcx, [rbp + 0xf]
call fcn.14000d5fc
nop
mov r8d, 0xf
lea rdx, str.write_flag.dat
lea rcx, [rbp + 0xf]
call fcn.140012c84
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000a891
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
lea rcx, [rbp + 0xf]
call fcn.140012474
test dil, dil
jne 0x14000a988
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
movdqa xmm1, xmmword [0x14003d6e0]
movdqu xmmword [rbp + 0x1f], xmm1
mov word [rbp + 0xf], si
movdqu xmmword [rbp + 0x3f], xmm0
movdqu xmmword [rbp + 0x3f], xmm1
mov word [rbp + 0x2f], si
mov r8d, 0xa
lea rdx, str.ParentName
lea rcx, [rbp + 0x2f]
call fcn.140012de0
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.1400019b0
nop
lea rcx, [rbp + 0x2f]
call fcn.140012474
lea rcx, [rbp + 0x2f]
call fcn.14000abd8
mov rdi, rax
cmp rbx, rax
je 0x14000a931
mov rcx, rbx
call fcn.140012474
mov r8d, 0x20
mov rdx, rdi
mov rcx, rbx
call fcn.14001a900
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
lea rcx, [rbp + 0x2f]
call fcn.140012474
mov r8d, 1
lea rdx, [0x14003ccf0]
mov rcx, rbx
call fcn.140012c84
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
mov rcx, rbx
call fcn.140012c84
mov r8d, 4
lea rdx, str.log
mov rcx, rbx
call fcn.140012c84
nop
lea rcx, [rbp + 0xf]
call fcn.140012474
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140019c60
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret