Function at 0x14006d244
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r14
lea rbp, [rax - 0x2f8]
sub rsp, 0x3e0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14049e510]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp + 0x230], xmm0
xor r14d, r14d
mov word [rbp + 0x220], r14w
lea rdx, str.SOFTWAREMicrosoftWindows_Advanced_Threat_Protection
lea rcx, [rbp + 0x220]
call fcn.14004d5c4
nop
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp + 0x260], xmm0
mov word [rbp + 0x250], r14w
lea rdx, str.KernelIntegrityCheckReportTime
lea rcx, [rbp + 0x250]
call fcn.14004d5c4
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x220]
lea rcx, [rbp + 0x250]
call fcn.14006e77c
mov rsi, rax
lea rcx, [rbp + 0x250]
call fcn.14004e0f0
nop
lea rcx, [rbp + 0x220]
call fcn.14004e0f0
mov byte [rsp + 0x50], 1
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp + 0x230], xmm0
mov word [rbp + 0x220], r14w
lea rdx, [0x140344690]
lea rcx, [rbp + 0x220]
call fcn.14004d5c4
mov dword [rsp + 0x30], 0x4000000
mov byte [rsp + 0x28], r14b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x14049ea50]
lea r8, [rbp + 0x220]
lea rdx, [0x14049ea90]
lea rcx, [rsp + 0x68]
call fcn.1401d612c
nop
lea rcx, [rbp + 0x220]
call fcn.14004e0f0
or r12, 0xffffffffffffffff
cmp byte [rsp + 0x50], r14b
jne 0x14006d4ba
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp - 0x30]
lea edx, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
mov qword [rsp + 0x58], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14006d4a7
mov ecx, dword [rbp - 0x18]
shl rcx, 0x20
mov eax, dword [rbp - 0x1c]
add rcx, rax
cmp rsi, rcx
jae 0x14006d4a7
call fcn.14004d8a4
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x14006d499
lea rax, str.Find_a_dump_file_that_should_be_reviewed_for_kernel_integrity_failure
mov qword [rbp + 0x270], rax
mov qword [rbp + 0x278], VarR8FromUI1
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
lea rdx, [0x140344690]
mov ecx, r14d
test rax, rax
je 0x14006d455
mov rdx, rax
mov rcx, r12
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x14006d44b
mov qword [rbp + 0x280], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x288], eax
mov dword [rbp + 0x28c], r14d
lea rax, [rbp + 0x250]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403d6a1d]
mov rcx, r10
call fcn.140001158
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.14006e540
nop
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006d4ba
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp + 0x260], xmm0
mov word [rbp + 0x250], r14w
lea rdx, [0x140344690]
lea rcx, [rbp + 0x250]
call fcn.14004d5c4
mov dword [rsp + 0x30], 0x4000000
mov byte [rsp + 0x28], r14b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x14049ea50]
lea r8, [rbp + 0x250]
lea rdx, [0x14049ea70]
lea rcx, [rbp - 0x58]
call fcn.1401d612c
nop
lea rcx, [rbp + 0x250]
call fcn.14004e0f0
cmp byte [rsp + 0x50], r14b
je 0x14006d584
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x14006d7aa
lea rax, str.Failed_to_retrieve_the_dump_directory_from_registry
mov qword [rbp + 0x240], rax
mov qword [rbp + 0x248], 0x34
lea rax, [rbp + 0x220]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403d6c32]
call fcn.140001158
jmp 0x14006d7aa
lea r8, [0x14049ead0]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x78]
call fcn.14006e9e4
nop
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp - 0x30]
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
mov qword [rsp + 0x58], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14006d62b
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x14006d78c
lea rax, str.Dump_file_wasnt_found.
mov qword [rbp + 0x240], rax
mov qword [rbp + 0x248], DispGetParam
lea rax, [rbp + 0x220]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403d69fb]
call fcn.140001158
jmp 0x14006d78c
mov ecx, dword [rbp - 0x18]
shl rcx, 0x20
mov eax, dword [rbp - 0x1c]
add rcx, rax
cmp rsi, rcx
jae 0x14006d777
lea r8, [0x140347380]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x220]
call fcn.14005d2c0
nop
lea rcx, [rbp - 4]
mov r8, r12
inc r8
cmp word [rcx + r8*2], r14w
jne 0x14006d660
lea rdx, [rbp - 4]
mov rcx, rax
call fcn.14005e1e8
mov qword [rbp + 0x260], r14
mov qword [rbp + 0x268], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x250], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x260], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rbp + 0x220]
call fcn.14004e0f0
call fcn.14004d8a4
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x14006d75b
lea rax, str.Found_a_mini_dump_file_that_should_be_reviewed_for_kernel_integrity_failure
mov qword [rbp + 0x2b0], rax
mov qword [rbp + 0x2b8], VarR8FromUI1
lea rax, [rbp + 0x250]
cmp qword [rbp + 0x268], 8
cmovae rax, qword [rbp + 0x250]
lea rdx, [0x140344690]
mov rcx, r14
test rax, rax
je 0x14006d717
mov rdx, rax
mov rcx, r12
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x14006d70d
mov qword [rbp + 0x2c0], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x2c8], eax
mov dword [rbp + 0x2cc], r14d
lea rax, [rbp + 0x290]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403d6a1d]
mov rcx, r10
call fcn.140001158
lea rdx, [rbp + 0x250]
mov rcx, rdi
call fcn.14006e540
nop
lea rcx, [rbp + 0x250]
call fcn.14004e0f0
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14006d62b
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006d7a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x78]
call fcn.14004e0f0
nop
lea rcx, [rbp - 0x58]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x68]
call fcn.14004e0f0
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1402dfdb0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret