Function at 0x1401499f0
Capabilities:
Delete file
Set file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xdd8]
sub rsp, 0xed8
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0xdc0], rax
mov r14d, r9d
mov dword [rbp], r9d
mov r12, r8
mov r15d, edx
mov r13, rcx
mov rax, qword [rbp + 0xe40]
mov qword [rsp + 0x60], rax
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [rbp - 8], rdi
mov rbx, qword [r8]
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14014a3aa
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp - 8], rax
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.140018bd0
lea rsi, [rdi - 1]
test al, al
jne 0x140149aa8
test rbx, rbx
jne 0x140149a8a
mov r8d, edi
jmp 0x140149a9b
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140149a90
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.140018f70
nop
mov rbx, qword [rbp - 8]
cmp r14d, 1
ja 0x140149aec
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lea rcx, [rbx - 0x18]
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.1401213b0
test eax, eax
je 0x140149aec
mov r8, r12
mov rcx, r13
call fcn.14014a6b0
jmp 0x14014a353
mov qword [rbp + 8], rdi
xor edx, edx
lea rcx, [rbp + 8]
call fcn.1400ce7c0
nop
mov qword [rbp - 0x18], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14014a3b5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r14, [0x1402624f4]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140018bd0
test al, al
jne 0x140149b79
mov r8, rsi
nop
inc r8
cmp word [r14 + r8*2], 0
jne 0x140149b60
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140018f70
nop
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1400236b0
mov rbx, rax
mov rcx, qword [rbp + 8]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0x38]
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x18]
call fcn.140025220
nop
mov rbx, qword [rbp - 0x18]
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x78]
call fcn.140022fa0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140149c3f
cmp dword [rbx + 0x10], 0
jl 0x140149c31
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140149c31
call fcn.1400191a0
mov r14, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140149c27
mov rcx, qword [rbx]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
mov rdx, rbx
call qword [case.0x140038716.0]
lea rax, [r14 + 0x18]
mov qword [rbp - 0x18], rax
jmp 0x140149c3f
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x18]
call fcn.140018f70
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140149c63
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov qword [rbp - 0x10], rdi
mov rcx, qword [rbp - 0x18]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x10], rax
mov rbx, qword [r12 + 0x20]
call fcn.1400ef2a0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
call qword [case.0x140038716.0]
test eax, eax
jne 0x140149e60
test rbx, rbx
js 0x140149e60
cmp rbx, 0x300000
jge 0x140149e60
call fcn.1400ef2a0
mov rcx, qword [rax + 8]
mov rax, qword [r13 + 8]
lea rdx, vtable.CPassEvent.0
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rcx
call fcn.1400ef2a0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
mov rax, qword [rax + 0x118]
call qword [case.0x140038716.0]
call fcn.1400ef2a0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0x200
lea r9, [rbp + 0x9c0]
mov r8, qword [rbp - 0x18]
mov edx, r15d
mov rax, qword [rax + 0xe0]
call qword [case.0x140038716.0]
test eax, eax
jne 0x140149e19
call fcn.1400ef2a0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
mov rax, qword [rax + 0x118]
call qword [case.0x140038716.0]
call fcn.1400ef2a0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x120]
call qword [case.0x140038716.0]
mov ebx, eax
mov qword [rbp], rdi
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
lea rdx, [0x140262520]
lea rcx, [rsp + 0x58]
call fcn.140019100
nop
mov r8, rax
mov edx, ebx
lea rcx, [rbp]
call fcn.14011e5c0
nop
lea rax, [rsp + 0x60]
mov qword [rbp - 0x68], rax
lea r9, str.TEXT
mov r8, qword [rbp]
lea rdx, str.TEXT_MSG_EXTRACT_FAIL_WITH_ERRCODE
lea rcx, [rsp + 0x60]
call fcn.140044a00
mov rbx, rax
call fcn.1401285c0
lea rcx, [0x1402620b8]
lea r9, [0x1402620c0]
cmp dword [rax + 0x88], 0
cmovne r9, rcx
mov dword [rsp + 0x20], edi
mov r8, rbx
mov rdx, qword [r13 + 8]
mov rcx, r13
call fcn.140159eb0
nop
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14014a2e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
jmp 0x14014a2e1
call fcn.1400ef2a0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x118]
call qword [case.0x140038716.0]
lea rax, [rbp + 0x9c0]
mov r8, rsi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140149e40
lea rdx, [rbp + 0x9c0]
lea rcx, [rbp - 0x10]
call fcn.140018f70
jmp 0x14014a257
xor edx, edx
mov r8d, 0x848
lea rcx, [rbp + 0x170]
call fcn.1401f6840
lea rcx, [rbp + 0x170]
call fcn.1401170c0
nop
lea rcx, [rbp + 0x30]
call fcn.14010fed0
nop
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x60], edi
mov dword [rbp - 0x40], edi
mov dword [rbp - 0x34], edi
mov dword [rbp + 0x30], 0x18
mov qword [rsp + 0x48], rdi
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14014a394
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x30], 1
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, 0x20
or eax, ecx
jge 0x140149ef9
mov edx, 0x20
lea rcx, [rsp + 0x48]
call fcn.140018ec0
mov rbx, qword [rsp + 0x48]
mov r9d, r15d
lea r8, str.idx:
lea rdx, str._ls_d
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1401fa6e8
test eax, eax
js 0x14014a39f
cmp eax, dword [rbx - 0xc]
jg 0x14014a39f
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], di
lea r14, [rbx - 0x18]
mov r15, qword [rbp + 0xa8]
add r15, 0xffffffffffffffe8
cmp r14, r15
je 0x140149fa7
cmp dword [r15 + 0x10], 0
jl 0x140149f94
mov rax, qword [r15]
cmp qword [r14], rax
jne 0x140149f94
mov rcx, r14
call fcn.1400191a0
mov rbx, rax
mov ecx, esi
lock xadd dword [r15 + 0x10], ecx
sub ecx, 1
jg 0x140149f87
mov rcx, qword [r15]
mov r8, qword [rcx]
mov rdx, r15
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
lea rax, [rbx + 0x18]
mov qword [rbp + 0xa8], rax
jmp 0x140149fa7
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp + 0xa8]
call fcn.140018f70
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
mov eax, esi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x140149fd3
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rdx, qword [rbp - 0x18]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0xb0]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14014a03d
cmp dword [rbx + 0x10], 0
jl 0x14014a02d
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14014a02d
call fcn.1400191a0
mov r14, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14014a020
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
lea rax, [r14 + 0x18]
mov qword [rbp + 0xb0], rax
jmp 0x14014a03d
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0xb0]
call fcn.140018f70
mov dword [rbp - 0x5c], 1
mov dword [rbp - 0x44], 1
mov qword [rbp - 0x4c], 1
mov dword [rbp - 0x50], 1
mov dword [rbp - 0x3c], 1
mov dword [rbp - 0x38], 1
lea rax, [rsp + 0x40]
mov qword [rbp - 0x68], rax
mov rcx, qword [r13 + 0x1b8]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x70], rax
xor r9d, r9d
mov r8, qword [rbp + 0x830]
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0x828]
call fcn.140029d10
mov rcx, qword [rbp + 0x830]
test rcx, rcx
je 0x14014a0bf
mov qword [rcx], rax
jmp 0x14014a0c6
mov qword [rbp + 0x828], rax
mov qword [rbp + 0x830], rax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14014a0f2
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov qword [rbp + 0x7f8], r13
lea rax, [rbp + 0x30]
mov qword [rbp + 0x870], rax
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x878], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x888], xmm1
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbp + 0x898], xmm0
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x8a8]
call fcn.140017ba0
mov qword [rbp + 0x8d8], rdi
mov qword [rbp + 0x8e0], rdi
mov qword [rbp + 0x8d0], rdi
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14014a165
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.14013f700
jmp 0x14014a174
lea rdx, [rbp + 0x170]
mov rcx, r13
call fcn.14014efc0
cmp rax, 1
jne 0x14014a183
cmp dword [rbp + 0x8d8], 0
je 0x14014a188
mov edi, 1
mov rcx, qword [rbp + 0x8f0]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
mov rbx, rax
lea rdx, [rax + 0x18]
mov qword [rbp - 0x28], rdx
mov r14d, dword [rsp + 0x30]
or r14d, 2
mov dword [rsp + 0x30], r14d
mov r15, qword [rbp - 0x10]
add r15, 0xffffffffffffffe8
cmp rax, r15
je 0x14014a214
cmp dword [r15 + 0x10], 0
jl 0x14014a207
mov rax, qword [r15]
cmp qword [rbx], rax
jne 0x14014a207
mov rcx, rbx
call fcn.1400191a0
mov r14, rax
mov ecx, esi
lock xadd dword [r15 + 0x10], ecx
sub ecx, 1
jg 0x14014a1f8
mov rcx, qword [r15]
mov r8, qword [rcx]
mov rdx, r15
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
lea rax, [r14 + 0x18]
mov qword [rbp - 0x10], rax
mov r14d, dword [rsp + 0x30]
jmp 0x14014a214
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x10]
call fcn.140018f70
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14014a23d
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
lea rcx, [rbp + 0x30]
call fcn.140110270
nop
lea rcx, [rbp + 0x170]
call fcn.1401176a0
test edi, edi
jne 0x14014a2d6
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x20], rax
mov rcx, qword [rbp - 8]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x78], rax
mov rcx, qword [rbp - 0x10]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x80], rax
mov rcx, qword [rbp + 8]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x50], rax
mov eax, dword [rbp]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.14014a3c0
jmp 0x14014a2e1
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14014a306
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14014a32b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14014a34f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rbx, qword [rbp - 8]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14014a371
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rcx, qword [rbp + 0xdc0]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0xed8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3
mov ecx, 0x80070057
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
int3