Function at 0x140014790
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push r12
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor esi, esi
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], rsi
or r8, 0xffffffffffffffff
mov word [rbp + 7], si
mov r14, rcx
nop
inc r8
cmp word [rcx + r8*2], si
jne 0x1400147c0
mov rdx, r14
lea rcx, [rbp + 7]
call fcn.140025010
mov r11, qword [rbp + 0x1f]
lea rdx, [rbp + 7]
mov r10, qword [rbp + 7]
cmp r11, 8
mov r9, qword [rbp + 0x17]
cmovae rdx, r10
test r9, r9
je 0x140014828
or rax, 0xffffffffffffffff
lea rcx, [r9 - 1]
cmp rcx, rax
cmovb rax, rcx
cmp word [rdx + rax*2], 0x2e
lea r8, [rdx + rax*2]
je 0x140014820
nop dword [rax]
cmp r8, rdx
je 0x140014828
sub r8, 2
cmp word [r8], 0x2e
jne 0x140014810
sub r8, rdx
sar r8, 1
jmp 0x14001482c
or r8, 0xffffffffffffffff
movdqa xmm0, xmmword [0x14005a090]
movabs r12, 0x7fffffffffffffff
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rdi
cmp r8, 0xffffffffffffffff
jne 0x140014a7d
lea rdx, [r9 + 5]
mov qword [rsp + 0xc0], r15
lea rcx, [rbp - 0x19]
mov word [rbp - 0x19], si
movdqu xmmword [rbp - 9], xmm0
call fcn.140028000
cmp qword [rbp + 0x1f], 8
lea r9, [rbp + 7]
mov rcx, qword [rbp - 1]
cmovae r9, qword [rbp + 7]
mov rax, rcx
mov r15, qword [rbp - 9]
mov rdi, qword [rbp + 0x17]
sub rax, r15
cmp rdi, rax
ja 0x1400148ca
cmp rcx, 8
lea rax, [r15 + rdi]
lea rbx, [rbp - 0x19]
mov qword [rbp - 9], rax
cmovae rbx, qword [rbp - 0x19]
lea r8, [rdi + rdi]
mov rdx, r9
lea rcx, [rbx + r15*2]
call fcn.140037930
lea rax, [r15 + rdi]
mov word [rbx + rax*2], si
jmp 0x1400148e1
xor eax, eax
mov qword [rsp + 0x20], rdi
movzx r8d, al
lea rcx, [rbp - 0x19]
mov rdx, rdi
call fcn.140029ad0
mov rdx, qword [rbp - 1]
mov rcx, qword [rbp - 9]
mov rax, rdx
mov r15, qword [rsp + 0xc0]
sub rax, rcx
cmp rax, 5
jb 0x140014a56
cmp rdx, 8
lea rdi, [rcx + 5]
lea rbx, [rbp - 0x19]
mov qword [rbp - 9], rdi
cmovae rbx, qword [rbp - 0x19]
lea rdx, str..meta
mov r8d, 0xa
lea rcx, [rbx + rcx*2]
call fcn.140037930
mov word [rbx + rdi*2], si
mov rax, qword [rbp + 0x1f]
cmp rax, 8
jb 0x140014995
mov rcx, qword [rbp + 7]
lea rdx, [rax + 1]
mov rax, rcx
cmp rdx, r12
ja 0x140014b92
add rdx, rdx
cmp rdx, 0x1000
jb 0x140014990
lea r8, [rdx + 0x27]
cmp r8, rdx
jbe 0x140014b92
mov rdx, r8
test al, 0x1f
jne 0x140014b92
mov rcx, qword [rcx - 8]
cmp rcx, rax
jae 0x140014b92
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
ja 0x140014b92
call fcn.14003068c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov ecx, 2
cmove esi, ecx
cmp qword [rbp - 1], 8
lea rcx, [rbp - 0x19]
cmovae rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400149ca
test esi, esi
mov eax, 1
cmove esi, eax
mov rax, qword [rbp - 1]
cmp rax, 8
jb 0x140014a2f
mov rcx, qword [rbp - 0x19]
lea rdx, [rax + 1]
mov rax, rcx
cmp rdx, r12
ja 0x140014b98
add rdx, rdx
cmp rdx, 0x1000
jb 0x140014a2a
lea r8, [rdx + 0x27]
cmp r8, rdx
jbe 0x140014b98
mov rdx, r8
test al, 0x1f
jne 0x140014b98
mov rcx, qword [rcx - 8]
cmp rcx, rax
jae 0x140014b98
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
ja 0x140014b98
call fcn.14003068c
mov rdi, qword [rsp + 0xb8]
mov eax, esi
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop r14
pop r12
pop rbp
ret
xor eax, eax
mov qword [rsp + 0x20], 5
lea r9, str..meta
movzx r8d, al
lea rcx, [rbp - 0x19]
lea edx, [rax + 5]
call fcn.140029ad0
jmp 0x140014930
cmp r9, r8
mov word [rbp + 0x27], si
lea rdx, [rbp + 7]
cmovb r8, r9
lea rcx, [rbp + 0x27]
cmp r11, 8
movdqu xmmword [rbp + 0x37], xmm0
cmovae rdx, r10
call fcn.140025010
mov rdx, qword [rbp + 0x3f]
mov rcx, qword [rbp + 0x37]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x140014aeb
cmp rdx, 8
lea rdi, [rcx + 5]
lea rbx, [rbp + 0x27]
mov qword [rbp + 0x37], rdi
cmovae rbx, qword [rbp + 0x27]
lea rdx, str..meta
mov r8d, 0xa
lea rcx, [rbx + rcx*2]
call fcn.140037930
lea rax, [rbp + 0x27]
mov word [rbx + rdi*2], si
jmp 0x140014b0d
xor eax, eax
mov qword [rsp + 0x20], 5
lea r9, str..meta
movzx r8d, al
lea rcx, [rbp + 0x27]
lea edx, [rax + 5]
call fcn.140029ad0
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x140014930
mov rcx, qword [rbp + 0x27]
inc rdx
mov rax, rcx
cmp rdx, r12
ja 0x140014b8c
add rdx, rdx
cmp rdx, 0x1000
jb 0x140014b82
lea r8, [rdx + 0x27]
cmp r8, rdx
jbe 0x140014b8c
mov rdx, r8
test al, 0x1f
jne 0x140014b8c
mov rcx, qword [rcx - 8]
cmp rcx, rax
jae 0x140014b8c
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
ja 0x140014b8c
call fcn.14003068c
jmp 0x140014930
call fcn.14003ecdc
int3
call fcn.14003ecdc
int3
call fcn.14003ecdc
int3