Function at 0x14001bb90
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1400f5608]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov edx, 0x4e20
lea rcx, [0x1400fa680]
call fcn.14002abe0
lea r14, str.void___cdecl_System::UtilsImpl::removeFolder_const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_____
test al, al
je 0x14001bc7e
call fcn.14002b900
mov rbx, rax
lea rdx, str.Remove_folder:
mov rcx, rax
call fcn.14000e1c0
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14001bbff
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14000e6f0
lea rcx, [rbx + 8]
lea rdx, [rbp + 0x1f]
call fcn.140016b10
nop
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x82
lea r9, str.C:BuildAgentworkdbddd2e9dd455b4f_src_systemutils_impl.cpp
lea r8, [rbp + 0x1f]
mov edx, 0x4e20
lea rcx, [0x1400fa680]
call fcn.14002ba00
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x14001bc7e
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bc79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bf4e
call fcn.14008b4c8
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x14001bd4f
mov edx, 0x9c40
lea rcx, [0x1400fa680]
call fcn.14002abe0
test al, al
je 0x14001bf1e
call fcn.14002b900
mov rbx, rax
lea rdx, str.Failed_to_remove_folder._Unable_to_resolve_path
mov rcx, rax
call fcn.14000e1c0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14001bcc9
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000e6f0
lea rcx, [rbx + 8]
lea rdx, [rbp + 0x1f]
call fcn.140016b10
nop
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x85
lea r9, str.C:BuildAgentworkdbddd2e9dd455b4f_src_systemutils_impl.cpp
lea r8, [rbp + 0x1f]
mov edx, 0x9c40
lea rcx, [0x1400fa680]
call fcn.14002ba00
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x14001bf1e
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bf19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bf48
jmp 0x14001bf19
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
xor eax, eax
mov qword [rbp - 0x21], rax
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14001bd6a
mov rdx, qword [rdi]
lea rsi, [rdx + rcx]
mov rbx, rdi
jb 0x14001bd76
mov rbx, qword [rdi]
mov rdx, qword [rbp - 0x29]
cmp rbx, rsi
je 0x14001bdb3
nop
cmp rdx, rax
je 0x14001bd97
movzx eax, byte [rbx]
mov byte [rdx], al
mov rdx, qword [rbp - 0x29]
inc rdx
mov qword [rbp - 0x29], rdx
jmp 0x14001bda7
mov r8, rbx
lea rcx, [rbp - 0x31]
call fcn.1400180c0
mov rdx, qword [rbp - 0x29]
inc rbx
mov rax, qword [rbp - 0x21]
cmp rbx, rsi
jne 0x14001bd80
mov byte [rbp - 0x39], 0
cmp rdx, rax
je 0x14001bdcc
mov byte [rdx], 0
mov rdx, qword [rbp - 0x29]
inc rdx
mov qword [rbp - 0x29], rdx
jmp 0x14001bddd
lea r8, [rbp - 0x39]
lea rcx, [rbp - 0x31]
call fcn.1400180c0
mov rdx, qword [rbp - 0x29]
mov byte [rbp - 0x39], 0
cmp rdx, qword [rbp - 0x21]
je 0x14001bdf0
mov byte [rdx], 0
inc qword [rbp - 0x29]
jmp 0x14001bdfd
lea r8, [rbp - 0x39]
lea rcx, [rbp - 0x31]
call fcn.1400180c0
mov dword [rbp - 0x11], 3
mov rax, qword [rbp - 0x31]
mov qword [rbp - 9], rax
mov qword [rbp - 1], 0
mov eax, 0x614
mov word [rbp + 7], ax
lea rcx, [rbp - 0x19]
call qword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x14001bee8
mov edx, 0x9c40
lea rcx, [0x1400fa680]
call fcn.14002abe0
test al, al
je 0x14001bee8
call fcn.14002b900
mov rbx, rax
lea rdx, str.Failed_to_remove_folder
mov rcx, rax
call fcn.14000e1c0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14001be6d
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000e6f0
lea rcx, [rbx + 8]
lea rdx, [rbp + 0x1f]
call fcn.140016b10
nop
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x99
lea r9, str.C:BuildAgentworkdbddd2e9dd455b4f_src_systemutils_impl.cpp
lea r8, [rbp + 0x1f]
mov edx, 0x9c40
lea rcx, [0x1400fa680]
call fcn.14002ba00
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x14001bee8
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bee2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bf54
call fcn.14008b4c8
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14001bf1e
mov rdx, qword [rbp - 0x21]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bf19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bf42
call fcn.14008b4c8
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14008bad0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140091b3c
int3
call fcn.140091b3c
int3
call fcn.140091b3c
nop
call fcn.140091b3c
nop
int3