Function at 0x14014ed70
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 [0x14041da10]
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 0x14014ee07
nop dword [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x14014ee07
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14014edf0
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.1402028a0
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.1402c06dc
lea edx, [r14 + 4]
lea rcx, [rsp + 0x20]
call fcn.140203bb0
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14020a3e0
test eax, eax
setg bl
cmp dword [rsp + 0x28], r14d
jle 0x14014ee88
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
mov rsi, qword [rsp + 0x78]
test bl, bl
je 0x14014f168
lea rdx, [rbp - 0x60]
mov rcx, r13
call fcn.14014e5a0
nop
mov edi, r14d
mov r14d, dword [rsp + 0x70]
test r14d, r14d
jle 0x14014f147
nop dword [rax]
nop word [rax + rax]
mov r13, qword [rsi]
lea r8, [0x140310694]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1402075e0
nop
cmp dword [rsp + 0x44], 0
je 0x14014ef1c
mov rbx, qword [rsp + 0x38]
mov r8d, 0xa
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1402c04e8
mov rdx, qword [rsp + 0x20]
sub rdx, rbx
sar rdx, 1
movsxd rcx, dword [rsp + 0x44]
cmp rdx, rcx
jne 0x14014ef1c
lea ecx, [rax + 0x7fffffff]
cmp ecx, 0xfffffffd
ja 0x14014ef1c
cmp eax, r15d
je 0x14014ef3e
cmp dword [rsp + 0x40], 0
jle 0x14014ef2d
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
inc edi
add rsi, 8
cmp edi, r14d
jge 0x14014f13d
jmp 0x14014eec0
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.1402028a0
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.1402c06dc
lea edx, [r14 + 4]
lea rcx, [rsp + 0x20]
call fcn.140203bb0
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14020a590
nop
cmp dword [rsp + 0x28], r14d
jle 0x14014efbb
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
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 0x14014f0a9
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov qword [rbp - 0x40], rbx
lea r8, [0x14035af3c]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1402075e0
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14014f094
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14014f011
test rax, rax
je 0x14014f094
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.1400d4050
nop
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14014f07e
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 0x14014f07e
mov rcx, qword [rdi + 0x48]
call fcn.140218330
test rax, rax
je 0x14014f07e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
cmp dword [rsp + 0x50], 0
jle 0x14014f08f
mov rcx, qword [rsp + 0x48]
call fcn.1402bd0e0
mov rcx, qword [rsp + 0x20]
cmp dword [rsp + 0x28], 0
jle 0x14014efd6
call fcn.1402bd0e0
jmp 0x14014efd6
lea r8, str.Deleted
lea rdx, str.action
mov rcx, r13
call fcn.140207630
lea rcx, [rsp + 0x20]
call fcn.1400cafe0
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400cb0d0
nop
mov r8, qword [rax]
lea rdx, [0x14035af34]
mov rcx, r13
call fcn.140207630
nop
cmp dword [rsp + 0x50], 0
jle 0x14014f0fd
mov rcx, qword [rsp + 0x48]
call fcn.1402bd0e0
nop
mov r12b, 1
mov qword [rbp - 0x80], rsi
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14014f120
nop dword [rax]
mov rbx, qword [rcx]
call fcn.14021ae20
mov rcx, rbx
test rbx, rbx
jne 0x14014f110
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x78], r14d
cmp dword [rsp + 0x40], 0
jle 0x14014f13d
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
mov rsi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x58]
cmp dword [rbp - 0x58], 0
jle 0x14014f156
mov rcx, qword [rbp - 0x60]
call fcn.1402bd0e0
mov rdi, qword [rsp + 0x60]
test r12b, r12b
je 0x14014f168
mov byte [r13 + 0xb8], 1
test rsi, rsi
je 0x14014f176
mov rcx, rsi
call fcn.1402bcebc
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, r12b
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1402bcad0
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