Function at 0x140001f20
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
call qword [sym.imp.libsodium.dll_sodium_init]
test eax, eax
jle 0x140001f62
lea rcx, str.sodium_init_error_n
call fcn.140001140
jmp 0x140002134
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rbx, rax
call fcn.140004c88
lea rcx, str.dlc.rpf
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], 7
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp + 0x27]
call fcn.140001940
nop
call fcn.140004c88
lea rcx, str.encrypted.bin
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], 0xd
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp - 0x19]
call fcn.140001940
nop
call fcn.140004c88
lea rcx, str.decrypted.rpf
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], 0xd
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.140001940
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.140001c70
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rdx, rax
sub rdx, rbx
movabs rax, 0x346dc5d63886594b
imul rdx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp - 0x29], rdx
lea rdx, [rbp - 0x29]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003eb0
lea rdx, [0x1400041c0]
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14000208c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002087
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002087
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004da0
movdqa xmm0, xmmword [0x140007c20]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], di
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1400020e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004da0
movdqa xmm0, xmmword [0x140007c20]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], di
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x140002134
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000212f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000212f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004da0
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140004d80
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret