Function at 0x140001d90
Capabilities:
Create process on windows
Create process suspended
Execute command
Get common file path
Get file size
Read .ini file
Read file on windows
Resume thread
Self delete
Set console window title
Set current directory
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x420], rax
lea rcx, str.Pipsi_ZZZ_:_Jul__4_2024
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
test eax, eax
je 0x140002444
xor edx, edx
lea rcx, [rbp + 0x200]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0xf0]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x140001e6d
lea r9, [rbp - 0x20]
mov edx, 0x104
lea r8, str._sSettings.ini
lea rcx, [rbp + 0xf0]
call fcn.140001010
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x200]
lea r8, [0x140004770]
mov dword [rsp + 0x20], 0x104
lea rdx, str.Executable
lea rcx, str.Settings
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x140001f95
lea rcx, str.Select_the_executable_game_file.._n
call fcn.1400010d0
lea rdx, [rbp + 0xf0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x14000244e
xorps xmm0, xmm0
mov dword [rbp - 0x20], 0x98
movups xmmword [rbp + 8], xmm0
lea rax, [rbp + 0x200]
mov dword [rbp + 0xc], 1
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x20]
lea rax, str.Executable_File__ZenlessZoneZero.exe_
movups xmmword [rbp - 8], xmm0
mov qword [rbp - 8], rax
movups xmmword [rbp + 0x18], xmm0
mov dword [rbp + 0x18], 0x104
movups xmmword [rbp + 0x38], xmm0
mov dword [rbp + 0x40], 0x1800
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x14000244e
lea rcx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x14000244e
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0xf0]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xf0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x14000242b
lea r9, [rbp + 0xf0]
mov edx, 0x104
lea r8, str._sSettings.ini
lea rcx, [rbp - 0x20]
call fcn.140001010
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x200]
lea rdx, str.Executable
lea rcx, str.Settings
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
je 0x14000242b
xor edx, edx
mov qword [rsp + 0x540], rbx
mov r8d, 0x104
lea rcx, [rbp + 0x310]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x200]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001fc0
cmp ebx, 0x104
jae 0x140002004
lea r8, [rbp + 0x200]
mov edx, 0x104
lea rcx, [rbp + 0x310]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
sub ebx, 1
movsxd rax, ebx
js 0x140002004
cmp byte [rbp + rax + 0x310], 0x5c
je 0x140002027
dec ebx
sub rax, 1
jns 0x140001ff2
lea rcx, str.Failed_to_remove_file_specification_from_the_path._n
call fcn.1400010d0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, 0xffffffff
jmp 0x14000212d
movsxd rax, ebx
lea r8, str.GameAssembly.dll
mov qword [rsp + 0x548], rsi
lea rcx, [rbp + 0x310]
mov qword [rsp + 0x550], rdi
mov edx, 0x104
mov qword [rsp + 0x558], r14
mov byte [rbp + rax + 0x310], 0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor r14d, r14d
lea rcx, [rbp + 0x310]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x68], r14d
lea r8d, [r14 + 1]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400020f0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400020e7
mov ecx, esi
call fcn.140002588
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], r14
mov r8d, esi
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000214d
mov rcx, rbx
call fcn.140002580
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x310]
lea rcx, str.Failed_to_calculate_checksum_for__s_n
call fcn.1400010d0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, 0xffffffff
mov rdi, qword [rsp + 0x550]
mov rsi, qword [rsp + 0x548]
mov r14, qword [rsp + 0x558]
mov rbx, qword [rsp + 0x540]
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140002560
add rsp, 0x530
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x5a4d
mov rcx, rbx
cmp word [rbx], ax
je 0x14000216a
call fcn.140002580
jmp 0x1400020f0
movsxd rax, dword [rbx + 0x3c]
mov edi, dword [rax + rbx + 0x58]
call fcn.140002580
cmp edi, 0x16616faf
je 0x1400021a0
mov r9d, edi
lea rdx, [rbp + 0x310]
mov r8d, 0x16616faf
lea rcx, str.Invalid_checksum_for__s._Expected_0x_X__got_0x_X._n
call fcn.1400010d0
jmp 0x140002103
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0xf0]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xf0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x1400021ec
lea rcx, str.Unable_to_retrieve_delay_setting_from_settings._n
call fcn.1400010d0
jmp 0x140002103
lea r9, [rbp + 0xf0]
mov edx, 0x104
lea r8, str._sSettings.ini
lea rcx, [rbp - 0x20]
call fcn.140001010
lea r9, [rbp - 0x20]
mov r8d, 0x3a98
lea rdx, str.Delay
lea rcx, str.Settings
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea rdx, [rbp + 0x200]
mov ebx, eax
lea rcx, str.Launching_executable__s.._n
call fcn.1400010d0
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rbp + 0xf0]
xor edx, edx
mov qword [rsp + 0x60], rax
mov r8d, 0x104
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rsp + 0x50], xmm0
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x200]
lea rdx, [0x140004acc]
lea rcx, [rbp + 0xf0]
call fcn.140001070
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0xf0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400022ee
lea rcx, str.Failed_to_launch_the_executable_file._n
call fcn.1400010d0
jmp 0x140002103
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000241a
cmp qword [rsp + 0x58], r14
je 0x14000241a
lea rdx, str.Bypass.dll
call fcn.140001be0
test eax, eax
je 0x1400023b0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1400023fd
lea rcx, str.Waiting_for_the_game_window_to_initialize.._n
call fcn.1400010d0
xor edx, edx
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x140002387
nop
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400023f4
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140002350
lea rcx, str.Waiting_for_the_game_to_initialize.._n
call fcn.1400010d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x50]
lea rdx, str.Cheat.dll
call fcn.140001be0
test eax, eax
jne 0x1400023fd
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, str.Failed_to_inject_the_DLL_into_the_process._n
call fcn.1400010d0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002110
lea rcx, str.The_process_has_terminated_before_the_game_window_was_initialized._n
jmp 0x1400023c7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140002115
lea rcx, str.Invalid_process_or_thread_handle._n
call fcn.1400010d0
jmp 0x140002103
lea rcx, str.Failed_to_update_executable_path_in_settings._n
call fcn.1400010d0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, 0xffffffff
jmp 0x140002135
lea rcx, str.No_executable_file_selected._n
jmp 0x140002432