Function at 0x100064400
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
xor edi, edi
cmp rcx, rdi
je 0x100064421
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x28]
cmp rcx, rdi
je 0x100064433
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x28], rdi
mov rcx, qword [rbx + 0x30]
cmp rcx, rdi
je 0x100064445
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x30], rdi
mov rcx, qword [rbx + 0x38]
cmp rcx, rdi
je 0x100064457
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x38], rdi
mov rcx, qword [rbx + 0x40]
cmp rcx, rdi
je 0x100064469
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x40], rdi
mov rcx, qword [rbx + 0x48]
cmp rcx, rdi
je 0x10006447b
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x48], rdi
mov rcx, qword [rbx + 0x50]
cmp rcx, rdi
je 0x10006448d
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x50], rdi
lea rcx, [rbx + 0x58]
call fcn.100064090
mov rcx, qword [rbx + 0x18]
cmp rcx, rdi
je 0x1000644a8
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx]
cmp rcx, rdi
je 0x1000644b8
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx], rdi
mov rcx, qword [rbx + 0x20]
cmp rcx, rdi
je 0x1000644ca
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x20], rdi
lea rcx, [rbx + 0x60]
call fcn.100064090
lea rcx, [rbx + 0x68]
call fcn.100064090
lea rcx, [rbx + 0x70]
call fcn.100064090
lea rcx, [rbx + 0x78]
call fcn.100064090
mov rcx, qword [rbx + 0x88]
cmp rcx, rdi
je 0x100064506
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x88], rdi
mov rcx, qword [rbx + 0x90]
cmp rcx, rdi
je 0x10006451e
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x90], rdi
mov rcx, qword [rbx + 0xa0]
cmp rcx, rdi
je 0x100064536
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xa0], rdi
mov rcx, qword [rbx + 0xa8]
cmp rcx, rdi
je 0x10006454e
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xa8], rdi
mov rcx, qword [rbx + 0xb0]
cmp rcx, rdi
je 0x100064566
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xb0], rdi
mov rcx, qword [rbx + 0xb8]
cmp rcx, rdi
je 0x10006457e
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xb8], rdi
mov rcx, qword [rbx + 0xc0]
cmp rcx, rdi
je 0x100064596
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xc0], rdi
mov rcx, qword [rbx + 0xc8]
cmp rcx, rdi
je 0x1000645ae
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xc8], rdi
mov rcx, qword [rbx + 0xd0]
cmp rcx, rdi
je 0x1000645c6
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xd0], rdi
mov rcx, qword [rbx + 0xd8]
cmp rcx, rdi
je 0x1000645de
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xd8], rdi
mov rcx, qword [rbx + 0xe0]
cmp rcx, rdi
je 0x1000645f6
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xe0], rdi
mov rcx, qword [rbx + 0xe8]
cmp rcx, rdi
je 0x10006460e
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xe8], rdi
mov rcx, qword [rbx + 0xf0]
cmp rcx, rdi
je 0x100064626
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xf0], rdi
mov rcx, qword [rbx + 0xf8]
cmp rcx, rdi
je 0x10006463e
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0xf8], rdi
mov rcx, qword [rbx + 0x100]
cmp rcx, rdi
je 0x100064656
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x100], rdi
mov rcx, qword [rbx + 0x80]
cmp rcx, rdi
je 0x1000646a9
lea rdx, [0x100024718]
call qword [sym.imp.msvcrt.dll_wcsstr]
mov rcx, qword [rbx + 0x80]
cmp rax, rdi
je 0x10006468b
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], edi
call fcn.10005516c
jmp 0x100064691
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rbx + 0x80]
cmp rcx, rdi
je 0x1000646a9
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x80], rdi
mov rcx, qword [rbx + 0x10]
cmp rcx, rdi
je 0x1000646ca
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdi
je 0x1000646ca
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret