Function at 0x140155810
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 [0x140300040]
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.140152200
nop
mov dword [rsp + 0x50], r13d
lea rcx, [rbp + 0x80]
call fcn.140112850
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea ecx, [r13 + 0x18]
call fcn.1401f7b18
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x58], rax
call fcn.1400f1ae0
mov rax, qword [rax + 0x88]
test rax, rax
je 0x1401558b1
mov ecx, 0x20240423
call qword [case.0x140038ca6.0]
mov rsi, rax
jmp 0x1401558b4
mov rsi, r13
call fcn.1400f1ae0
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov rcx, rsi
call fcn.14013f510
mov rbx, qword [rsi]
call fcn.1400f1ae0
mov rdx, qword [rax + 8]
mov rcx, rsi
mov rax, qword [rbx + 0x70]
call qword [case.0x140038ca6.0]
mov r14d, 1
test eax, eax
jne 0x1401559c3
mov dword [rsp + 0x50], r14d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rax
call fcn.140044d30
mov rcx, rax
lea r8, str.TEXT
lea rdx, str.TEXT_ERR_EDIT_NOT_SUPPORTED_ARCHIVE
call fcn.140048480
mov rdi, rax
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x140155de5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140018bb0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x140155989
test rdi, rdi
jne 0x140155967
mov r8d, r13d
jmp 0x14015597b
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140155970
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140018f50
nop
call fcn.14012bfe0
lea rcx, [0x1402670d8]
lea r9, [0x1402670e0]
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.14015ccf0
jmp 0x140155c09
movdqa xmm0, xmmword [0x1402b4410]
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 [0x1402b4430]
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 qword [rbp + 0x70], r13
call fcn.140166630
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.14016ff70
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.0x140038ca6.0]
mov dword [rbp + 0x80], InitCommonControls
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.14013da90
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp + 0x198]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140155af5
cmp dword [rdi + 0x10], 0
jl 0x140155ae4
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140155ae4
call fcn.140019180
mov r13, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x140155ad7
mov r8, qword [rdi]
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
mov rdx, rdi
mov rcx, r8
call qword [case.0x140038ca6.0]
lea rax, [r13 + 0x18]
mov qword [rbp + 0x198], rax
jmp 0x140155af5
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x198]
call fcn.140018f50
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140155b1a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov rdx, qword [r15]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp + 0x140]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140155b86
cmp dword [rdi + 0x10], 0
jl 0x140155b76
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140155b76
call fcn.140019180
mov r13, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x140155b69
mov r8, qword [rdi]
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
mov rdx, rdi
mov rcx, r8
call qword [case.0x140038ca6.0]
lea rax, [r13 + 0x18]
mov qword [rbp + 0x140], rax
jmp 0x140155b86
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x140]
call fcn.140018f50
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.140019180
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.14013f5b0
mov r14d, dword [rsp + 0x50]
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x140038ca6.0]
test r14d, r14d
je 0x140155c9a
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x58]
call fcn.1400d9940
mov edx, 0x18
mov rcx, qword [rbp - 0x58]
call fcn.1401f785c
nop
lea rcx, [rbp + 0x80]
call fcn.140112bf0
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140155c72
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140155c93
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
xor eax, eax
jmp 0x140155db0
lea rax, [rsp + 0x60]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x68], rax
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x140155dda
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdi, str.comment
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140018bb0
test al, al
jne 0x140155d09
mov r8, rbx
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x140155cf0
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140018f50
nop
mov rcx, qword [rbp - 0x60]
add rcx, 0xffffffffffffffe8
call fcn.140019180
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.140157350
mov edi, eax
mov rdx, qword [rbp - 0x58]
call fcn.1400d9940
mov edx, 0x18
mov rcx, qword [rbp - 0x58]
call fcn.1401f785c
nop
lea rcx, [rbp + 0x80]
call fcn.140112bf0
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140155d8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140155dae
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov eax, edi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401f74b0
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.140019300
int3
mov ecx, 0x80004005
call fcn.140019300
int3