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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5f8
mov r15d, r9d
mov r13d, r8d
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
lea rdx, str.DoCopyDirectory
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x330]
mov rcx, rbx
mov r9d, 0xda
call fcn.140060640
lea rcx, [rsp + 0xb0]
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rdi + 0x17], 0
jns 0x14007a5a8
cmp qword [rdi + 8], 0x103
ja 0x14007a5b9
cmp byte [r14 + 0x17], 0
jns 0x14007a5c0
cmp qword [r14 + 8], 0x103
jbe 0x14007a5c0
xor ebp, ebp
jmp 0x14007a76b
lea rbp, [rsp + 0x98]
mov rcx, rbp
mov rdx, r14
call fcn.14005ba20
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x330]
mov rcx, rsi
mov r9d, 0x1ba
call fcn.140060640
lea rbx, [rsp + 0xe0]
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rsp + 0xaf], 0
jns 0x14007a61f
mov rbp, qword [rsp + 0x98]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov rcx, rbx
call fcn.14006fe00
cmp esi, 0xffffffff
je 0x14007a6f6
lea rsi, [rsp + 0x330]
lea rbx, [rsp + 0x98]
mov rcx, rsi
mov rdx, rbx
call fcn.140079e60
mov rcx, rbx
mov rdx, rsi
call fcn.14005bad0
mov rcx, rsi
call fcn.14005baa0
movzx eax, byte [rsp + 0xaf]
test al, al
jns 0x14007a67d
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x14007a75c
lea rcx, [rsp + 0x80]
mov rdx, rdi
call fcn.140079e60
movzx eax, byte [rsp + 0x97]
test al, al
jns 0x14007a6aa
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x14007a6e5
lea rcx, [rsp + 0x98]
lea rdx, [rsp + 0x80]
call fcn.14005bb40
test al, al
jne 0x14007a6e5
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x98]
call fcn.14005c850
test al, al
je 0x14007a79e
xor ebp, ebp
lea rcx, [rsp + 0x80]
call fcn.14005baa0
jmp 0x14007a75e
lea rsi, [rsp + 0x98]
lea rbx, [rsp + 0xe0]
mov rcx, rsi
mov rdx, rbx
call fcn.14005c570
lea rbp, [rsp + 0x330]
mov rcx, rbp
mov rdx, rbx
call fcn.140079e60
mov rcx, rsi
mov rdx, rbp
call fcn.14005bad0
mov rcx, rbp
call fcn.14005baa0
mov rcx, rbx
call fcn.14005baa0
movzx eax, byte [rsp + 0xaf]
test al, al
jns 0x14007a753
mov rax, qword [rsp + 0xa0]
test rax, rax
jne 0x14007a686
xor ebp, ebp
lea rcx, [rsp + 0x98]
call fcn.14005baa0
lea rcx, [rsp + 0xb0]
call fcn.14006fe00
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, ebp
add rsp, 0x5f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, r13b
lea r9d, [rax + rax]
add r9d, 1
lea rcx, [rsp + 0x330]
mov rdx, rdi
mov r8d, r13d
call fcn.140084b90
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0xe0]
mov rcx, rsi
mov r9d, 0x1ba
call fcn.140060640
lea rbx, [rsp + 0xc8]
xor ebp, ebp
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14007a805
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov rcx, rbx
call fcn.14006fe00
cmp esi, 0xffffffff
je 0x14007ab25
mov byte [rsp + 0x2f], r15b
lea rcx, [rsp + 0x68]
mov rdx, rdi
call fcn.14005ba20
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0xe0]
mov rcx, rsi
mov r9d, 0x1cc
call fcn.140060640
lea r12, [rsp + 0xc8]
mov rcx, r12
mov rdx, rsi
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14007a876
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
setne r15b
and ebp, 0x10
shr ebp, 4
mov rcx, r12
call fcn.14006fe00
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.14005ba20
test r13b, r13b
je 0x14007a932
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0xe0]
mov rcx, rsi
mov r9d, 0x1cc
call fcn.140060640
lea r12, [rsp + 0xc8]
mov rcx, r12
mov rdx, rsi
xor r8d, r8d
call fcn.14006fcd0
cmp byte [r14 + 0x17], 0
mov rcx, r14
jns 0x14007a8f0
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rcx, r12
call fcn.14006fe00
cmp ebx, 0xffffffff
je 0x14007a932
and ebx, 0x10
je 0x14007a932
lea rsi, [rsp + 0xe0]
mov rcx, rdi
mov rdx, rsi
call fcn.14005c570
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.14005bad0
mov rcx, rsi
call fcn.14005baa0
mov ebx, r15d
and bl, bpl
mov bpl, 1
lea rdi, [rsp + 0x38]
lea r13, [rsp + 0x50]
lea rsi, [rsp + 0x68]
lea r15, [rsp + 0x330]
lea r12, [rsp + 0xe0]
mov qword [rsp + 0x30], r14
jmp 0x14007a982
mov rcx, rdi
call fcn.14005baa0
test bpl, 1
je 0x14007ab0d
movzx eax, byte [rsp + 0x7f]
test al, al
jns 0x14007a990
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14007ab0d
mov rcx, rdi
mov rdx, r14
call fcn.14005ba20
mov rcx, r13
mov rdx, rsi
call fcn.14005bd90
test al, al
je 0x14007a9c9
mov rcx, r13
mov rdx, rsi
mov r8, rdi
call fcn.14005c860
test al, al
je 0x14007ab01
test bl, 1
jne 0x14007aa00
mov rcx, rsi
mov rdx, rdi
movzx r8d, byte [rsp + 0x2f]
call fcn.14007bde0
movzx ebp, bpl
test al, al
mov eax, 0
cmove ebp, eax
jmp 0x14007aaaa
mov byte [rsp + 0x2e], bl
mov rsi, r13
mov rcx, r12
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
mov r9d, 0x1cc
call fcn.140060640
lea rbx, [rsp + 0xc8]
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rsp + 0x4f], 0
mov r14, rdi
jns 0x14007aa48
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r13d, eax
mov rcx, rbx
call fcn.14006fe00
cmp r13d, 0xffffffff
je 0x14007aa75
and r13d, 0x10
je 0x14007aa75
mov r13, rsi
movzx ebx, byte [rsp + 0x2e]
mov rdi, r14
jmp 0x14007aaa0
cmp byte [rsp + 0x4f], 0
mov rdi, r14
mov rcx, r14
jns 0x14007aa87
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
movzx ebp, bpl
cmove ebp, eax
mov r13, rsi
movzx ebx, byte [rsp + 0x2e]
mov r14, qword [rsp + 0x30]
lea rsi, [rsp + 0x68]
mov rcx, r15
mov rdx, r12
call fcn.140084e70
mov rcx, rsi
mov rdx, r12
call fcn.14005bad0
mov rcx, r12
call fcn.14005baa0
movzx eax, byte [rsp + 0x7f]
test al, al
jns 0x14007aad6
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14007a970
mov rcx, r15
mov rdx, r12
call fcn.140084de0
mov rcx, r12
call fcn.140084b10
mov ebx, eax
mov rcx, r12
call fcn.140015bf0
jmp 0x14007a970
lea rcx, [rsp + 0x38]
call fcn.14005baa0
xor ebp, ebp
and bpl, 1
lea rcx, [rsp + 0x50]
call fcn.14005baa0
lea rcx, [rsp + 0x68]
call fcn.14005baa0
lea rcx, [rsp + 0x330]
call fcn.140084d70
jmp 0x14007a6e7