Function at 0x140182190
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 [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x3d8], rax
mov dword [rsp + 0x348], 0
mov dword [rsp + 0x280], 0
lea rcx, [rsp + 0x20]
call fcn.140002d10
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.14017ac30
mov byte [rsp + 0x284], al
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
jne 0x140182285
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 2
test eax, eax
je 0x14018225c
movzx eax, byte [rsp + 0x284]
test eax, eax
jne 0x140182285
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 4
test eax, eax
je 0x14018235a
movzx eax, byte [rsp + 0x284]
test eax, eax
jne 0x14018235a
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 0x140182315
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2b0], eax
lea rcx, [rsp + 0x20]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140007060
mov eax, dword [rsp + 0x2b0]
jmp 0x14018296b
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x8d]
test eax, eax
jne 0x14018235a
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2b4], eax
lea rcx, [rsp + 0x20]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140007060
mov eax, dword [rsp + 0x2b4]
jmp 0x14018296b
mov r8d, 1
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x3f8]
call fcn.140006ae0
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.1400134b0
movzx eax, al
test eax, eax
je 0x140182416
mov rcx, qword [rsp + 0x3f8]
call fcn.1400019a0
mov r8d, eax
sub r8d, 3
mov r9d, 1
lea rdx, [rsp + 0x2c8]
mov rcx, qword [rsp + 0x3f8]
call fcn.1400021f0
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.1400134b0
movzx eax, al
test eax, eax
jne 0x140182435
mov rcx, qword [rsp + 0x3f8]
call fcn.1400019a0
cmp eax, 2
je 0x140182435
mov dword [rsp + 0x380], 0
jmp 0x140182440
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 0x140182473
and dword [rsp + 0x348], 0xfffffffd
lea rcx, [rsp + 0x2c8]
call fcn.140007060
nop
mov eax, dword [rsp + 0x348]
and eax, 1
test eax, eax
je 0x140182496
and dword [rsp + 0x348], 0xfffffffe
lea rcx, [rsp + 0x2c0]
call fcn.140007060
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x14018257b
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x140182503
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.140002050
mov qword [rsp + 0x388], rax
mov r8, qword [rsp + 0x388]
mov edx, 2
mov rcx, qword [rsp + 0x3f0]
call fcn.14017df90
jmp 0x14018257b
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.140002050
mov qword [rsp + 0x390], rax
mov r8, qword [rsp + 0x390]
mov edx, 2
mov rcx, qword [rsp + 0x3f0]
call fcn.14017df90
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2f0], eax
lea rcx, [rsp + 0x20]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140007060
mov eax, dword [rsp + 0x2f0]
jmp 0x14018296b
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x1401825c2
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x2f4], eax
lea rcx, [rsp + 0x20]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140007060
mov eax, dword [rsp + 0x2f4]
jmp 0x14018296b
mov dx, VarDateFromDisp
mov rcx, qword [rsp + 0x3f8]
call fcn.1400133b0
lea r8, [0x140254ca0]
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.140002ce0
nop
lea rcx, [rsp + 0x2f8]
call fcn.140007060
lea rcx, [rsp + 0x20]
call fcn.140050200
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 0x1401826f3
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x1401826ac
mov rax, qword [rsp + 0x3f0]
mov dword [rax + 0x88], 0
mov dword [rsp + 0x300], 0
lea rcx, [rsp + 0x20]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140007060
mov eax, dword [rsp + 0x300]
jmp 0x14018296b
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.140007060
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140007060
mov eax, dword [rsp + 0x304]
jmp 0x14018296b
lea rdx, [0x1402531bc]
lea rcx, [rsp + 0x5c]
call fcn.1400ac364
test eax, eax
je 0x14018271d
lea rdx, [0x140254878]
lea rcx, [rsp + 0x5c]
call fcn.1400ac364
test eax, eax
jne 0x140182722
jmp 0x140182915
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x14018282f
mov eax, dword [rsp + 0x30]
and eax, 0x400
test eax, eax
je 0x140182757
cmp dword [rsp + 0x54], 0xa0000003
je 0x140182752
cmp dword [rsp + 0x54], 0xa000000c
jne 0x140182757
jmp 0x140182915
lea rax, [rsp + 0x308]
mov qword [rsp + 0x310], rax
lea r8, [0x140253204]
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.140182190
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0x318]
call fcn.140007060
cmp dword [rsp + 0x280], 0
je 0x14018282a
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x320], eax
lea rcx, [rsp + 0x20]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140007060
mov eax, dword [rsp + 0x320]
jmp 0x14018296b
jmp 0x140182915
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0xac]
and eax, 4
test eax, eax
je 0x140182915
lea rax, [rsp + 0x328]
mov qword [rsp + 0x330], rax
lea r8, [0x14025326c]
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.140007060
cmp dword [rsp + 0x280], 0
je 0x140182915
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x340], eax
lea rcx, [rsp + 0x20]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140007060
mov eax, dword [rsp + 0x340]
jmp 0x14018296b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401826f3
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.140007060
nop
mov rcx, qword [rsp + 0x3f8]
call fcn.140007060
mov eax, dword [rsp + 0x344]
mov rcx, qword [rsp + 0x3d8]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x3e8
ret