Function at 0x231946d4a
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 0x231946dce
mov eax, 3
jmp 0x2319470fa
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 0x231946df4
mov eax, 0x10b
jmp 0x2319470fa
lea rax, [rbp + 0x12f]
mov qword [rbp + 0x1f0], rax
nop
nop
lea rcx, [rbp + 0x12f]
mov rdx, qword [rbp + 0x200]
lea rax, [rbp + 0x100]
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 + 0x15f]
mov qword [rbp + 0x1e8], rax
nop
nop
lea rcx, [rbp + 0x15f]
mov rdx, qword [rbp + 0x208]
lea rax, [rbp + 0x130]
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 + 0xe0]
lea rcx, [rbp + 0x100]
lea rdx, [rbp + 0x130]
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 + 0xe0]
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 - 0x60]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call rax
mov qword [rbp + 0x1f8], rax
lea rax, [rbp + 0xe0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x130]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x15f]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp + 0x100]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x12f]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
cmp qword [rbp + 0x1f8], 0xffffffffffffffff
je 0x231947018
lea rax, [rbp + 0x1af]
mov qword [rbp + 0x1e0], rax
nop
nop
lea rcx, [rbp + 0x1af]
lea rax, [rbp - 0x60]
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 + 0x160]
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 + 0x160]
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 + 0x160]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
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 rdx, [rbp - 0x60]
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 0x231946ef8
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
jmp 0x2319470fa
add rsp, 0x298
pop rbx
pop rbp
ret