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

Disassembly:
test rdx, rdx
je 0x180009e17
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x358
mov qword [rsp + 0xa0], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rax, qword [0x1801aef28]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov ebx, r9d
mov esi, r8d
mov r14, rdx
mov r12, rcx
lea rcx, [rsp + 0x40]
call fcn.180080ca0
nop
lea rdx, [0x18013cd40]
lea rcx, [rsp + 0x40]
call fcn.18007e3d0
lea rdx, [0x18013eda8]
lea rcx, [rsp + 0x40]
call fcn.18007d580
xor r15d, r15d
mov dword [rsp + 0xd0], r15d
xor edx, edx
mov r8d, 0x24c
lea rcx, [rsp + 0xd4]
call fcn.1800a1250
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x180009a1a
cmp dword [0x1801df0a0], r15d
je 0x180009a0b
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, str.CLocalBackupFileMgr::ClearByDate_FindFile___s__fail
lea r8, [0x18013c6f0]
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
nop
lea rcx, [rsp + 0x40]
call fcn.18007d270
jmp 0x180009de4
mov ebp, dword [rsp + 0x3c0]
xorpd xmm7, xmm7
nop word [rax + rax]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xfc]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 8
jne 0x180009db7
lea rcx, [rsp + 0xfc]
call fcn.18006eff0
test eax, eax
je 0x180009db7
test ebp, ebp
je 0x180009a7d
mov rdx, r14
mov rcx, r12
call fcn.180009000
test eax, eax
je 0x180009dd0
test byte [rsp + 0xd0], 0x10
je 0x180009d40
lea rcx, [rsp + 0xfc]
call fcn.1800a1c2c
mov edi, eax
xor edx, edx
mov ecx, eax
call fcn.1800081f0
movapd xmm6, xmm0
cmp dword [0x1801df0a0], 0
je 0x180009ade
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0xfc]
mov qword [rsp + 0x20], rax
lea r9, str.CLocalBackupFileMgr::ClearByDate_1__s___lu_
lea r8, [0x18013c6f0]
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
ucomisd xmm6, xmm7
jp 0x180009aea
je 0x180009db7
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax - 8]
dec r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1800812c0
nop
lea rdx, [rsp + 0xfc]
lea rcx, [rsp + 0x48]
call fcn.18007d580
test esi, esi
jne 0x180009b66
test ebx, ebx
jne 0x180009b66
mov rcx, qword [rsp + 0x48]
call fcn.18009a6b0
cmp dword [0x1801df0a0], ebx
je 0x180009d34
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, str.CLocalBackupFileMgr::ClearByDate___s__del__d_
lea r8, [0x18013c6f0]
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
jmp 0x180009d34
test ebx, ebx
je 0x180009b87
mov dword [rsp + 0x20], ebp
mov r9d, ebx
movapd xmm2, xmm6
mov rdx, qword [rsp + 0x48]
mov rcx, r12
call fcn.1800094f0
jmp 0x180009d34
test esi, esi
je 0x180009d34
movapd xmm1, xmm6
lea rcx, [rsp + 0x58]
call fcn.18008b4e0
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, esi
lea rcx, [rsp + 0x90]
call fcn.18008b9a0
movsd qword [rsp + 0x68], xmm7
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [0x1801c1d78]
call fcn.18000c690
movsd xmm1, qword [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.18008b4e0
cmp dword [0x1801df0a0], 0
je 0x180009c79
lea r8, [0x18013eca8]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x70]
call fcn.18008b7b0
mov rdi, rax
lea r8, [0x18013eca8]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.18008b7b0
nop
mov dword [rsp + 0x30], esi
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rcx
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, str.CLocalBackupFileMgr::ClearByDate___s__dwDaySpan__d_
lea r8, [0x18013c6f0]
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
nop
lea rcx, [rsp + 0x80]
call fcn.18007d270
nop
lea rcx, [rsp + 0x88]
call fcn.18007d270
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.18008afc0
test eax, eax
je 0x180009cb7
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x70]
call fcn.18008be40
mov rcx, rax
lea rdx, [rsp + 0x90]
call fcn.18008b2c0
test eax, eax
jne 0x180009cf5
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.18008afc0
test eax, eax
je 0x180009d34
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x58]
call fcn.18008be40
mov rcx, rax
lea rdx, [rsp + 0x90]
call fcn.18008b2c0
test eax, eax
je 0x180009d34
mov rcx, qword [rsp + 0x48]
call fcn.18009a6b0
cmp dword [0x1801df0a0], 0
je 0x180009d34
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, str.CLocalBackupFileMgr::ClearByDate___s__del__d_
lea r8, [0x18013c6f0]
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
nop
lea rcx, [rsp + 0x48]
call fcn.18007d270
jmp 0x180009db7
cmp dword [0x1801df0a0], 0
je 0x180009d73
lea rax, [rsp + 0xfc]
mov qword [rsp + 0x20], rax
lea r9, str.CLocalBackupFileMgr::ClearByDate_2__s_
lea r8, [0x18013c6f0]
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax - 8]
dec r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1800812c0
nop
lea rdx, [rsp + 0xfc]
lea rcx, [rsp + 0x50]
call fcn.18007d580
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x50]
call fcn.18007d270
lea rdx, [rsp + 0xd0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180009a30
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x40]
call fcn.18007d270
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1800a1220
movaps xmm6, xmmword [rsp + 0x340]
movaps xmm7, xmmword [rsp + 0x330]
add rsp, 0x358
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
repz ret