Function at 0x1400d3ddc
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x818]
sub rsp, 0x8e0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401e0fc0]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rbx, rdx
mov r14, rcx
mov rax, qword [rcx]
mov qword [rsp + 0x40], rax
xor edi, edi
mov byte [rsp + 0x48], dil
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x1400d439b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400b5e20.0]
mov byte [rsp + 0x48], 1
lea r12, [r14 + 0x10]
lea r8, [0x14017dc90]
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.1400131e8
nop
lea rdx, [rbx + 0x10]
mov rcx, rax
call fcn.1400155ec
mov qword [rbp + 0x2c0], rdi
mov qword [rbp + 0x2c8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2b0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2c0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x60]
call fcn.140006970
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x290]
call fcn.140098140
nop
lea r8, [rbp + 0x2b0]
lea rdx, [rbp + 0x2e0]
lea rcx, [r14 + 0x30]
call fcn.1400d43c0
nop
mov rbx, qword [rbx]
mov byte [rsp + 0x30], dil
mov r8, qword [rbp + 0x2e0]
mov rax, qword [r8]
movsxd rdx, dword [rax + 4]
mov rax, qword [rdx + r8 + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x1400b5e20.0]
mov rdi, rax
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 8]
call qword [case.0x1400b5e20.0]
mov r15, rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
mov rbx, rax
mov rsi, rdi
sub rsi, rax
cmp rax, rdi
mov eax, 0
cmova rsi, rax
test rsi, rsi
je 0x1400d3f5a
mov dl, byte [rbx]
lea rcx, [rsp + 0x60]
call fcn.140039928
inc rbx
mov rax, rbx
sub rax, r15
cmp rax, rsi
jne 0x1400d3f40
mov r8, r12
lea rdx, [rbp + 0x2d0]
lea rcx, [r14 + 0x30]
call fcn.1400d43c0
nop
xor r15d, r15d
mov byte [rsp + 0x30], r15b
mov rdx, qword [rbp + 0x2d0]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rdx + 0x48]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 0x10
cmovae rcx, qword [rbp + 0x290]
mov rax, qword [rbp + 0x2a0]
add rax, rcx
lea rdi, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 0x10
cmovae rdi, qword [rbp + 0x290]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x70], xmm0
mov rbx, rdi
mov rsi, rax
sub rsi, rdi
cmp rdi, rax
cmova rsi, r15
test rsi, rsi
je 0x1400d4000
mov dl, byte [rbx]
lea rcx, [rsp + 0x70]
call fcn.140039928
inc rbx
mov rax, rbx
sub rax, rdi
cmp rax, rsi
jne 0x1400d3fe6
lea r8, [0x14017de38]
mov rdx, r12
lea rcx, [rbp - 0x20]
call fcn.1400131e8
mov rbx, rax
mov rdx, qword [r14 + 0x40]
lea rcx, [rbp - 0x80]
call fcn.14000da98
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400ef18c
nop
mov r8, rbx
lea rdx, [rbp + 0x560]
mov rcx, rax
call fcn.1400ef038
nop
lea rcx, [rbp - 0x40]
call fcn.140006970
nop
lea rcx, [rbp - 0x20]
call fcn.140006970
mov rax, qword [rbp + 0x560]
mov qword [rbp + 0x2f0], rax
or rsi, 0xffffffffffffffff
mov qword [rbp + 0x560], rsi
lea rax, [rbp + 0x2f8]
lea rcx, [rbp + 0x568]
lea edx, [rsi + 5]
lea r8d, [rdx + 0x7c]
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
add rax, r8
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
add rcx, r8
sub rdx, 1
jne 0x1400d4085
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 [rbp + 0x7b8]
movdqu xmmword [rbp + 0x548], xmm1
mov r8d, 0x268
lea rcx, [rbp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x278], r15
mov qword [rbp + 0x280], r15
mov rcx, qword [rbp + 0x2f0]
cmp rcx, rsi
jae 0x1400d423a
lea r8, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 8
cmovae r8, qword [rbp + 0x2b0]
mov dword [rsp + 0x20], 1
mov r9d, dword [rbp + 0x2c0]
mov edx, dword [rbp + 0x550]
mov rcx, qword [rbp + 0x548]
call qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
je 0x1400d41a3
lea r8, [rbp + 0x548]
mov rdx, qword [r14 + 0x58]
lea rcx, [rbp]
call fcn.1400e78bc
cmp qword [rax + 0x18], 8
jb 0x1400d4191
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp]
call fcn.140006970
lea rdx, [rbp + 0x2f8]
mov rcx, qword [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400d4203
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1400d43a1
mov rdi, qword [rbp + 0x2f0]
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400d41f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rsi
mov qword [rbp + 0x2f0], rcx
jmp 0x1400d412c
lea rax, [rbp + 0x324]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x324]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r15w
jne 0x1400d4219
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rbp + 0x548], xmm0
jmp 0x1400d4125
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400d424b
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rcx, qword [rbp + 0x560]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400d4263
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rbx, qword [rbp + 0x2d8]
test rbx, rbx
je 0x1400d42a5
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1400d42a5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400b5e20.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1400d42a5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400b5e20.0]
nop
mov rbx, qword [rbp + 0x2e8]
test rbx, rbx
je 0x1400d42e7
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1400d42e7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400b5e20.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1400d42e7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400b5e20.0]
nop
mov rdx, qword [rbp + 0x2a8]
cmp rdx, 0x10
jb 0x1400d432b
inc rdx
mov rcx, qword [rbp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d4326
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d4326
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140110004
movdqa xmm0, xmmword [0x14017fbc0]
movdqu xmmword [rbp + 0x2a0], xmm0
mov byte [rbp + 0x290], r15b
lea rcx, [rbp + 0x2b0]
call fcn.140006970
nop
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x78]
test rcx, rcx
je 0x1400d4395
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400b5e20.0]
nop
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.14010fb20
mov rbx, qword [rsp + 0x930]
add rsp, 0x8e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140029930
nop
call fcn.140029930
nop
mov rcx, qword [rbp + 0x818]
lea r8, str.onecore_amcore_smartscreencommonwindows_srcdirectory.cpp
mov edx, 0x24
call fcn.1400290d4
int3