Function at 0x14003e910
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 [0x14015a138]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rdx
mov r13, rcx
lea rdx, [rbp - 1]
mov rcx, rsi
call fcn.14001c160
nop
xor edi, edi
mov r14d, edi
movdqa xmm0, xmmword [0x14012bfd0]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], dil
mov qword [rbp - 0x49], rdi
lea rdx, [rbp - 0x41]
mov rcx, rsi
call fcn.14001efb0
nop
cmp qword [rbp - 0x31], rdi
jne 0x14003e9d3
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003e993
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14003ea41
lea r14d, [rax + 2]
lea rbx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rbx, qword [rbp - 1]
xor ecx, ecx
call fcn.140018180
mov rcx, rax
mov r9, rbx
lea r8, str.ProcessUserEvent:_Empty_file__s
lea edx, [r14 - 1]
call fcn.140016a40
jmp 0x14003ea41
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.14007cbd0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x49]
call fcn.14007e9c0
movzx ebx, al
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.14007cbd0
nop
test bl, bl
jne 0x14003ea41
lea rbx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rbx, qword [rbp - 1]
xor ecx, ecx
call fcn.140018180
mov rcx, rax
mov r9, rbx
lea r8, str.ProcessUserEvent:_Cannot_parse_file__s
mov edx, 2
call fcn.140016a40
mov r14d, 3
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14003ea7c
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ea77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ef23
call fcn.1400ccd64
mov rdx, qword [rbp - 0x49]
test rdx, rdx
je 0x14003ed19
cmp dword [rdx], 4
je 0x14003eaa6
cmp qword [rdx + 0x50], 0
jne 0x14003eaba
mov rax, qword [rdx + 0x38]
cmp qword [rdx + 0x30], rax
jne 0x14003eaba
cmp qword [rdx + 0x20], 0
jne 0x14003eaba
xorps xmm0, xmm0
movsd xmm1, qword [rdx + 8]
ucomisd xmm1, xmm0
jp 0x14003eaba
je 0x14003ed19
lea r15, [r13 + 0xa8]
cmp r15, rsi
je 0x14003eadf
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003ead3
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, r15
call fcn.1400149d0
mov dword [r13 + 0xc8], edi
mov qword [rbp - 0x59], rdi
lea rdx, str._command
lea rcx, [rbp - 0x59]
call fcn.14007cbd0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x49]
call fcn.14007df60
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.14007cbd0
nop
mov rdx, qword [rbx]
test rdx, rdx
je 0x14003eb8a
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.14007cbd0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14003eb84
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003eb7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ef1d
call fcn.1400ccd64
mov rax, qword [rbp - 0x59]
jmp 0x14003eb91
mov rax, rdi
mov qword [rbp - 0x59], rax
test rax, rax
je 0x14003ebb9
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x14003eba9
mov rcx, qword [rax]
test rcx, rcx
je 0x14003ebb9
cmp r8, 0x10
jb 0x14003ebc0
mov rdx, qword [rax]
jmp 0x14003ebc0
lea rdx, [0x140122b88]
movdqa xmm0, xmmword [0x14012bfd0]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], 0
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14003ebe0
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.14007cbd0
nop
mov rbx, qword [r13 + 0x98]
mov rdi, qword [rbx + 8]
mov r12, rbx
cmp byte [rdi + 0x19], 0
jne 0x14003ec56
nop dword [rax]
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x21]
call fcn.140017b90
shr eax, 0x1f
test al, al
je 0x14003ec4a
mov rdi, qword [rdi + 0x10]
jmp 0x14003ec50
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x14003ec30
cmp rbx, r12
je 0x14003ec6f
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x21]
call fcn.140017b90
shr eax, 0x1f
test al, al
je 0x14003ec72
mov rbx, r12
cmp rbx, r12
je 0x14003ecce
mov r8, qword [rbx + 0x40]
test r8, r8
je 0x14003ecc9
mov ecx, dword [rbx + 0x50]
sub ecx, 2
je 0x14003ecb9
cmp ecx, 1
je 0x14003ec9d
mov rdx, qword [rbx + 0x48]
lea rcx, [rbp - 0x49]
call r8
mov r14d, eax
jmp 0x14003ecfa
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x14003ef29
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
call qword [rax + reloc.WS2_32.dll_recv]
mov r14d, eax
jmp 0x14003ecfa
lea rdx, [rbp - 0x49]
mov rcx, qword [rbx + 0x48]
call r8
mov r14d, eax
jmp 0x14003ecfa
xor r14d, r14d
jmp 0x14003ecfa
lea rbx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rbx, qword [rbp - 0x21]
xor ecx, ecx
call fcn.140018180
mov rcx, rax
mov r9, rbx
lea r8, str.ProcessUserEvent:_Unknown_command__s
mov edx, 2
call fcn.140016a40
xor edi, edi
mov qword [r15 + 0x10], rdi
cmp qword [r15 + 0x18], 8
jb 0x14003ed0a
mov r15, qword [r15]
mov word [r15], di
mov dword [r13 + 0xc8], edi
mov rdx, qword [rbp - 0x49]
test r14d, r14d
jne 0x14003ed69
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003ed2b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003ee6a
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003ed46
mov rcx, qword [rsi]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp qword [rsi + 0x18], 8
jb 0x14003ed5b
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14003ee6a
test rdx, rdx
je 0x14003edd5
lea rcx, [rbp - 0x41]
call fcn.1400878d0
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.14007cbd0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14003edcf
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003edca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ef1d
call fcn.1400ccd64
mov rbx, qword [rbp - 0x59]
jmp 0x14003eddc
mov rbx, rdi
mov qword [rbp - 0x59], rbx
test rbx, rbx
je 0x14003eded
cmp qword [rbx + 0x18], 0x10
jb 0x14003edf0
mov rbx, qword [rbx]
jmp 0x14003edf0
mov rbx, rdi
xor ecx, ecx
call fcn.140018180
mov rcx, rax
mov r9, rbx
lea r8, str.command_data:__s
mov edx, 5
call fcn.140016a40
nop
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.14007cbd0
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.140018180
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, str.ProcessUserEvent:_command__s_returned__d_errocode_for_file__s._Marking_it_as_invalid
mov edx, 2
call fcn.140016a40
xor edx, edx
mov rcx, rsi
call fcn.14004e6d0
nop
lea rcx, [rbp - 0x49]
call fcn.14007ed30
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x14003eeab
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003eea6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ef1d
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfd0]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x14003eef3
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003eeee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ef1d
call fcn.1400ccd64
mov eax, r14d
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400ccd40
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.1400d1a34
nop
call fcn.1400d1a34
int3
call fcn.1400ca414
int3