Function at 0x14005dcf0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x660]
sub rsp, 0x760
mov rdi, r8
mov r14, rdx
mov r15, rcx
test rdx, rdx
je 0x14005e0e2
test r8, r8
je 0x14005e0e2
lea r13, [0x1401b6738]
mov qword [rbp + 0x140], r13
lea rax, [rbp + 0x158]
mov qword [rbp + 0x148], rax
xor r12d, r12d
mov dword [rbp + 0x150], r12d
mov dword [rbp + 0x154], 0x104
mov word [rbp + 0x158], r12w
mov edx, 0x104
mov rcx, r8
call fcn.14003c464
mov rsi, rax
mov eax, dword [rbp + 0x154]
cmp esi, eax
jb 0x14005dd87
lea esi, [rax - 1]
mov eax, esi
lea rbx, [rax + rax]
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rbp + 0x148]
call fcn.14014cbf0
mov dword [rbp + 0x150], esi
mov rax, qword [rbp + 0x148]
mov word [rbx + rax], r12w
lea rax, [0x1401b6698]
mov qword [rbp + 0x140], rax
mov qword [rsp + 0x20], r13
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x34], 0x104
mov word [rsp + 0x38], r12w
mov edx, 0x104
mov rcx, rdi
call fcn.14003c464
mov rsi, rax
mov eax, dword [rsp + 0x34]
cmp esi, eax
jb 0x14005ddfc
lea esi, [rax - 1]
mov eax, esi
lea rbx, [rax + rax]
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rsp + 0x28]
call fcn.14014cbf0
mov dword [rsp + 0x30], esi
mov rax, qword [rsp + 0x28]
mov word [rbx + rax], r12w
lea rax, [0x1401b6698]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x28]
mov edx, dword [rsp + 0x30]
test r8, r8
je 0x14005de64
test edx, edx
je 0x14005de64
mov edx, 0x5c
mov rcx, r8
call fcn.140030cb0
mov r10, rax
mov r8, qword [rsp + 0x28]
mov edx, dword [rsp + 0x30]
test rax, rax
je 0x14005de64
sub r10, r8
sar r10, 1
jmp 0x14005de6a
mov r10d, 0xffffffff
mov rbx, qword [rbp + 0x148]
test rbx, rbx
je 0x14005debf
mov ecx, dword [rbp + 0x150]
lea eax, [rcx + 4]
cmp eax, dword [rbp + 0x154]
jae 0x14005debf
mov rax, qword [str..zip]
mov qword [rbx + rcx*2], rax
mov eax, dword [rbp + 0x150]
add eax, 4
mov dword [rbp + 0x150], eax
mov ecx, eax
mov rax, qword [rbp + 0x148]
mov word [rax + rcx*2], r12w
mov rbx, qword [rbp + 0x148]
mov edx, dword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
test r10d, r10d
js 0x14005df2a
inc r10d
test edx, edx
je 0x14005df2a
test r10d, r10d
je 0x14005df2a
test r8, r8
je 0x14005df2a
cmp r10d, edx
jbe 0x14005dedf
mov r10d, edx
jmp 0x14005df17
jae 0x14005df17
mov r9d, r12d
je 0x14005df17
nop word [rax + rax]
lea eax, [r9 + r10]
mov ecx, r9d
movzx eax, word [r8 + rax*2]
mov word [r8 + rcx*2], ax
inc r9d
mov edx, dword [rsp + 0x30]
mov eax, edx
sub eax, r10d
mov r8, qword [rsp + 0x28]
cmp r9d, eax
jb 0x14005def0
sub edx, r10d
mov dword [rsp + 0x30], edx
mov word [r8 + rdx*2], r12w
mov rbx, qword [rbp + 0x148]
mov dword [rbp + 0x360], 0xffffffff
lea rax, [rbp + 0x380]
mov qword [rbp + 0x370], rax
mov dword [rbp + 0x378], r12d
mov dword [rbp + 0x37c], 0x100
mov word [rbp + 0x380], r12w
lea rax, [0x1401b6740]
mov qword [rbp + 0x368], rax
lea rsi, [0x1401b66b8]
mov qword [rbp + 0x580], rsi
mov qword [rbp + 0x588], 0xffffffffffffffff
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x590]
call fcn.14014d290
mov qword [rbp + 0x658], r12
mov rdx, rbx
lea rcx, [rbp + 0x360]
call fcn.1400694d0
test al, al
je 0x14005dfe1
mov r8, qword [rsp + 0x28]
mov rdx, rdi
lea rcx, [rbp + 0x360]
call fcn.140069640
lea rcx, [rbp + 0x360]
test al, al
jne 0x14005e02b
call fcn.140069940
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, r12
mov rcx, qword [rbp + 0x658]
test rcx, rcx
je 0x14005dffc
call fcn.14002e8a8
mov qword [rbp + 0x658], r12
lea rcx, [rbp + 0x360]
call fcn.140069940
mov qword [rbp + 0x580], rsi
mov rcx, qword [rbp + 0x588]
cmp rcx, 0xffffffffffffffff
je 0x14005e023
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
jmp 0x14005e0e4
call fcn.140069940
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14005e0b6
mov edx, dword [rsp + 0x34]
mov rcx, r14
call fcn.14003c464
mov rdi, rax
mov eax, dword [rsp + 0x34]
cmp edi, eax
jb 0x14005e054
lea edi, [rax - 1]
mov eax, edi
lea rbx, [rax + rax]
mov r8, rbx
mov rdx, r14
mov rcx, qword [rsp + 0x28]
call fcn.14014cbf0
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x28]
mov word [rbx + rax], r12w
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14005e0b6
mov ecx, dword [rsp + 0x30]
lea eax, [rcx + 4]
cmp eax, dword [rsp + 0x34]
jae 0x14005e0b6
mov rax, qword [str..zip]
mov qword [rdx + rcx*2], rax
mov eax, dword [rsp + 0x30]
add eax, 4
mov dword [rsp + 0x30], eax
mov ecx, eax
mov rax, qword [rsp + 0x28]
mov word [rax + rcx*2], r12w
mov rdx, qword [rsp + 0x28]
mov rax, qword [r15]
lea r9, str.file
mov r8, qword [rbp + 0x148]
mov rcx, r15
call qword [rax + 0x58]
mov rbx, rax
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14005dfe4
xor eax, eax
lea r11, [rsp + 0x760]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret