Function at 0x18000f500
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x280
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1800f2040]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov dword [rbp], 0
movabs rax, 0x4c3527f9accf49b4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x27aa81a3982190df
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x9df6d65addd3495d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rcx, 0xe9aae0c93d186cf2
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x285b4eaef09373f7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x54d3d2ffc452e7b0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x9df6d668eebe2c29
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x80], ymm1
lea rax, [rbp + 0x80]
mov qword [rbp + 0xa0], rax
lea rcx, [rbp + 0x80]
mov r12, 0xffffffffffffffff
mov rax, r12
vzeroupper
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18000f640
mov qword [rbp + 0xa8], rax
call fcn.1800b6a04
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp + 0xe0]
call fcn.180005830
mov r14d, 0x30
mov dword [rbp], r14d
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x60]
call fcn.180019750
test eax, eax
jne 0x18000fe45
mov rdx, qword [rbp + 0xf8]
cmp rdx, 7
jbe 0x18000f6e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f6e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000f6e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b75f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov r15, qword [rbp + 0x68]
test r15, r15
je 0x18000f706
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x68]
mov r14d, dword [rbp]
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0xa0], xmm0
test r15, r15
je 0x18000f724
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x68]
mov r14d, dword [rbp]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
test r15, r15
je 0x18000f772
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x18000f76a
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18000f76a
mov r15, qword [rbp + 0x68]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x18000f76e
mov r15, qword [rbp + 0x68]
mov r14d, dword [rbp]
lea r13, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
nop dword [rax]
mov rdi, qword [rbp + 0xa0]
test rdi, rdi
je 0x18000fd78
lea rdx, [rdi + 0x20]
lea rcx, [rbp + 0x50]
call fcn.180007470
movsd xmm0, qword [rax]
movsd qword [rbp + 0x40], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp + 0x40]
test edx, edx
je 0x18000f7be
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x18000fe5b
cmp ecx, 2
jne 0x18000fd43
lea rdx, [rbp + 0xc0]
lea rcx, [rdi + 0x20]
call fcn.180005ce0
mov rsi, qword [rax + 0x10]
mov rdx, qword [rbp + 0xd8]
cmp rdx, 7
jbe 0x18000f821
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f81c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000fd5c
call fcn.1800b75f0
test rsi, rsi
jne 0x18000fd43
mov ecx, dword [rdi + 0x1c]
mov eax, ecx
shr eax, 3
test al, 1
je 0x18000f83c
mov rax, qword [rdi + 8]
jmp 0x18000f885
shr ecx, 1
test cl, 1
je 0x18000f849
mov r9d, dword [rdi + 0x10]
jmp 0x18000f84f
mov r9d, 0xffffffff
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 7
jbe 0x18000f85e
mov rcx, qword [rdi + 0x20]
mov r8d, 9
lea rdx, [rbp + 0xc0]
call fcn.1800b6d18
mov edx, eax
mov rax, r12
test edx, edx
cmove rax, qword [rbp + 0xc8]
jne 0x18000fe25
cmp rax, 0x28200
jne 0x18000f931
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 7
jbe 0x18000f8a0
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x30]
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rax
call fcn.1800b6a04
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x10], xmm0
lea r8, [rbp + 0x10]
mov edx, eax
lea rcx, [rbp + 0x80]
call fcn.18001c3b0
or r14d, 0x1c0
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rcx, qword [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x18000f931
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f92c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000fd63
call fcn.1800b75f0
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rdi + 0x20]
cmp qword [rbx + 0x18], 7
jbe 0x18000f953
mov rbx, qword [rbx]
lea rax, [0x1800d9190]
mov qword [rbp + 0x100], rax
lea rax, [0x1800d8fe8]
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 8
mov dword [rbp], r14d
xor r8d, r8d
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0x100]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x100], r13
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x118], rax
mov byte [rbp + 0x194], 0
mov byte [rbp + 0x189], 0
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor esi, esi
mov qword [rbp + 0x198], rsi
mov rax, qword [0x1800fe178]
mov qword [rbp + 0x18c], rax
mov qword [rbp + 0x180], rsi
mov r8d, 3
mov rdx, rbx
lea rcx, [rbp + 0x118]
call fcn.18001b450
test rax, rax
jne 0x18000fa5a
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x100]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x100], r13
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0xfc], edx
cmp qword [rbp + 0x198], 0
je 0x18000fcf2
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], 0
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x100]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x100]
call fcn.18001b590
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_bool_void_const___ptr64]
test al, al
je 0x18000fc7b
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rcx, qword [rbp + 0x80]
mov qword [rsp + 0x20], 0x27
lea r9, str.This_program_cannot_be_run_in_DOS_mode.
xor r8d, r8d
mov rdx, qword [rbp + 0x90]
call fcn.18001a650
cmp rax, 0xffffffffffffffff
je 0x18000fc2f
cmp qword [rbp + 0x198], 0
je 0x18000fb8e
lea rcx, [rbp + 0x118]
call fcn.180019250
test rax, rax
jne 0x18000fb8e
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x100]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 7
jbe 0x18000fb9d
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rax
call fcn.1800b6a04
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x10], xmm0
lea r8, [rbp + 0x10]
mov edx, eax
lea rcx, [rbp + 0xc0]
call fcn.18001c3b0
or r14d, 7
mov dword [rbp], r14d
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rcx, qword [rbp + 0xc0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x18000fc2f
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fc2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000fd6a
call fcn.1800b75f0
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x100]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x100]
call fcn.18001b590
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_bool_void_const___ptr64]
test al, al
jne 0x18000fb10
lea rcx, [rbp + 0x118]
call fcn.180019250
test rax, rax
jne 0x18000fcb0
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x100]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x18000fcf2
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fcec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000fd71
call fcn.1800b75f0
nop
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x100], r13
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x118]
call fcn.180018370
lea rcx, [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa0]
call fcn.180006a50
test eax, eax
jne 0x18000fe36
jmp 0x18000f780
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x18000fdbe
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18000fdba
mov rbx, qword [rbp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18000fdba
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r15, qword [rbp + 0x68]
test r15, r15
je 0x18000fdf3
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x18000fdf3
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x18000fdf3
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1800b75d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rdi + 0x20]
lea rcx, str.directory_entry::file_size
call fcn.180006820
int3
mov edx, eax
lea rcx, str.directory_iterator::operator
call fcn.180006730
nop
lea r8, [rbp + 0xe0]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.180006820
nop
lea r8, [rdi + 0x20]
lea rcx, str.status
call fcn.180006820
int3