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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x7f8]
sub rsp, 0x8f0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14004ffa8]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov qword [rsp + 0x28], rdx
mov rbx, rcx
mov edi, 0x208
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x3c0]
call sub.msvcrt.dll_memset
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x5d0]
call sub.msvcrt.dll_memset
or rax, 0xffffffffffffffff
xor edi, edi
inc rax
cmp word [rbx + rax*2], di
jne 0x14001b845
test rax, rax
jne 0x14001b85d
mov eax, 0x80004005
jmp 0x14001ba69
mov r8, rbx
mov esi, 0x104
mov edx, esi
lea rcx, [rbp + 0x3c0]
call fcn.140006470
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x14001b877
cmp word [rbx + rax*2 - 2], 0x5c
je 0x14001b89e
lea r8, [0x14003f144]
mov rdx, rsi
lea rcx, [rbp + 0x3c0]
call fcn.1400064f4
lea r8, [rbp + 0x3c0]
mov rdx, rsi
lea rcx, [rbp + 0x5d0]
call fcn.140006470
lea r8, [0x14003f148]
mov rdx, rsi
lea rcx, [rbp + 0x5d0]
call fcn.1400064f4
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov edx, 1
mov dword [rsp + 0x20], edx
mov rbx, qword [rsp + 0x28]
test edi, edi
js 0x14001ba3b
cmp rsi, 0xffffffffffffffff
je 0x14001ba3b
movzx ecx, word [0x14003df78]
cmp cx, word [rbp - 0x74]
jne 0x14001b91d
movzx eax, word [0x14003df7a]
cmp ax, word [rbp - 0x72]
je 0x14001ba1b
movzx eax, word [0x14003f150]
cmp ax, word [rbp - 0x74]
jne 0x14001b948
movzx eax, word [0x14003f152]
cmp ax, word [rbp - 0x72]
jne 0x14001b948
movzx eax, word [0x14003f154]
cmp ax, word [rbp - 0x70]
je 0x14001ba1b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1b0]
call sub.msvcrt.dll_memset
lea r8, [rbp + 0x3c0]
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.140006470
lea r8, [rbp - 0x74]
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.1400064f4
lea rcx, [rbp + 0x1b0]
test byte [rsp + 0x60], 0x10
je 0x14001b9a3
mov rdx, rbx
call fcn.14001b7d8
mov edi, eax
jmp 0x14001ba17
call fcn.14002ed7c
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14001ba9c
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001ba91
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.14001c7dc
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x20]
test edi, edi
js 0x14001ba33
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edx, eax
mov dword [rsp + 0x20], eax
test edx, edx
jne 0x14001b8ed
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [rsp + 0x20], 0
jne 0x14001ba67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp eax, 0x12
je 0x14001ba67
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14001ba69
mov eax, edi
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400362c0
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140001648
nop
mov ecx, 0x8007000e
call fcn.140001648
int3