Function at 0x140001900
Capabilities:
Check if file exists
Create directory
Create process on windows
Get file attributes
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x218]
sub rsp, 0x310
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x1f8], rax
xor edi, edi
mov dword [rsp + 0x70], edi
lea rdx, str.C:Hider
lea rcx, [rbp + 0x40]
call fcn.140003a40
nop
lea rdx, str.C:Hiderpon.exe
lea rcx, [rbp + 0x20]
call fcn.140003a40
nop
lea rdx, str.C:HiderEnCave.exe
lea rcx, [rbp - 0x40]
call fcn.140003a40
nop
lea rdx, str.C:Hider_version.txt
lea rcx, [rbp - 0x20]
call fcn.140003a40
nop
lea rdx, str.https:__cheats_pack.github.io_repohidezz_Loader_version.txt
lea rcx, [rbp]
call fcn.140003a40
nop
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400019af
test al, 0x10
jne 0x140001ba8
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rcx, qword [rbp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140001ba8
lea rdx, str.Failed_to_create_directory:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140004410
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x50]
mov rcx, rax
call fcn.140004d50
lea rdx, [0x1400077d8]
mov rcx, rax
call fcn.140004410
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x140001a4a
mov rcx, qword [rbp]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a45
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002271
call fcn.14000502c
movdqa xmm6, xmmword [0x140007d30]
mov word [rbp], di
movdqu xmmword [rbp + 0x10], xmm6
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140001a9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001a96
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022c5
call fcn.14000502c
movdqu xmmword [rbp - 0x10], xmm6
mov word [rbp - 0x20], di
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140001ae4
mov rcx, qword [rbp - 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001adf
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002311
call fcn.14000502c
mov word [rbp - 0x40], di
movdqu xmmword [rbp - 0x30], xmm6
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x140001b2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001b28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000235d
call fcn.14000502c
movdqu xmmword [rbp + 0x30], xmm6
mov word [rbp + 0x20], di
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140001b76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400023b5
call fcn.14000502c
mov eax, 1
mov rcx, qword [rbp + 0x1f8]
xor rcx, rsp
call fcn.140004fd0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.140001290
test al, al
jne 0x140001c39
lea rdx, str.Failed_to_download_version_file_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140004410
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140001c24
mov rcx, qword [rbp - 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000221e
call fcn.14000502c
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
jmp 0x140001a0a
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.140001580
test al, al
jne 0x140001c53
lea rdx, str.Failed_to_read_version_file_n
jmp 0x140001bd7
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
lea rdx, str.C:Hiderlocal_version.txt
lea rcx, [rsp + 0x50]
call fcn.140003a40
nop
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140001580
movzx ebx, al
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001cd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ccd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ccd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000502c
test bl, bl
jne 0x140001ceb
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rax, qword [rbp - 0x60]
mov qword [rbp - 0x50], rdi
mov word [rax], di
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r8, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [rbp - 0x50]
jne 0x140001e2e
test rdx, rdx
je 0x140001d38
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140001e2e
add rcx, 2
sub rdx, 1
jne 0x140001d20
lea rdx, str.Version_is_up_to_date._No_need_to_download_files._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140004410
mov dword [rbp + 0x170], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
movups xmmword [rbp + 0x188], xmm0
movups xmmword [rbp + 0x198], xmm0
movups xmmword [rbp + 0x1a8], xmm0
movups xmmword [rbp + 0x1b8], xmm0
movups xmmword [rbp + 0x1c8], xmm0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rdx, qword [rbp - 0x40]
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400023bc
lea rdx, str.Failed_to_start_EnCave.exe_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140004410
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1400021d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.Version_mismatch_or_local_version_file_not_found._Downloading_files..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140004410
lea rdx, str.https:__cheats_pack.github.io_repohidezz_Loader_pon.exe
lea rcx, [rsp + 0x50]
call fcn.140003a40
nop
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140001290
movzx ebx, al
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001ea9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ea4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ea4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000502c
test bl, bl
jne 0x140001f16
lea rdx, str.Failed_to_download_pon.exe_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140004410
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140001f01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001efc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e27
call fcn.14000502c
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
jmp 0x140001be4
lea rdx, str.https:__cheats_pack.github.io_repohidezz_Loader_EnCave.exe
lea rcx, [rsp + 0x50]
call fcn.140003a40
nop
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.140001290
movzx ebx, al
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001f7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000502c
test bl, bl
jne 0x140001feb
lea rdx, str.Failed_to_download_EnCave.exe_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140004410
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140001fd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001fd1
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e27
call fcn.14000502c
mov word [rbp - 0x60], di
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rdi
jmp 0x140001be4
lea rdx, str.C:Hiderlocal_version.txt
lea rcx, [rsp + 0x50]
call fcn.140003a40
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rbx, qword [rsp + 0x50]
lea rax, [0x140007c90]
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x70], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x60], rsi
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x68], rax
mov byte [rbp + 0xe4], 0
mov byte [rbp + 0xda], 0
lea rcx, [rbp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void____ptr64]
mov qword [rbp + 0xe8], rdi
mov rax, qword [0x14000cb88]
mov qword [rbp + 0xdc], rax
mov qword [rbp + 0xd0], rdi
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.140004320
test rax, rax
jne 0x1400020f9
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x60]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x60], rsi
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x5c], edx
cmp qword [rbp + 0xe8], 0
jne 0x140002126
mov bl, 1
jmp 0x14000216f
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp + 0x60]
call fcn.140004d50
lea rcx, [rbp + 0x68]
call fcn.140003eb0
test rax, rax
jne 0x14000216d
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x60]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
xor bl, bl
lea rcx, [rbp + 0x60]
call fcn.140001830
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400021be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000502c
test bl, bl
je 0x140001d4b
lea rdx, str.Failed_to_write_local_version_file_n
jmp 0x140001f89
call fcn.14000502c
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14000222a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002225
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002225
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000502c
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x14000227d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002278
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002278
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000502c
movdqa xmm6, xmmword [0x140007d30]
movdqu xmmword [rbp + 0x10], xmm6
mov word [rbp], di
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x1400022d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000502c
movdqu xmmword [rbp - 0x10], xmm6
mov word [rbp - 0x20], di
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14000231d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002318
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002318
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000502c
movdqu xmmword [rbp - 0x30], xmm6
mov word [rbp - 0x40], di
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x140002369
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002364
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002364
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000502c
movdqu xmmword [rbp + 0x30], xmm6
mov word [rbp + 0x20], di
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140001b76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]