Function at 0x231946c4a
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x298
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x230], rcx
mov qword [rbp + 0x238], rdx
mov rax, qword [rbp + 0x230]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x238]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x208]
mov rcx, rax
mov rax, qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
call rax
mov rax, qword [rbp + 0x208]
mov rcx, rax
mov rax, qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
call rax
test eax, eax
sete al
test al, al
je 0x231946cce
mov ebx, 3
jmp 0x231946f11
mov rax, qword [rbp + 0x208]
mov rcx, rax
mov rax, qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyA]
call rax
test eax, eax
setne al
test al, al
je 0x231946cf4
mov ebx, 0x10b
jmp 0x231946f11
lea rax, [rbp + 0x14f]
mov qword [rbp + 0x1f0], rax
nop
nop
lea rcx, [rbp + 0x14f]
mov rdx, qword [rbp + 0x200]
lea rax, [rbp + 0x120]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x17f]
mov qword [rbp + 0x1e8], rax
nop
nop
lea rcx, [rbp + 0x17f]
mov rdx, qword [rbp + 0x208]
lea rax, [rbp + 0x150]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x40]
lea rcx, [rbp + 0x120]
lea rdx, [rbp + 0x150]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basi
lea rax, [rbp + 0x150]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x17f]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp + 0x120]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x14f]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp - 0x40]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
lea rax, [rbp - 0x20]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call rax
mov qword [rbp + 0x1f8], rax
cmp qword [rbp + 0x1f8], 0xffffffffffffffff
je 0x231946efa
lea rax, [rbp + 0x1af]
mov qword [rbp + 0x1e0], rax
nop
nop
lea rcx, [rbp + 0x1af]
lea rax, [rbp - 0x20]
lea rdx, [rax + 0x2c]
lea rax, [rbp + 0x180]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x1d7]
mov qword [rbp + 0x1d8], rax
nop
nop
lea rcx, [rbp + 0x1d7]
mov rdx, qword [rbp + 0x208]
lea rax, [rbp + 0x1b0]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x60]
lea rcx, [rbp + 0x180]
lea rdx, [rbp + 0x1b0]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basi
lea rax, [rbp + 0x1b0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1d7]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp + 0x180]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1af]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rdx, [rbp - 0x20]
mov rax, qword [rbp + 0x1f8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindNextFileA]
call rax
test eax, eax
setne al
test al, al
jne 0x231946de3
mov rax, qword [rbp + 0x1f8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x231946fe6
add rsp, 0x298
pop rbx
pop rbp
ret