Function at 0x1800a3040
Capabilities:
Delete file
Enumerate files on windows
Get disk size

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x4b8]
sub rsp, 0x5b0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x18049d0e0]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
call fcn.1800a3870
lea rcx, [rbp + 0x1d0]
call fcn.1800ab140
nop
lea r8, str.Log_
mov rdx, rax
lea rcx, [rbp + 0x230]
call fcn.1800a2500
nop
mov r8, qword [rbp + 0x1e8]
cmp r8, 8
jb 0x1800a30c8
inc r8
mov rdx, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x1d0]
call fcn.180087400
mov qword [rbp + 0x1e8], 7
xor r14d, r14d
mov qword [rbp + 0x1e0], r14
mov word [rbp + 0x1d0], r14w
lea r8, [0x18032b1c8]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x210]
call fcn.1800a2570
nop
lea rcx, [rbp + 0x210]
cmp qword [rbp + 0x228], 8
cmovae rcx, qword [rbp + 0x210]
lea rdx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800a3441
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x38]
call fcn.1800a3c30
mov qword [rsp + 0x38], rax
mov esi, r14d
nop dword [rax]
test byte [rbp + 0x250], 0x10
jne 0x1800a324d
mov eax, dword [rbp + 0x264]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x268]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x78]
lea rcx, [rbp + 0x250]
mov edx, 4
nop dword [rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x1800a3190
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.1800a2650
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x1d0]
lea rcx, [rsp + 0x38]
call fcn.1800a2950
mov eax, dword [rbp + 0x270]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x26c]
mov dword [rsp + 0x34], eax
add rsi, qword [rsp + 0x30]
lea rdx, [rbp + 0x250]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800a3150
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 0x6400000
mov r9d, 2
xor r8d, r8d
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x230]
call fcn.1800a4700
nop
lea rcx, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 8
cmovae rcx, qword [rbp + 0x1f0]
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1800a32cd
mov rax, qword [rsp + 0x50]
shr rax, 1
cmp rax, rdi
cmovb rdi, rax
cmp rsi, rdi
jb 0x1800a33ce
mov byte [0x1804b7570], 0
xor ecx, ecx
call fcn.1800aad20
lea rcx, str.GlobalAudit_logdebug_change_event
call fcn.1800a1ba0
mov r8, qword [rsp + 0x38]
mov rbx, qword [r8]
cmp rbx, r8
je 0x1800a33d3
cmp rsi, rdi
jb 0x1800a33d3
lea r8, [rbx + 0x54]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x1d0]
call fcn.1800a2570
lea rcx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 8
cmovae rcx, qword [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbx + 0x48]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x44]
mov dword [rsp + 0x34], eax
sub rsi, qword [rsp + 0x30]
mov r8, qword [rbp + 0x1e8]
cmp r8, 8
jb 0x1800a3374
inc r8
mov rdx, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x1d0]
call fcn.180087400
cmp byte [rbx + 0x19], 0
jne 0x1800a33be
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800a339e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800a33be
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800a3390
jmp 0x1800a33be
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800a33bb
cmp rbx, qword [rax + 0x10]
jne 0x1800a33bb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800a33a8
mov rbx, rax
mov r8, qword [rsp + 0x38]
cmp rbx, r8
jne 0x1800a3301
jmp 0x1800a33d3
mov r8, qword [rsp + 0x38]
mov rax, qword [rbp + 0x208]
cmp rax, 8
jb 0x1800a33fc
lea r8, [rax + 1]
mov rdx, qword [rbp + 0x1f0]
lea rcx, [rbp + 0x1f0]
call fcn.180087400
mov r8, qword [rsp + 0x38]
mov qword [rbp + 0x208], 7
mov qword [rbp + 0x200], r14
mov word [rbp + 0x1f0], r14w
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1800a4060
mov edx, 1
mov r8d, 0x278
mov rcx, qword [rsp + 0x38]
call fcn.180075bb0
nop
mov r8, qword [rbp + 0x228]
cmp r8, 8
jb 0x1800a3464
inc r8
mov rdx, qword [rbp + 0x210]
lea rcx, [rbp + 0x210]
call fcn.180087400
mov qword [rbp + 0x228], 7
mov qword [rbp + 0x220], r14
mov word [rbp + 0x210], r14w
mov r8, qword [rbp + 0x248]
cmp r8, 8
jb 0x1800a34a1
inc r8
mov rdx, qword [rbp + 0x230]
lea rcx, [rbp + 0x230]
call fcn.180087400
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1800b80c0
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret