Function at 0x1400789ac
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 [0x1405420e0]
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 [0x140420310]
movdqu xmmword [rbp + 0x270], xmm0
xor r14d, r14d
mov word [rbp + 0x260], r14w
lea rdx, str.SOFTWAREMicrosoftWindows_Advanced_Threat_Protection
lea rcx, [rbp + 0x260]
call fcn.140055574
nop
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp + 0x230], xmm0
mov word [rbp + 0x220], r14w
lea rdx, str.KernelIntegrityCheckReportTime
lea rcx, [rbp + 0x220]
call fcn.140055574
mov qword [rsp + 0x20], 0xffffffff80000002
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x260]
lea rcx, [rbp + 0x220]
call fcn.14007a1ac
mov rsi, rax
lea rcx, [rbp + 0x220]
call fcn.140055f70
nop
lea rcx, [rbp + 0x260]
call fcn.140055f70
mov byte [rsp + 0x50], 1
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp + 0x270], xmm0
mov word [rbp + 0x260], r14w
lea rdx, [0x1403cb630]
lea rcx, [rbp + 0x260]
call fcn.140055574
mov qword [rsp + 0x38], 0xffffffff80000002
mov dword [rsp + 0x30], 0x4000000
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140542580]
lea r8, [rbp + 0x260]
lea rdx, [0x1405425c0]
lea rcx, [rsp + 0x68]
call fcn.14020500c
nop
lea rcx, [rbp + 0x260]
call fcn.140055f70
or r12, 0xffffffffffffffff
cmp byte [rsp + 0x50], r14b
jne 0x140078c5c
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]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x58], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140078c43
mov ecx, dword [rbp - 0x18]
shl rcx, 0x20
mov eax, dword [rbp - 0x1c]
add rcx, rax
cmp rsi, rcx
jae 0x140078c43
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x140078c14
lea rax, str.Find_a_dump_file_that_should_be_reviewed_for_kernel_integrity_failure
mov qword [rbp + 0x240], rax
mov qword [rbp + 0x248], VarR8FromUI1
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
lea rdx, [0x1403cb630]
mov ecx, r14d
test rax, rax
je 0x140078bd0
mov rdx, rax
mov rcx, r12
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x140078bc6
mov qword [rbp + 0x250], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x258], eax
mov dword [rbp + 0x25c], r14d
lea rax, [rbp + 0x220]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1404798e5]
mov rcx, r10
call fcn.140001208
mov rax, qword [rdi + 8]
cmp qword [rdi + 0x10], rax
je 0x140078c32
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.14005da24
add qword [rdi + 8], 0x20
jmp 0x140078c43
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, rdi
call fcn.14007a758
nop
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140078c5c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp + 0x230], xmm0
mov word [rbp + 0x220], r14w
lea rdx, [0x1403cb630]
lea rcx, [rbp + 0x220]
call fcn.140055574
mov qword [rsp + 0x38], 0xffffffff80000002
mov dword [rsp + 0x30], 0x4000000
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140542580]
lea r8, [rbp + 0x220]
lea rdx, [0x1405425a0]
lea rcx, [rbp - 0x58]
call fcn.14020500c
nop
lea rcx, [rbp + 0x220]
call fcn.140055f70
cmp byte [rsp + 0x50], r14b
je 0x140078d2a
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x140078f85
lea rax, str.Failed_to_retrieve_the_dump_directory_from_registry
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], 0x34
lea rax, [rbp + 0x260]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140479205]
call fcn.140001208
jmp 0x140078f85
lea r8, [0x140542600]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x78]
call fcn.14007a424
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]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x58], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x140078dd7
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x140078f61
lea rax, str.Dump_file_wasnt_found.
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], CreateCompressor
lea rax, [rbp + 0x260]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1404797b4]
call fcn.140001208
jmp 0x140078f61
mov ecx, dword [rbp - 0x18]
shl rcx, 0x20
mov eax, dword [rbp - 0x1c]
add rcx, rax
cmp rsi, rcx
jae 0x140078f46
lea r8, [0x1403ce9d8]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x260]
call fcn.140067914
nop
lea rcx, [rbp - 4]
mov r8, r12
inc r8
cmp word [rcx + r8*2], r14w
jne 0x140078e0c
lea rdx, [rbp - 4]
mov rcx, rax
call fcn.140068814
mov qword [rbp + 0x230], r14
mov qword [rbp + 0x238], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x220], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x230], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rbp + 0x260]
call fcn.140055f70
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x140078f07
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 + 0x220]
cmp qword [rbp + 0x238], 8
cmovae rax, qword [rbp + 0x220]
lea rdx, [0x1403cb630]
mov rcx, r14
test rax, rax
je 0x140078ec3
mov rdx, rax
mov rcx, r12
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x140078eb9
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, [0x1404798e5]
mov rcx, r10
call fcn.140001208
mov rax, qword [rdi + 8]
cmp qword [rdi + 0x10], rax
je 0x140078f27
lea rdx, [rbp + 0x220]
mov rcx, rax
call fcn.14005da24
add qword [rdi + 8], 0x20
jmp 0x140078f3a
lea r8, [rbp + 0x220]
mov rdx, rax
mov rcx, rdi
call fcn.14007a758
nop
lea rcx, [rbp + 0x220]
call fcn.140055f70
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140078dd7
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140078f7b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x78]
call fcn.140055f70
nop
lea rcx, [rbp - 0x58]
call fcn.140055f70
nop
lea rcx, [rsp + 0x68]
call fcn.140055f70
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140356560
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