Function at 0x140005ce0
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 [0x1400ee500]
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 [0x1400f8978]
mov r13, qword [0x1400f8980]
cmp r15, r13
je 0x1400062e5
mov r12d, 0x2e
nop
mov rdx, r15
lea rcx, [rbp + 0x20]
call fcn.1400087b0
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.140004b50
nop
lea rcx, [rsp + 0x58]
call fcn.14000c3f0
movzx ebx, al
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140005dcb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005dc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006329
call fcn.140079cc0
test bl, bl
jne 0x140005e18
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x140006259
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140005e0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000631d
call fcn.140079cc0
jmp 0x140006259
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 0x14000630f
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x77359400
ja 0x14000630f
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.1400089d0
mov rdi, rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x50], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140005780
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp]
call fcn.1400089d0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1400109a0
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.1400075f0
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005f25
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
add r9, r8
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400094a0
nop
lea rcx, [rbp + 0x80]
call fcn.140007500
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140005f85
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000632f
call fcn.140079cc0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
movups xmm0, xmmword [0x1400d2a80]
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [0x1400d2a90]
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 0x140006000
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140004b50
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 0x1400060ce
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 0x140006081
lea rax, [r14 + r8*2]
cmp rsi, rax
ja 0x140006081
cmp r14, rsi
ja 0x140006076
xor edi, edi
jmp 0x140006084
mov rdi, r14
sub rdi, rsi
sar rdi, 1
jmp 0x140006084
mov rdi, r12
lea rcx, [r14 + r12*2]
lea r8, [r8*2 + 2]
mov rdx, r14
call fcn.1400afde0
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.1400afde0
mov r8, r12
sub r8, rdi
lea rax, [rdi + r12]
lea rdx, [rsi + rax*2]
lea rcx, [rbx + r14]
add r8, r8
call fcn.1400afde0
lea rax, [rsp + 0x78]
xor r14d, r14d
jmp 0x1400060e5
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.14000b790
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.14000c4f0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140006169
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006164
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006335
call fcn.140079cc0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400061be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000633b
call fcn.140079cc0
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14000620b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006205
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006341
call fcn.140079cc0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x14000624b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006246
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006347
call fcn.140079cc0
mov r12d, 0x2e
mov rdi, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x60]
add r15, 0x20
cmp r15, r13
jne 0x140005d40
mov r13, qword [0x1400f8980]
mov r15, qword [0x1400f8978]
cmp r15, r13
je 0x1400062e5
nop dword [rax]
mov rdx, r15
lea rcx, [rbp + 0x40]
call fcn.1400087b0
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 0x1400062dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006323
call fcn.140079cc0
add r15, 0x20
cmp r15, r13
jne 0x140006280
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140079ca0
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 0x140005dcf
call fcn.14008a000
int3
call fcn.14008a000
nop
call fcn.14008a000
nop
call fcn.14008a000
nop
call fcn.14008a000
nop
call fcn.14008a000
nop
call fcn.14008a000
nop
call fcn.14008a000
int3