Function at 0x140006eb4
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 [0x140010098]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor eax, eax
mov dword [rbp - 0x61], ecx
mov qword [rbp - 0x59], rax
mov ebx, ecx
mov rcx, qword gs:[0x60]
mov rsi, r8
mov qword [rbp - 0x49], r8
xor edx, edx
lea r8d, [rax + 0x6a]
mov qword [rbp - 0x71], rax
mov r14d, eax
mov qword [rbp - 0x51], rax
mov rcx, qword [rcx + 0x30]
mov r12d, eax
mov r15d, eax
mov dword [rbp - 0x69], eax
mov dword [rbp - 0x79], eax
mov r13d, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140006f42
mov ebx, 0xc0000017
jmp 0x14000733e
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x69]
call fcn.140006830
test eax, eax
jns 0x14000728b
lea rdx, str.Device
lea rcx, [rbp - 0x41]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
xor esi, esi
mov dword [rbp - 0x19], 0x40
mov eax, 0x30
mov qword [rbp - 0x29], rsi
mov dword [rbp - 0x31], eax
lea r8, [rbp - 0x31]
lea rax, [rbp - 0x41]
xorps xmm0, xmm0
lea edx, [rsi + 1]
mov qword [rbp - 0x21], rax
lea rcx, [rbp - 0x59]
movdqu xmmword [rbp - 0x11], xmm0
call qword [sym.imp.ntdll.dll_NtOpenDirectoryObject]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x1400072d1
mov eax, 0x1000
mov esi, eax
mov r8d, eax
jmp 0x14000701f
mov rcx, qword [rbp - 0x59]
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov r8d, esi
mov dword [rbp - 0x65], eax
mov rdx, r14
lea rax, [rbp - 0x65]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x105
jne 0x140007052
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 esi, 0x1000
mov r8d, esi
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
xor eax, eax
test r14, r14
jne 0x140006fc0
mov ebx, 0xc0000017
jmp 0x1400072d1
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x140007069
cmp ebx, 0x8000001a
jne 0x140007280
xor eax, eax
cmp word [r14], ax
je 0x1400072b4
lea r15, [r14 + 8]
mov rsi, qword [r15 + 0x10]
lea rdx, str.Directory
mov rbx, qword [r15]
mov rcx, rsi
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x1400070f0
lea rdx, str.SymbolicLink
mov rcx, rsi
call sub.msvcrt.dll__wcsicmp
xor esi, esi
test eax, eax
je 0x1400070f2
mov r10d, 1
add r15, 0x20
cmp word [r15 - 8], si
jne 0x140007079
test r12d, r12d
je 0x1400072b4
cmp r12d, r10d
jbe 0x14000727a
cmp r13d, r10d
je 0x14000727a
mov rcx, rdi
call fcn.1400068ec
mov ebx, eax
test eax, eax
jns 0x140007271
mov ebx, 0xc0000451
jmp 0x1400072d1
xor esi, esi
mov r8d, 8
lea rdx, str.Harddisk
mov rcx, rbx
call sub.msvcrt.dll__wcsnicmp
test eax, eax
jne 0x1400070a8
lea rcx, [rbx + 0x10]
movzx eax, word [rcx]
test ax, ax
je 0x1400070a8
mov r8d, 0x30
cmp ax, r8w
jne 0x14000712e
cmp word [rcx + 2], si
je 0x140007155
jmp 0x1400070a8
mov edx, esi
sub ax, r8w
cmp ax, 9
ja 0x1400070a8
inc edx
cmp edx, 0xa
ja 0x1400070a8
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x140007130
mov r9, qword [r15]
lea r8, str.Device_sPartition_lu
mov edx, 0x6a
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call fcn.1400031b4
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, rdi
mov dword [rbp - 1], 1
movups xmmword [rbp + 0xf], xmm0
movzx ebx, sil
movups xmmword [rbp + 0x1f], xmm0
call fcn.14000660c
test eax, eax
js 0x1400071c2
mov al, byte [rbp + 0x27]
cmp al, 0xf
je 0x1400070a8
cmp al, 0x10
mov eax, 1
cmove ebx, eax
cmp qword [rbp - 0x71], rsi
je 0x1400071eb
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x71]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov qword [rbp - 0x71], rsi
lea rdx, [rbp - 0x71]
mov rcx, rdi
call fcn.1400062ac
test eax, eax
js 0x1400070a8
mov rax, qword [rbp - 0x71]
mov r10d, 1
cmp dword [rax], r10d
jne 0x1400070ae
cmp dword [rax + 4], esi
jbe 0x1400070ae
mov edx, dword [rax + 4]
lea rcx, [rax + 0x48]
mov r8, qword [0x14000e640]
mov r9, qword [0x14000e638]
cmp qword [rcx + 8], r9
jne 0x140007260
cmp qword [rcx + 0x10], r8
jne 0x140007260
test r12d, r12d
je 0x14000724a
test r13d, r13d
jne 0x140007256
test bl, bl
je 0x140007256
mov rax, qword [r15]
mov qword [rbp - 0x51], rax
mov eax, dword [rcx]
mov dword [rbp - 0x79], eax
add r12d, r10d
test bl, bl
je 0x140007260
add r13d, r10d
add rcx, 0x90
sub rdx, r10
jne 0x140007230
jmp 0x1400070ae
mov rax, qword [rbp - 0x49]
mov qword [rax], rdi
jmp 0x1400072f4
mov r15, qword [rbp - 0x51]
mov ebx, esi
test ebx, ebx
js 0x1400072d1
mov rsi, qword [rbp - 0x49]
mov ebx, dword [rbp - 0x61]
neg ebx
mov edx, 0x6a
mov rcx, rdi
sbb eax, eax
and eax, dword [rbp - 0x79]
mov dword [rsp + 0x20], eax
test r15, r15
je 0x1400072bb
mov r9, r15
lea r8, str.Device_sPartition_lu
call fcn.1400031b4
jmp 0x1400072cb
mov ebx, 0xc0000452
jmp 0x1400072d1
mov r9d, dword [rbp - 0x69]
lea r8, str.DeviceHarddisk_luPartition_lu
call fcn.1400031b4
mov ebx, eax
test eax, eax
jns 0x1400072f1
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
jmp 0x1400072f4
mov qword [rsi], rdi
xor edi, edi
cmp qword [rbp - 0x71], rdi
je 0x14000731b
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x71]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
test r14, r14
je 0x14000733e
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 - 0x59]
test rcx, rcx
je 0x140007353
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140007d40
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