Function at 0x140152bd0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp - 0x70], rdx
xor r13d, r13d
mov qword [rbp - 0x60], r13
lea rdx, [rbp - 0x60]
call fcn.14014f620
nop
mov dword [rsp + 0x50], r13d
lea rcx, [rbp + 0x80]
call fcn.14010fed0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea ecx, [r13 + 0x18]
call fcn.1401f4268
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x58], rax
call fcn.1400ef2a0
mov rax, qword [rax + 0x90]
test rax, rax
je 0x140152c71
mov ecx, 0x20230308
call qword [case.0x140038716.0]
mov rsi, rax
jmp 0x140152c74
mov rsi, r13
call fcn.1400ef2a0
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov rcx, rsi
call fcn.14013bdb0
mov rbx, qword [rsi]
call fcn.1400ef2a0
mov rdx, qword [rax + 8]
mov rcx, rsi
mov rax, qword [rbx + 0x70]
call qword [case.0x140038716.0]
mov r14d, 1
test eax, eax
jne 0x140152d83
mov dword [rsp + 0x50], r14d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rax
call fcn.140044940
mov rcx, rax
lea r8, str.TEXT
lea rdx, str.TEXT_ERR_EDIT_NOT_SUPPORTED_ARCHIVE
call fcn.140048080
mov rdi, rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1401531a5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140018bd0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x140152d49
test rdi, rdi
jne 0x140152d27
mov r8d, r13d
jmp 0x140152d3b
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140152d30
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140018f70
nop
call fcn.1401285c0
lea rcx, [0x1402620b8]
lea r9, [0x1402620c0]
cmp dword [rax + 0x88], 0
cmovne r9, rcx
mov dword [rsp + 0x20], r13d
lea r8, [rsp + 0x58]
mov rdx, qword [r12 + 8]
mov rcx, r12
call fcn.140159eb0
jmp 0x140152fc9
movdqa xmm0, xmmword [0x1402ae730]
movdqa xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 8
mov dword [rbp - 0x2c], r14d
mov rbx, 0xffffffffffffffff
mov dword [rbp - 0x28], ebx
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x18], r13d
mov dword [rbp - 0x14], r14d
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
mov qword [rbp + 8], r14
mov dword [rbp], r13d
mov dword [rbp + 4], r14d
movdqa xmm0, xmmword [0x1402ae750]
movdqa xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], r13d
mov qword [rbp + 0x24], r14
mov qword [rbp + 0x30], rbx
mov dword [rbp + 0x38], ebx
mov dword [rbp + 0x3c], r13d
mov dword [rbp + 0x40], r14d
mov qword [rbp + 0x44], r14
mov qword [rbp + 0x50], r13
mov dword [rbp + 0x4c], r13d
mov qword [rbp + 0x58], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x70], r13d
call fcn.140163500
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.14016cd60
mov rax, qword [rsi]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, rsi
mov rax, qword [rax + 0x20]
call qword [case.0x140038716.0]
mov dword [rbp + 0x80], InitCommonControls
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.14013a330
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp + 0x190]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140152eb5
cmp dword [rdi + 0x10], 0
jl 0x140152ea4
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140152ea4
call fcn.1400191a0
mov r13, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x140152e97
mov r8, qword [rdi]
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
mov rdx, rdi
mov rcx, r8
call qword [case.0x140038716.0]
lea rax, [r13 + 0x18]
mov qword [rbp + 0x190], rax
jmp 0x140152eb5
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x190]
call fcn.140018f70
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140152eda
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rdx, qword [r15]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp + 0x140]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140152f46
cmp dword [rdi + 0x10], 0
jl 0x140152f36
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140152f36
call fcn.1400191a0
mov r13, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x140152f29
mov r8, qword [rdi]
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
mov rdx, rdi
mov rcx, r8
call qword [case.0x140038716.0]
lea rax, [r13 + 0x18]
mov qword [rbp + 0x140], rax
jmp 0x140152f46
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x140]
call fcn.140018f70
mov rax, qword [r15]
movzx ecx, byte [rbp + 0x138]
cmp dword [rax - 0x10], 0
cmove ecx, r14d
mov byte [rbp + 0x138], cl
lea rax, [rsp + 0x70]
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp - 0x60]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8, rsi
mov rdx, qword [r12 + 8]
mov rcx, r12
call fcn.14013be50
mov r14d, dword [rsp + 0x50]
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x140038716.0]
test r14d, r14d
je 0x14015305a
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x58]
call fcn.1400d72a0
mov edx, 0x18
mov rcx, qword [rbp - 0x58]
call fcn.1401f3fac
nop
lea rcx, [rbp + 0x80]
call fcn.140110270
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140153032
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140153053
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
xor eax, eax
jmp 0x140153170
lea rax, [rsp + 0x60]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x68], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14015319a
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdi, str.comment
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140018bd0
test al, al
jne 0x1401530c9
mov r8, rbx
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x1401530b0
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140018f70
nop
mov rcx, qword [rbp - 0x60]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x80]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov rcx, r12
call fcn.140154650
mov edi, eax
mov rdx, qword [rbp - 0x58]
call fcn.1400d72a0
mov edx, 0x18
mov rcx, qword [rbp - 0x58]
call fcn.1401f3fac
nop
lea rcx, [rbp + 0x80]
call fcn.140110270
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14015314d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14015316e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov eax, edi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3
mov ecx, 0x80004005
call fcn.140019320
int3