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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x308], rbx
mov rax, qword [0x14027bbd0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov ebx, r8d
mov dword [rsp + 0x44], ebx
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rdx, str.Tool_FindAllFilesInFolder
lea rcx, [rsp + 0x58]
call fcn.140017fc0
nop
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, str.lpszDirectory___s__bFindSubDirectory___d
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.140017c80
mov dword [rsp + 0x40], 0
test rdi, rdi
je 0x140026234
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1400020c0
nop
mov edx, 0x5c
mov rcx, qword [rsp + 0x38]
call fcn.140193dc0
mov rdx, rax
mov rax, qword [rsp + 0x38]
or rbx, 0xffffffffffffffff
test rdx, rdx
jne 0x14002605c
mov edx, ebx
jmp 0x140026062
sub rdx, rax
sar rdx, 1
mov ecx, dword [rax - 0x10]
dec ecx
cmp edx, ecx
je 0x140026082
mov r8d, 1
lea rdx, [0x1401c7444]
lea rcx, [rsp + 0x38]
call fcn.140006c60
mov r8d, 3
lea rdx, [0x1401ceca8]
lea rcx, [rsp + 0x38]
call fcn.140006c60
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x70]
call fcn.140192cb0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x140026217
mov dword [rsp + 0x40], 1
call fcn.140051e58
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
je 0x14002620c
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
test rdi, 0xffffffffffff0000
jne 0x140026123
movzx edi, di
mov ecx, edi
call fcn.140051c2c
test rax, rax
je 0x140026142
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140001b00
jmp 0x140026142
xor eax, eax
mov rcx, rbx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140001c20
nop
xor eax, eax
mov rcx, rbx
lea rdi, [rbp - 0x64]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x30]
call fcn.140006c60
mov edi, dword [rsp + 0x44]
test edi, edi
je 0x1400261aa
test byte [rsp + 0x70], 0x10
je 0x1400261b1
lea rdx, [0x1401ca468]
lea rcx, [rbp - 0x64]
call fcn.1401936c8
test eax, eax
je 0x1400261aa
lea rdx, [0x1401ca460]
lea rcx, [rbp - 0x64]
call fcn.1401936c8
test eax, eax
je 0x1400261aa
mov r8d, edi
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call fcn.140025fa0
test byte [rsp + 0x70], 0x10
jne 0x1400261c3
lea r8, [rsp + 0x30]
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.140053ecc
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400261e2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov rdi, qword [rsp + 0x48]
jne 0x1400260d2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140026217
mov ecx, 0x80004005
call fcn.140001010
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x140026234
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x40]
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.140017c80
nop
lea rcx, [rsp + 0x58]
call fcn.140018150
mov eax, edi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401945b0
mov rbx, qword [rsp + 0x308]
add rsp, 0x2d0
pop rdi
pop rsi
pop rbp
ret