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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.18001a3b0
sub rsp, rax
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rbp + 0xfd0], rax
and qword [rsp + 0x60], 0
mov rsi, rdx
mov rbx, rcx
mov r8, rdx
lea rcx, [rbp + 0x5f0]
lea rdx, [0x18003d870]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x5f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800010ea
xor al, al
jmp 0x180001385
lea rdx, [0x18003d868]
lea rcx, [rbp - 0x54]
call fcn.18001a358
test eax, eax
je 0x180001356
lea rdx, [0x18003d864]
lea rcx, [rbp - 0x54]
call fcn.18001a358
test eax, eax
je 0x180001356
test byte [rbp - 0x80], 0x10
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x6c]
je 0x180001271
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r9, [rbp - 0x54]
lea rdx, str._s_s_
lea rcx, [rbp + 0x3e0]
mov r8, rsi
call fcn.180001000
lea rcx, [rbp + 0x1d0]
xor edx, edx
mov r8d, 0x104
call fcn.180019880
lea rcx, [rbp + 0x1d0]
mov rdx, rsi
call fcn.18001a33c
lea rcx, [rbp + 0x1d0]
call fcn.18003700c
movzx ecx, word [rsp + 0x78]
movzx edx, word [rsp + 0x76]
movzx r8d, word [rsp + 0x72]
movzx r11d, word [rsp + 0x7c]
movzx eax, word [rsp + 0x7a]
movzx r9d, word [rsp + 0x70]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
lea r8, [rbp + 0x3e0]
lea rdx, str._s_4d__02d__02d__02d:_02d:_02d_n
lea rcx, [rbp + 0x800]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x800]
lea rcx, [0x180050ff0]
mov r9d, 0xfde9
call fcn.180008274
test al, al
je 0x180001225
mov r8, qword [rsp + 0x60]
mov rcx, qword [rbx + 8]
lea rdx, [0x18003d804]
call fcn.18001a1e0
mov rcx, qword [rsp + 0x60]
call fcn.18001a1d8
and qword [rsp + 0x60], 0
lea rdx, str.:windows
lea rcx, [rbp + 0x1d0]
call fcn.180019a18
test rax, rax
jne 0x180001356
lea rdx, str.:winnt
lea rcx, [rbp + 0x1d0]
call fcn.180019a18
test rax, rax
jne 0x180001356
lea rdx, [rbp + 0x3e0]
mov rcx, rbx
call fcn.180001078
jmp 0x180001356
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [rsp + 0x78]
movzx edx, word [rsp + 0x76]
movzx r8d, word [rsp + 0x72]
movzx r9d, word [rsp + 0x70]
movzx r11d, word [rsp + 0x7c]
movzx eax, word [rsp + 0x7a]
mov r10d, dword [rbp - 0x60]
mov dword [rsp + 0x50], r11d
sub r10d, dword [rbp - 0x64]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r9d
lea r9, [rbp - 0x54]
lea rdx, str._s_s_ld_4d__02d__02d__02d:_02d:_02d_n
lea rcx, [rbp + 0x800]
mov r8, rsi
mov dword [rsp + 0x20], r10d
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x800]
lea rcx, [0x180050ff0]
mov r9d, 0xfde9
call fcn.180008274
test al, al
je 0x180001332
mov r8, qword [rsp + 0x60]
mov rcx, qword [rbx + 8]
lea rdx, [0x18003d804]
call fcn.18001a1e0
mov rcx, qword [rsp + 0x60]
call fcn.18001a1d8
and qword [rsp + 0x60], 0
inc dword [rbx + 0x10]
mov eax, 0x3e8
cmp dword [rbx + 0x10], eax
jle 0x180001356
mov rcx, qword [0x180053110]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x18000136b
and dword [rbx + 0x10], 0
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800010ea
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180001383
call fcn.18001a1d8
mov al, 1
mov rcx, qword [rbp + 0xfd0]
xor rcx, rsp
call fcn.180019850
mov rbx, qword [rsp + 0x1110]
add rsp, 0x10e0
pop rdi
pop rsi
pop rbp
ret