Function at 0x140097950
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, r9
mov rdi, r8
mov r15, rdx
mov r14, rcx
lea rdx, str.OperateFile::MoveFileExW
lea rcx, [rsp + 0x50]
call fcn.14001abe0
nop
lea r12, [0x1402a8360]
lea rsi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140097a23
test byte [rcx + 0x1c], 1
je 0x1400979e1
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x7c
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140097a23
test byte [rcx + 0x1c], 1
je 0x140097a23
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x7d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.14001d060
mov rax, qword [r14]
mov r9, rbx
mov r8, rdi
mov rdx, r15
mov rcx, r14
mov rax, qword [rax + 0xa0]
call qword [case.0x1400136d6.0]
mov ebp, eax
test eax, eax
je 0x140097b9c
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xa0]
call fcn.1401e7e40
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140097c7f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rdi, 0xffffffffffffffff
test rbx, rbx
je 0x140097abc
cmp rbx, 0x10000
jae 0x140097aa9
movzx edx, bx
lea rcx, [rsp + 0x40]
call fcn.1400041d0
jmp 0x140097acf
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140097ab0
jmp 0x140097abe
xor eax, eax
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140004e60
nop
lea rdx, [0x140251dfc]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1401ecc18
test eax, eax
je 0x140097b7b
lea r8, str..pnf
lea rdx, [0x1402595b0]
lea rcx, [rsp + 0x40]
call fcn.140063ef0
mov rbx, qword [rsp + 0x40]
mov r9, rbx
mov r8, r15
lea rdx, [0x140252608]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140097b7b
test byte [rcx + 0x1c], 4
je 0x140097b7b
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x7e
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140097b9c
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov al, 1
mov byte [rsp + 0x58], al
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140097beb
test byte [rcx + 0x1c], al
je 0x140097beb
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x7f
mov dword [rsp + 0x20], ebp
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
movzx eax, byte [rsp + 0x58]
mov rcx, qword [0x1402a8360]
lea rdx, vtable.WppTrace.0
mov qword [rsp + 0x50], rdx
test al, al
jne 0x140097c44
cmp rcx, r12
je 0x140097c44
test byte [rcx + 0x1c], 1
je 0x140097c44
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x80]
call fcn.1400048a0
lea rcx, [rsp + 0x60]
call fcn.1400048a0
mov eax, ebp
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1401e2900
add rsp, 0x2c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140001470
int3