Function at 0x140002610
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.1400055a0
sub rsp, rax
mov rax, qword [0x14001a0c0]
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.1400051e0
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 0x140002680
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x1180]
repne scasw ax, word [rdi]
mov rax, qword [0x140013a50]
lea rdx, [rsp + 0x30]
mov qword [rdi - 2], rax
movzx eax, word [0x140013a58]
lea rcx, [rbp + 0x1180]
mov word [rdi + 6], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002912
lea rdx, [rsp + 0x30]
mov rcx, rax
mov qword [rsp + 0x1aa8], rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000290a
lea rsi, [rsp + 0x5c]
lea rdi, [0x140013a4c]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x1400028f4
lea rsi, [rsp + 0x5c]
lea rdi, [0x140013a44]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x1400028f4
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.140005464
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 0x140002780
lea rcx, [rbp + 0x180]
call fcn.1400058cc
test rdi, rdi
je 0x1400028e1
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 0x1e
jae 0x1400028e1
lea rdx, [0x140013a30]
lea rcx, [rbp + 0x180]
call fcn.140005490
test rax, rax
jne 0x14000286b
lea rdx, [0x140013a28]
lea rcx, [rbp + 0x180]
call fcn.140005490
test rax, rax
jne 0x14000286b
lea rdx, [0x140013a20]
lea rcx, [rbp + 0x180]
call fcn.140005490
test rax, rax
jne 0x14000286b
lea rdx, [0x140013a18]
lea rcx, [rbp + 0x180]
call fcn.140005490
test rax, rax
jne 0x14000286b
lea rdx, [0x140013a10]
lea rcx, [rbp + 0x180]
call fcn.140005490
test rax, rax
jne 0x14000286b
lea rdx, [0x140013a08]
lea rcx, [rbp + 0x180]
call fcn.140005490
test rax, rax
jne 0x14000286b
lea rdx, [0x140013a00]
lea rcx, [rbp + 0x180]
call fcn.140005490
test rax, rax
je 0x1400028e1
lea rax, [rsi - 0xc801]
cmp rax, 0x31ff37fe
ja 0x1400028e1
lea rcx, [rbp + 0x980]
call fcn.140002290
test eax, eax
je 0x1400028e1
movsxd rdx, dword [0x14001bb58]
lea rdi, [rbp + 0x980]
lea rcx, [rbp + 0x980]
mov rax, rdx
imul rax, rax, 0x208
sub rax, rdi
lea rdi, [0x14001bc70]
add rdi, rax
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rdi + rcx - 2], ax
test ax, ax
jne 0x1400028c0
inc edx
mov dword [0x14001bb58], edx
cmp edx, 0xc8
jg 0x14000290a
test byte [rsp + 0x30], 0x10
je 0x1400028f4
lea rcx, [rbp + 0x980]
call fcn.140002610
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400026f4
mov rsi, qword [rsp + 0x1aa8]
xor eax, eax
mov rcx, qword [rbp + 0x1980]
xor rcx, rsp
call fcn.140004e00
lea r11, [rsp + 0x1a90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret