Function at 0x140042af0
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x318], rbx
mov rax, qword [0x1401b4048]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
movzx ebx, r8b
mov rdi, rdx
mov rsi, rcx
test r8b, r8b
je 0x140042d2d
mov rcx, rdx
call fcn.14004efa0
test al, al
je 0x140042d2d
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140042b55
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140042d2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.DeleteFile__1__
lea rcx, [rbp - 0x50]
call fcn.140008a10
nop
mov qword [rsp + 0x28], rdi
lea rsi, [fcn.140005090]
mov qword [rsp + 0x30], rsi
lea rdi, [0x1400050b0]
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x78]
call fcn.140018cb0
nop
lea rcx, [rbp - 0x50]
call fcn.14000ac40
mov r9b, 1
mov r8d, ebx
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.140058300
nop
lea rdx, str.CCompressedFile::Open:___1_
lea rcx, [rbp + 0xc0]
call fcn.140008a10
nop
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.1400647f0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140042c5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042c5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042e92
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x58], xmm0
xor ebx, ebx
mov word [rsp + 0x48], bx
lea rcx, [rbp + 0xc0]
call fcn.14000ac40
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140042cc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042cbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042e98
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140042d15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042d10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042e9e
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], bx
xor al, al
jmp 0x140042e6a
movzx ebx, bl
xor ebx, 1
add ebx, ebx
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14004c7a0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140042d4d
mov rax, qword [rax]
mov edx, ebx
mov rcx, rax
call fcn.140068ba0
mov qword [rsi + 0x20], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140042d98
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042d93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042ea4
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b010]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
cmp qword [rsi + 0x20], 0
jne 0x140042e4a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x38], xmm1
xor ebx, ebx
mov word [rsp + 0x28], bx
lea r8d, [rbx + 0x26]
lea rdx, str.CCompressedFile::Open:__zipOpen_failed
lea rcx, [rsp + 0x28]
call fcn.140012d60
nop
lea rcx, [rsp + 0x28]
call fcn.1400647f0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140042e33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042e2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042e8c
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bx
xor al, al
jmp 0x140042e6a
cmp rsi, rdi
je 0x140042e68
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140042e5c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
call fcn.140012d60
mov al, 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400bf400
mov rbx, qword [rsp + 0x318]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
int3
call fcn.1400e9e3c
int3