Function at 0x140004940
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14000f010]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov r13, rdx
mov r15d, ecx
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x88], 0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
lea eax, [r15 - 3]
cmp eax, 3
ja 0x14000500b
lea rcx, [0x14000ab34]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x7fffffffffffffff
mov rcx, qword [0x14000fad8]
sub rax, rcx
cmp rax, 0x11
jb 0x14000507b
lea r9, [0x14000fac8]
cmp qword [0x14000fae0], 0x10
cmovae r9, qword [0x14000fac8]
mov qword [rsp + 0x30], 0x11
lea rax, str._nMade_by_hoppers_n
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.140007cc0
mov r14d, 1
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140007fa0
lea rdx, [0x1400069c0]
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 [rsp + 0x58]
cmp rdx, 0x10
jb 0x140004a81
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008cbc
mov r9, qword [r13 + 8]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [r9 + rdi], 0
jne 0x140004a90
mov rax, qword [0x14000f0c8]
lea rsi, [0x14000f0b0]
cmp rdi, rax
ja 0x140004ad7
mov rbx, rsi
cmp rax, 0x10
cmovae rbx, qword [0x14000f0b0]
mov qword [0x14000f0c0], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140004ae2
mov rdx, rdi
mov rcx, rsi
call fcn.1400075e0
mov rdx, qword [r13 + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xa0], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140004b04
lea rcx, [rsp + 0x90]
call fcn.1400071b0
nop
mov rax, qword [0x14000f0c0]
cmp rax, 4
jb 0x140004bb7
lea rcx, [rax - 4]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp rax, rcx
jb 0x140005081
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [0x14000f0c8], 0x10
cmovae rsi, qword [0x14000f0b0]
lea rdx, [rsi + rcx]
lea rcx, [rsp + 0x40]
call fcn.1400071b0
mov r14d, 7
lea rcx, [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rsp + 0x50]
cmp r8, 4
jne 0x140004bc1
lea rdx, str..pkg
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140004bc1
mov sil, 1
jmp 0x140004bce
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
xor sil, sil
test r14b, 2
je 0x140004f9f
cmp rdi, 0x10
jb 0x140004c05
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140004bfd
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004cbb
mov rcx, rbx
call fcn.140008cbc
test sil, sil
je 0x140004f9f
mov ebx, 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
cmp ebx, r15d
jge 0x140004e82
movsxd r12, ebx
mov rdx, qword [r13 + r12*8]
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], al
jne 0x140004c40
lea rcx, [rsp + 0x40]
call fcn.1400071b0
lea rcx, [rsp + 0x40]
mov r14, qword [rsp + 0x58]
cmp r14, 0x10
setae r15b
mov rdi, qword [rsp + 0x40]
cmovae rcx, rdi
mov r8, qword [rsp + 0x50]
cmp r8, 5
jne 0x140004c8e
lea rdx, str.__gpu
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140004c8e
mov sil, 1
jmp 0x140004c91
xor sil, sil
test r15b, r15b
je 0x140004cca
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140004cc2
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004cc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140008cbc
mov r15d, dword [rsp + 0x60]
test sil, sil
je 0x140004ddc
mov byte [0x14000fac1], 1
lea esi, [rbx + 1]
cmp esi, r15d
jge 0x140004ddc
mov rdx, qword [r13 + r12*8 + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xor r12d, r12d
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], r12
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r12b
jne 0x140004d10
lea rcx, [rsp + 0x68]
call fcn.1400071b0
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rbx, qword [rsp + 0x68]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rsp + 0x88]
jne 0x140004d72
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rdi], 0x22
jne 0x140004d84
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
mov dword [0x14000f068], eax
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x140004dd3
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004dc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004dc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008cbc
mov eax, dword [0x14000f068]
dec eax
cmp eax, 0x63
ja 0x140004de3
mov ebx, esi
inc ebx
jmp 0x140004c13
lea rdx, str.____Invalid_GPU_percentage._It_must_be_within_the_range__1__100_.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400067f0
lea rdx, [0x1400069c0]
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 [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140004e4d
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008cbc
movdqa xmm0, xmmword [0x14000ae50]
movdqu xmmword [rsp + 0xa0], xmm0
mov byte [rsp + 0x90], 0
mov eax, 1
jmp 0x14000504e
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x11
lea rdx, str.PS4_Passcodes.txt
lea rcx, [rsp + 0x40]
call fcn.1400071b0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x90]
call fcn.140003220
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140004ef6
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ef1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ef1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008cbc
movzx eax, byte [0x14000fac2]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
je 0x140004f3c
lea rdx, str.___We_did_it___n___Passcode:
call fcn.1400067f0
lea rdx, [0x14000f070]
cmp qword [0x14000f088], 0x10
cmovae rdx, qword [0x14000f070]
mov r8, qword [0x14000f080]
mov rcx, rax
call fcn.140007fa0
jmp 0x140004f48
lea rdx, str.____Passcode_not_found.
call fcn.1400067f0
lea rdx, [0x1400069c0]
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 [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140004f98
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ffd
call fcn.140008cbc
xor eax, eax
jmp 0x14000504e
lea rdx, str.____Invalid_package_file_format._Only_.pkg_files_are_supported.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400067f0
lea rdx, [0x1400069c0]
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 [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140005049
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005004
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005004
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008cbc
jmp 0x140005049
lea rdx, str._nUsage:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400067f0
mov rdx, qword [r13]
mov rcx, rax
call fcn.1400067f0
mov rcx, rax
lea rdx, str.__package___output_____gpu__percentage__
call fcn.1400067f0
lea rdx, [0x1400069c0]
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]
mov eax, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140008a10
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140001210
nop
call fcn.140006490
nop
int3