Function at 0x140003630
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, 0x4f0
movaps xmmword [rsp + 0x4e0], xmm6
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rsp + 0x4d8], rax
mov r12, rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x160], rdx
xor r15d, r15d
mov dword [rsp + 0x44], r15d
lea rdi, [rdx + 0x10]
mov qword [rsp + 0x158], rdi
mov rdi, qword [rdi]
mov rbx, rdx
lea r14, [rdx + 0x18]
mov qword [rsp + 0x58], r14
cmp qword [r14], 0xf
jbe 0x1400036a0
mov rbx, qword [rdx]
call fcn.140008784
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1b8], rdi
lea r8, [rsp + 0x1b0]
mov edx, eax
lea rcx, [rsp + 0x210]
call fcn.140001a30
mov dword [rsp + 0x44], 0x1800
mov qword [rsp + 0x370], r15
lea rax, [0x1400100b8]
mov qword [rsp + 0x378], rax
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x210]
call fcn.1400028d0
cmp dword [rsp + 0x370], 0
jne 0x140004ee4
mov rdx, qword [rsp + 0x228]
cmp rdx, 7
jbe 0x140003759
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003754
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003754
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rbx, 0x989680
jne 0x14000377a
imul rbx, rcx, 0x64
jmp 0x1400037f4
cmp rbx, 0x16e3600
jne 0x1400037d8
movabs rsi, 0xb2f4fc0794908cf3
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rbx, rdx
shr rbx, 0x3f
add rbx, rdx
add rbx, r8
jmp 0x1400037f4
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x2e4], 0x544e437f
mov dword [rsp + 0x2e0], 0x4849467f
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x3c0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x3c0]
call fcn.140006580
nop
mov r8d, 4
lea rdx, [rsp + 0x328]
lea rcx, [rsp + 0x3c0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x14000388a
lea rdx, str.____Error_reading_from_the_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007080
lea rdx, [0x140007250]
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]
jmp 0x1400039f2
xorps xmm0, xmm0
movups xmmword [rsp + 0x2e8], xmm0
mov qword [rsp + 0x2f8], r15
mov qword [rsp + 0x300], 0xf
mov byte [rsp + 0x2e8], 0
mov byte [rsp + 0x40], 0
mov eax, dword [rsp + 0x328]
cmp eax, dword [rsp + 0x2e4]
jne 0x140003b7d
lea rdx, str.___Detected_PS4_package_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007080
lea rdx, [0x140007250]
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x88], xmm1
mov r8d, 0x11
lea rdx, str.orbis_pub_cmd.exe
lea rcx, [rsp + 0x78]
call fcn.140007860
nop
lea rcx, [rsp + 0x78]
call fcn.1400032c0
movzx edi, al
mov rdx, qword [rsp + 0x90]
cmp rdx, 0xf
jbe 0x140003966
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003961
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c1d
call fcn.1400091cc
test dil, dil
jne 0x140003a31
lea rdx, str.____Required_executable_orbis_pub_cmd.exe_not_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007080
lea rdx, [0x140007250]
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 + 0x300]
cmp rdx, 0xf
jbe 0x1400039d6
inc rdx
mov rcx, qword [rsp + 0x2e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004edd
call fcn.1400091cc
mov qword [rsp + 0x2f8], r15
mov qword [rsp + 0x300], 0xf
mov byte [rsp + 0x2e8], 0
lea rcx, [rsp + 0x3c0]
call fcn.140003200
mov rcx, qword [rsp + 0x4d8]
xor rcx, rsp
call fcn.140008f30
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rsp + 0x300]
cmp rax, 0x29
jb 0x140003a7b
lea rdi, [rsp + 0x2e8]
cmp rax, 0xf
cmova rdi, qword [rsp + 0x2e8]
mov qword [rsp + 0x2f8], 0x29
mov r8d, 0x29
lea rdx, str.orbis_pub_cmd.exe_img_extract___passcode
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 0x29], 0
jmp 0x140003a94
lea r9, str.orbis_pub_cmd.exe_img_extract___passcode
mov edx, 0x29
lea rcx, [rsp + 0x2e8]
call fcn.140007c90
lea rcx, [rsp + 0x290]
call fcn.140002f80
mov rdi, rax
lea rsi, [0x1400100f8]
cmp rsi, rax
je 0x140003b2e
mov rdx, qword [0x140010110]
cmp rdx, 0xf
jbe 0x140003af1
mov rcx, qword [0x1400100f8]
inc rdx
cmp rdx, 0x1000
jb 0x140003aec
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003b6c
mov rcx, r8
call fcn.1400091cc
mov qword [0x140010108], r15
mov qword [0x140010110], 0xf
mov byte [0x1400100f8], 0
movups xmm0, xmmword [rdi]
movups xmmword [0x1400100f8], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x140010108], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsp + 0x2a8]
cmp rdx, 0xf
jbe 0x140003ca2
inc rdx
mov rcx, qword [rsp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
jmp 0x140003ca2
cmp eax, dword [rsp + 0x2e0]
jne 0x140004e73
lea rdx, str.___Detected_PS5_package_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007080
lea rdx, [0x140007250]
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x88], xmm1
mov r8d, 0x14
lea rdx, str.prospero_pub_cmd.exe
lea rcx, [rsp + 0x78]
call fcn.140007860
nop
lea rcx, [rsp + 0x78]
call fcn.1400032c0
movzx edi, al
mov rdx, qword [rsp + 0x90]
cmp rdx, 0xf
jbe 0x140003c29
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
test dil, dil
jne 0x140003c3a
lea rdx, str.____Required_executable_prospero_pub_cmd.exe_not_found.
jmp 0x140003976
mov rax, qword [rsp + 0x300]
cmp rax, 0x2c
jb 0x140003c84
lea rdi, [rsp + 0x2e8]
cmp rax, 0xf
cmova rdi, qword [rsp + 0x2e8]
mov qword [rsp + 0x2f8], 0x2c
mov r8d, 0x2c
lea rdx, str.prospero_pub_cmd.exe_img_extract___passcode
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 0x2c], 0
jmp 0x140003c9d
lea r9, str.prospero_pub_cmd.exe_img_extract___passcode
mov edx, 0x2c
lea rcx, [rsp + 0x2e8]
call fcn.140007c90
mov byte [rsp + 0x40], 1
mov edi, 1
movabs r13, 0x7fffffffffffffff
mov qword [rsp + 0x48], rdi
nop word [rax + rax]
movzx eax, byte [0x140010bf1]
test al, al
jne 0x140003993
lea rcx, [rsp + 0x308]
call fcn.140002ba0
nop
mov rsi, qword [rsp + 0x318]
lea r9, [rsp + 0x308]
cmp qword [rsp + 0x320], 0xf
cmova r9, qword [rsp + 0x308]
mov rax, qword [0x140010130]
cmp rsi, rax
ja 0x140003d3e
lea rdi, [0x140010118]
cmp rax, 0xf
cmova rdi, qword [0x140010118]
mov qword [0x140010128], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
mov rdi, qword [rsp + 0x48]
jmp 0x140003d4d
mov rdx, rsi
lea rcx, [0x140010118]
call fcn.140007c90
mov rsi, qword [rsp + 0x158]
mov rcx, qword [rsi]
mov rax, r13
sub rax, rcx
cmp rax, 4
jb 0x140004f01
mov r9, r12
cmp qword [r14], 0xf
jbe 0x140003d75
mov r9, qword [r12]
mov qword [rsp + 0x30], 4
lea rax, str._Sc0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x350]
call fcn.140008110
mov r14d, dword [rsp + 0x44]
or r14d, 8
mov rcx, qword [rsi]
mov rax, r13
sub rax, rcx
cmp rax, 7
jb 0x140004f07
mov r9, r12
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0xf
jbe 0x140003dca
mov r9, qword [r12]
mov qword [rsp + 0x30], 7
lea rax, str._Image0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x330]
call fcn.140008110
or r14d, 0x10
mov rax, r13
mov rcx, qword [rsp + 0x2f8]
sub rax, rcx
mov rdx, qword [rsp + 0x318]
cmp rax, rdx
jb 0x140004f0d
lea r9, [rsp + 0x2e8]
cmp qword [rsp + 0x300], 0xf
cmova r9, qword [rsp + 0x2e8]
lea rax, [rsp + 0x308]
cmp qword [rsp + 0x320], 0xf
cmova rax, qword [rsp + 0x308]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x188]
call fcn.140008110
or r14d, 0x20
mov r8d, 2
lea rdx, [0x14000bb68]
lea rcx, [rsp + 0x188]
call fcn.140006bb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xb0], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 0x40
lea rdx, [0x140010138]
cmp qword [0x140010150], 0xf
cmova rdx, qword [0x140010138]
mov r8, qword [0x140010148]
lea rcx, [rsp + 0x98]
call fcn.140006bb0
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xc8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r14d, 7
mov r8d, 3
lea rdx, [0x14000bb64]
lea rcx, [rsp + 0xb8]
call fcn.140006bb0
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf0], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xe8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r14d, 8
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x140003fa7
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rsp + 0xd8]
call fcn.140006bb0
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
mov qword [rsp + 0x108], r15
mov qword [rsp + 0x110], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xf8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x108], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r14d, 9
mov r8, rdi
lea rdx, [0x14000bb60]
lea rcx, [rsp + 0xf8]
call fcn.140006bb0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x380], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rsp + 0x390], xmm6
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 4
mov dword [rsp + 0x44], r14d
mov rdx, qword [rsp + 0x110]
cmp rdx, 0xf
jbe 0x14000408b
inc rdx
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004086
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004086
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0x108], r15
mov qword [rsp + 0x110], 0xf
mov byte [rsp + 0xf8], 0
mov rdx, qword [rsp + 0xf0]
cmp rdx, 0xf
jbe 0x1400040ed
inc rdx
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400040e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf0], 0xf
mov byte [rsp + 0xd8], 0
mov rdx, qword [rsp + 0xd0]
cmp rdx, 0xf
jbe 0x14000414f
inc rdx
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000414a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000414a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], 0xf
mov byte [rsp + 0xb8], 0
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0xf
jbe 0x1400041b1
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400041ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400041ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xb0], 0xf
mov byte [rsp + 0x98], 0
mov rdx, qword [rsp + 0x1a0]
cmp rdx, 0xf
jbe 0x140004213
inc rdx
mov rcx, qword [rsp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000420e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000420e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0x198], r15
mov qword [rsp + 0x1a0], 0xf
mov byte [rsp + 0x188], 0
mov rax, r13
movq rcx, xmm6
sub rax, rcx
cmp rax, 0xb
jb 0x140004f13
lea r9, [rsp + 0x380]
cmp qword [rsp + 0x398], 0xf
cmova r9, qword [rsp + 0x380]
mov qword [rsp + 0x30], 0xb
lea rax, str.___nul_2_1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x230]
call fcn.140008110
bts r14d, 0xa
mov dword [rsp + 0x44], r14d
lea rcx, [rsp + 0x230]
cmp qword [rsp + 0x248], 0xf
cmova rcx, qword [rsp + 0x230]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x50], eax
mov rdx, qword [rsp + 0x248]
cmp rdx, 0xf
jbe 0x1400042f9
inc rdx
mov rcx, qword [rsp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400042f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rdi, 0x989680
jne 0x14000431a
imul rcx, rcx, 0x64
jmp 0x140004393
cmp rdi, 0x16e3600
jne 0x140004378
movabs r9, 0xb2f4fc0794908cf3
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
add rcx, r8
jmp 0x140004393
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rcx, rax
sub rcx, rbx
movabs rax, 0x112e0be826d694b3
imul rcx
mov r12, rdx
sar r12, 0x1a
mov rax, r12
shr rax, 0x3f
add r12, rax
movabs rax, 0x48d159e26af37c05
imul r12
mov rsi, rdx
sar rsi, 0xa
mov rax, rsi
shr rax, 0x3f
add rsi, rax
imul rax, rsi, 0xe10
mov rcx, r12
sub rcx, rax
movabs r8, 0x8888888888888889
mov rax, r8
imul rcx
lea r13, [rcx + rdx]
sar r13, 5
mov rax, r13
shr rax, 0x3f
add r13, rax
mov rax, r8
imul r12
add rdx, r12
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x3c
sub r12, rax
cmp byte [0x140010bf2], 0
jne 0x140004918
lea rax, [0x140010c00]
mov qword [rsp + 0x270], rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140004453
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x140010c4c], 0x7fffffff
jne 0x140004475
mov dword [0x140010c4c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdx, [0x14000bb98]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007080
mov rdi, rax
mov edx, 2
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, rax
mov r8, qword [rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov rdx, qword [rdx + 8]
call r8
mov rax, qword [rdi]
movsxd r8, dword [rax + 4]
mov byte [r8 + rdi + 0x58], 0x30
mov rdx, rsi
mov rcx, rdi
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___long_long___int64_____ptr64]
lea rdx, [0x14000bb94]
mov rcx, rax
call fcn.140007080
mov rdi, rax
mov edx, 2
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, rax
mov r8, qword [rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov rdx, qword [rdx + 8]
call r8
mov rax, qword [rdi]
movsxd r8, dword [rax + 4]
mov byte [r8 + rdi + 0x58], 0x30
mov rdx, r13
mov rcx, rdi
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___long_long___int64_____ptr64]
lea rdx, [0x14000bb90]
mov rcx, rax
call fcn.140007080
mov rdi, rax
mov edx, 2
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, rax
mov r8, qword [rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov rdx, qword [rdx + 8]
call r8
mov rax, qword [rdi]
movsxd r8, dword [rax + 4]
mov byte [r8 + rdi + 0x58], 0x30
mov rdx, r12
mov rcx, rdi
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___long_long___int64_____ptr64]
lea rdx, str.s___Passcode:
mov rcx, rax
call fcn.140007080
lea rdx, [rsp + 0x308]
cmp qword [rsp + 0x320], 0xf
cmova rdx, qword [rsp + 0x308]
mov r8, qword [rsp + 0x318]
mov rcx, rax
call fcn.140008380
cmp byte [rsp + 0x40], 0
jne 0x1400045f6
lea rdx, [0x14000bb9c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007080
lea rdx, [0x1400100f8]
cmp qword [0x140010110], 0xf
cmova rdx, qword [0x1400100f8]
mov r8, qword [0x140010108]
mov rcx, rax
call fcn.140008380
jmp 0x1400048f6
mov rsi, qword [0x140010148]
lea rdi, [0x140010138]
cmp qword [0x140010150], 0xf
cmova rdi, qword [0x140010138]
call fcn.140008784
mov qword [rsp + 0x1c0], rdi
mov qword [rsp + 0x1c8], rsi
lea r8, [rsp + 0x1c0]
mov edx, eax
lea rcx, [rsp + 0x118]
call fcn.140001a30
or r14d, 0x60000
mov dword [rsp + 0x44], r14d
lea rcx, [rsp + 0x118]
cmp qword [rsp + 0x130], 7
cmova rcx, qword [rsp + 0x118]
mov rax, qword [rsp + 0x128]
lea rdx, [rcx + rax*2]
mov rdi, rdx
call fcn.140001ba0
cmp rax, rdx
je 0x14000469c
nop
lea r8, [rdi - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14000469c
cmp cx, 0x2f
je 0x14000469c
mov rdi, r8
cmp rax, r8
jne 0x140004680
mov r8d, 0x3a
mov rcx, rdi
call fcn.140008e50
mov rcx, rax
cmp rdi, rax
je 0x1400046d7
add rax, 0xfffffffffffffffe
cmp rdi, rax
je 0x1400046d7
cmp word [rax], 0x2e
jne 0x1400047bd
lea rdx, [rax - 2]
cmp rdi, rdx
jne 0x1400046d4
cmp word [rdx], 0x2e
je 0x1400046d7
mov rcx, rax
mov qword [rsp + 0x1d0], rdi
sub rcx, rdi
sar rcx, 1
mov qword [rsp + 0x1d8], rcx
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x138]
call fcn.140008230
bts r14d, 0x16
mov dword [rsp + 0x44], r14d
lea rax, [rsp + 0x138]
cmp qword [rsp + 0x150], 7
cmova rax, qword [rsp + 0x138]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x1e8], rax
call fcn.140008784
movaps xmm0, xmmword [rsp + 0x1e0]
movdqa xmmword [rsp + 0x280], xmm0
lea r8, [rsp + 0x280]
mov edx, eax
lea rcx, [rsp + 0x3a0]
call fcn.140006dc0
or r14d, 0x380000
mov dword [rsp + 0x44], r14d
mov rdx, qword [rsp + 0x150]
cmp rdx, 7
jbe 0x1400047ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rax, 2
cmp rdi, rax
je 0x1400046d7
nop word [rax + rax]
cmp word [rax], 0x2e
je 0x1400046d4
sub rax, 2
cmp rdi, rax
jne 0x1400047d0
jmp 0x1400046d7
call fcn.1400091cc
mov qword [rsp + 0x148], r15
mov qword [rsp + 0x150], 7
mov word [rsp + 0x138], r15w
mov rdx, qword [rsp + 0x130]
cmp rdx, 7
jbe 0x140004855
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004850
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004850
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0x128], r15
mov qword [rsp + 0x130], 7
mov word [rsp + 0x118], r15w
lea rdx, [0x14000bb9c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007080
lea rdx, [rsp + 0x3a0]
cmp qword [rsp + 0x3b8], 0xf
cmova rdx, qword [rsp + 0x3a0]
mov r8, qword [rsp + 0x3b0]
mov rcx, rax
call fcn.140008380
nop
mov rdx, qword [rsp + 0x3b8]
cmp rdx, 0xf
jbe 0x1400048f6
inc rdx
mov rcx, qword [rsp + 0x3a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400048f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
lea rdx, [0x140007250]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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
lea rcx, [0x140010c00]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp dword [rsp + 0x50], 0
jne 0x140004a06
mov rsi, qword [rsp + 0x360]
lea rdi, [rsp + 0x350]
cmp qword [rsp + 0x368], 0xf
cmova rdi, qword [rsp + 0x350]
call fcn.140008784
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1f8], rsi
lea r8, [rsp + 0x1f0]
mov edx, eax
lea rcx, [rsp + 0x250]
call fcn.140001a30
or r14d, 0x6000
or r14d, 1
mov dword [rsp + 0x44], r14d
lea rcx, [rsp + 0x250]
call fcn.1400027c0
test al, al
je 0x140004a06
mov rsi, qword [rsp + 0x340]
lea rdi, [rsp + 0x330]
cmp qword [rsp + 0x348], 0xf
cmova rdi, qword [rsp + 0x330]
call fcn.140008784
mov qword [rsp + 0x200], rdi
mov qword [rsp + 0x208], rsi
lea r8, [rsp + 0x200]
mov edx, eax
lea rcx, [rsp + 0x168]
call fcn.140001a30
or r14d, 0x18000
or r14d, 2
mov dword [rsp + 0x44], r14d
lea rcx, [rsp + 0x168]
call fcn.1400027c0
test al, al
je 0x140004a06
mov dil, 1
jmp 0x140004a09
xor dil, dil
test r14b, 2
je 0x140004a80
and r14d, 0xfffffffd
mov dword [rsp + 0x44], r14d
mov rdx, qword [rsp + 0x180]
cmp rdx, 7
jbe 0x140004a63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x168]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0x178], r15
mov qword [rsp + 0x180], 7
mov word [rsp + 0x168], r15w
test r14b, 1
je 0x140004ada
and r14d, 0xfffffffe
mov dword [rsp + 0x44], r14d
mov rdx, qword [rsp + 0x268]
cmp rdx, 7
jbe 0x140004ada
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ad5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
test dil, dil
je 0x140004cdf
mov rax, qword [rsp + 0x48]
xchg byte [0x140010bf1], al
mov rdi, qword [rsp + 0x318]
lea r9, [rsp + 0x308]
cmp qword [rsp + 0x320], 0xf
cmova r9, qword [rsp + 0x308]
mov rax, qword [0x1400100f0]
cmp rdi, rax
ja 0x140004b4a
lea rbx, [0x1400100d8]
cmp rax, 0xf
cmova rbx, qword [0x1400100d8]
mov qword [0x1400100e8], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140004b5a
mov rdx, rdi
lea rcx, [0x1400100d8]
call fcn.140007c90
nop
mov rdx, qword [rsp + 0x398]
cmp rdx, 0xf
jbe 0x140004ba0
inc rdx
mov rcx, qword [rsp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0x398], 0xf
mov byte [rsp + 0x380], 0
mov rdx, qword [rsp + 0x348]
cmp rdx, 0xf
jbe 0x140004bfa
inc rdx
mov rcx, qword [rsp + 0x330]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bf5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004bf5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0x340], r15
mov qword [rsp + 0x348], 0xf
mov byte [rsp + 0x330], 0
mov rdx, qword [rsp + 0x368]
cmp rdx, 0xf
jbe 0x140004c5c
inc rdx
mov rcx, qword [rsp + 0x350]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0x360], r15
mov qword [rsp + 0x368], 0xf
mov byte [rsp + 0x350], 0
mov rdx, qword [rsp + 0x320]
cmp rdx, 0xf
jbe 0x140004cbe
inc rdx
mov rcx, qword [rsp + 0x308]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004cb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004cb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0x318], r15
mov qword [rsp + 0x320], 0xf
mov byte [rsp + 0x308], 0
jmp 0x140003993
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x48]
jmp 0x140004d0a
movabs r13, 0x7fffffffffffffff
mov rdx, qword [rsp + 0x398]
cmp rdx, 0xf
jbe 0x140004d5b
inc rdx
mov rcx, qword [rsp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
nop
mov rdx, qword [rsp + 0x348]
cmp rdx, 0xf
jbe 0x140004da1
inc rdx
mov rcx, qword [rsp + 0x330]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0x340], r15
mov qword [rsp + 0x348], 0xf
mov byte [rsp + 0x330], 0
mov rdx, qword [rsp + 0x368]
cmp rdx, 0xf
jbe 0x140004e03
inc rdx
mov rcx, qword [rsp + 0x350]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004dfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004dfe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
mov qword [rsp + 0x360], r15
mov qword [rsp + 0x368], 0xf
mov byte [rsp + 0x350], 0
mov rdx, qword [rsp + 0x320]
cmp rdx, 0xf
mov r14, qword [rsp + 0x58]
jbe 0x140003cc0
inc rdx
mov rcx, qword [rsp + 0x308]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091cc
jmp 0x140003cc0
lea rdx, str.____Invalid_package_file_header.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007080
lea rdx, [0x140007250]
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 + 0x300]
cmp rdx, 0xf
jbe 0x1400039d6
inc rdx
mov rcx, qword [rsp + 0x2e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x370]
lea rcx, str.create_directories
call fcn.140002580
nop
call fcn.140001250
nop
call fcn.140001250
nop
call fcn.140001250
nop
call fcn.140001250
int3