Function at 0x14001ffe4
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 [0x14004f068]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor esi, esi
mov qword [rbp - 0x51], r8
mov qword [rbp - 0x61], rsi
mov ebx, edx
mov rcx, qword gs:[0x60]
xor edx, edx
mov r14d, esi
mov qword [rbp - 0x71], rsi
lea r8d, [rsi + 0x6a]
mov qword [rbp - 0x59], rsi
mov r12d, esi
mov dword [rbp - 0x69], esi
mov rcx, qword [rcx + 0x30]
mov r15d, esi
mov dword [rbp - 0x79], esi
mov r13d, esi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14002006c
mov ebx, 0xc0000017
jmp 0x140020478
mov eax, 1
test al, bl
je 0x14002008a
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x69]
call fcn.14001fa08
test eax, eax
jns 0x1400203d7
lea rdx, str.Device
lea rcx, [rbp - 0x49]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
mov eax, 0x30
mov qword [rbp - 0x31], rsi
mov dword [rbp - 0x39], eax
lea r8, [rbp - 0x39]
lea rax, [rbp - 0x49]
mov dword [rbp - 0x21], 0x40
xorps xmm0, xmm0
mov qword [rbp - 0x29], rax
mov edx, 1
lea rcx, [rbp - 0x61]
movdqu xmmword [rbp - 0x19], xmm0
call qword [sym.imp.ntdll.dll_NtOpenDirectoryObject]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140020412
mov eax, 0x1000
mov esi, eax
mov r8d, eax
jmp 0x140020152
mov rcx, qword [rbp - 0x61]
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 0x140020185
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 0x1400200f3
mov ebx, 0xc0000017
jmp 0x140020412
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x14002019c
cmp ebx, 0x8000001a
jne 0x1400203ae
cmp word [r14], r15w
je 0x140020408
lea rsi, [r14 + 8]
mov r15, qword [rsi + 0x10]
lea rdx, str.Directory
mov rbx, qword [rsi]
mov rcx, r15
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x140020222
lea rdx, str.SymbolicLink
mov rcx, r15
call sub.msvcrt.dll__wcsicmp
xor r15d, r15d
test eax, eax
je 0x140020225
mov r10d, 1
add rsi, 0x20
cmp word [rsi - 8], r15w
jne 0x1400201aa
test r12d, r12d
je 0x140020408
cmp r12d, r10d
jbe 0x1400203a7
cmp r13d, r10d
je 0x1400203a7
mov rcx, rdi
call fcn.14001fac4
mov ebx, eax
test eax, eax
jns 0x1400203ff
mov ebx, 0xc0000451
jmp 0x140020412
xor r15d, r15d
mov r8d, 8
lea rdx, str.Harddisk
mov rcx, rbx
call sub.msvcrt.dll__wcsnicmp
test eax, eax
jne 0x1400201da
lea rcx, [rbx + 0x10]
movzx eax, word [rcx]
test ax, ax
je 0x1400201da
mov r8d, 0x30
cmp ax, r8w
jne 0x140020262
cmp word [rcx + 2], r15w
je 0x14002028a
jmp 0x1400201da
mov edx, r15d
sub ax, r8w
cmp ax, 9
ja 0x1400201da
inc edx
cmp edx, 0xa
ja 0x1400201da
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x140020265
mov r9, qword [rsi]
lea r8, str.Device_sPartition_lu
mov edx, 0x6a
mov qword [rsp + 0x20], r15
mov rcx, rdi
call fcn.14000851c
and qword [rbp - 5], 0
lea rax, [rbp + 7]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x20
lea r8, [rbp - 9]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov dword [rbp - 9], 1
movups xmmword [rbp + 7], xmm0
movzx ebx, r15b
movups xmmword [rbp + 0x17], xmm0
call fcn.14001f7e4
test eax, eax
js 0x1400202f7
mov al, byte [rbp + 0x1f]
cmp al, 0xf
je 0x1400201da
cmp al, 0x10
mov eax, 1
cmove ebx, eax
cmp qword [rbp - 0x71], r15
je 0x140020320
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], r15
lea rdx, [rbp - 0x71]
mov rcx, rdi
call fcn.14001f2e0
test eax, eax
js 0x1400201da
mov rax, qword [rbp - 0x71]
mov r10d, 1
cmp dword [rax], r10d
jne 0x1400201e0
cmp dword [rax + 4], r15d
jbe 0x1400201e0
mov edx, dword [rax + 4]
lea rcx, [rax + 0x48]
mov r8, qword [0x14003c498]
mov r9, qword [0x14003c490]
cmp qword [rcx + 8], r9
jne 0x140020396
cmp qword [rcx + 0x10], r8
jne 0x140020396
test r12d, r12d
je 0x140020380
test r13d, r13d
jne 0x14002038c
test bl, bl
je 0x14002038c
mov rax, qword [rsi]
mov qword [rbp - 0x59], rax
mov eax, dword [rcx]
mov dword [rbp - 0x79], eax
add r12d, r10d
test bl, bl
je 0x140020396
add r13d, r10d
add rcx, 0x90
sub rdx, r10
jne 0x140020366
jmp 0x1400201e0
mov ebx, r15d
mov r15, qword [rbp - 0x59]
test ebx, ebx
js 0x14002040f
test r15, r15
je 0x1400203d7
mov eax, dword [rbp - 0x79]
lea r8, str.Device_sPartition_lu
mov r9, r15
mov dword [rsp + 0x20], eax
mov edx, 0x6a
mov rcx, rdi
call fcn.14000851c
jmp 0x1400203f6
mov eax, dword [rbp - 0x79]
lea r8, str.DeviceHarddisk_luPartition_lu
mov r9d, dword [rbp - 0x69]
mov edx, 0x6a
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14000851c
xor r15d, r15d
mov ebx, eax
test eax, eax
js 0x140020412
mov rax, qword [rbp - 0x51]
mov qword [rax], rdi
jmp 0x140020430
mov ebx, 0xc0000452
jmp 0x140020412
xor r15d, r15d
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]
cmp qword [rbp - 0x71], r15
je 0x140020455
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 0x140020478
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 - 0x61]
test rcx, rcx
je 0x14002048d
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140030000
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