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

Disassembly:
mov eax, 0x10052e92
call fcn.10051918
sub esp, 0x2b0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov bl, cl
lea ecx, [ebp - 0x4c]
call fcn.100020ee
or dword [ebp - 0x18], 0xffffffff
test bl, bl
je 0x10007812
mov edx, 0x10066788
lea ecx, [ebp + 0x20]
call fcn.10008249
test al, al
je 0x10007812
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.10007fdb
lea ecx, [ebp - 0x34]
call fcn.1001789d
add esp, 0x18
push eax
lea ecx, [ebp + 0x20]
call fcn.10001f13
lea ecx, [ebp - 0x34]
call fcn.10001f09
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.10007fdb
lea ecx, [ebp - 0x34]
call fcn.100178d9
add esp, 0x18
push eax
lea ecx, [ebp + 0x20]
call fcn.1000332a
lea ecx, [ebp - 0x34]
call fcn.10001f09
push 0x10060878
lea ecx, [ebp + 8]
call fcn.10007fc9
and dword [ebp - 4], 0
lea eax, [ebp - 0x2b4]
push eax
push 0x10060858
lea edx, [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.10008110
pop ecx
mov ecx, eax
call fcn.10001f04
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x34]
call fcn.10001f09
cmp esi, 0xffffffff
jne 0x1000789a
mov dword [ebp - 0x1c], 2
push 0x100694d0
lea eax, [ebp - 0x1c]
push eax
call fcn.10032daa
lea eax, [ebp - 0x2b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100079fd
cmp byte [0x1006caf8], 0
jne 0x10007a3f
test byte [ebp - 0x2b4], 0x10
je 0x100079a7
mov ecx, 0x10060798
lea eax, [ebp - 0x288]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100078fb
test dx, dx
je 0x100078f7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100078fb
add eax, 4
add ecx, 4
test dx, dx
jne 0x100078d5
xor eax, eax
jmp 0x10007900
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000789a
mov ecx, 0x1006087c
lea eax, [ebp - 0x288]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10007935
test dx, dx
je 0x10007931
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10007935
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000790f
xor eax, eax
jmp 0x1000793a
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000789a
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x64]
call fcn.10004287
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.100081e2
pop ecx
lea ecx, [ebp - 0x64]
call fcn.10001f09
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x38]
push eax
call fcn.10002105
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.10007fdb
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x34]
push eax
call fcn.10007fdb
mov cl, bl
call fcn.100077af
add esp, 0x48
lea ecx, [ebp - 0x34]
call fcn.10001f09
jmp 0x1000789a
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x38]
push eax
call fcn.10002105
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.10007fdb
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x34]
call fcn.10004287
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.100081e2
sub esp, 0x14
mov ecx, esp
push eax
call fcn.10003333
mov cl, bl
call fcn.10007a72
add esp, 0x48
lea ecx, [ebp - 0x64]
call fcn.10001f09
jmp 0x1000799a
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x4c]
call fcn.10001fe0
lea ecx, [ebp + 8]
call fcn.10001f09
lea ecx, [ebp + 0x20]
call fcn.10001f09
lea ecx, [ebp + 0x38]
call fcn.10001fe0
mov al, 1
jmp 0x10007a61
lea ecx, [ebp - 0x4c]
call fcn.10001fe0
lea ecx, [ebp + 8]
call fcn.10001f09
lea ecx, [ebp + 0x20]
call fcn.10001f09
lea ecx, [ebp + 0x38]
call fcn.10001fe0
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