Function at 0x1400289b0
Capabilities:
Delete file
Move file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140095050]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rsi, r8
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x68], 4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rbp - 0x50]
mov ecx, eax
call fcn.1400011d0
lea rcx, [rbp - 0x50]
sub rax, rcx
sar rax, 1
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x68], 1
movaps xmm1, xmmword [r14]
movaps xmmword [rsp + 0x40], xmm1
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
mov dword [rsp + 0x50], 2
psrldq xmm1, 8
movq rbx, xmm1
lea rdx, [rbx + 5]
add rdx, rax
jne 0x140028a67
mov qword [rbp - 0x70], rdx
mov word [rbp + rdx*2 - 0x80], r12w
jmp 0x140028a9f
cmp rdx, 7
ja 0x140028a87
mov qword [rbp - 0x70], rdx
movzx eax, r12w
lea rdi, [rbp - 0x80]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rbp + rdx*2 - 0x80], r12w
jmp 0x140028a9f
mov word [rsp + 0x20], r12w
mov r9, rdx
movzx r8d, byte [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140003960
lea rdi, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdi, qword [rbp - 0x80]
test rbx, rbx
je 0x140028ac3
lea r8, [rbx + rbx]
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14003c180
lea rdi, [rdi + rbx*2]
mov eax, dword [0x14006df28]
mov word [rdi], ax
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140028aee
lea r8, [rcx + rcx]
mov rdx, qword [rbp - 0x60]
lea rcx, [rdi + 2]
call fcn.14003c180
mov rcx, qword [rbp - 0x58]
mov rax, qword [str..new]
mov qword [rdi + rcx*2 + 2], rax
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [r15]
movdqa xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x140067678]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov r9, rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140028840
test al, al
je 0x140028c0e
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
mov r8d, 3
mov rdx, qword [r14]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, 1
je 0x140028c6f
lea rax, [0x1400640b0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.140001350
mov rdi, rax
mov rdx, rax
mov rcx, rsi
call fcn.140002f90
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x20], eax
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140028bfa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028bf5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028c7a
call fcn.14003a23c
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor dil, dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140028c4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028c48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028c74
call fcn.14003a23c
movzx eax, dil
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.14003a1e0
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dil, 1
jmp 0x140028c11
call fcn.140040b2c
nop
call fcn.140040b2c
int3