Function at 0x140003c20
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor ebx, ebx
mov qword [rbp - 0x19], rbx
mov qword [rbp + 0xf], rbx
lea r8, str.LOCALAPPDATA
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x19]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
mov rdx, qword [rbp - 0x19]
test rdx, rdx
je 0x140003f06
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], bl
jne 0x140003c90
lea rcx, [rbp - 0x59]
call fcn.1400062c0
nop
mov r8d, 0x1e
lea rdx, str.DiscordpackagesSquirrelTemp
lea rcx, [rbp - 0x59]
call fcn.140005060
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x17], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x27], xmm6
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x140003d15
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001985c
movdqa xmm0, xmmword [0x14001e6b0]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
movabs rax, 0x7fffffffffffffff
movq rcx, xmm6
sub rax, rcx
cmp rax, 1
jb 0x140003f8d
lea r9, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova r9, qword [rbp + 0x17]
mov qword [rsp + 0x30], 1
lea rax, [0x14001cd00]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x39]
call fcn.140007680
nop
lea rdx, [0x1400240b8]
cmp qword [0x1400240d0], 0xf
cmova rdx, qword [0x1400240b8]
mov r8, qword [0x1400240c8]
lea rcx, [rbp - 0x39]
call fcn.140005060
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140003e06
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001985c
movdqa xmm0, xmmword [0x14001e6b0]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140003e53
test al, 0x10
jne 0x140003e53
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
lea rdx, str._AntyHounds__1
je 0x140003e5a
lea rdx, str._AntyHounds__Success
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005530
lea rdx, [0x140005700]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140003eb5
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003eb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003eb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001985c
movdqa xmm0, xmmword [0x14001e6b0]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140003f29
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003eff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003eff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001985c
jmp 0x140003f29
lea rdx, str._AntyHounds__2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005530
mov rcx, rax
lea rdx, [0x140005700]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140003f38
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str.Closing_in_5_seconds_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005530
mov rcx, rax
lea rdx, [0x140005700]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400194f0
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rbp
ret
call fcn.140001250
nop
int3