Function at 0x140177ec0
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 [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x3d8], rax
mov dword [rsp + 0x348], 0
mov dword [rsp + 0x280], 0
lea rcx, [rsp + 0x20]
call fcn.140002db0
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.140170960
mov byte [rsp + 0x284], al
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
jne 0x140177fb5
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 2
test eax, eax
je 0x140177f8c
movzx eax, byte [rsp + 0x284]
test eax, eax
jne 0x140177fb5
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 4
test eax, eax
je 0x14017808a
movzx eax, byte [rsp + 0x284]
test eax, eax
jne 0x14017808a
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 0x140178045
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 0x14017869b
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x8d]
test eax, eax
jne 0x14017808a
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 0x14017869b
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.140013fd0
movzx eax, al
test eax, eax
je 0x140178146
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.140002270
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.140013fd0
movzx eax, al
test eax, eax
jne 0x140178165
mov rcx, qword [rsp + 0x3f8]
call fcn.140001a40
cmp eax, 2
je 0x140178165
mov dword [rsp + 0x380], 0
jmp 0x140178170
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 0x1401781a3
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 0x1401781c6
and dword [rsp + 0x348], 0xfffffffe
lea rcx, [rsp + 0x2c0]
call fcn.140001490
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x1401782ab
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x140178233
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.1400020d0
mov qword [rsp + 0x388], rax
mov r8, qword [rsp + 0x388]
mov edx, 2
mov rcx, qword [rsp + 0x3f0]
call fcn.140173cc0
jmp 0x1401782ab
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.1400020d0
mov qword [rsp + 0x390], rax
mov r8, qword [rsp + 0x390]
mov edx, 2
mov rcx, qword [rsp + 0x3f0]
call fcn.140173cc0
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 0x14017869b
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x1401782f2
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 0x14017869b
mov dx, VarDateFromDisp
mov rcx, qword [rsp + 0x3f8]
call fcn.140013ed0
lea r8, [0x14023dcc0]
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.140002d80
nop
lea rcx, [rsp + 0x2f8]
call fcn.140001490
lea rcx, [rsp + 0x20]
call fcn.140023510
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 0x140178423
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x1401783dc
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 0x14017869b
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 0x14017869b
lea rdx, [0x14023c4a4]
lea rcx, [rsp + 0x5c]
call fcn.1400aab04
test eax, eax
je 0x14017844d
lea rdx, [0x14023d898]
lea rcx, [rsp + 0x5c]
call fcn.1400aab04
test eax, eax
jne 0x140178452
jmp 0x140178645
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x14017855f
mov eax, dword [rsp + 0x30]
and eax, 0x400
test eax, eax
je 0x140178487
cmp dword [rsp + 0x54], 0xa0000003
je 0x140178482
cmp dword [rsp + 0x54], 0xa000000c
jne 0x140178487
jmp 0x140178645
lea rax, [rsp + 0x308]
mov qword [rsp + 0x310], rax
lea r8, [0x14023c7dc]
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.140177ec0
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0x318]
call fcn.140001490
cmp dword [rsp + 0x280], 0
je 0x14017855a
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 0x14017869b
jmp 0x140178645
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 4
test eax, eax
je 0x140178645
lea rax, [rsp + 0x328]
mov qword [rsp + 0x330], rax
lea r8, [0x14023cc7c]
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 0x140178645
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 0x14017869b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140178423
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.1400a8050
add rsp, 0x3e8
ret