Function at 0x7ff698f41fd0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x7ff69902b080]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rcx
xor edi, edi
lea rdx, [0x7ff69900cda0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
mov rcx, rax
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__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x7ff698f4203b
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
lea rdx, [0x7ff699056220]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x7ff698f42060
lea rcx, [rsp + 0x58]
call fcn.7ff698f3fda0
nop
lea rcx, [rsp + 0x58]
mov r8, qword [rsp + 0x68]
cmp qword [rsp + 0x70], 0xf
jbe 0x7ff698f42090
mov rdx, qword [rsp + 0x58]
add r8, rdx
jmp 0x7ff698f42098
add r8, rcx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.7ff698f45b30
nop
lea rcx, [rsp + 0x58]
call fcn.7ff698f3d390
nop
lea rcx, [rsp + 0x38]
call fcn.7ff698f4b780
movzx ebx, al
lea rcx, [rsp + 0x38]
call fcn.7ff698f457e0
test bl, bl
jne 0x7ff698f420d0
xor al, al
jmp 0x7ff698f42282
lea rcx, [rsp + 0x78]
call fcn.7ff698f41430
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdx, qword [rsp + 0x78]
mov r8d, 0x22
lea rcx, [rbp - 0x60]
call fcn.7ff698f451b0
nop
call qword [sym.imp.ucrtbase.dll_rand]
movsxd rbx, eax
call qword [sym.imp.ucrtbase.dll_rand]
movsxd rcx, eax
imul rcx, rbx
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x13
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x1e8480
sub rcx, rax
add ecx, 0x8af0
movsxd rsi, ecx
mov rcx, rsi
call fcn.7ff698fe9f54
mov rbx, rax
test rsi, rsi
je 0x7ff698f42193
call qword [sym.imp.ucrtbase.dll_rand]
mov r9d, eax
mov eax, 0x80808081
imul r9d
add edx, r9d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r9d, ecx
mov byte [rbx + rdi], r9b
inc rdi
cmp rdi, rsi
jb 0x7ff698f42160
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x60]
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__::write_char_const____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]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
test al, al
lea rdx, [0x7ff69900cde0]
jne 0x7ff698f421cc
lea rdx, [0x7ff69900ce30]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
mov rcx, rax
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__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x58]
call fcn.7ff698f455e0
test rax, rax
jne 0x7ff698f4220b
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x7ff698fef4d8]
mov rcx, rbx
call fcn.7ff698fe9f20
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call qword [sym.imp.ucrtbase.dll__wremove]
nop
test eax, eax
sete bl
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x7ff69900e7b0]
mov qword [rbp + rcx - 0x60], rax
mov rcx, qword [rbp - 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xa8]
mov dword [rbp + rdx - 0x64], r8d
lea rcx, [rbp - 0x58]
call fcn.7ff698f45100
lea rcx, [rbp - 0x50]
call qword [sym.imp.msvcp140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.msvcp140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call fcn.7ff698f457e0
movzx eax, bl
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.7ff698fe98c0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret