Function at 0x14003ea80
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x14015b138]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rdx
mov r13, rcx
lea rdx, [rbp - 1]
mov rcx, rsi
call fcn.14001c6d0
nop
mov r15d, 3
movdqa xmm0, xmmword [0x14012d1e0]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
xor edi, edi
mov qword [rbp - 0x49], rdi
lea rdx, [rbp - 0x41]
mov rcx, rsi
call fcn.14001f520
nop
cmp qword [rbp - 0x31], rdi
jne 0x14003eb3b
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003eb06
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14003ebd0
lea rbx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rbx, qword [rbp - 1]
xor ecx, ecx
call fcn.1400186d0
lea r8, str.ProcessUserEvent:_Empty_file__s
mov edx, 2
jmp 0x14003ebc4
mov qword [rbp - 0x59], rdi
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x59]
call fcn.14007d290
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x49]
call fcn.14007f080
movzx ebx, al
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.14007d290
nop
test bl, bl
jne 0x14003ebd0
lea rbx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rbx, qword [rbp - 1]
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov r9, rbx
lea r8, str.ProcessUserEvent:_Cannot_parse_file__s
mov edx, 2
call fcn.140016fb0
lea rbx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rbx, qword [rbp - 0x41]
xor ecx, ecx
call fcn.1400186d0
lea r8, str.Content:__s
mov edx, 5
mov r9, rbx
mov rcx, rax
call fcn.140016fb0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14003ec0b
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ec06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f0b3
call fcn.1400cd424
mov rdx, qword [rbp - 0x49]
test rdx, rdx
je 0x14003ef65
cmp dword [rdx], 4
je 0x14003ec35
cmp qword [rdx + 0x50], 0
jne 0x14003ec49
mov rax, qword [rdx + 0x38]
cmp qword [rdx + 0x30], rax
jne 0x14003ec49
cmp qword [rdx + 0x20], 0
jne 0x14003ec49
xorps xmm0, xmm0
movsd xmm1, qword [rdx + 8]
ucomisd xmm1, xmm0
jp 0x14003ec49
je 0x14003eef9
lea r14, [r13 + 0xa8]
cmp r14, rsi
je 0x14003ec6e
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003ec62
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, r14
call fcn.1400149d0
mov dword [r13 + 0xc8], edi
mov qword [rbp - 0x59], rdi
lea rdx, str._command
lea rcx, [rbp - 0x59]
call fcn.14007d290
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x49]
call fcn.14007e620
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.14007d290
nop
mov rdx, qword [rbx]
test rdx, rdx
je 0x14003ed19
add rdx, 0x10
lea rcx, [rbp - 0x41]
call fcn.140003990
nop
mov qword [rbp - 0x59], rdi
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x59]
call fcn.14007d290
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14003ed13
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ed0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f0ad
call fcn.1400cd424
mov rax, qword [rbp - 0x59]
jmp 0x14003ed20
mov rax, rdi
mov qword [rbp - 0x59], rax
test rax, rax
je 0x14003ed48
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x14003ed38
mov rcx, qword [rax]
test rcx, rcx
je 0x14003ed48
cmp r8, 0x10
jb 0x14003ed4f
mov rdx, qword [rax]
jmp 0x14003ed4f
lea rdx, [0x140123b98]
movdqa xmm0, xmmword [0x14012d1e0]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], 0
mov r15, 0xffffffffffffffff
mov r8, r15
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14003ed70
lea rcx, [rbp - 0x41]
call fcn.140003a60
lea rcx, [rbp - 0x21]
call fcn.140003930
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rbp - 0x31]
movups xmmword [rbp - 0x11], xmm1
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.14007d290
nop
mov rbx, qword [r13 + 0x98]
mov rdi, qword [rbx + 8]
mov r12, rbx
cmp byte [rdi + 0x19], 0
jne 0x14003ede6
nop dword [rax]
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x21]
call fcn.1400180e0
shr eax, 0x1f
test al, al
je 0x14003edda
mov rdi, qword [rdi + 0x10]
jmp 0x14003ede0
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x14003edc0
cmp rbx, r12
je 0x14003edff
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x21]
call fcn.1400180e0
shr eax, 0x1f
test al, al
je 0x14003ee02
mov rbx, r12
cmp rbx, r12
je 0x14003ee5e
mov r8, qword [rbx + 0x40]
test r8, r8
je 0x14003ee59
mov ecx, dword [rbx + 0x50]
sub ecx, 2
je 0x14003ee49
cmp ecx, 1
je 0x14003ee2d
mov rdx, qword [rbx + 0x48]
lea rcx, [rbp - 0x49]
call r8
mov r15d, eax
jmp 0x14003ee8a
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x14003f0b9
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
call qword [rax + reloc.WS2_32.dll_recv]
mov r15d, eax
jmp 0x14003ee8a
lea rdx, [rbp - 0x49]
mov rcx, qword [rbx + 0x48]
call r8
mov r15d, eax
jmp 0x14003ee8a
xor r15d, r15d
jmp 0x14003ee8a
lea rbx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rbx, qword [rbp - 0x21]
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov r9, rbx
lea r8, str.ProcessUserEvent:_Unknown_command__s
mov edx, 2
call fcn.140016fb0
xor edi, edi
mov qword [r14 + 0x10], rdi
cmp qword [r14 + 0x18], 8
jb 0x14003ee9a
mov r14, qword [r14]
mov word [r14], di
mov dword [r13 + 0xc8], edi
test r15d, r15d
jne 0x14003eef5
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003eeb7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003effa
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003eed2
mov rcx, qword [rsi]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp qword [rsi + 0x18], 8
jb 0x14003eee7
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14003effa
mov rdx, qword [rbp - 0x49]
test rdx, rdx
je 0x14003ef65
lea rcx, [rbp - 0x41]
call fcn.140087f90
nop
mov qword [rbp - 0x59], rdi
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x59]
call fcn.14007d290
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14003ef5f
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ef5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f0ad
call fcn.1400cd424
mov rbx, qword [rbp - 0x59]
jmp 0x14003ef6c
mov rbx, rdi
mov qword [rbp - 0x59], rbx
test rbx, rbx
je 0x14003ef7d
cmp qword [rbx + 0x18], 0x10
jb 0x14003ef80
mov rbx, qword [rbx]
jmp 0x14003ef80
mov rbx, rdi
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov r9, rbx
lea r8, str.command_data:__s
mov edx, 5
call fcn.140016fb0
nop
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.14007d290
nop
lea rdi, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rdi, qword [rbp - 1]
lea rbx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rbx, qword [rbp - 0x21]
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, str.ProcessUserEvent:_command__s_returned__d_errocode_for_file__s._Marking_it_as_invalid
mov edx, 2
call fcn.140016fb0
xor edx, edx
mov rcx, rsi
call fcn.14004e8a0
nop
lea rcx, [rbp - 0x49]
call fcn.14007f3f0
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x14003f03b
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f0ad
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1e0]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x14003f083
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f07e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f0ad
call fcn.1400cd424
mov eax, r15d
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400cd400
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400d20f4
nop
call fcn.1400d20f4
int3
call fcn.1400caad4
int3