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

Disassembly:
push 0x494
mov eax, 0x104ced9
call fcn.0102eb23
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x46c], 0x490
jle 0x102ca5f
push edi
push 0x100707c
push eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.0100e11f
test eax, eax
jl 0x102ca5f
push 0x24c
lea eax, [ebp - 0x464]
push edi
push eax
mov dword [ebp - 0x468], edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x47c], eax
cmp eax, 0xffffffff
je 0x102ca5f
jmp 0x102c818
mov esi, 0x104
test byte [ebp - 0x468], 0x10
je 0x102c8ee
mov ecx, 0x1007078
lea eax, [ebp - 0x43c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x102c856
cmp dx, di
je 0x102c852
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x102c856
add eax, 4
add ecx, 4
cmp dx, di
jne 0x102c830
xor eax, eax
jmp 0x102c85b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x102c8ee
mov ecx, 0x1004064
lea eax, [ebp - 0x43c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x102c894
cmp dx, di
je 0x102c890
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x102c894
add eax, 4
add ecx, 4
cmp dx, di
jne 0x102c86e
xor eax, eax
jmp 0x102c899
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x102c8ee
push edi
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x480]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0100e11f
test eax, eax
jl 0x102ca37
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x478]
dec eax
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0102c77f
cmp dword [ebp - 0x46c], edi
je 0x102ca37
mov dword [ebp - 0x46c], eax
jmp 0x102ca37
lea eax, [ebp - 0x43c]
push eax
call fcn.01011f94
test al, al
je 0x102ca37
push edi
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x480]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0100e11f
test eax, eax
jl 0x102ca37
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4a0]
call fcn.01010e7e
mov ebx, dword [ebp - 0x478]
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x484]
add ebx, 0x8dc
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.0101046b
mov ecx, dword [eax]
mov esi, ecx
mov dword [eax], edi
mov dword [ebp - 0x474], esi
mov ecx, dword [ebp - 0x484]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x102c97c
push 1
call fcn.0100cec0
push edi
push 1
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 2
call fcn.0100e576
cmp esi, edi
je 0x102ca22
push esi
mov ecx, ebx
call fcn.010105e4
mov edi, dword [ebp - 0x478]
mov ecx, esi
add edi, 0x84c
call fcn.010136b9
push eax
mov ecx, edi
call fcn.01014873
mov ebx, eax
mov dword [ebp - 0x470], ebx
test ebx, ebx
je 0x102ca00
cmp dword [ebx + 0x10c], 0
je 0x102c9ef
mov ecx, esi
call fcn.01011ff2
mov ecx, ebx
mov word [ebp - 0x46a], ax
call fcn.01011ff2
mov cx, word [ebp - 0x46a]
cmp ax, cx
jae 0x102ca19
push ebx
mov ecx, edi
call fcn.010147be
push 1
mov ecx, ebx
call fcn.0100cec0
and dword [ebp - 0x474], 0
push ecx
mov eax, esp
mov ecx, edi
mov dword [ebp - 0x470], esp
mov dword [eax], esi
call fcn.01017ca0
and dword [ebp - 0x46c], 0
xor edi, edi
mov ecx, dword [ebp - 0x474]
or dword [ebp - 4], 0xffffffff
cmp ecx, edi
je 0x102ca37
push 1
call fcn.0100cec0
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x102c813
push edi
lea eax, [ebp - 0x47c]
push eax
call fcn.01025242
mov eax, dword [ebp - 0x46c]
call fcn.0102ebb5
ret 8