Function at 0x140177df0
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 [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x3d8], rax
mov dword [rsp + 0x348], 0
mov dword [rsp + 0x280], 0
lea rcx, [rsp + 0x20]
call fcn.140002d50
nop
lea rax, [rsp + 0x290]
mov qword [rsp + 0x298], rax
mov rdx, qword [rsp + 0x3f8]
mov rcx, qword [rsp + 0x298]
call fcn.140001440
mov qword [rsp + 0x358], rax
mov rcx, qword [rsp + 0x358]
call fcn.140170890
mov byte [rsp + 0x284], al
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
jne 0x140177ee5
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 2
test eax, eax
je 0x140177ebc
movzx eax, byte [rsp + 0x284]
test eax, eax
jne 0x140177ee5
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 4
test eax, eax
je 0x140177fba
movzx eax, byte [rsp + 0x284]
test eax, eax
jne 0x140177fba
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x2a8], rax
mov rdx, qword [rsp + 0x3f8]
mov rcx, qword [rsp + 0x2a8]
call fcn.140001440
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 0x140177f75
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2b0], eax
lea rcx, [rsp + 0x20]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001470
mov eax, dword [rsp + 0x2b0]
jmp 0x1401785cb
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x8d]
test eax, eax
jne 0x140177fba
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2b4], eax
lea rcx, [rsp + 0x20]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001470
mov eax, dword [rsp + 0x2b4]
jmp 0x1401785cb
mov r8d, 1
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x3f8]
call fcn.140006a00
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.140014ac0
movzx eax, al
test eax, eax
je 0x140178076
mov rcx, qword [rsp + 0x3f8]
call fcn.1400019f0
mov r8d, eax
sub r8d, 3
mov r9d, 1
lea rdx, [rsp + 0x2c8]
mov rcx, qword [rsp + 0x3f8]
call fcn.140002230
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.140014ac0
movzx eax, al
test eax, eax
jne 0x140178095
mov rcx, qword [rsp + 0x3f8]
call fcn.1400019f0
cmp eax, 2
je 0x140178095
mov dword [rsp + 0x380], 0
jmp 0x1401780a0
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 0x1401780d3
and dword [rsp + 0x348], 0xfffffffd
lea rcx, [rsp + 0x2c8]
call fcn.140001470
nop
mov eax, dword [rsp + 0x348]
and eax, 1
test eax, eax
je 0x1401780f6
and dword [rsp + 0x348], 0xfffffffe
lea rcx, [rsp + 0x2c0]
call fcn.140001470
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x1401781db
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x140178163
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.140002090
mov qword [rsp + 0x388], rax
mov r8, qword [rsp + 0x388]
mov edx, 2
mov rcx, qword [rsp + 0x3f0]
call fcn.140173bf0
jmp 0x1401781db
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.140002090
mov qword [rsp + 0x390], rax
mov r8, qword [rsp + 0x390]
mov edx, 2
mov rcx, qword [rsp + 0x3f0]
call fcn.140173bf0
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2f0], eax
lea rcx, [rsp + 0x20]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001470
mov eax, dword [rsp + 0x2f0]
jmp 0x1401785cb
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x140178222
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2f4], eax
lea rcx, [rsp + 0x20]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001470
mov eax, dword [rsp + 0x2f4]
jmp 0x1401785cb
mov dx, VarDateFromDisp
mov rcx, qword [rsp + 0x3f8]
call fcn.1400149c0
lea r8, [0x14023ecc0]
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.140002d20
nop
lea rcx, [rsp + 0x2f8]
call fcn.140001470
lea rcx, [rsp + 0x20]
call fcn.1400012c0
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 0x140178353
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x14017830c
mov rax, qword [rsp + 0x3f0]
mov dword [rax + 0x88], 0
mov dword [rsp + 0x300], 0
lea rcx, [rsp + 0x20]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001470
mov eax, dword [rsp + 0x300]
jmp 0x1401785cb
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.140001470
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001470
mov eax, dword [rsp + 0x304]
jmp 0x1401785cb
lea rdx, [0x14023d4a4]
lea rcx, [rsp + 0x5c]
call fcn.1400aaae8
test eax, eax
je 0x14017837d
lea rdx, [0x14023e898]
lea rcx, [rsp + 0x5c]
call fcn.1400aaae8
test eax, eax
jne 0x140178382
jmp 0x140178575
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x14017848f
mov eax, dword [rsp + 0x30]
and eax, 0x400
test eax, eax
je 0x1401783b7
cmp dword [rsp + 0x54], 0xa0000003
je 0x1401783b2
cmp dword [rsp + 0x54], 0xa000000c
jne 0x1401783b7
jmp 0x140178575
lea rax, [rsp + 0x308]
mov qword [rsp + 0x310], rax
lea r8, [0x14023d7dc]
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.140177df0
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0x318]
call fcn.140001470
cmp dword [rsp + 0x280], 0
je 0x14017848a
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x320], eax
lea rcx, [rsp + 0x20]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001470
mov eax, dword [rsp + 0x320]
jmp 0x1401785cb
jmp 0x140178575
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 4
test eax, eax
je 0x140178575
lea rax, [rsp + 0x328]
mov qword [rsp + 0x330], rax
lea r8, [0x14023dc7c]
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.140001470
cmp dword [rsp + 0x280], 0
je 0x140178575
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x340], eax
lea rcx, [rsp + 0x20]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001470
mov eax, dword [rsp + 0x340]
jmp 0x1401785cb
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140178353
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.140001470
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140001470
mov eax, dword [rsp + 0x344]
mov rcx, qword [rsp + 0x3d8]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x3e8
ret