Function at 0x140006df8
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x14000c098]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor edi, edi
mov dword [rbp - 0x6d], ecx
mov qword [rbp - 0x49], rdi
mov r15, r8
mov rcx, qword gs:[0x60]
mov ebx, edi
mov qword [rbp - 0x51], r8
xor edx, edx
lea r8d, [rdi + 0x6a]
mov qword [rbp - 0x79], rdi
mov r14d, edi
mov qword [rbp - 0x59], rbx
mov rcx, qword [rcx + 0x30]
mov r13d, edi
mov dword [rbp - 0x65], edi
mov dword [rbp - 0x69], edi
mov dword [rbp - 0x71], edi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140006e83
mov ebx, 0xc0000017
jmp 0x14000729a
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x65]
call fcn.140006704
test eax, eax
jns 0x1400071de
lea rdx, str.Device
lea rcx, [rbp - 0x41]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
xor r15d, r15d
mov dword [rbp - 0x19], 0x40
mov eax, 0x30
mov qword [rbp - 0x29], r15
mov dword [rbp - 0x31], eax
lea r8, [rbp - 0x31]
lea rax, [rbp - 0x41]
xorps xmm0, xmm0
lea r12d, [r15 + 1]
mov qword [rbp - 0x21], rax
mov edx, r12d
lea rcx, [rbp - 0x49]
movdqu xmmword [rbp - 0x11], xmm0
call qword [sym.imp.ntdll.dll_NtOpenDirectoryObject]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000722c
mov eax, 0x1000
mov edi, eax
mov r8d, eax
jmp 0x140006f66
mov rcx, qword [rbp - 0x49]
lea rax, [rbp - 0x61]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, edi
mov rdx, r14
mov byte [rsp + 0x20], r12b
mov dword [rbp - 0x61], r15d
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x105
jne 0x140006f97
mov rcx, qword gs:[0x60]
mov r8, r14
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
add edi, 0x1000
mov r8d, edi
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x140006f06
mov ebx, 0xc0000017
jmp 0x14000722c
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x140006fae
cmp ebx, 0x8000001a
jne 0x14000722c
cmp word [r14], r15w
je 0x1400071d7
mov rdi, qword [rbp - 0x79]
lea r12, [r14 + 8]
mov r15, qword [r12 + 0x10]
lea rdx, str.Directory
mov rbx, qword [r12]
mov rcx, r15
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14000703f
lea rdx, str.SymbolicLink
mov rcx, r15
call sub.msvcrt.dll__wcsicmp
xor r15d, r15d
test eax, eax
je 0x140007042
mov r10d, 1
add r12, 0x20
cmp word [r12 - 8], r15w
jne 0x140006fc0
test r13d, r13d
je 0x1400071d7
cmp r13d, r10d
jbe 0x1400071e4
cmp dword [rbp - 0x71], r10d
je 0x1400071e4
mov ecx, dword [rbp - 0x6d]
mov rdx, rsi
call fcn.1400067c0
mov ebx, eax
test eax, eax
jns 0x1400071ce
mov ebx, 0xc0000451
jmp 0x14000722c
xor r15d, r15d
mov r8d, 8
lea rdx, str.Harddisk
mov rcx, rbx
call sub.msvcrt.dll__wcsnicmp
test eax, eax
jne 0x140006ff2
lea rcx, [rbx + 0x10]
movzx eax, word [rcx]
test ax, ax
je 0x140006ff2
mov r8d, 0x30
cmp ax, r8w
jne 0x14000707f
cmp word [rcx + 2], r15w
je 0x1400070a7
jmp 0x140006ff2
mov edx, r15d
sub ax, r8w
cmp ax, 9
ja 0x140006ff2
inc edx
cmp edx, 0xa
ja 0x140006ff2
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x140007082
mov r9, qword [r12]
lea r8, str.Device_sPartition_lu
mov edx, 0x6a
mov qword [rsp + 0x20], r15
mov rcx, rsi
call fcn.1400031e8
and qword [rbp + 3], 0
lea rax, [rbp + 0xf]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x20
lea r8, [rbp - 1]
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov dword [rbp - 1], 1
movups xmmword [rbp + 0xf], xmm0
movzx ebx, r15b
movups xmmword [rbp + 0x1f], xmm0
call fcn.1400064e0
test eax, eax
js 0x140007115
mov al, byte [rbp + 0x27]
cmp al, 0xf
je 0x140006ff2
cmp al, 0x10
mov eax, 1
cmove ebx, eax
test rdi, rdi
je 0x14000713d
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x79]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov qword [rbp - 0x79], r15
lea rdx, [rbp - 0x79]
mov rcx, rsi
call fcn.140006180
mov rdi, qword [rbp - 0x79]
mov r10d, 1
test eax, eax
js 0x140006ff8
cmp dword [rdi], r10d
jne 0x140006ff8
cmp dword [rdi + 4], r15d
jbe 0x140006ff8
mov edx, dword [rdi + 4]
lea rcx, [rdi + 0x48]
mov edi, dword [rbp - 0x71]
mov r8, qword [0x14000a380]
mov r9, qword [0x14000a378]
cmp qword [rcx + 8], r9
jne 0x1400071b6
cmp qword [rcx + 0x10], r8
jne 0x1400071b6
test r13d, r13d
je 0x14000719f
test edi, edi
jne 0x1400071ac
test bl, bl
je 0x1400071ac
mov rax, qword [r12]
mov qword [rbp - 0x59], rax
mov eax, dword [rcx]
mov dword [rbp - 0x69], eax
add r13d, r10d
test bl, bl
je 0x1400071b6
add edi, r10d
add rcx, 0x90
sub rdx, r10
jne 0x140007186
mov dword [rbp - 0x71], edi
mov rdi, qword [rbp - 0x79]
jmp 0x140006ff8
mov rax, qword [rbp - 0x51]
mov qword [rax], rsi
jmp 0x140007253
mov ebx, 0xc0000452
jmp 0x14000722c
mov rdi, qword [rbp - 0x79]
jmp 0x1400071ec
mov r15, qword [rbp - 0x51]
mov rbx, qword [rbp - 0x59]
neg dword [rbp - 0x6d]
mov edx, 0x6a
mov rcx, rsi
sbb eax, eax
and eax, dword [rbp - 0x69]
mov dword [rsp + 0x20], eax
test rbx, rbx
je 0x140007216
mov r9, rbx
lea r8, str.Device_sPartition_lu
call fcn.1400031e8
jmp 0x140007226
mov r9d, dword [rbp - 0x65]
lea r8, str.DeviceHarddisk_luPartition_lu
call fcn.1400031e8
mov ebx, eax
test eax, eax
jns 0x140007250
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rdi, qword [rbp - 0x79]
jmp 0x140007253
mov qword [r15], rsi
test rdi, rdi
je 0x140007277
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x79]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
test r14, r14
je 0x14000729a
mov rcx, qword gs:[0x60]
mov r8, r14
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400072af
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140007cb0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret