Function at 0x14001bc20
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 [0x14003f0b8]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r14d, r14d
mov qword [rbp - 0x51], r8
mov qword [rbp - 0x61], r14
xor edx, edx
mov rcx, qword gs:[0x60]
mov esi, r14d
mov qword [rbp - 0x71], r14
mov r12d, r14d
lea r8d, [r14 + 0x6a]
mov qword [rbp - 0x59], r14
mov r15d, r14d
mov dword [rbp - 0x69], r14d
mov rcx, qword [rcx + 0x30]
mov r13d, r14d
mov dword [rbp - 0x79], r14d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14001bca9
mov ebx, 0xc0000017
jmp 0x14001c0ac
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x69]
call fcn.14001b640
test eax, eax
jns 0x14001c031
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], r14
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 0x14001c0f3
mov eax, 0x1000
mov r14d, eax
mov r8d, eax
jmp 0x14001bd88
mov rcx, qword [rbp - 0x61]
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov r8d, r14d
mov dword [rbp - 0x65], eax
mov rdx, rsi
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 0x14001bdbb
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]
add r14d, 0x1000
mov r8d, r14d
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 rsi, rax
xor eax, eax
test rsi, rsi
jne 0x14001bd28
mov ebx, 0xc0000017
jmp 0x14001c0f3
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x14001bdd2
cmp ebx, 0x8000001a
jne 0x14001bffa
cmp word [rsi], r15w
je 0x14001c027
lea rbx, [rsi + 8]
mov r15, qword [rbx + 0x10]
lea rdx, str.Directory
mov r14, qword [rbx]
mov rcx, r15
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001be58
lea rdx, str.SymbolicLink
mov rcx, r15
call sub.msvcrt.dll__wcsicmp
xor r15d, r15d
test eax, eax
je 0x14001be5b
mov r10d, 1
add rbx, 0x20
cmp word [rbx - 8], r15w
jne 0x14001bde0
test r12d, r12d
je 0x14001c027
cmp r12d, r10d
jbe 0x14001bff3
cmp r13d, r10d
je 0x14001bff3
mov rcx, rdi
call fcn.14001b6fc
mov ebx, eax
test eax, eax
jns 0x14001c05d
mov ebx, 0xc0000451
jmp 0x14001c0f3
xor r15d, r15d
mov r8d, 8
lea rdx, str.Harddisk
mov rcx, r14
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001be10
lea rcx, [r14 + 0x10]
movzx eax, word [rcx]
test ax, ax
je 0x14001be10
mov r8d, 0x30
cmp ax, r8w
jne 0x14001be9f
cmp word [rcx + 2], r15w
je 0x14001bec7
jmp 0x14001be10
mov edx, r15d
sub ax, r8w
cmp ax, 9
ja 0x14001be10
inc edx
cmp edx, 0xa
ja 0x14001be10
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x14001bea2
mov r9, qword [rbx]
lea r8, str.Device_sPartition_lu
mov edx, 0x6a
mov qword [rsp + 0x20], r15
mov rcx, rdi
call fcn.14001b4c8
xor eax, eax
lea rcx, [rbp + 7]
mov qword [rbp - 9], rax
xor edx, edx
mov qword [rbp - 5], rax
lea r8d, [rax + 0x20]
call sub.msvcrt.dll_memset
lea rax, [rbp + 7]
mov dword [rsp + 0x28], 0x20
lea r8, [rbp - 9]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov dword [rbp - 9], 1
mov r14b, r15b
call fcn.14001b3c4
test eax, eax
js 0x14001bf41
mov al, byte [rbp + 0x1f]
cmp al, 0xf
je 0x14001be10
cmp al, 0x10
movzx r14d, r15b
mov eax, 1
cmove r14d, eax
cmp qword [rbp - 0x71], r15
je 0x14001bf6a
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.14001b000
test eax, eax
js 0x14001be10
mov rcx, qword [rbp - 0x71]
mov r10d, 1
cmp dword [rcx], r10d
jne 0x14001be16
mov eax, dword [rcx + 4]
test eax, eax
je 0x14001be16
mov r8, qword [0x140033860]
add rcx, 0x48
mov r9, qword [0x140033858]
mov edx, eax
cmp qword [rcx + 8], r9
jne 0x14001bfe2
cmp qword [rcx + 0x10], r8
jne 0x14001bfe2
test r12d, r12d
je 0x14001bfcb
test r13d, r13d
jne 0x14001bfd7
test r14b, r14b
je 0x14001bfd7
mov rax, qword [rbx]
mov qword [rbp - 0x59], rax
mov eax, dword [rcx]
mov dword [rbp - 0x79], eax
add r12d, r10d
test r14b, r14b
je 0x14001bfe2
add r13d, r10d
add rcx, 0x90
sub rdx, r10
jne 0x14001bfb0
jmp 0x14001be16
mov ebx, r15d
mov r15, qword [rbp - 0x59]
test ebx, ebx
js 0x14001c0f0
test r15, r15
je 0x14001c031
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.14001b4c8
jmp 0x14001c050
mov ebx, 0xc0000452
jmp 0x14001c0f3
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.14001b4c8
xor r15d, r15d
mov ebx, eax
test eax, eax
js 0x14001c0f3
mov rax, qword [rbp - 0x51]
mov qword [rax], rdi
cmp qword [rbp - 0x71], r15
je 0x14001c089
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 rsi, rsi
je 0x14001c0ac
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 rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14001c0c1
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140026f10
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
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]
jmp 0x14001c064