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

Disassembly:
mov eax, 0xe4fed
call fcn.000e4c08
sub esp, 0x308
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x5c]
call fcn.000920bf
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x20]
call fcn.000922e5
mov edi, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x20]
call fcn.000922aa
mov esi, eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x20]
call fcn.000922e5
push dword [edi]
push dword [esi]
push dword [eax]
lea ecx, [ebp - 0x28]
call fcn.00098d16
add esp, 0xc
lea eax, [ebp - 0x30c]
push eax
push 0xf3288
lea edx, [ebp + 8]
lea ecx, [ebp - 0xbc]
call fcn.000981c7
pop ecx
mov ecx, eax
call fcn.00091ee4
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0xbc]
call fcn.00091ee9
cmp esi, 0xffffffff
jne 0x9883c
mov bl, 1
jmp 0x98863
xor ebx, ebx
lea eax, [ebp - 0x30c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x98a54
mov edi, dword [ebp - 0x18]
cmp byte [edi], 0
je 0x98882
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x5c]
call fcn.00091fb8
lea ecx, [ebp + 8]
call fcn.00091ee9
lea ecx, [ebp + 0x20]
call fcn.00091ee9
mov al, bl
jmp 0x98a75
test byte [ebp - 0x30c], 0x10
je 0x98933
push 0xf31c8
lea eax, [ebp - 0x2e0]
push eax
call fcn.000c9f5d
pop ecx
pop ecx
test eax, eax
je 0x98933
push 0xf32ac
lea eax, [ebp - 0x2e0]
push eax
call fcn.000c9f5d
pop ecx
pop ecx
test eax, eax
je 0x98933
push ecx
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x74]
call fcn.0009415e
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.0009828f
pop ecx
mov edx, eax
lea ecx, [ebp - 0xa4]
call fcn.00098d40
pop ecx
lea ecx, [ebp - 0x8c]
call fcn.00091ee9
lea ecx, [ebp - 0x74]
call fcn.00091ee9
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.00098098
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0xa4]
push eax
call fcn.00098098
mov ecx, edi
call fcn.000987a0
lea ecx, [ebp - 0xa4]
call fcn.00091ee9
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x40]
call fcn.0009415e
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.000922e5
mov edi, eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
call fcn.000922aa
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.000922e5
push dword [edi]
push dword [esi]
push dword [eax]
lea ecx, [ebp - 0x44]
call fcn.00098d16
add esp, 0xc
push ebx
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.00098b99
cmp eax, 0xffffffff
je 0x98a44
push 0x250
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x74]
call fcn.00092097
push eax
lea ecx, [ebp - 0x5c]
call fcn.00091fc2
lea ecx, [ebp - 0x74]
call fcn.00091fb8
mov dword [ebp - 4], ebx
sub esp, 0x18
mov esi, esp
lea eax, [ebp - 0x5c]
push eax
push 0x101e78
lea edx, [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.000a9c8a
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00092ef0
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00092ef0
pop ecx
push 0x66
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00094a81
cmp eax, 0xffffffff
sete bl
lea ecx, [ebp - 0x74]
call fcn.00091fb8
lea ecx, [ebp - 0x8c]
call fcn.00091fb8
test bl, bl
je 0x98a3e
lea ecx, [ebp - 0x40]
call fcn.00091ee9
lea ecx, [ebp - 0x5c]
call fcn.00091fb8
lea ecx, [ebp + 8]
call fcn.00091ee9
lea ecx, [ebp + 0x20]
call fcn.00091ee9
xor al, al
jmp 0x98a75
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
lea ecx, [ebp - 0x40]
call fcn.00091ee9
mov esi, dword [ebp - 0x1c]
jmp 0x9883e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x5c]
call fcn.00091fb8
lea ecx, [ebp + 8]
call fcn.00091ee9
lea ecx, [ebp + 0x20]
call fcn.00091ee9
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30