Function at 0x7ff60515e310
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__time64]
mov rbx, rax
call qword [sym.imp.kernel32.dll_GetCurrentThreadId]
imul eax, ebx
mov ecx, eax
call qword [sym.imp.ucrtbase.dll_srand]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x7ff60551ca98]
call qword [sym.imp.kernel32.dll_CreateFileW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x7ff60515e3d0
mov rcx, rax
call qword [sym.imp.kernel32.dll_CloseHandle]
lea rdx, [0x7ff60551cab0]
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]
mov rax, 0xffffffffffffffff
jmp 0x7ff60515e842
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x7ff605749a90], xmm0
movups xmmword [0x7ff605749aa0], xmm0
movups xmmword [0x7ff605749ab0], xmm0
movups xmmword [0x7ff605749ac0], xmm0
movups xmmword [0x7ff605749ad0], xmm0
movups xmmword [0x7ff605749ae0], xmm0
mov dword [0x7ff605749af0], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 0xa
movsxd rdi, r8d
lea rsi, [0x7ff605749a90]
test r8d, r8d
jle 0x7ff60515e47a
xor ebx, ebx
movabs r14, 0x4ec4ec4ec4ec4ec5
lea r15, [0x7ff6056295e0]
nop
call qword [sym.imp.ucrtbase.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + r15]
mov byte [rbx + rsi], al
inc rbx
cmp rbx, rdi
jl 0x7ff60515e450
lea rdx, [0x7ff60551cb00]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff6051623f0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], 0
jne 0x7ff60515e4a6
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.7ff605163830
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
add r8, rdx
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x40]
call fcn.7ff605162610
nop
lea rcx, [rbp - 0x78]
call fcn.7ff605162330
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.7ff605163f30
lea rdx, [0x7ff6051625d0]
mov rcx, rax
call qword [0x7ff605431740]
nop
lea rcx, [rsp + 0x40]
call fcn.7ff6051622c0
lea rcx, [rsp + 0x68]
call fcn.7ff60515e0c0
nop
cmp qword [rsp + 0x78], 0
jne 0x7ff60515e569
lea rdx, [0x7ff60551cb50]
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]
jmp 0x7ff60515e82e
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.ucrtbase.dll__wremove]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rdx, qword [rsp + 0x68]
mov r8d, 0x22
lea rcx, [rbp - 0x50]
call fcn.7ff605161be0
nop
mov r8d, 0x8708
lea rdx, [0x7ff60551e6e0]
lea rcx, [rbp - 0x50]
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]
lea rcx, [rbp - 0x48]
test al, al
je 0x7ff60515e655
call fcn.7ff6051620c0
test rax, rax
jne 0x7ff60515e606
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x7ff6054316e8]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x7ff60551e6d0]
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call fcn.7ff605161b70
lea rcx, [rbp - 0x40]
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 + 0x58]
call qword [sym.imp.msvcp140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rdx, [0x7ff60551cb90]
jmp 0x7ff60515e548
call fcn.7ff6051620c0
test rax, rax
jne 0x7ff60515e67c
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x7ff6054316e8]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x7ff60551e6d0]
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call fcn.7ff605161b70
lea rcx, [rbp - 0x40]
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 + 0x58]
call qword [sym.imp.msvcp140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x68]
call fcn.7ff605166460
test al, al
jne 0x7ff60515e70b
lea rdx, [0x7ff60551cbf0]
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 rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.ucrtbase.dll__wremove]
jmp 0x7ff60515e82e
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [0x7ff60551ca98]
call qword [sym.imp.kernel32.dll_CreateFileW]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x7ff60515e803
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0xc
lea rdx, [0x7ff60551ccd0]
lea rcx, [rsp + 0x40]
call fcn.7ff605163830
nop
lea rcx, [rsp + 0x40]
call fcn.7ff605166b70
mov qword [0x7ff605749af8], rax
lea rcx, [rsp + 0x40]
call fcn.7ff605162330
cmp qword [0x7ff605749af8], 0
jne 0x7ff60515e7a3
lea rdx, [0x7ff60551cce0]
jmp 0x7ff60515e80a
mov rcx, rbx
call fcn.7ff60515fde0
test al, al
jne 0x7ff60515e7b8
lea rdx, [0x7ff60551cd20]
jmp 0x7ff60515e80a
mov rcx, rbx
call fcn.7ff605160810
test al, al
jne 0x7ff60515e7cd
lea rdx, [0x7ff60551cd70]
jmp 0x7ff60515e80a
mov rcx, rbx
call fcn.7ff60515f880
test al, al
jne 0x7ff60515e7e2
lea rdx, [0x7ff60551cdc0]
jmp 0x7ff60515e80a
mov rcx, rbx
call fcn.7ff60515e870
test al, al
jne 0x7ff60515e835
lea rdx, [0x7ff60551ce10]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff605162760
jmp 0x7ff60515e816
lea rdx, [0x7ff60551cc80]
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]
mov rcx, rbx
call fcn.7ff60515ee50
mov rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x68]
call fcn.7ff6051622c0
mov rax, rbx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.7ff60542acb0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret