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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1990]
mov eax, 0x1a90
call fcn.14000cb00
sub rsp, rax
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rbp + 0x1980], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor eax, eax
lea rcx, [rbp + 0x182]
xor edx, edx
mov r8d, 0x7fe
mov word [rbp + 0x180], ax
call fcn.14000cb60
lea rcx, [rbp + 0x1180]
sub rcx, rdi
mov rdx, rdi
nop word [rax + rax]
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx - 2], ax
test ax, ax
jne 0x1400024d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x1180]
repne scasw ax, word [rdi]
mov rax, qword [0x14005fd28]
lea rdx, [rsp + 0x30]
mov qword [rdi - 2], rax
movzx eax, word [0x14005fd30]
lea rcx, [rbp + 0x1180]
mov word [rdi + 6], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002762
lea rdx, [rsp + 0x30]
mov rcx, rax
mov qword [rsp + 0x1aa8], rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000275a
lea rsi, [rsp + 0x5c]
lea rdi, [0x14005fd24]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x140002744
lea rsi, [rsp + 0x5c]
lea rdi, [0x14005fd1c]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x140002744
mov r8, qword [rsp + 0x20]
lea r9, [rsp + 0x5c]
lea rdx, str._s_s
lea rcx, [rbp + 0x980]
call qword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x50]
lea rcx, [rbp + 0x980]
shl rsi, 0x20
mov edx, 0x5c
add rsi, rax
call fcn.14000b400
mov rdi, rax
mov rdx, rax
lea rax, [rbp + 0x180]
sub rax, rdx
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
mov word [rax + rdx - 2], cx
test cx, cx
jne 0x1400025d0
lea rcx, [rbp + 0x180]
call fcn.14000cc80
test rdi, rdi
je 0x140002731
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 0x1e
jae 0x140002731
lea rdx, [0x14005fd08]
lea rcx, [rbp + 0x180]
call fcn.14000b480
test rax, rax
jne 0x1400026bb
lea rdx, [0x14005fd00]
lea rcx, [rbp + 0x180]
call fcn.14000b480
test rax, rax
jne 0x1400026bb
lea rdx, [0x14005fcf8]
lea rcx, [rbp + 0x180]
call fcn.14000b480
test rax, rax
jne 0x1400026bb
lea rdx, [0x14005fcf0]
lea rcx, [rbp + 0x180]
call fcn.14000b480
test rax, rax
jne 0x1400026bb
lea rdx, [0x14005fce8]
lea rcx, [rbp + 0x180]
call fcn.14000b480
test rax, rax
jne 0x1400026bb
lea rdx, [0x14005fce0]
lea rcx, [rbp + 0x180]
call fcn.14000b480
test rax, rax
jne 0x1400026bb
lea rdx, [0x14005fcd8]
lea rcx, [rbp + 0x180]
call fcn.14000b480
test rax, rax
je 0x140002731
lea rax, [rsi - 0xc801]
cmp rax, 0x31ff37fe
ja 0x140002731
lea rcx, [rbp + 0x980]
call fcn.1400020e0
test eax, eax
je 0x140002731
movsxd rdx, dword [0x140074c78]
lea rdi, [rbp + 0x980]
lea rcx, [rbp + 0x980]
mov rax, rdx
imul rax, rax, 0x208
sub rax, rdi
lea rdi, [0x140074d90]
add rdi, rax
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rdi + rcx - 2], ax
test ax, ax
jne 0x140002710
inc edx
mov dword [0x140074c78], edx
cmp edx, 0xc8
jg 0x14000275a
test byte [rsp + 0x30], 0x10
je 0x140002744
lea rcx, [rbp + 0x980]
call fcn.140002460
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140002544
mov rsi, qword [rsp + 0x1aa8]
xor eax, eax
mov rcx, qword [rbp + 0x1980]
xor rcx, rsp
call fcn.14000cad0
lea r11, [rsp + 0x1a90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret