Function at 0x1400047f0
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x388]
sub rsp, 0x488
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rax, qword [0x14006a080]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r13, r9
mov r12, r8
mov r15, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x60], esi
lea rcx, [rbp + 0x40]
call fcn.140014d20
nop
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.140014d20
nop
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x150]
call fcn.1400220d0
xor eax, eax
mov qword [rbp + 0x140], rax
mov word [rbp + 0x148], ax
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae r9, qword [rbp + 0x40]
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae r8, qword [rbp - 8]
lea rdx, str._s_s.idx
lea rcx, [rbp + 0x150]
call fcn.140002450
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x60]
call fcn.140001540
nop
mov edi, 1
mov r14d, edi
cmp qword [rbp + 0x70], rsi
je 0x1400048e6
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rcx, qword [rbp + 0x60]
call fcn.14002a7c8
inc eax
mov ecx, dword [rbx + 0x10]
inc ecx
cdq
idiv ecx
mov r14d, edx
test edx, edx
cmove r14d, edi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rsi
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rdx, qword [rbp - 8]
mov qword [rsp + 0x28], rsi
lea rcx, [rbp - 0x20]
call fcn.1400152a0
mov r8d, r14d
lea rdx, str._02d
lea rcx, [rbp + 0x140]
call fcn.140007540
movdqa xmm0, xmmword [0x14005f120]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
lea rax, [rbp + 0x140]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004950
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x80]
call fcn.140001bd0
nop
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
movdqa xmm0, xmmword [0x14005f120]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], al
mov dword [rsp + 0x60], 1
mov r8, qword [rbp + 0x50]
lea rdx, [r8 + 2]
cmp rdx, 0x10
jb 0x1400049bb
lea rcx, [rbp - 0x70]
call fcn.1400081e0
mov qword [rbp - 0x60], rsi
mov r8, qword [rbp + 0x50]
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rdx, qword [rbp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140006f20
mov r8d, 2
lea rdx, [0x1400598e0]
lea rcx, [rbp - 0x70]
call fcn.140006f20
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
lea rcx, [rbp - 0x70]
call fcn.140006f20
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x60], 3
mov r8d, 0xc
lea rdx, str._d14.log
lea rcx, [rbp - 0x50]
call fcn.140006f20
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x60], 7
mov qword [rbp + 0x18], rsi
lea rax, [rbp + 0x20]
mov qword [rbp - 0x78], rax
mov cl, 1
call fcn.14001dc30
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x30]
call fcn.140008330
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x30]
call fcn.140006fc0
mov qword [rbp + 0x28], rax
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x68]
cmovae rdx, qword [rsp + 0x68]
add r8, qword [rsp + 0x78]
mov r9d, 1
lea rcx, [rbp + 0x18]
call fcn.140007cd0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140004b21
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005112
call fcn.14001f574
movdqa xmm0, xmmword [0x14005f120]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140004b6f
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005118
call fcn.14001f574
movdqa xmm0, xmmword [0x14005f120]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140004bbb
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000511e
call fcn.14001f574
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rbp + 0xd0]
call fcn.1400220d0
mov qword [rbp + 0xd0], rsi
mov byte [rbp + 0xd8], 0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xf0], xmm1
mov qword [rbp + 0x100], rsi
mov byte [rbp + 0x108], 0
movdqa xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x120], 0
mov qword [rbp + 0x128], rsi
mov qword [rbp + 0x130], rsi
mov byte [rbp + 0x138], 0
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x140004d05
xor ebx, ebx
nop dword [rax]
add rcx, rbx
cmp qword [rcx + 0x18], 0x10
jb 0x140004c4d
mov rcx, qword [rcx]
mov rax, rdi
lea rax, [rax + 1]
cmp byte [rcx + rax], 0
jne 0x140004c50
lea rdx, [rax + rcx]
lea r9, [rbp + 0x18]
lea r8, [rbp + 0xd0]
call fcn.140007ed0
test al, al
je 0x140004ce6
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x260]
call fcn.1400220d0
mov r9, qword [rbp - 0x20]
add r9, rbx
cmp qword [r9 + 0x18], 0x10
jb 0x140004c97
mov r9, qword [r9]
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae r8, qword [rbp - 8]
lea rdx, [0x1400598e4]
lea rcx, [rbp + 0x260]
call fcn.140002450
lea rcx, [rbp + 0x260]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140004ce6
mov rdx, qword [rbp - 0x20]
add rdx, rbx
cmp qword [rdx + 0x18], 0x10
jb 0x140004cda
mov rdx, qword [rdx]
lea rcx, str.no_delete_file__s
call fcn.140005fa0
inc rsi
add rbx, 0x20
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
sub rax, rcx
sar rax, 5
cmp rsi, rax
jb 0x140004c40
lea rax, [rbp - 0x50]
mov qword [rbp - 0x78], rax
mov edx, r14d
lea rcx, [rbp - 0x50]
call fcn.1400032b0
mov rbx, rax
mov qword [rsp + 0x60], rax
xor esi, esi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], sil
lea rax, [rbp + 0x150]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], sil
jne 0x140004d40
mov r8, rdi
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x68]
call fcn.140001bd0
lea rax, [rsp + 0x68]
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140001b00
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140004d81
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
mov rcx, rax
call fcn.1400017c0
movzx edi, al
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140004dcc
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004dc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005124
call fcn.14001f574
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140004e18
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140004e13
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000512a
mov rcx, r8
call fcn.14001f574
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
test dil, dil
jne 0x140004e59
lea rcx, str.file_fail_generate_idx
call fcn.140005fa0
mov qword [rsp + 0x20], r15
mov r9, r12
lea r8, str._s_s.log
mov edx, 0x104
mov rcx, r13
call fcn.1400011b0
jmp 0x140004ede
lea rcx, [rbp + 0xa0]
call fcn.140029d58
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xa8]
call fcn.14002993c
mov edx, dword [rbp + 0xb8]
inc edx
mov ecx, dword [rbp + 0xbc]
add ecx, 0x76c
mov eax, dword [rbp + 0xa8]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0xac]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0xb0]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0xb4]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r15
mov r9, r12
lea r8, str._s_s__02d__04d_02d_02d_02d_02d_02d.log
mov edx, 0x104
mov rcx, r13
call fcn.1400011b0
nop
mov r8, qword [rbp + 0xe0]
test r8, r8
je 0x140004f56
mov rcx, qword [rbp + 0xf0]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x140004f3c
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005130
mov rcx, r8
call fcn.14001f574
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rsi
lea rcx, [rbp + 0x18]
call fcn.140006ce0
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140004f83
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140004f83
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140004fc5
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004fbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005136
call fcn.14001f574
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000501c
mov rdx, qword [rbp - 0x18]
call fcn.140007960
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000500b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000513c
call fcn.14001f574
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rsi
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140005057
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005052
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005142
call fcn.14001f574
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400050a2
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000509d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005148
call fcn.14001f574
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1400050e9
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000510c
call fcn.14001f574
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14001f550
add rsp, 0x488
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
int3