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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10244be3
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x102de06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x280], ebx
call fcn.1000fef0
mov ecx, eax
test ecx, ecx
je 0x1000c470
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x1000c47a
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x27c], eax
push ebx
lea eax, [ebp - 0x27c]
mov dword [ebp - 4], 0
push str._s
push eax
call fcn.1000cd10
mov esi, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
add esp, 0xc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
xor edi, edi
cmp ebx, 0xffffffff
je 0x1000c412
test byte [ebp - 0x278], 0x10
jne 0x1000c2c6
add edi, dword [ebp - 0x258]
jmp 0x1000c3f5
mov ecx, 0x102c4dd4
lea eax, [ebp - 0x24c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000c2f7
test dx, dx
je 0x1000c2f3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000c2f7
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000c2d1
xor eax, eax
jmp 0x1000c2fc
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000c3f5
mov eax, 0x102c4c18
lea ecx, [ebp - 0x24c]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1000c336
test dx, dx
je 0x1000c332
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1000c336
add ecx, 4
add eax, 4
test dx, dx
jne 0x1000c310
xor eax, eax
jmp 0x1000c33b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000c3f5
mov ecx, dword [ebp - 0x280]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c360
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x280]
lea ecx, [ebp - 0x28]
call fcn.100088f0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.10004090
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.1000c210
mov byte [ebp - 4], 0
add edi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000c3e1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c3d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c481
push edx
push ecx
call fcn.10039277
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x278]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000c2b2
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000c452
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x1000c486
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x1000c486
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10039266
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000fa10
call edx
jmp 0x1000c26c
call fcn.100b535e
call edx
jmp 0x1000c452