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

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8f0
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
mov dword [rsp + 0x58], r9d
mov rsi, r8
mov rbx, rdx
mov r12, rcx
mov qword [rsp + 0x70], rcx
mov rax, qword [rsp + 0x950]
mov qword [rsp + 0xa0], rax
mov qword [r11 - 0x778], 7
xor r14d, r14d
mov qword [r11 - 0x780], r14
mov word [r11 - 0x790], r14w
mov qword [r11 - 0x7a0], 7
mov qword [r11 - 0x7a8], r14
mov word [r11 - 0x7b8], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [r11 - 0x7b8]
call fcn.180004cc0
nop
mov qword [rsp + 0x1d8], 7
mov qword [rsp + 0x1d0], r14
mov word [rsp + 0x1c0], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rsi
lea rcx, [rsp + 0x1c0]
call fcn.180004cc0
nop
mov qword [rsp + 0x160], 7
mov qword [rsp + 0x158], r14
mov word [rsp + 0x148], r14w
xor r8d, r8d
lea rdx, [0x1800a4614]
lea rcx, [rsp + 0x148]
call fcn.180004cc0
nop
mov qword [rsp + 0x138], 7
mov qword [rsp + 0x130], r14
mov word [rsp + 0x120], r14w
lea rcx, [rsp + 0x490]
call fcn.180033230
nop
mov qword [rsp + 0x90], r14
lea ecx, [r14 + 0x18]
call fcn.18007b11c
mov r15, rax
test rax, rax
je 0x18003d6ce
mov qword [rsp + 0x88], rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x228], 7
mov qword [rsp + 0x220], r14
mov word [rsp + 0x210], r14w
mov qword [rsp + 0x50], 0xffffffffffffffff
mov qword [rsp + 0x40], 0xffffffffffffffff
lea rcx, [rsp + 0x240]
call fcn.180033230
nop
mov byte [rsp + 0x6e0], r14b
xor edx, edx
mov r8d, 0x1ff
lea rcx, [rsp + 0x6e1]
call fcn.18007e840
mov dword [rsp + 0x48], r14d
mov eax, r14d
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], r14
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea r13d, [r14 + 1]
test r13b, al
je 0x18003c561
mov edi, 0x7ab7
mov esi, r14d
mov r12, qword [rsp + 0x40]
jmp 0x18003d204
lea rcx, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rcx, qword [rsp + 0x170]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, r13d
mov edx, 0xc0000000
call qword [0x1800d95d8]
mov rdi, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0xb8], rax
cmp rax, 0xffffffffffffffff
jne 0x18003c5df
mov edi, 0x7ab8
mov r8, rbx
lea rdx, [0x1800acb88]
lea rcx, [0x1800d7100]
call fcn.180006d20
mov rsi, r14
mov r12, qword [rsp + 0x40]
jmp 0x18003d204
mov rdx, rax
lea rcx, [rsp + 0x490]
call fcn.180033f10
mov rdx, r14
lea rcx, [0x1800a8438]
nop dword [rax]
movzx eax, byte [rdx + rcx]
cmp byte [rsp + rdx + 0x4b8], al
jne 0x18003c628
inc rdx
cmp rdx, 9
jl 0x18003c600
mov edi, 0x9c40
mov rsi, r14
mov r12, qword [rsp + 0x40]
jmp 0x18003d204
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [0x1800d9648]
test eax, eax
jne 0x18003c64c
mov edi, 0x7aba
mov rsi, r14
mov r12, qword [rsp + 0x40]
jmp 0x18003d204
mov edx, 0x5c
lea rcx, [rsp + 0x170]
call fcn.180026ec0
mov rbx, rax
mov edx, 0x2f
lea rcx, [rsp + 0x170]
call fcn.180026ec0
mov rdi, rax
mov edx, 0x3a
lea rcx, [rsp + 0x170]
call fcn.180026ec0
cmp ebx, eax
cmovg eax, ebx
cmp edi, eax
cmovg eax, edi
cmp eax, 0xffffffff
setne cl
or r9, 0xffffffffffffffff
test cl, cl
je 0x18003c772
inc eax
movsxd r8, eax
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x170]
call fcn.18000b940
mov rdi, rax
lea rax, [rsp + 0x148]
cmp rax, rdi
je 0x18003c758
cmp qword [rsp + 0x160], 8
jb 0x18003c6ea
mov rcx, qword [rsp + 0x148]
call fcn.18007a7a4
mov qword [rsp + 0x160], 7
mov qword [rsp + 0x158], r14
mov word [rsp + 0x148], r14w
cmp qword [rdi + 0x18], 8
jae 0x18003c72a
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x148]
call fcn.18007abc0
jmp 0x18003c738
mov rax, qword [rdi]
mov qword [rsp + 0x148], rax
mov qword [rdi], r14
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x158], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x160], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
cmp qword [rsp + 0x200], 8
jb 0x18003c78a
mov rcx, qword [rsp + 0x1e8]
call fcn.18007a7a4
jmp 0x18003c78a
xor r8d, r8d
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x148]
call fcn.1800049e0
lea r8, [rsp + 0x148]
lea rdx, [0x1800aafac]
lea rcx, [rsp + 0x1e8]
call fcn.180013f30
mov rdi, rax
lea rax, [rsp + 0x148]
cmp rax, rdi
je 0x18003c840
cmp qword [rsp + 0x160], 8
jb 0x18003c7d2
mov rcx, qword [rsp + 0x148]
call fcn.18007a7a4
mov qword [rsp + 0x160], 7
mov qword [rsp + 0x158], r14
mov word [rsp + 0x148], r14w
cmp qword [rdi + 0x18], 8
jae 0x18003c812
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x148]
call fcn.18007abc0
jmp 0x18003c820
mov rax, qword [rdi]
mov qword [rsp + 0x148], rax
mov qword [rdi], r14
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x158], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x160], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
cmp qword [rsp + 0x200], 8
jb 0x18003c858
mov rcx, qword [rsp + 0x1e8]
call fcn.18007a7a4
lea r8, [rsp + 0x148]
mov rdx, rsi
lea rcx, [rsp + 0x1e8]
call fcn.180013f30
mov rdi, rax
lea rax, [rsp + 0x148]
cmp rax, rdi
je 0x18003c90a
cmp qword [rsp + 0x160], 8
jb 0x18003c89c
mov rcx, qword [rsp + 0x148]
call fcn.18007a7a4
mov qword [rsp + 0x160], 7
mov qword [rsp + 0x158], r14
mov word [rsp + 0x148], r14w
cmp qword [rdi + 0x18], 8
jae 0x18003c8dc
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x148]
call fcn.18007abc0
jmp 0x18003c8ea
mov rax, qword [rdi]
mov qword [rsp + 0x148], rax
mov qword [rdi], r14
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x158], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x160], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
cmp qword [rsp + 0x200], 8
jb 0x18003c922
mov rcx, qword [rsp + 0x1e8]
call fcn.18007a7a4
mov r9d, r13d
lea r8, [rsp + 0x198]
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x68]
call fcn.18003f730
test eax, eax
jne 0x18003c955
mov edi, 0x7ab9
mov rsi, r14
mov r12, qword [rsp + 0x40]
jmp 0x18003d204
lea r8, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae r8, qword [rsp + 0x170]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
call fcn.18003aab0
test eax, eax
jne 0x18003caca
lea rcx, [rsp + 0x240]
call fcn.1800332f0
nop
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rbx]
mov qword [rbx], rbx
mov qword [rbx + 8], rbx
cmp rcx, rbx
je 0x18003c9c0
nop
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
cmp rdi, rbx
jne 0x18003c9b0
mov rcx, rbx
call fcn.18007a7a4
nop
lea rcx, [rsp + 0x490]
call fcn.1800332f0
nop
cmp qword [rsp + 0x138], 8
jb 0x18003c9ef
mov rcx, qword [rsp + 0x120]
call fcn.18007a7a4
mov qword [rsp + 0x138], 7
mov qword [rsp + 0x130], r14
mov word [rsp + 0x120], r14w
cmp qword [rsp + 0x160], 8
jb 0x18003ca24
mov rcx, qword [rsp + 0x148]
call fcn.18007a7a4
mov qword [rsp + 0x160], 7
mov qword [rsp + 0x158], r14
mov word [rsp + 0x148], r14w
cmp qword [rsp + 0x1d8], 8
jb 0x18003ca59
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 + 0x188], 8
jb 0x18003ca8e
mov rcx, qword [rsp + 0x170]
call fcn.18007a7a4
mov qword [rsp + 0x188], 7
mov qword [rsp + 0x180], r14
mov word [rsp + 0x170], r14w
cmp qword [rsp + 0x1b0], 8
jb 0x18003cac3
mov rcx, qword [rsp + 0x198]
call fcn.18007a7a4
xor eax, eax
jmp 0x18003d70f
lea rcx, [rsp + 0x198]
cmp qword [rsp + 0x1b0], 8
cmovae rcx, qword [rsp + 0x198]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, r13d
mov edx, 0xc0000000
call qword [0x1800d95d8]
mov r15, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xc0], rax
cmp rax, 0xffffffffffffffff
jne 0x18003cb30
mov edi, 0x7ab8
mov rsi, r14
mov r12, rax
jmp 0x18003d1fc
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xd0]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileTime]
mov edx, dword [r12 + 0x80c]
lea rcx, [rsp + 0x240]
call fcn.180034100
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x240]
call fcn.180033d50
lea rcx, [rsp + 0x240]
call fcn.180033710
lea rdx, [rsp + 0x6e0]
lea rcx, [rsp + 0x240]
call fcn.1800335b0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [0x1800d9618]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
mov r8d, 0x200
lea rdx, [rsp + 0x6e0]
mov rcx, r15
call qword [0x1800d9608]
test eax, eax
jne 0x18003cbea
mov edi, 0x7abb
mov rsi, r14
mov r12, qword [rsp + 0x40]
jmp 0x18003d1fc
mov ecx, dword [r12 + 0x81c]
call fcn.180078408
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [0x1800d9618]
nop word [rax + rax]
mov r8d, dword [r12 + 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 + 0x48]
mov r8d, ebx
mov rdx, rsi
mov rcx, qword [rsp + 0x50]
call qword [0x1800d95f8]
test eax, eax
je 0x18003d1c5
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rdx, rsi
mov rcx, r15
call qword [0x1800d9608]
test eax, eax
je 0x18003d1b9
mov eax, ebx
sub rdi, rax
test rdi, rdi
jg 0x18003cc20
test rsi, rsi
je 0x18003cc9b
mov rcx, rsi
call fcn.18007b7a8
mov qword [rsp + 0x60], r14
mov r15, qword [rsp + 0x88]
mov rdi, qword [r15]
cmp rdi, r15
je 0x18003cd84
nop
xor eax, eax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 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 + 0xf0], r11d
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [0x1800d95f8]
mov rax, qword [rsp + 0x70]
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 + 0xe0]
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 + 0x78], r14
mov rdi, qword [rdi]
cmp rdi, r15
jne 0x18003ccb0
mov r13d, 1
jmp 0x18003cd89
mov rbx, qword [rsp + 0x40]
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, qword [rsp + 0x50]
call qword [0x1800d9668]
test eax, eax
je 0x18003d1a8
mov rcx, rbx
call qword [0x1800d9668]
test eax, eax
je 0x18003d1a8
mov qword [rsp + 0x50], 0xffffffffffffffff
or r12, 0xffffffffffffffff
lea edx, [r12 + 0x5d]
lea rcx, [rsp + 0x170]
call fcn.180026ec0
mov rdi, rax
lea edx, [r12 + 0x30]
lea rcx, [rsp + 0x170]
call fcn.180026ec0
mov rbx, rax
lea edx, [r12 + 0x3b]
lea rcx, [rsp + 0x170]
call fcn.180026ec0
cmp edi, eax
cmovg eax, edi
cmp ebx, eax
cmovg eax, ebx
cmp eax, r12d
setne cl
or r9, r12
test cl, cl
je 0x18003d184
inc eax
movsxd r8, eax
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x170]
call fcn.18000b940
mov rdi, rax
lea rax, [rsp + 0x120]
cmp rax, rdi
je 0x18003cee6
cmp qword [rsp + 0x138], 8
jb 0x18003ce78
mov rcx, qword [rsp + 0x120]
call fcn.18007a7a4
mov qword [rsp + 0x138], 7
mov qword [rsp + 0x130], r14
mov word [rsp + 0x120], r14w
cmp qword [rdi + 0x18], 8
jae 0x18003ceb8
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x120]
call fcn.18007abc0
jmp 0x18003cec6
mov rax, qword [rdi]
mov qword [rsp + 0x120], rax
mov qword [rdi], r14
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x130], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x138], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
cmp qword [rsp + 0x200], 8
jb 0x18003cefe
mov rcx, qword [rsp + 0x1e8]
call fcn.18007a7a4
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x1e8]
call fcn.180027780
mov rdi, rax
lea rax, [rsp + 0x120]
cmp rax, rdi
je 0x18003cfb5
cmp qword [rsp + 0x138], 8
jb 0x18003cf47
mov rcx, qword [rsp + 0x120]
call fcn.18007a7a4
mov qword [rsp + 0x138], 7
mov qword [rsp + 0x130], r14
mov word [rsp + 0x120], r14w
cmp qword [rdi + 0x18], 8
jae 0x18003cf87
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x120]
call fcn.18007abc0
jmp 0x18003cf95
mov rax, qword [rdi]
mov qword [rsp + 0x120], rax
mov qword [rdi], r14
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x130], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x138], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
cmp qword [rsp + 0x200], 8
jb 0x18003cfcd
mov rcx, qword [rsp + 0x1e8]
call fcn.18007a7a4
mov rax, qword [rsp + 0x130]
add rax, 3
cmp rax, 0x104
ja 0x18003d19c
lea rcx, [rsp + 0x120]
cmp qword [rsp + 0x138], 8
cmovae rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18003d0f2
shr eax, 4
not eax
and eax, 1
je 0x18003d0f2
mov rax, qword [rsp + 0x130]
test rax, rax
je 0x18003d0b3
cmp rax, 0xffffffffffffffff
jbe 0x18003d039
or rcx, 0xffffffffffffffff
jmp 0x18003d03d
lea rcx, [rax - 1]
lea rax, [rsp + 0x120]
mov rbx, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x138]
cmp rsi, 8
cmovae rax, rbx
lea rdi, [rax + rcx*2]
mov rdx, r13
lea rcx, [0x1800ab324]
test r13, r13
je 0x18003d09b
movzx eax, word [rdi]
cmp word [rcx], ax
je 0x18003d083
add rcx, 2
dec rdx
jne 0x18003d070
jmp 0x18003d09b
lea rax, [rsp + 0x120]
cmp rsi, 8
cmovae rax, rbx
sub rdi, rax
sar rdi, 1
jmp 0x18003d0b7
lea rcx, [rsp + 0x120]
call fcn.180004930
cmp rdi, rax
je 0x18003d0b3
sub rdi, 2
jmp 0x18003d061
or rdi, 0xffffffffffffffff
movsxd rdx, edi
mov r9d, 3
lea r8, [0x1800acbf8]
lea rcx, [rsp + 0x120]
call fcn.18003fb60
mov rdx, qword [rsp + 0x130]
add rdx, 3
cmp rdx, 0x104
jbe 0x18003cfe5
jmp 0x18003d19c
lea rdx, [rsp + 0x120]
cmp qword [rsp + 0x138], 8
cmovae rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x198]
cmp qword [rsp + 0x1b0], 8
cmovae rcx, qword [rsp + 0x198]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
call qword [0x1800d9688]
test eax, eax
jne 0x18003d150
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x7abe
mov rsi, qword [rsp + 0x60]
jmp 0x18003d204
cmp dword [rsp + 0x58], 0
jne 0x18003d177
lea rcx, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, r14d
mov rsi, qword [rsp + 0x60]
jmp 0x18003d204
xor r8d, r8d
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x120]
call fcn.1800049e0
mov edi, 0x7abe
mov rsi, qword [rsp + 0x60]
jmp 0x18003d204
mov edi, 0x7ac1
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x40]
jmp 0x18003d204
mov edi, 0x7abb
mov r12, qword [rsp + 0x40]
jmp 0x18003d1fc
mov edi, 0x7abd
mov r12, qword [rsp + 0x40]
jmp 0x18003d1fc
mov r15, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x18003d21b
mov dword [rax], edi
mov rax, qword [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x18003d22f
mov rcx, rax
call qword [0x1800d9668]
cmp r12, 0xffffffffffffffff
je 0x18003d23e
mov rcx, r12
call qword [0x1800d9668]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x18003d251
call qword [0x1800d9668]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x18003d264
call qword [0x1800d9668]
test rsi, rsi
je 0x18003d271
mov rcx, rsi
call fcn.18007b7a8
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x18003d283
mov rcx, rax
call fcn.18007b7a8
lea rcx, [rsp + 0x198]
cmp qword [rsp + 0x1b0], 8
cmovae rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18003d2d2
shr eax, 4
not eax
and eax, 1
je 0x18003d2d2
lea rcx, [rsp + 0x198]
cmp qword [rsp + 0x1b0], 8
cmovae rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x18003d490
cmp edi, 0x9c40
je 0x18003d490
mov edx, edi
lea rcx, [rsp + 0x1e8]
call fcn.18003ff60
nop
cmp qword [rax + 0x18], 8
jb 0x18003d300
mov rax, qword [rax]
lea r8, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae r8, qword [rsp + 0x170]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9d, ebx
lea rdx, [0x1800acbb0]
lea rcx, [0x1800d7100]
call fcn.180006c90
nop
cmp qword [rsp + 0x200], 8
jb 0x18003d353
mov rcx, qword [rsp + 0x1e8]
call fcn.18007a7a4
nop
lea rcx, [rsp + 0x240]
call fcn.1800332f0
nop
cmp qword [rsp + 0x228], 8
jb 0x18003d37a
mov rcx, qword [rsp + 0x210]
call fcn.18007a7a4
nop
mov rcx, qword [r15]
mov qword [r15], r15
mov qword [r15 + 8], r15
cmp rcx, r15
je 0x18003d3a0
nop dword [rax]
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
cmp rdi, r15
jne 0x18003d390
mov rcx, r15
call fcn.18007a7a4
nop
lea rcx, [rsp + 0x490]
call fcn.1800332f0
nop
cmp qword [rsp + 0x138], 8
jb 0x18003d3cf
mov rcx, qword [rsp + 0x120]
call fcn.18007a7a4
mov qword [rsp + 0x138], 7
mov qword [rsp + 0x130], r14
mov word [rsp + 0x120], r14w
cmp qword [rsp + 0x160], 8
jb 0x18003d404
mov rcx, qword [rsp + 0x148]
call fcn.18007a7a4
mov qword [rsp + 0x160], 7
mov qword [rsp + 0x158], r14
mov word [rsp + 0x148], r14w
cmp qword [rsp + 0x1d8], 8
jb 0x18003d439
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 + 0x188], 8
jb 0x18003d46e
mov rcx, qword [rsp + 0x170]
call fcn.18007a7a4
mov qword [rsp + 0x188], 7
mov qword [rsp + 0x180], r14
mov word [rsp + 0x170], r14w
jmp 0x18003caab
mov rax, qword [rsp + 0x470]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 8], rax
mov qword [rsp + 0x478], r14
mov rax, qword [rsp + 0x470]
cmp rcx, rax
je 0x18003d4d8
nop
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
mov rax, qword [rsp + 0x470]
cmp rdi, rax
jne 0x18003d4c0
mov rcx, rax
call fcn.18007a7a4
cmp qword [rsp + 0x258], 8
jb 0x18003d4f8
mov rcx, qword [rsp + 0x240]
call fcn.18007a7a4
mov qword [rsp + 0x258], 7
mov qword [rsp + 0x250], r14
mov word [rsp + 0x240], r14w
cmp qword [rsp + 0x228], 8
jb 0x18003d52e
mov rcx, qword [rsp + 0x210]
call fcn.18007a7a4
nop
mov rcx, qword [r15]
mov qword [r15], r15
mov qword [r15 + 8], r15
cmp rcx, r15
je 0x18003d550
nop dword [rax]
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
cmp rdi, r15
jne 0x18003d540
mov rcx, r15
call fcn.18007a7a4
nop
mov rax, qword [rsp + 0x6c0]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rsp + 0x6c0]
mov qword [rax + 8], rax
mov qword [rsp + 0x6c8], r14
mov rax, qword [rsp + 0x6c0]
cmp rcx, rax
je 0x18003d5a0
mov rdi, qword [rcx]
call fcn.18007a7a4
mov rcx, rdi
mov rax, qword [rsp + 0x6c0]
cmp rdi, rax
jne 0x18003d588
mov rcx, rax
call fcn.18007a7a4
cmp qword [rsp + 0x4a8], 8
jb 0x18003d5c0
mov rcx, qword [rsp + 0x490]
call fcn.18007a7a4
mov qword [rsp + 0x4a8], 7
mov qword [rsp + 0x4a0], r14
mov word [rsp + 0x490], r14w
cmp qword [rsp + 0x138], 8
jb 0x18003d5f5
mov rcx, qword [rsp + 0x120]
call fcn.18007a7a4
mov qword [rsp + 0x138], 7
mov qword [rsp + 0x130], r14
mov word [rsp + 0x120], r14w
cmp qword [rsp + 0x160], 8
jb 0x18003d62a
mov rcx, qword [rsp + 0x148]
call fcn.18007a7a4
mov qword [rsp + 0x160], 7
mov qword [rsp + 0x158], r14
mov word [rsp + 0x148], r14w
cmp qword [rsp + 0x1d8], 8
jb 0x18003d65f
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 + 0x188], 8
jb 0x18003d694
mov rcx, qword [rsp + 0x170]
call fcn.18007a7a4
mov qword [rsp + 0x188], 7
mov qword [rsp + 0x180], r14
mov word [rsp + 0x170], r14w
cmp qword [rsp + 0x1b0], 8
jb 0x18003d6c9
mov rcx, qword [rsp + 0x198]
call fcn.18007a7a4
mov eax, r13d
jmp 0x18003d70f
mov qword [rsp + 0x80], r14
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x108]
call fcn.18007aac4
lea rdx, vtable.std::bad_alloc.0
mov qword [rsp + 0x108], rdx
lea rdx, [0x1800cc1e8]
lea rcx, [rsp + 0x108]
call fcn.18007e92c
nop
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.18007a7c0
add rsp, 0x8f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret