Function at 0x18003ad80
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes
Timestomp file

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x870
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rax, r8
mov qword [rsp + 0x68], rax
mov r12, rdx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa8], rax
mov qword [r11 - 0x750], 7
xor r14d, r14d
mov qword [r11 - 0x758], r14
mov word [r11 - 0x768], r14w
mov qword [r11 - 0x778], 7
mov qword [r11 - 0x780], r14
mov word [r11 - 0x790], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [r11 - 0x790]
call fcn.180004cc0
nop
lea rcx, [rsp + 0x410]
call fcn.180033230
nop
mov qword [rsp + 0x88], r14
lea ecx, [r14 + 0x18]
call fcn.18007b11c
mov r15, rax
test rax, rax
je 0x18003b949
mov qword [rsp + 0x80], rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x180], 7
mov qword [rsp + 0x178], r14
mov word [rsp + 0x168], r14w
or r13, 0xffffffffffffffff
or rbx, r13
lea rcx, [rsp + 0x1c0]
call fcn.180033230
nop
mov byte [rsp + 0x660], r14b
xor edx, edx
mov r8d, 0x1ff
lea rcx, [rsp + 0x661]
call fcn.18007e840
mov dword [rsp + 0x40], r14d
mov esi, r14d
mov eax, r14d
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r14
mov qword [rsp + 0xb0], r14
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x60], r14
lea rcx, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x18003af3a
call fcn.180011760
test al, al
je 0x18003af30
lea rcx, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae rcx, qword [rsp + 0x118]
lea edx, [r14 + 2]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [rsp + 0x58], 1
jmp 0x18003af3a
mov edi, 0x7ab7
jmp 0x18003b4b0
lea rcx, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae rcx, qword [rsp + 0x118]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 1]
call qword [0x1800d95d8]
mov r13, rax
mov qword [rsp + 0xa0], rax
cmp rax, 0xffffffffffffffff
jne 0x18003afac
mov edi, 0x7ab8
mov r8, r12
lea rdx, [0x1800acb88]
lea rcx, [0x1800d7100]
call fcn.180006d20
jmp 0x18003b4b0
mov rdx, rax
lea rcx, [rsp + 0x410]
call fcn.180033f10
mov rdx, r14
lea rcx, [0x1800a8438]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
cmp byte [rsp + rdx + 0x438], al
jne 0x18003aff0
inc rdx
cmp rdx, 9
jl 0x18003afd0
mov edi, 0x9c40
jmp 0x18003b4b0
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [0x1800d9648]
test eax, eax
jne 0x18003b00c
mov edi, 0x7aba
jmp 0x18003b4b0
mov r9d, 1
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x60]
call fcn.18003f730
test eax, eax
jne 0x18003b03a
mov edi, 0x7ab9
jmp 0x18003b4b0
lea r8, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae r8, qword [rsp + 0x118]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call fcn.18003aab0
test eax, eax
jne 0x18003b10e
lea rcx, [rsp + 0x1c0]
call fcn.1800332f0
nop
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rbx]
mov qword [rbx], rbx
mov qword [rbx + 8], rbx
cmp rcx, rbx
je 0x18003b0a3
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
cmp rdi, rbx
jne 0x18003b093
mov rcx, rbx
call fcn.18007a7a4
nop
lea rcx, [rsp + 0x410]
call fcn.1800332f0
nop
cmp qword [rsp + 0x130], 8
jb 0x18003b0d2
mov rcx, qword [rsp + 0x118]
call fcn.18007a7a4
mov qword [rsp + 0x130], 7
mov qword [rsp + 0x128], r14
mov word [rsp + 0x118], r14w
cmp qword [rsp + 0x158], 8
jb 0x18003b107
mov rcx, qword [rsp + 0x140]
call fcn.18007a7a4
xor eax, eax
jmp 0x18003b984
lea rcx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
cmovae rcx, qword [rsp + 0x140]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 1]
call qword [0x1800d95d8]
mov rbx, rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x18003b167
mov edi, 0x7ab8
jmp 0x18003b4a8
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xd0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileTime]
mov r15, qword [rsp + 0x98]
mov edx, dword [r15 + 0x80c]
lea rcx, [rsp + 0x1c0]
call fcn.180034100
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1c0]
call fcn.180033d50
lea rcx, [rsp + 0x1c0]
call fcn.180033710
lea rdx, [rsp + 0x660]
lea rcx, [rsp + 0x1c0]
call fcn.1800335b0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [0x1800d9618]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
mov r8d, 0x200
lea rdx, [rsp + 0x660]
mov rcx, rbx
call qword [0x1800d9608]
test eax, eax
jne 0x18003b21b
mov edi, 0x7abb
jmp 0x18003b4a8
mov ecx, dword [r15 + 0x81c]
call fcn.180078408
mov rsi, rax
mov qword [rsp + 0x48], rax
mov rdi, qword [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [0x1800d9618]
mov r12, qword [rsp + 0x50]
nop word [rax + rax]
mov r8d, dword [r15 + 0x81c]
mov ebx, r8d
cmp rdi, r8
cmovl ebx, edi
xor edx, edx
mov rcx, rsi
call fcn.18007e840
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rsi
mov rcx, r13
call qword [0x1800d95f8]
test eax, eax
je 0x18003b472
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rsi
mov rcx, r12
call qword [0x1800d9608]
test eax, eax
je 0x18003b468
mov eax, ebx
sub rdi, rax
test rdi, rdi
jg 0x18003b250
test rsi, rsi
je 0x18003b2c8
mov rcx, rsi
call fcn.18007b7a8
mov qword [rsp + 0x48], r14
mov r15, qword [rsp + 0x80]
mov rdi, qword [r15]
cmp rdi, r15
je 0x18003b3b1
nop dword [rax]
xor eax, eax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov esi, dword [rdi + 0x10]
mov r12d, dword [rdi + 0x14]
mov ecx, r12d
call fcn.180078408
mov r13, rax
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.18007e840
lea r11d, [rsi + 0x200]
mov dword [rsp + 0xe8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [0x1800d95f8]
mov rax, qword [rsp + 0x98]
lea rdx, [rax + 8]
lea rcx, [rax + 0x810]
mov dword [rsp + 0x20], r12d
mov r9, r13
mov r8, r13
call fcn.18006c630
lea r11, [rsp + 0xd8]
mov qword [rsp + 0x20], r11
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
mov rcx, rbx
call qword [0x1800d9608]
mov rcx, r13
call fcn.18007b7a8
mov qword [rsp + 0x70], r14
mov rdi, qword [rdi]
cmp rdi, r15
jne 0x18003b2e0
jmp 0x18003b3b6
mov rbx, r12
jmp 0x18003b3be
mov r13, qword [rsp + 0xa0]
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, r13
call qword [0x1800d9668]
test eax, eax
je 0x18003b45c
mov rcx, rbx
call qword [0x1800d9668]
test eax, eax
je 0x18003b45c
or r13, 0xffffffffffffffff
or rbx, r13
lea rdx, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
cmovae rcx, qword [rsp + 0x140]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
call qword [0x1800d9688]
mov edi, r14d
mov ecx, 0x7abe
test eax, eax
cmove edi, ecx
mov rsi, qword [rsp + 0x48]
jmp 0x18003b4b0
mov edi, 0x7ac1
mov rsi, qword [rsp + 0x48]
jmp 0x18003b4b0
mov edi, 0x7abb
mov rbx, r12
jmp 0x18003b4a8
mov edi, 0x7abd
mov rbx, r12
jmp 0x18003b4a8
mov r15, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x18003b4c5
mov dword [rax], edi
cmp dword [rsp + 0x58], 0
je 0x18003b4f1
lea rcx, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae rcx, qword [rsp + 0x118]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp r13, 0xffffffffffffffff
je 0x18003b500
mov rcx, r13
call qword [0x1800d9668]
cmp rbx, 0xffffffffffffffff
je 0x18003b50f
mov rcx, rbx
call qword [0x1800d9668]
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x18003b522
call qword [0x1800d9668]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18003b532
call qword [0x1800d9668]
test rsi, rsi
je 0x18003b53f
mov rcx, rsi
call fcn.18007b7a8
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18003b551
mov rcx, rax
call fcn.18007b7a8
lea rcx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
cmovae rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18003b5a0
shr eax, 4
not eax
and eax, 1
je 0x18003b5a0
lea rcx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
cmovae rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x18003b7a7
cmp edi, 0x9c40
je 0x18003b7a7
mov edx, edi
lea rcx, [rsp + 0x190]
call fcn.18003ff60
nop
cmp qword [rax + 0x18], 8
jb 0x18003b5ce
mov rax, qword [rax]
lea r8, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae r8, qword [rsp + 0x118]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9d, r12d
lea rdx, [0x1800acbb0]
lea rcx, [0x1800d7100]
call fcn.180006c90
nop
cmp qword [rsp + 0x1a8], 8
jb 0x18003b621
mov rcx, qword [rsp + 0x190]
call fcn.18007a7a4
nop
mov rax, qword [rsp + 0x3f0]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rsp + 0x3f0]
mov qword [rax + 8], rax
mov qword [rsp + 0x3f8], r14
mov rax, qword [rsp + 0x3f0]
cmp rcx, rax
je 0x18003b668
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
mov rax, qword [rsp + 0x3f0]
cmp rdi, rax
jne 0x18003b650
mov rcx, rax
call fcn.18007a7a4
cmp qword [rsp + 0x1d8], 8
jb 0x18003b688
mov rcx, qword [rsp + 0x1c0]
call fcn.18007a7a4
mov qword [rsp + 0x1d8], 7
mov qword [rsp + 0x1d0], r14
mov word [rsp + 0x1c0], r14w
cmp qword [rsp + 0x180], 8
jb 0x18003b6be
mov rcx, qword [rsp + 0x168]
call fcn.18007a7a4
nop
mov rcx, qword [r15]
mov qword [r15], r15
mov qword [r15 + 8], r15
cmp rcx, r15
je 0x18003b6e0
nop dword [rax]
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
cmp rdi, r15
jne 0x18003b6d0
mov rcx, r15
call fcn.18007a7a4
nop
mov rax, qword [rsp + 0x640]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rsp + 0x640]
mov qword [rax + 8], rax
mov qword [rsp + 0x648], r14
mov rax, qword [rsp + 0x640]
cmp rcx, rax
je 0x18003b730
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
mov rax, qword [rsp + 0x640]
cmp rdi, rax
jne 0x18003b718
mov rcx, rax
call fcn.18007a7a4
cmp qword [rsp + 0x428], 8
jb 0x18003b750
mov rcx, qword [rsp + 0x410]
call fcn.18007a7a4
mov qword [rsp + 0x428], 7
mov qword [rsp + 0x420], r14
mov word [rsp + 0x410], r14w
cmp qword [rsp + 0x130], 8
jb 0x18003b785
mov rcx, qword [rsp + 0x118]
call fcn.18007a7a4
mov qword [rsp + 0x130], 7
mov qword [rsp + 0x128], r14
mov word [rsp + 0x118], r14w
jmp 0x18003b0ef
mov rax, qword [rsp + 0x3f0]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rsp + 0x3f0]
mov qword [rax + 8], rax
mov qword [rsp + 0x3f8], r14
mov rax, qword [rsp + 0x3f0]
cmp rcx, rax
je 0x18003b7ee
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
mov rax, qword [rsp + 0x3f0]
cmp rdi, rax
jne 0x18003b7d6
mov rcx, rax
call fcn.18007a7a4
cmp qword [rsp + 0x1d8], 8
jb 0x18003b80e
mov rcx, qword [rsp + 0x1c0]
call fcn.18007a7a4
mov qword [rsp + 0x1d8], 7
mov qword [rsp + 0x1d0], r14
mov word [rsp + 0x1c0], r14w
cmp qword [rsp + 0x180], 8
jb 0x18003b844
mov rcx, qword [rsp + 0x168]
call fcn.18007a7a4
nop
mov rcx, qword [r15]
mov qword [r15], r15
mov qword [r15 + 8], r15
cmp rcx, r15
je 0x18003b863
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
cmp rdi, r15
jne 0x18003b853
mov rcx, r15
call fcn.18007a7a4
nop
mov rax, qword [rsp + 0x640]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rsp + 0x640]
mov qword [rax + 8], rax
mov qword [rsp + 0x648], r14
mov rax, qword [rsp + 0x640]
cmp rcx, rax
je 0x18003b8b8
nop dword [rax + rax]
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
mov rax, qword [rsp + 0x640]
cmp rdi, rax
jne 0x18003b8a0
mov rcx, rax
call fcn.18007a7a4
cmp qword [rsp + 0x428], 8
jb 0x18003b8d8
mov rcx, qword [rsp + 0x410]
call fcn.18007a7a4
mov qword [rsp + 0x428], 7
mov qword [rsp + 0x420], r14
mov word [rsp + 0x410], r14w
cmp qword [rsp + 0x130], 8
jb 0x18003b90d
mov rcx, qword [rsp + 0x118]
call fcn.18007a7a4
mov qword [rsp + 0x130], 7
mov qword [rsp + 0x128], r14
mov word [rsp + 0x118], r14w
cmp qword [rsp + 0x158], 8
jb 0x18003b942
mov rcx, qword [rsp + 0x140]
call fcn.18007a7a4
mov eax, 1
jmp 0x18003b984
mov qword [rsp + 0x78], r14
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x100]
call fcn.18007aac4
lea rdx, vtable.std::bad_alloc.0
mov qword [rsp + 0x100], rdx
lea rdx, [0x1800cc1e8]
lea rcx, [rsp + 0x100]
call fcn.18007e92c
nop
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.18007a7c0
add rsp, 0x870
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret