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

Disassembly:
push 0x334
mov eax, 0x69ef88
call fcn.0049be59
mov dword [ebp - 0x334], ecx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x338], ebx
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x318], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x31c], eax
call fcn.0045207b
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x314], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jle 0x669c5d
push ecx
mov esi, esp
push dword [ebp - 0x31c]
mov dword [ebp - 0x320], esi
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.00669c8b
pop ecx
test eax, eax
je 0x669c5d
push 1
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x314]
call fcn.00451390
push 0x7516bc
push dword [eax]
call fcn.0045473e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x318]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0044ec01
lea ecx, [ebp - 0x314]
test esi, esi
jne 0x669881
push 1
push 0x7538c8
jmp 0x669888
push 2
push 0x75664c
call fcn.0045234c
mov edi, dword [ebp - 0x314]
lea eax, [ebp - 0x30c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x320], esi
cmp esi, 0xffffffff
je 0x669c68
mov edi, dword [ebp - 0x310]
mov ecx, 0x7538cc
lea eax, [ebp - 0x2e0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x6698e9
test dx, dx
je 0x6698e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x6698e9
add eax, 4
add ecx, 4
test dx, dx
jne 0x6698c3
xor eax, eax
jmp 0x6698ee
sbb eax, eax
or eax, 1
test eax, eax
je 0x669c38
mov ecx, 0x7538d0
lea eax, [ebp - 0x2e0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x669927
test dx, dx
je 0x669923
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x669927
add eax, 4
add ecx, 4
test dx, dx
jne 0x669901
xor eax, eax
jmp 0x66992c
sbb eax, eax
or eax, 1
test eax, eax
je 0x669c38
push dword [ebp - 0x31c]
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [ebp - 0x310], eax
push 1
lea eax, [ebp - 0x324]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x314]
call fcn.00451390
push 0x7516bc
push dword [eax]
call fcn.0045473e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x324]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0044ec01
test esi, esi
jne 0x6699bc
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.00451281
add esp, 0xc
push eax
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 4
call fcn.00451d78
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x328]
jmp 0x669a1a
push 0x7516bc
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.00451281
add esp, 0xc
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.00451281
add esp, 0xc
push eax
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 6
call fcn.00451d78
mov ecx, dword [ebp - 0x32c]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x330]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov esi, dword [ebp - 0x310]
lea eax, [ebp - 0xbc]
push eax
push esi
call fcn.00512c8f
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x669c26
test byte [ebp - 0xb6], 0x80
je 0x669c26
test dword [ebp - 0xb6], 0x100
je 0x669c26
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2e0]
push eax
call fcn.0045176e
push str.UnAttended
lea ecx, [ebp - 0x2c]
call fcn.00454aa5
test eax, eax
je 0x669c1e
push 0x7538f8
lea ecx, [ebp - 0x2c]
call fcn.00454aa5
test eax, eax
je 0x669c1e
push str.logs
lea ecx, [ebp - 0x2c]
call fcn.00454aa5
test eax, eax
je 0x669c1e
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
and dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
or edi, 1
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp + 0x20]
push eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x318], edi
call fcn.00455434
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
jb 0x669af5
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x20]
lea ecx, [ebp - 0x44]
push eax
call fcn.00455507
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
jb 0x669b0d
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x44]
push eax
call fcn.00455507
test byte [ebp - 0x30c], 0x10
je 0x669bea
lea eax, [ebp - 0x2e0]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x74]
call fcn.004551e1
mov byte [ebp - 4], 9
mov ecx, eax
mov dword [esp], 0x7516bc
call fcn.0045549f
push eax
lea ecx, [ebp - 0x5c]
call fcn.004554c4
or edi, 2
mov dword [ebp - 0x318], edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xb
call fcn.00451740
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0x340], esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00454c7a
push ebx
push ecx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xc
mov ebx, esp
push eax
mov dword [ebp - 0x33c], ebx
call fcn.0045207b
pop ecx
mov ecx, dword [ebp - 0x334]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xb
call fcn.006697b4
push 0x7516bc
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x8c]
call fcn.004551e1
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00454b0c
lea ecx, [ebp - 0x8c]
call fcn.00451740
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.00451740
mov ebx, dword [ebp - 0x338]
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x44]
push ecx
cmp dword [ebx + 8], eax
je 0x669c0b
and dword [eax + 0x10], 0
mov ecx, eax
and dword [eax + 0x14], 0
call fcn.00454c7a
add dword [ebx + 4], 0x18
jmp 0x669c13
push eax
mov ecx, ebx
call fcn.0045524e
lea ecx, [ebp - 0x44]
and edi, 0xfffffffe
call fcn.00451740
lea ecx, [ebp - 0x2c]
call fcn.00451740
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.0044ec01
mov esi, dword [ebp - 0x320]
lea eax, [ebp - 0x30c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x6698b8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x314]
jmp 0x669c68
push str.folder_is_not_available
call fcn.006778de
pop ecx
lea ecx, [edi - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x31c]
call fcn.0044ec01
lea ecx, [ebp + 0x10]
call fcn.00451740
call fcn.0049be03
ret 0x20