Function at 0x14013fe70
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r15d, edx
mov r13, rcx
mov qword [rsp + 0x58], rcx
xor r12b, r12b
lea rax, [rcx + 0x18]
mov qword [rbp - 0x30], rax
lea rdi, [rax + 8]
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [r13 + 0xb0]
mov rbx, qword [rax + 0x18]
test rbx, rbx
je 0x14013ff07
nop dword [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x14013ff07
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14013fef0
lea rax, vtable.Core::Array_class_Core::Xml::XmlElement____ptr64_.0
mov qword [rsp + 0x68], rax
xor r14d, r14d
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x28], r14
lea edx, [r14 + 4]
lea rcx, [rsp + 0x20]
call fcn.1401e9030
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 4]
lea r8, str.Item
mov rcx, qword [rsp + 0x20]
call fcn.14029b4d8
lea edx, [r14 + 4]
lea rcx, [rsp + 0x20]
call fcn.1401ea290
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401f0b30
test eax, eax
setg bl
cmp dword [rsp + 0x28], r14d
jle 0x14013ff88
mov rcx, qword [rsp + 0x20]
call fcn.140298600
mov rsi, qword [rsp + 0x78]
test bl, bl
je 0x140140268
lea rdx, [rbp - 0x60]
mov rcx, r13
call fcn.14013f6a0
nop
mov edi, r14d
mov r14d, dword [rsp + 0x70]
test r14d, r14d
jle 0x140140247
nop dword [rax]
nop word [rax + rax]
mov r13, qword [rsi]
lea r8, [0x1402e90d4]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1401edd30
nop
cmp dword [rsp + 0x44], 0
je 0x14014001c
mov rbx, qword [rsp + 0x38]
mov r8d, 0xa
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14029b2e4
mov rdx, qword [rsp + 0x20]
sub rdx, rbx
sar rdx, 1
movsxd rcx, dword [rsp + 0x44]
cmp rdx, rcx
jne 0x14014001c
lea ecx, [rax + 0x7fffffff]
cmp ecx, 0xfffffffd
ja 0x14014001c
cmp eax, r15d
je 0x14014003e
cmp dword [rsp + 0x40], 0
jle 0x14014002d
mov rcx, qword [rsp + 0x38]
call fcn.140298600
inc edi
add rsi, 8
cmp edi, r14d
jge 0x14014023d
jmp 0x14013ffc0
lea rsi, vtable.Core::Collection_class_Core::Xml::XmlElement____ptr64_.0
mov qword [rbp - 0x80], rsi
xor r14d, r14d
mov dword [rbp - 0x78], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rsp + 0x28], r14
lea edx, [r14 + 4]
lea rcx, [rsp + 0x20]
call fcn.1401e9030
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 4]
lea r8, str.File
mov rcx, qword [rsp + 0x20]
call fcn.14029b4d8
lea edx, [r14 + 4]
lea rcx, [rsp + 0x20]
call fcn.1401ea290
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.1401f0ce0
nop
cmp dword [rsp + 0x28], r14d
jle 0x1401400bb
mov rcx, qword [rsp + 0x20]
call fcn.140298600
lea rax, vtable.Core::Collection_class_Core::Xml::XmlElement____ptr64_::Enumerator.0
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x48], rax
mov rbx, qword [rbp - 0x70]
mov qword [rbp - 0x40], rbx
test rbx, rbx
je 0x1401401a9
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov qword [rbp - 0x40], rbx
lea r8, [0x140330e14]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1401edd30
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140140194
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140140111
test rax, rax
je 0x140140194
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.1400d1690
nop
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14014017e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14014017e
mov rcx, qword [rdi + 0x48]
call fcn.1401fe7d0
test rax, rax
je 0x14014017e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
cmp dword [rsp + 0x50], 0
jle 0x14014018f
mov rcx, qword [rsp + 0x48]
call fcn.140298600
mov rcx, qword [rsp + 0x20]
cmp dword [rsp + 0x28], 0
jle 0x1401400d6
call fcn.140298600
jmp 0x1401400d6
lea r8, str.Deleted
lea rdx, str.action
mov rcx, r13
call fcn.1401edd80
lea rcx, [rsp + 0x20]
call fcn.1400d1620
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400ca9e0
nop
mov r8, qword [rax]
lea rdx, [0x140330de4]
mov rcx, r13
call fcn.1401edd80
nop
cmp dword [rsp + 0x50], 0
jle 0x1401401fd
mov rcx, qword [rsp + 0x48]
call fcn.140298600
nop
mov r12b, 1
mov qword [rbp - 0x80], rsi
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140140220
nop dword [rax]
mov rbx, qword [rcx]
call fcn.1402012c0
mov rcx, rbx
test rbx, rbx
jne 0x140140210
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x78], r14d
cmp dword [rsp + 0x40], 0
jle 0x14014023d
mov rcx, qword [rsp + 0x38]
call fcn.140298600
mov rsi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x58]
cmp dword [rbp - 0x58], 0
jle 0x140140256
mov rcx, qword [rbp - 0x60]
call fcn.140298600
mov rdi, qword [rsp + 0x60]
test r12b, r12b
je 0x140140268
mov byte [r13 + 0xb8], 1
test rsi, rsi
je 0x140140276
mov rcx, rsi
call fcn.1402983dc
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, r12b
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret