Function at 0x14001eb5c
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Resolve function by parsing pe exports
Set file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1000]
mov eax, 0x1100
call fcn.140022ff0
sub rsp, rax
mov rax, qword [0x14002c298]
xor rax, rsp
mov qword [rbp + 0xff0], rax
mov r14, r8
mov r13, rdx
mov qword [rsp + 0x50], rdx
mov rdi, rcx
lea rdx, [rsp + 0x60]
call fcn.14001fe70
mov rbx, rax
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.14001d14c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140019220
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
xor r15d, r15d
test eax, eax
jg 0x14001ec04
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001ec34
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14001fd18
nop
mov dword [rsp + 0x38], r15d
mov r12d, r15d
mov dword [rsp + 0x3c], r15d
test dword [rdi + 0x70], 0x400
je 0x14001ecd7
mov r9d, dword [r14 + 0x18]
mov r8d, dword [r14 + 0x14]
mov rdx, r13
mov rcx, rdi
call fcn.14001f878
test eax, eax
jne 0x14001ecd7
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001eca0
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001ecd0
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
xor eax, eax
jmp 0x14001f2c8
mov ebx, dword [r14 + 0x10]
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.140002c2c
lea rsi, [rax + 0x18]
mov rcx, rsi
test ebx, ebx
je 0x14001ed01
mov r15d, dword [rdi + 0x70]
and r15d, 0x3127
jmp 0x14001ed2d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov r15d, eax
cmp eax, 0xffffffff
jne 0x14001ed1d
xor r9d, r9d
mov r15d, r9d
jmp 0x14001ed42
and r15d, 0x3127
test r15b, 7
je 0x14001ed3f
mov rcx, rsi
mov edx, r15d
and edx, 0xfffffff8
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
xor r9d, r9d
lea rdx, [rsi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ed70
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
xor r9d, r9d
mov ebx, 0x4000
mov esi, r9d
mov r8d, dword [0x14002d8b8]
test r8d, r8d
je 0x14001edb1
test dword [rdi + 0x70], ebx
je 0x14001edb1
mov r9d, dword [r14]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14001f368
test eax, eax
je 0x14001f18d
mov r12d, 1
jmp 0x14001f1d7
mov edx, dword [r14 + 4]
test edx, edx
jne 0x14001edc8
cmp dword [r14 + 8], r9d
je 0x14001edc8
test dword [rdi + 0x70], ebx
je 0x14001f13f
mov ecx, r9d
cmp dword [0x14002d908], r9d
jne 0x14001ede3
mov eax, 0x2000000
cmp dword [0x14002d840], r9d
cmove ecx, eax
mov eax, ecx
or eax, 8
cmp dword [r14 + 0xc], r9d
cmove eax, ecx
mov ecx, eax
or ecx, 2
test edx, edx
cmove ecx, eax
cmp dword [0x14002d868], r9d
je 0x14001ee06
bts ecx, 0xc
cmp dword [0x14002d808], r9d
je 0x14001ee13
bts ecx, 0x12
cmp dword [0x14002d8c0], r9d
je 0x14001ee20
bts ecx, 0xb
cmp dword [0x14002d80c], r9d
je 0x14001ee2d
bts ecx, 0x1c
mov ebx, ecx
bts ebx, 0xf
cmp dword [r14 + 0x1c], r9d
cmove ebx, ecx
test r8d, r8d
je 0x14001eede
mov edx, 0x80
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
or r9d, 0xffffffff
mov r8d, dword [r14 + 0x14]
mov rdx, r13
mov rcx, rdi
call fcn.14001f878
xor r12d, r12d
test eax, eax
je 0x14001f32c
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_DecryptFileW]
nop dword [rax + rax]
test eax, eax
je 0x14001f308
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14001f308
bt eax, 0xe
jb 0x14001f2f3
lea rcx, [0x14002dc50]
call fcn.140020724
xor r9d, r9d
test al, al
je 0x14001f316
cmp dword [0x14002d8fc], r9d
je 0x14001f00c
cmp byte [0x14002c428], r9b
je 0x14001f00c
mov dword [rsp + 0x48], r9d
test byte [rdi + 0x70], 0x10
je 0x14001ef09
or r13, 0xffffffffffffffff
jmp 0x14001ef10
mov r13, qword [rdi + 0x88]
mov r12b, r9b
jmp 0x14001efd9
mov r12b, r8b
cmp byte [0x14002c428], r8b
je 0x14001efe9
mov rax, r8
mov rcx, qword [0x14002c410]
mov rdx, qword [0x14002c430]
cmp rcx, rdx
jbe 0x14001ef44
mov rax, rcx
sub rax, rdx
cmp r13, rax
jbe 0x14001efe9
mov r12b, 1
test rax, rax
jne 0x14001efe9
mov word [rbp - 0x10], r8w
mov r9d, 0x100
lea r8, [rbp - 0x10]
lea edx, [r9 - 0x21]
mov rcx, qword [0x14002d148]
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
mov r9, qword [0x14002c410]
mov r8d, dword [rsp + 0x48]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x7f0]
call fcn.140009b6c
lea rdx, [rbp + 0x7f0]
call fcn.1400169a8
mov rcx, qword [0x14002d368]
call qword [sym.imp.msvcrt.dll_fflush]
nop dword [rax + rax]
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov edx, eax
mov ecx, dword [r14 + 0x18]
call fcn.140011cb8
xor ecx, ecx
test eax, eax
je 0x14001f356
call fcn.140011b2c
xor r8d, r8d
test eax, eax
jns 0x14001ef18
bts ebx, 0x1b
mov byte [rdi + 0x90], 1
test r12b, r12b
je 0x14001f004
bts ebx, 0x1a
mov byte [rdi + 0x91], 1
mov r13d, 1
jmp 0x14001f00f
mov r13d, r9d
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov edx, dword [0x14002d614]
mov eax, dword [0x14002d610]
xor r9d, r9d
test eax, eax
jne 0x14001f035
test edx, edx
je 0x14001f07e
test byte [rdi + 0x70], 0x10
je 0x14001f041
or rcx, 0xffffffffffffffff
jmp 0x14001f048
mov rcx, qword [rdi + 0x88]
cmp rcx, qword [0x14002d618]
jb 0x14001f07e
test eax, eax
je 0x14001f06c
mov ecx, 0x1000
cmp eax, ecx
jae 0x14001f062
mov eax, ecx
jmp 0x14001f06c
mov ecx, 0x40000000
cmp eax, ecx
cmova eax, ecx
mov dword [rbp - 0x80], WSACleanup
mov dword [rbp - 0x5c], eax
mov dword [rbp - 0x58], edx
mov r12b, 1
jmp 0x14001f088
mov dword [rbp - 0x80], 0x20
mov r12b, r9b
mov dword [rbp - 0x7c], ebx
cmp dword [r14], r9d
jne 0x14001f095
test r13d, r13d
je 0x14001f0a4
lea rax, [0x14000dcc0]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdi
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFile2]
nop dword [rax + rax]
mov ecx, eax
xor r9d, r9d
cmp eax, 0x80070057
jne 0x14001f0e3
test r12b, r12b
je 0x14001f12d
mov edx, r9d
mov dword [0x14002d614], edx
mov eax, r9d
mov dword [0x14002d610], eax
jmp 0x14001f0f4
test r12b, r12b
je 0x14001f100
mov edx, dword [0x14002d614]
mov eax, dword [0x14002d610]
cmp ecx, 0x80070057
je 0x14001f02d
test ecx, ecx
jns 0x14001eda6
mov eax, ecx
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x14001f130
cmp ecx, 0x800704d3
jne 0x14001f12d
cmp byte [rdi + 0x98], r9b
je 0x14001f12d
mov ecx, dword [rdi + 0x94]
movzx esi, cx
mov ebx, 0x4000
mov r13, qword [rsp + 0x50]
mov r12d, dword [rsp + 0x3c]
cmp dword [r14 + 8], r9d
je 0x14001f18d
test dword [rdi + 0x70], ebx
jne 0x14001f18d
test byte [rdi + 0x70], 0x10
je 0x14001f156
or rax, 0xffffffffffffffff
jmp 0x14001f15d
mov rax, qword [rdi + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, dword [r14]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14001e5ac
test eax, eax
jne 0x14001eda6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
cmp esi, 0x7b
jne 0x14001f1a5
test dword [rdi + 0x70], ebx
jmp 0x14001f1a8
cmp esi, 2
mov edx, dword [r14 + 0x14]
mov rcx, rdi
je 0x14001f33f
inc r12d
mov dword [rsp + 0x3c], r12d
mov r9d, r12d
mov r8d, dword [r14 + 0x18]
call fcn.14000f774
xor r9d, r9d
test eax, eax
jne 0x14001ed75
mov r12d, r9d
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.140002c2c
lea rdi, [rax + 0x18]
test r15b, 7
je 0x14001f21d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov edx, r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
lea rdx, [rdi - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001f24c
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
test r12d, r12d
jne 0x14001f264
test esi, esi
je 0x14001f264
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001f295
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x14001f2c5
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x1400249b8]
mov eax, r12d
mov rcx, qword [rbp + 0xff0]
xor rcx, rsp
call fcn.140001a50
mov rbx, qword [rsp + 0x1158]
add rsp, 0x1100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov esi, 0x1771
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14001f316
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
jmp 0x14001f1d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
jmp 0x14001f1d7
lea r9d, [r12 + 1]
xor r8d, r8d
call fcn.14000f774
mov r12d, dword [rsp + 0x38]
jmp 0x14001f1d7
mov r12d, ecx
jmp 0x14001f1d7