Function at 0x14006f0fc
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x2f8]
sub rsp, 0x3d0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403f04b0]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x40]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
lea rdx, str.SOFTWAREMicrosoftWindows_Advanced_Threat_Protection
lea rcx, [rbp + 0x250]
call fcn.140048750
nop
lea rdx, str.KernelIntegrityCheckReportTime
lea rcx, [rbp + 0x210]
call fcn.140048750
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x250]
lea rcx, [rbp + 0x210]
call fcn.1401b5d3c
mov rsi, rax
lea rcx, [rbp + 0x210]
call fcn.1400492c0
nop
lea rcx, [rbp + 0x250]
call fcn.1400492c0
mov r12d, 1
mov byte [rsp + 0x40], r12b
lea rdx, [0x1402cb810]
lea rcx, [rbp + 0x250]
call fcn.140048750
or dword [rsp + 0x30], 0xffffffff
xor r14d, r14d
mov byte [rsp + 0x28], r14b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1403f1670]
lea r8, [rbp + 0x250]
lea rdx, [0x1403f16b0]
lea rcx, [rsp + 0x58]
call fcn.1401b65ac
nop
lea rcx, [rbp + 0x250]
call fcn.1400492c0
or r13, 0xffffffffffffffff
cmp byte [rsp + 0x40], r14b
jne 0x14006f32d
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp - 0x40]
mov edx, r12d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
mov rbx, rax
mov qword [rsp + 0x48], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14006f31a
mov ecx, dword [rbp - 0x28]
shl rcx, 0x20
mov eax, dword [rbp - 0x2c]
add rcx, rax
cmp rsi, rcx
jae 0x14006f31a
call fcn.140048a14
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x14006f30c
lea rax, str.Find_a_dump_file_that_should_be_reviewed_for_kernel_integrity_failure
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], VarR8FromUI1
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rax, qword [rsp + 0x58]
lea rdx, [0x1402cb810]
mov ecx, r14d
test rax, rax
je 0x14006f2c8
mov rdx, rax
mov rcx, r13
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x14006f2be
mov qword [rbp + 0x240], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x248], eax
mov dword [rbp + 0x24c], r14d
lea rax, [rbp + 0x210]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034699c]
mov rcx, r10
call fcn.140001078
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400615d0
nop
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006f32d
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
lea rdx, [0x1402cb810]
lea rcx, [rbp + 0x210]
call fcn.140048750
or dword [rsp + 0x30], 0xffffffff
mov byte [rsp + 0x28], r14b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1403f1670]
lea r8, [rbp + 0x210]
lea rdx, [0x1403f1690]
lea rcx, [rbp - 0x68]
call fcn.1401b65ac
nop
lea rcx, [rbp + 0x210]
call fcn.1400492c0
cmp byte [rsp + 0x40], r14b
je 0x14006f3dc
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x14006f615
lea rax, str.Failed_to_retrieve_the_dump_directory_from_registry
mov qword [rbp + 0x270], rax
mov qword [rbp + 0x278], 0x34
lea rax, [rbp + 0x250]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140346bca]
call fcn.140001078
jmp 0x14006f615
lea r8, [0x1403f16f0]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400702cc
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp - 0x40]
mov edx, r12d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
mov rbx, rax
mov qword [rsp + 0x48], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14006f485
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x14006f5f6
lea rax, str.Dump_file_wasnt_found.
mov qword [rbp + 0x270], rax
mov qword [rbp + 0x278], SetCompressorInformation
lea rax, [rbp + 0x250]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034690f]
call fcn.140001078
jmp 0x14006f5f6
lea r12, str.Found_a_mini_dump_file_that_should_be_reviewed_for_kernel_integrity_failure
mov ecx, dword [rbp - 0x28]
shl rcx, 0x20
mov eax, dword [rbp - 0x2c]
add rcx, rax
cmp rsi, rcx
jae 0x14006f5e1
lea r8, [0x1402cc570]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x250]
call fcn.1400547b0
nop
lea rcx, [rbp - 0x14]
mov r8, r13
inc r8
cmp word [rcx + r8*2], r14w
jne 0x14006f4c1
lea rdx, [rbp - 0x14]
mov rcx, rax
call fcn.140054efc
mov qword [rbp + 0x220], r14
mov qword [rbp + 0x228], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x210], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x220], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rbp + 0x250]
call fcn.1400492c0
call fcn.140048a14
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x14006f5c5
mov rax, r13
inc rax
cmp byte [r12 + rax], r14b
jne 0x14006f52c
mov qword [rbp + 0x2a0], r12
inc eax
mov dword [rbp + 0x2a8], eax
mov dword [rbp + 0x2ac], r14d
lea rcx, [rbp + 0x210]
cmp qword [rbp + 0x228], 8
cmovae rcx, qword [rbp + 0x210]
lea rdx, [0x1402cb810]
mov rax, r14
test rcx, rcx
je 0x14006f581
mov rdx, rcx
mov rax, r13
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14006f577
mov qword [rbp + 0x2b0], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x2b8], eax
mov dword [rbp + 0x2bc], r14d
lea rax, [rbp + 0x280]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034699c]
mov rcx, r10
call fcn.140001078
lea rdx, [rbp + 0x210]
mov rcx, rdi
call fcn.1400615d0
nop
lea rcx, [rbp + 0x210]
call fcn.1400492c0
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x14006f48c
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006f60a
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop
lea rcx, [rsp + 0x78]
call fcn.1400492c0
nop
lea rcx, [rbp - 0x68]
call fcn.1400492c0
nop
lea rcx, [rsp + 0x58]
call fcn.1400492c0
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14027a710
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret