Function at 0x1006e350
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9354
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x1013b7e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x494], esi
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp dword [edi + 0x10], 0
mov esi, 1
mov dword [ebp - 4], 0
je 0x1006e5a4
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1006e3cd
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006e5a4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100c56b0
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x1006e3fc
mov eax, dword [edi]
push 0x1010a980
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x1006e5a4
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x484], eax
test eax, eax
je 0x1006e5a4
nop dword [eax]
test byte [ebp - 0x480], 0x10
mov dword [ebp - 0x490], esi
jne 0x1006e587
mov edx, dword [edi + 0x10]
lea ecx, [ebp - 0x454]
xor eax, eax
mov dword [ebp - 4], 1
or esi, 2
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x48c], esi
lea esi, [ecx + 2]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006e490
sub ecx, esi
sar ecx, 1
lea eax, [ecx + edx]
push eax
lea ecx, [ebp - 0x230]
call fcn.10021f70
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1006e4b8
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x230]
push eax
call fcn.10021d70
lea eax, [ebp - 0x454]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1006e4d0
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.10021d70
mov ecx, dword [ebp - 0x488]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x1006e52b
movups xmm0, xmmword [ebp - 0x230]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ecx + 4], 0x18
mov word [ebp - 0x230], ax
jmp 0x1006e53e
lea edx, [ebp - 0x230]
push edx
push eax
call fcn.10054db0
mov edx, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x490]
and esi, 0xfffffffd
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x1006e581
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1006e577
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e5c5
push edx
push ecx
call fcn.100899c7
add esp, 8
mov eax, dword [ebp - 0x484]
lea ecx, [ebp - 0x480]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1006e5a4
mov eax, dword [ebp - 0x484]
jmp 0x1006e440
mov eax, dword [ebp - 0x488]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089d41
mov esp, ebp
pop ebp
ret
call fcn.100c8c99
int3