Function at 0x7ff60515ee50
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 [0x7ff60566c600]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rcx
xor edi, edi
lea rdx, [0x7ff60551d0c0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff6051623f0
lea rdx, [0x7ff6051625d0]
mov rcx, rax
call qword [0x7ff605431740]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x7ff60515eebb
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, [0x7ff605749a90]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x7ff60515eee0
lea rcx, [rsp + 0x58]
call fcn.7ff605163830
nop
lea rcx, [rsp + 0x58]
mov r8, qword [rsp + 0x68]
cmp qword [rsp + 0x70], 0xf
jbe 0x7ff60515ef10
mov rdx, qword [rsp + 0x58]
add r8, rdx
jmp 0x7ff60515ef18
add r8, rcx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.7ff605162610
nop
lea rcx, [rsp + 0x58]
call fcn.7ff605162330
nop
lea rcx, [rsp + 0x38]
call fcn.7ff605166870
movzx ebx, al
lea rcx, [rsp + 0x38]
call fcn.7ff6051622c0
test bl, bl
jne 0x7ff60515ef50
xor al, al
jmp 0x7ff60515f102
lea rcx, [rsp + 0x78]
call fcn.7ff60515e0c0
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.7ff605161be0
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.7ff60542ae3c
mov rbx, rax
test rsi, rsi
je 0x7ff60515f013
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 0x7ff60515efe0
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, [0x7ff60551d100]
jne 0x7ff60515f04c
lea rdx, [0x7ff60551d150]
call fcn.7ff6051623f0
lea rdx, [0x7ff6051625d0]
mov rcx, rax
call qword [0x7ff605431740]
lea rcx, [rbp - 0x58]
call fcn.7ff6051620c0
test rax, rax
jne 0x7ff60515f08b
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 [0x7ff6054316e8]
mov rcx, rbx
call fcn.7ff60542acd0
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, [0x7ff60551e6d0]
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.7ff605161b70
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.7ff6051622c0
movzx eax, bl
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.7ff60542acb0
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