Function at 0x14017d750
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x3e8
mov qword [rsp + 0x350], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x3d8], rax
mov dword [rsp + 0x348], 0
mov dword [rsp + 0x280], 0
lea rcx, [rsp + 0x20]
call fcn.140002de0
nop
lea rax, [rsp + 0x290]
mov qword [rsp + 0x298], rax
mov rdx, qword [rsp + 0x3f8]
mov rcx, qword [rsp + 0x298]
call fcn.140001430
mov qword [rsp + 0x358], rax
mov rcx, qword [rsp + 0x358]
call fcn.1401761e0
mov byte [rsp + 0x284], al
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
jne 0x14017d845
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 2
test eax, eax
je 0x14017d81c
movzx eax, byte [rsp + 0x284]
test eax, eax
jne 0x14017d845
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 4
test eax, eax
je 0x14017d91a
movzx eax, byte [rsp + 0x284]
test eax, eax
jne 0x14017d91a
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x2a8], rax
mov rdx, qword [rsp + 0x3f8]
mov rcx, qword [rsp + 0x2a8]
call fcn.140001430
mov qword [rsp + 0x360], rax
movzx r8d, byte [rsp + 0x284]
mov rdx, qword [rsp + 0x360]
mov rcx, qword [rsp + 0x3f0]
call qword [rsp + 0x400]
mov dword [rsp + 0x280], eax
cmp dword [rsp + 0x280], 0
je 0x14017d8d5
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2b0], eax
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001490
mov eax, dword [rsp + 0x2b0]
jmp 0x14017df2b
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x8d]
test eax, eax
jne 0x14017d91a
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2b4], eax
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001490
mov eax, dword [rsp + 0x2b4]
jmp 0x14017df2b
mov r8d, 1
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x3f8]
call fcn.140006a60
mov qword [rsp + 0x368], rax
mov rax, qword [rsp + 0x368]
mov qword [rsp + 0x370], rax
mov eax, dword [rsp + 0x348]
or eax, 1
mov dword [rsp + 0x348], eax
mov dx, 0x3a
mov rcx, qword [rsp + 0x370]
call fcn.140012170
movzx eax, al
test eax, eax
je 0x14017d9d6
mov rcx, qword [rsp + 0x3f8]
call fcn.140001a40
mov r8d, eax
sub r8d, 3
mov r9d, 1
lea rdx, [rsp + 0x2c8]
mov rcx, qword [rsp + 0x3f8]
call fcn.1400022a0
mov qword [rsp + 0x378], rax
mov eax, dword [rsp + 0x348]
or eax, 2
mov dword [rsp + 0x348], eax
mov dx, VarDateFromDisp
mov rcx, qword [rsp + 0x378]
call fcn.140012170
movzx eax, al
test eax, eax
jne 0x14017d9f5
mov rcx, qword [rsp + 0x3f8]
call fcn.140001a40
cmp eax, 2
je 0x14017d9f5
mov dword [rsp + 0x380], 0
jmp 0x14017da00
mov dword [rsp + 0x380], 1
movzx eax, byte [rsp + 0x380]
mov byte [rsp + 0x2b8], al
mov eax, dword [rsp + 0x348]
and eax, 2
test eax, eax
je 0x14017da33
and dword [rsp + 0x348], 0xfffffffd
lea rcx, [rsp + 0x2c8]
call fcn.140001490
nop
mov eax, dword [rsp + 0x348]
and eax, 1
test eax, eax
je 0x14017da56
and dword [rsp + 0x348], 0xfffffffe
lea rcx, [rsp + 0x2c0]
call fcn.140001490
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x14017db3b
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x14017dac3
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x2d8], rax
lea rdx, str.You_just_accessed_permissions_on_a_file_system_root__not_on_the_root_of_the_drive._These_very_special_permissions_do_not_persist_a_reboot_and_cannot_be_displayed_in_Explorer._You_probably_want_to_add_a_backslash_to_the_path__e.g.:_C:.
mov rcx, qword [rsp + 0x2d8]
call fcn.140002100
mov qword [rsp + 0x388], rax
mov r8, qword [rsp + 0x388]
mov edx, 2
mov rcx, qword [rsp + 0x3f0]
call fcn.140179550
jmp 0x14017db3b
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
lea rdx, str.You_just_set_permissions_on_a_file_system_root__not_on_the_root_of_the_drive._These_very_special_permissions_do_not_persist_a_reboot_and_cannot_be_displayed_in_Explorer._You_probably_want_to_add_a_backslash_to_the_path__e.g.:_C:._Please_note_that_file_system_roots_cannot_be_recursed.
mov rcx, qword [rsp + 0x2e8]
call fcn.140002100
mov qword [rsp + 0x390], rax
mov r8, qword [rsp + 0x390]
mov edx, 2
mov rcx, qword [rsp + 0x3f0]
call fcn.140179550
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2f0], eax
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001490
mov eax, dword [rsp + 0x2f0]
jmp 0x14017df2b
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x14017db82
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2f4], eax
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001490
mov eax, dword [rsp + 0x2f4]
jmp 0x14017df2b
mov dx, VarDateFromDisp
mov rcx, qword [rsp + 0x3f8]
call fcn.140012070
lea r8, [0x140243830]
mov rdx, qword [rsp + 0x3f8]
lea rcx, [rsp + 0x2f8]
call fcn.1400010b0
mov qword [rsp + 0x398], rax
mov rax, qword [rsp + 0x398]
mov qword [rsp + 0x3a0], rax
mov rdx, qword [rsp + 0x3a0]
lea rcx, [rsp + 0x20]
call fcn.140002db0
nop
lea rcx, [rsp + 0x2f8]
call fcn.140001490
lea rcx, [rsp + 0x20]
call fcn.14000f8f0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x288], rax
cmp qword [rsp + 0x288], 0xffffffffffffffff
jne 0x14017dcb3
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x14017dc6c
mov rax, qword [rsp + 0x3f0]
mov dword [rax + 0x88], 0
mov dword [rsp + 0x300], 0
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001490
mov eax, dword [rsp + 0x300]
jmp 0x14017df2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x3f0]
mov dword [rax + 0x88], r11d
mov dword [rsp + 0x304], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001490
mov eax, dword [rsp + 0x304]
jmp 0x14017df2b
lea rdx, [0x140242014]
lea rcx, [rsp + 0x5c]
call fcn.1400ab100
test eax, eax
je 0x14017dcdd
lea rdx, [0x140243408]
lea rcx, [rsp + 0x5c]
call fcn.1400ab100
test eax, eax
jne 0x14017dce2
jmp 0x14017ded5
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x14017ddef
mov eax, dword [rsp + 0x30]
and eax, 0x400
test eax, eax
je 0x14017dd17
cmp dword [rsp + 0x54], 0xa0000003
je 0x14017dd12
cmp dword [rsp + 0x54], 0xa000000c
jne 0x14017dd17
jmp 0x14017ded5
lea rax, [rsp + 0x308]
mov qword [rsp + 0x310], rax
lea r8, [0x14024234c]
mov rdx, qword [rsp + 0x3f8]
lea rcx, [rsp + 0x318]
call fcn.1400010b0
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x3b0], rax
lea r8, [rsp + 0x5c]
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x310]
call fcn.1400010b0
mov qword [rsp + 0x3b8], rax
mov r8, qword [rsp + 0x400]
mov rdx, qword [rsp + 0x3b8]
mov rcx, qword [rsp + 0x3f0]
call fcn.14017d750
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0x318]
call fcn.140001490
cmp dword [rsp + 0x280], 0
je 0x14017ddea
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x320], eax
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001490
mov eax, dword [rsp + 0x320]
jmp 0x14017df2b
jmp 0x14017ded5
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 4
test eax, eax
je 0x14017ded5
lea rax, [rsp + 0x328]
mov qword [rsp + 0x330], rax
lea r8, [0x1402427ec]
mov rdx, qword [rsp + 0x3f8]
lea rcx, [rsp + 0x338]
call fcn.1400010b0
mov qword [rsp + 0x3c0], rax
mov rax, qword [rsp + 0x3c0]
mov qword [rsp + 0x3c8], rax
lea r8, [rsp + 0x5c]
mov rdx, qword [rsp + 0x3c8]
mov rcx, qword [rsp + 0x330]
call fcn.1400010b0
mov qword [rsp + 0x3d0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x3d0]
mov rcx, qword [rsp + 0x3f0]
call qword [rsp + 0x400]
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0x338]
call fcn.140001490
cmp dword [rsp + 0x280], 0
je 0x14017ded5
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x340], eax
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001490
mov eax, dword [rsp + 0x340]
jmp 0x14017df2b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14017dcb3
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x344], eax
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001490
mov eax, dword [rsp + 0x344]
mov rcx, qword [rsp + 0x3d8]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x3e8
ret