Function at 0x140029a60
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
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x140098080]
xor rax, rsp
mov qword [rbp + 8], rax
mov rsi, r8
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x34], r12d
mov qword [rsp + 0x58], 4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rbp - 0x60]
mov ecx, eax
call fcn.1400011d0
lea rcx, [rbp - 0x60]
sub rax, rcx
sar rax, 1
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x58], 1
movaps xmm6, xmmword [r14]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
mov dword [rsp + 0x34], 2
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rbx, xmm0
lea rdx, [rbx + 5]
add rdx, rax
jne 0x140029b20
mov qword [rbp - 0x80], rdx
mov word [rsp + rdx*2 + 0x70], r12w
jmp 0x140029b5a
cmp rdx, 7
ja 0x140029b41
mov qword [rbp - 0x80], rdx
movzx eax, r12w
lea rdi, [rsp + 0x70]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rsp + rdx*2 + 0x70], r12w
jmp 0x140029b5a
mov word [rsp + 0x20], r12w
mov r9, rdx
movzx r8d, byte [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140003d10
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdi, qword [rsp + 0x70]
test rbx, rbx
je 0x140029b80
lea r8, [rbx + rbx]
movq rdx, xmm6
mov rcx, rdi
call fcn.140056950
lea rdi, [rdi + rbx*2]
mov eax, dword [0x140070518]
mov word [rdi], ax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140029bab
lea r8, [rcx + rcx]
mov rdx, qword [rbp - 0x70]
lea rcx, [rdi + 2]
call fcn.140056950
mov rcx, qword [rbp - 0x68]
mov rax, qword [str..new]
mov qword [rdi + rcx*2 + 2], rax
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [r15]
movdqa xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x140069cb8]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov r9, rsi
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1400298f0
test al, al
je 0x140029cd1
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
mov r8d, 3
mov rdx, qword [r14]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, 1
je 0x140029d3b
lea rax, [0x1400665d0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140001310
mov rdi, rax
mov rdx, rax
mov rcx, rsi
call fcn.140002cc0
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x20], eax
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140029cbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029cb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029d46
call fcn.14003bb8c
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor dil, dil
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140029d11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029d40
call fcn.14003bb8c
movzx eax, dil
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14003bb30
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dil, 1
jmp 0x140029cd4
call fcn.140041a3c
nop
call fcn.140041a3c
int3