Function at 0x14014c060
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 [0x140415a10]
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 0x14014c0f7
nop dword [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x14014c0f7
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14014c0e0
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.1401fcb40
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.1402ba94c
lea edx, [r14 + 4]
lea rcx, [rsp + 0x20]
call fcn.1401fde50
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1402046f0
test eax, eax
setg bl
cmp dword [rsp + 0x28], r14d
jle 0x14014c178
mov rcx, qword [rsp + 0x20]
call fcn.1402b7350
mov rsi, qword [rsp + 0x78]
test bl, bl
je 0x14014c458
lea rdx, [rbp - 0x60]
mov rcx, r13
call fcn.14014b890
nop
mov edi, r14d
mov r14d, dword [rsp + 0x70]
test r14d, r14d
jle 0x14014c437
nop dword [rax]
nop word [rax + rax]
mov r13, qword [rsi]
lea r8, [0x14030a674]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1402018f0
nop
cmp dword [rsp + 0x44], 0
je 0x14014c20c
mov rbx, qword [rsp + 0x38]
mov r8d, 0xa
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1402ba758
mov rdx, qword [rsp + 0x20]
sub rdx, rbx
sar rdx, 1
movsxd rcx, dword [rsp + 0x44]
cmp rdx, rcx
jne 0x14014c20c
lea ecx, [rax + 0x7fffffff]
cmp ecx, 0xfffffffd
ja 0x14014c20c
cmp eax, r15d
je 0x14014c22e
cmp dword [rsp + 0x40], 0
jle 0x14014c21d
mov rcx, qword [rsp + 0x38]
call fcn.1402b7350
inc edi
add rsi, 8
cmp edi, r14d
jge 0x14014c42d
jmp 0x14014c1b0
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.1401fcb40
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.1402ba94c
lea edx, [r14 + 4]
lea rcx, [rsp + 0x20]
call fcn.1401fde50
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.1402048a0
nop
cmp dword [rsp + 0x28], r14d
jle 0x14014c2ab
mov rcx, qword [rsp + 0x20]
call fcn.1402b7350
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 0x14014c399
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov qword [rbp - 0x40], rbx
lea r8, [0x14035482c]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1402018f0
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14014c384
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14014c301
test rax, rax
je 0x14014c384
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.1400d2ba0
nop
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14014c36e
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 0x14014c36e
mov rcx, qword [rdi + 0x48]
call fcn.140212600
test rax, rax
je 0x14014c36e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
cmp dword [rsp + 0x50], 0
jle 0x14014c37f
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
mov rcx, qword [rsp + 0x20]
cmp dword [rsp + 0x28], 0
jle 0x14014c2c6
call fcn.1402b7350
jmp 0x14014c2c6
lea r8, str.Deleted
lea rdx, str.action
mov rcx, r13
call fcn.140201940
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, [0x140354830]
mov rcx, r13
call fcn.140201940
nop
cmp dword [rsp + 0x50], 0
jle 0x14014c3ed
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
nop
mov r12b, 1
mov qword [rbp - 0x80], rsi
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14014c410
nop dword [rax]
mov rbx, qword [rcx]
call fcn.1402150f0
mov rcx, rbx
test rbx, rbx
jne 0x14014c400
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x78], r14d
cmp dword [rsp + 0x40], 0
jle 0x14014c42d
mov rcx, qword [rsp + 0x38]
call fcn.1402b7350
mov rsi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x58]
cmp dword [rbp - 0x58], 0
jle 0x14014c446
mov rcx, qword [rbp - 0x60]
call fcn.1402b7350
mov rdi, qword [rsp + 0x60]
test r12b, r12b
je 0x14014c458
mov byte [r13 + 0xb8], 1
test rsi, rsi
je 0x14014c466
mov rcx, rsi
call fcn.1402b712c
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, r12b
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1402b6d40
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