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

Disassembly:
mov eax, 0x10054f12
call fcn.10053998
sub esp, 0x2b0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov bl, cl
lea ecx, [ebp - 0x4c]
call fcn.1000210e
or dword [ebp - 0x18], 0xffffffff
test bl, bl
je 0x100082f3
mov edx, 0x10068878
lea ecx, [ebp + 0x20]
call fcn.10008c9e
test al, al
je 0x100082f3
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.10008abc
lea ecx, [ebp - 0x34]
call fcn.10019711
add esp, 0x18
push eax
lea ecx, [ebp + 0x20]
call fcn.10001f33
lea ecx, [ebp - 0x34]
call fcn.10001f29
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.10008abc
lea ecx, [ebp - 0x34]
call fcn.1001974d
add esp, 0x18
push eax
lea ecx, [ebp + 0x20]
call fcn.1000334a
lea ecx, [ebp - 0x34]
call fcn.10001f29
push 0x10062978
lea ecx, [ebp + 8]
call fcn.10008aaa
and dword [ebp - 4], 0
lea eax, [ebp - 0x2b4]
push eax
push 0x10062958
lea edx, [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.10008bcd
pop ecx
mov ecx, eax
call fcn.10001f24
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x34]
call fcn.10001f29
cmp esi, 0xffffffff
jne 0x1000837b
mov dword [ebp - 0x1c], 2
push 0x1006b710
lea eax, [ebp - 0x1c]
push eax
call fcn.10034e0a
lea eax, [ebp - 0x2b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100084de
cmp byte [0x1006faf8], 0
jne 0x10008520
test byte [ebp - 0x2b4], 0x10
je 0x10008488
mov ecx, 0x10062898
lea eax, [ebp - 0x288]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100083dc
test dx, dx
je 0x100083d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100083dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x100083b6
xor eax, eax
jmp 0x100083e1
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000837b
mov ecx, 0x1006297c
lea eax, [ebp - 0x288]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10008416
test dx, dx
je 0x10008412
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10008416
add eax, 4
add ecx, 4
test dx, dx
jne 0x100083f0
xor eax, eax
jmp 0x1000841b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000837b
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x64]
call fcn.100042a7
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.10008c37
pop ecx
lea ecx, [ebp - 0x64]
call fcn.10001f29
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x38]
push eax
call fcn.10002125
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.10008abc
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x34]
push eax
call fcn.10008abc
mov cl, bl
call fcn.10008290
add esp, 0x48
lea ecx, [ebp - 0x34]
call fcn.10001f29
jmp 0x1000837b
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x38]
push eax
call fcn.10002125
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.10008abc
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x34]
call fcn.100042a7
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.10008c37
sub esp, 0x14
mov ecx, esp
push eax
call fcn.10003353
mov cl, bl
call fcn.10008553
add esp, 0x48
lea ecx, [ebp - 0x64]
call fcn.10001f29
jmp 0x1000847b
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x4c]
call fcn.10002000
lea ecx, [ebp + 8]
call fcn.10001f29
lea ecx, [ebp + 0x20]
call fcn.10001f29
lea ecx, [ebp + 0x38]
call fcn.10002000
mov al, 1
jmp 0x10008542
lea ecx, [ebp - 0x4c]
call fcn.10002000
lea ecx, [ebp + 8]
call fcn.10001f29
lea ecx, [ebp + 0x20]
call fcn.10001f29
lea ecx, [ebp + 0x38]
call fcn.10002000
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret