Function at 0x7ff6bcbd5ce0
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x7ff6bccbe500]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rdx
mov qword [rbp - 0x58], rdx
mov rsi, rcx
mov qword [rbp - 0x60], rcx
xor r14d, r14d
mov r15, qword [0x7ff6bccc8978]
mov r13, qword [0x7ff6bccc8980]
cmp r15, r13
je 0x7ff6bcbd62e5
mov r12d, 0x2e
nop
mov rdx, r15
lea rcx, [rbp + 0x20]
call fcn.7ff6bcbd87b0
nop
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rdx, qword [rbp + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov r8, qword [rbp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.7ff6bcbd4b50
nop
lea rcx, [rsp + 0x58]
call fcn.7ff6bcbdc3f0
movzx ebx, al
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x7ff6bcbd5dcb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbd5dc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbd6329
call fcn.7ff6bcc49cc0
test bl, bl
jne 0x7ff6bcbd5e18
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x7ff6bcbd6259
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x7ff6bcbd5e0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbd631d
call fcn.7ff6bcc49cc0
jmp 0x7ff6bcbd6259
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rcx, qword [rbp + 0x20]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x7ff6bcbd630f
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x77359400
ja 0x7ff6bcbd630f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp - 0x40]
mov qword [rbp - 0x68], rax
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.7ff6bcbd89d0
mov rdi, rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x50], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.7ff6bcbd5780
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp]
call fcn.7ff6bcbd89d0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.7ff6bcbe09a0
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0x80]
call fcn.7ff6bcbd75f0
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x7ff6bcbd5f25
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
add r9, r8
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.7ff6bcbd94a0
nop
lea rcx, [rbp + 0x80]
call fcn.7ff6bcbd7500
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x7ff6bcbd5f85
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbd5f80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbd632f
call fcn.7ff6bcc49cc0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
movups xmm0, xmmword [0x7ff6bcca2a80]
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [0x7ff6bcca2a90]
mov word [rsp + 0x40], r12w
xor word [rsp + 0x42], 0x32
xor word [rsp + 0x44], 0x33
xor word [rsp + 0x46], 0x34
xor word [rsp + 0x48], 0x35
xor word [rsp + 0x4a], 0x36
xor word [rsp + 0x4c], 0x37
xor word [rsp + 0x4e], 0x38
xor ax, 0x39
mov word [rsp + 0x50], ax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x7ff6bcbd6000
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.7ff6bcbd4b50
nop
mov r12, qword [rbp + 0x30]
lea rsi, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rsi, qword [rbp + 0x20]
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r8
cmp r12, rax
ja 0x7ff6bcbd60ce
lea rax, [r8 + r12]
mov qword [rbp - 0x78], rax
lea r14, [rsp + 0x78]
cmp rcx, 7
cmova r14, qword [rsp + 0x78]
lea rax, [rsi + r12*2]
cmp rax, r14
jbe 0x7ff6bcbd6081
lea rax, [r14 + r8*2]
cmp rsi, rax
ja 0x7ff6bcbd6081
cmp r14, rsi
ja 0x7ff6bcbd6076
xor edi, edi
jmp 0x7ff6bcbd6084
mov rdi, r14
sub rdi, rsi
sar rdi, 1
jmp 0x7ff6bcbd6084
mov rdi, r12
lea rcx, [r14 + r12*2]
lea r8, [r8*2 + 2]
mov rdx, r14
call fcn.7ff6bcc7fde0
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.7ff6bcc7fde0
mov r8, r12
sub r8, rdi
lea rax, [rdi + r12]
lea rdx, [rsi + rax*2]
lea rcx, [rbx + r14]
add r8, r8
call fcn.7ff6bcc7fde0
lea rax, [rsp + 0x78]
xor r14d, r14d
jmp 0x7ff6bcbd60e5
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.7ff6bcbdb790
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x60]
call fcn.7ff6bcbdc4f0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x7ff6bcbd6169
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbd6164
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbd6335
call fcn.7ff6bcc49cc0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x7ff6bcbd61be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbd61b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbd633b
call fcn.7ff6bcc49cc0
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x7ff6bcbd620b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbd6205
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbd6341
call fcn.7ff6bcc49cc0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x7ff6bcbd624b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbd6246
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbd6347
call fcn.7ff6bcc49cc0
mov r12d, 0x2e
mov rdi, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x60]
add r15, 0x20
cmp r15, r13
jne 0x7ff6bcbd5d40
mov r13, qword [0x7ff6bccc8980]
mov r15, qword [0x7ff6bccc8978]
cmp r15, r13
je 0x7ff6bcbd62e5
nop dword [rax]
mov rdx, r15
lea rcx, [rbp + 0x40]
call fcn.7ff6bcbd87b0
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x7ff6bcbd62dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6bcbd62d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6bcbd6323
call fcn.7ff6bcc49cc0
add r15, 0x20
cmp r15, r13
jne 0x7ff6bcbd6280
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.7ff6bcc49ca0
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x7ff6bcbd5dcf
call fcn.7ff6bcc5a000
int3
call fcn.7ff6bcc5a000
nop
call fcn.7ff6bcc5a000
nop
call fcn.7ff6bcc5a000
nop
call fcn.7ff6bcc5a000
nop
call fcn.7ff6bcc5a000
nop
call fcn.7ff6bcc5a000
nop
call fcn.7ff6bcc5a000
int3