Function at 0x14006f55c
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x30c0
call fcn.1400751b0
sub rsp, rax
xor r15d, r15d
mov rbp, rcx
mov rbx, rdx
mov dword [rcx + 0x28], r15d
mov edi, 0x7fe
lea rcx, [rsp + 0x492]
xor edx, edx
mov r8, rdi
mov word [rsp + 0x490], r15w
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x490]
mov rcx, rbx
call fcn.140063b44
lea rcx, [rsp + 0x490]
mov dx, 0x5c
call sub.msvcrt.dll_wcsrchr
cmp rax, r15
je 0x14006f5d5
mov word [rax], r15w
lea rcx, [rsp + 0xc92]
mov r8, rdi
xor edx, edx
mov word [rsp + 0xc90], r15w
call sub.msvcrt.dll_memset
mov esi, 0xc0
lea rcx, [0x14008ad40]
mov edx, esi
call fcn.140066f78
or r13, 0xffffffffffffffff
mov r14d, 0x3ff
mov r11, rax
xor eax, eax
mov rcx, r13
mov rdi, r11
repne scasw ax, word [rdi]
lea rdi, [rsp + 0x490]
not rcx
lea rdx, [rcx - 1]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
lea rax, [rdx + rcx]
cmp rax, r14
jae 0x14006f656
lea r8, [rsp + 0xc90]
lea rcx, [rsp + 0x490]
mov rdx, r11
call fcn.1400639e4
jmp 0x14006f65f
mov word [rsp + 0xc90], r15w
lea rcx, [rsp + 0xc90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14006f6e2
lea rdx, [rsp + 0x490]
mov rcx, rbx
call fcn.140063b44
lea rcx, [0x14008ad40]
mov edx, esi
call fcn.140066f78
mov rcx, r13
mov r11, rax
xor eax, eax
mov rdi, r11
repne scasw ax, word [rdi]
lea rdi, [rsp + 0x490]
not rcx
lea rdx, [rcx - 1]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
lea rax, [rdx + rcx]
cmp rax, r14
jae 0x14006f6d9
lea r8, [rsp + 0xc90]
lea rcx, [rsp + 0x490]
mov rdx, r11
call fcn.1400639e4
jmp 0x14006f6e2
mov word [rsp + 0xc90], r15w
lea rdx, [rsp + 0xc90]
mov rcx, rbp
call fcn.14006f20c
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0x212
mov r12, r15
mov qword [rsp + 0x60], r15
mov esi, r15d
mov dword [rsp + 0x68], r15d
mov dword [rsp + 0x6c], 0x1388
mov word [rsp + 0x270], r15w
call sub.msvcrt.dll_memset
mov qword [rsp + 0x30], r15
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, r13
jne 0x14006f785
lea rdx, [0x140076a60]
lea rcx, [rsp + 0x270]
call fcn.140062a54
lea rdx, [rsp + 0x270]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rbx, [rsp + 0x270]
jmp 0x14006f78e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x1491]
xor edx, edx
mov r8d, 0x411
mov byte [rsp + 0x1490], r15b
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x1490]
mov r8d, r14d
mov rcx, rbx
call fcn.140061b44
xor r9d, r9d
lea rdx, [rsp + 0x3110]
lea rcx, [rsp + 0x1490]
lea r8d, [r9 + 6]
mov qword [rsp + 0x3110], r15
call fcn.1400387a8
mov r14, qword [rsp + 0x3110]
cmp r14, r15
je 0x14006fcbd
lea rcx, [0x14008ad40]
mov edx, 0xbf
mov qword [rsp + 0x3100], r15
call fcn.140066fe8
lea rcx, [rsp + 0x3108]
xor r9d, r9d
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x3100]
mov r8d, r13d
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov rdx, rax
mov qword [rsp + 0x20], r15
call fcn.14003ba28
mov rbx, qword [rsp + 0x3100]
cmp rbx, r15
je 0x14006fcb5
mov rcx, rbx
call fcn.140043328
cmp eax, 0x64
jne 0x14006fcad
mov r14d, 0xfe
cmp dword [0x14008e7ac], r15d
jne 0x14006fca5
lea rcx, [rsp + 0x18b0]
xor edx, edx
mov r8d, 0x1808
call sub.msvcrt.dll_memset
mov edx, 1
mov rcx, rbx
call fcn.14002da98
xor edx, edx
mov rcx, rbx
mov rdi, rax
call fcn.14002da98
mov edx, 2
mov rcx, rbx
mov r13, rax
call fcn.14002da98
mov edx, 3
mov rcx, rbx
mov r15, rax
call fcn.14002da98
mov edx, 4
mov rcx, rbx
mov qword [rsp + 0x3108], rax
call fcn.14002da98
mov edx, 7
mov rcx, rbx
mov qword [rsp + 0x3100], rax
call fcn.140027b78
test rax, rax
jne 0x14006f8ff
and dword [rsp + 0x30b4], eax
and dword [rsp + 0x30b0], eax
jmp 0x14006f90f
lea rcx, [rsp + 0x30b0]
mov rdx, rax
call fcn.14006f14c
lea rax, [rsp + 0x18b0]
or r9d, 0xffffffff
mov r8, r13
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x3ff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x20b0]
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x3ff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, qword [rsp + 0x3100]
lea rax, [rsp + 0x2ab0]
mov edi, 0xff
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x28b0]
or r9d, 0xffffffff
mov r8, r15
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rsp + 0x3108]
lea rdx, [rsp + 0x2cb0]
mov r8d, edi
call fcn.140061b14
mov edi, 5
mov rcx, rbx
mov edx, edi
call fcn.14002dad8
mov edx, edi
mov rcx, rbx
mov r13, rax
call fcn.140030dd8
cmp eax, 0xf
mov r15d, eax
jle 0x14006fc80
mov ax, word [r13]
lea rdx, [0x140076a6c]
cmp ax, word [rdx]
jne 0x14006fa07
mov al, byte [r13 + 2]
cmp al, byte [rdx + 2]
jne 0x14006fa07
xor eax, eax
jmp 0x14006fa0c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14006fbb1
cmp dword [rbp + 0x28], eax
je 0x14006fc80
mov byte [rsp + 0xb0], al
xor eax, eax
lea rcx, [rsp + 0xd0]
xor edx, edx
mov r8d, 0x1a0
mov qword [rsp + 0xb1], rax
mov qword [rsp + 0xb9], rax
mov qword [rsp + 0xc1], rax
mov dword [rsp + 0xc9], eax
mov word [rsp + 0xcd], ax
mov byte [rsp + 0xcf], al
mov byte [rsp + 0x80], al
mov qword [rsp + 0x81], rax
mov qword [rsp + 0x89], rax
mov qword [rsp + 0x91], rax
mov dword [rsp + 0x99], eax
mov word [rsp + 0x9d], ax
mov byte [rsp + 0x9f], al
call sub.msvcrt.dll_memset
lea r8, [rbp + 8]
lea rcx, [rsp + 0xd0]
mov edx, 2
mov r9d, 0x100
call fcn.140001478
lea edi, [r15 - 0xf]
cmp edi, 0x10
jle 0x14006fc80
lea eax, [rdi + 0xa]
cmp eax, esi
jl 0x14006faed
mov ecx, dword [rsp + 0x6c]
add esi, ecx
cmp esi, eax
jle 0x14006fad2
lea rcx, [rsp + 0x60]
mov edx, esi
call fcn.1400603d8
mov esi, dword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
lea eax, [rdi - 0x10]
lea rcx, [r13 + 0xf]
lea r9, [r13 + 3]
movsxd r8, eax
lea rax, [rsp + 0x80]
xor edx, edx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], InitCommonControls
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rcx
and qword [rsp + 0x30], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x20], InitCommonControls
call fcn.140001ab8
lea rcx, [rsp + 0xd0]
call fcn.140001b2c
lea rcx, [rsp + 0x80]
lea eax, [r15 - 0x10]
mov rdx, qword [rcx]
cdqe
cmp rdx, qword [rax + r13]
jne 0x14006fb7d
mov rdx, qword [rcx + 8]
cmp rdx, qword [rax + r13 + 8]
jne 0x14006fb7d
xor r15d, r15d
mov eax, r15d
jmp 0x14006fb85
sbb eax, eax
sbb eax, 0xffffffff
xor r15d, r15d
cmp eax, r15d
jne 0x14006fc83
movsxd rax, edi
lea rdx, [rsp + 0x2eb0]
mov r8d, 0xff
mov rcx, r12
mov byte [rax + r12 - 0x10], r15b
call fcn.140061b14
jmp 0x14006fc83
and dword [rsp + 0x70], 0
xor eax, eax
mov dword [rsp + 0xa0], r15d
mov qword [rsp + 0xa8], rax
xor r15d, r15d
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0xa0]
lea rcx, [0x14008e9a0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r15d
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0x20], r15
call fcn.14006d694
mov r13, qword [rsp + 0x78]
cmp r13, r15
je 0x14006fc83
mov edi, dword [rsp + 0x70]
lea rcx, [rsp + 0xd1]
mov r8d, 0x100
cmp edi, r14d
mov byte [rsp + 0xd0], r15b
cmova edi, r14d
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xd0]
mov r8, rdi
mov rdx, r13
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2eb0]
lea rcx, [rsp + 0xd0]
mov r8d, 0xff
mov byte [rsp + rdi + 0xd0], r15b
call fcn.140061b14
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14006fc83
xor r15d, r15d
mov rax, qword [rbp]
lea rdx, [rsp + 0x18b0]
mov rcx, rbp
call qword [rax]
mov rcx, rbx
call fcn.140043328
cmp eax, 0x64
je 0x14006f864
mov r14, qword [rsp + 0x3110]
mov rcx, rbx
call fcn.14003b5f8
mov rcx, r14
call fcn.140036288
cmp word [rsp + 0x270], r15w
je 0x14006fcd6
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x60]
call fcn.140060398
mov rbx, qword [rsp + 0x3118]
add rsp, 0x30c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret