Function at 0x14001d5c3
Capabilities:
Delete file

Disassembly:
jmp 0x14004b2b0
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x30]
lea rcx, [0x1400854e4]
call fcn.14001df69
mov dword [rbp + 4], 0
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x68], rax
call fcn.14001d807
mov rax, qword [rax + 0x20]
add rax, 0x38
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x1f0]
mov rcx, qword [rax + 0x28]
call fcn.14001d325
mov qword [rbp + 0x1b8], rax
mov rcx, qword [rbp + 0x1f0]
mov rcx, qword [rcx + 0x30]
call fcn.14001d325
mov rcx, qword [rbp + 0x1b8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x88]
movzx ecx, word [rcx]
lea rax, [rcx + rax*2 + 0x40]
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xe4], 0
movzx eax, byte [rbp + 0x1e8]
test eax, eax
je 0x14004b4cd
mov rcx, qword [rbp + 0x68]
call fcn.14001de2e
test eax, eax
jne 0x14004b380
mov ecx, 0x54f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14004b59f
mov rcx, qword [rbp + 0xa8]
call fcn.14001d2da
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x14004b4c8
mov rax, qword [rbp + 0x88]
movzx eax, word [rax]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0xc4]
mov ecx, dword [rbp + 0xc4]
mov r9d, eax
mov rax, qword [rbp + 0x88]
mov r8, qword [rax + 8]
mov edx, ecx
mov rcx, qword [rbp + 0x48]
call fcn.14001d758
lea rdx, [0x14005fb28]
mov rcx, qword [rbp + 0x48]
call fcn.14001dec9
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rax + 0x28]
mov rcx, qword [rbp + 0x48]
call fcn.14001dec9
mov rax, qword [rbp + 0x1f0]
mov r8d, dword [rax + 0x38]
mov rdx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x68]
mov rcx, qword [rax + 0x10]
call fcn.14001d4dd
test eax, eax
je 0x14004b4bf
xor eax, eax
mov rcx, qword [rbp + 0x28]
mov word [rcx], ax
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rbp + 0x48]
call fcn.14001dec9
mov rax, qword [rbp + 0x1f0]
mov r8d, dword [rax + 0x3c]
mov rdx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x68]
mov rcx, qword [rax + 0x10]
call fcn.14001d4dd
test eax, eax
je 0x14004b4bf
mov rax, qword [rbp + 0x1f0]
add rax, 8
mov rcx, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x1f0]
mov edx, dword [rdx + 0x4c]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
mov r9, rcx
mov rax, qword [rbp + 0x1f0]
mov r8d, dword [rax + 0x48]
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rax + 0x40]
mov rcx, qword [rbp + 0x48]
call fcn.14001d8a7
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x14004b4bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xe4], eax
mov rcx, qword [rbp + 0x48]
call fcn.14001da19
jmp 0x14004b590
mov rcx, qword [rbp + 0xa8]
call fcn.14001d2da
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x14004b590
mov rax, qword [rbp + 0x88]
movzx eax, word [rax]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0xc4]
mov ecx, dword [rbp + 0xc4]
mov r9d, eax
mov rax, qword [rbp + 0x88]
mov r8, qword [rax + 8]
mov edx, ecx
mov rcx, qword [rbp + 0x48]
call fcn.14001d758
lea rdx, [0x14005fb28]
mov rcx, qword [rbp + 0x48]
call fcn.14001dec9
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rax + 0x28]
mov rcx, qword [rbp + 0x48]
call fcn.14001dec9
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov rcx, qword [rbp + 0x28]
mov word [rcx], ax
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rbp + 0x48]
call fcn.14001dec9
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0x48]
call fcn.14001da19
mov dword [rbp + 4], 1
mov ecx, dword [rbp + 0xe4]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret