Function at 0x10011370
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b558
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x10061070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2a8], 0
push 0x24c
push 0
lea eax, [ebp - 0x2a4]
push eax
call fcn.1002ef20
add esp, 0xc
mov dword [ebp - 0x2ac], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10012170
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10012170
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.10005840
sub eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.10011eb0
mov cx, word [eax]
mov word [ebp - 0x2b0], cx
movzx edx, word [ebp - 0x2b0]
cmp edx, 0x5c
jne 0x10011445
lea ecx, [ebp + 8]
call fcn.10005840
sub eax, 1
push eax
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp + 8]
call fcn.10011e40
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
push ecx
lea ecx, [ebp + 8]
call fcn.10012000
lea ecx, [ebp - 0x58]
call fcn.10004b60
lea ecx, [ebp + 8]
call fcn.10004b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10011494
mov dword [ebp - 0x2b8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10004b60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10004b60
mov eax, dword [ebp - 0x2b8]
jmp 0x1001167e
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x40]
call fcn.10011ed0
push 0x1005a088
lea ecx, [ebp - 0x40]
call fcn.10011f00
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x40]
call fcn.10004b20
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0xffffffff
jne 0x1001150e
mov dword [ebp - 0x2bc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10004b60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10004b60
mov eax, dword [ebp - 0x2bc]
jmp 0x1001167e
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x27c]
cmp eax, 0x2e
jne 0x10011537
mov ecx, 2
shl ecx, 0
movzx edx, word [ebp + ecx - 0x27c]
test edx, edx
je 0x10011574
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x27c]
cmp edx, 0x2e
jne 0x10011576
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x27c]
cmp ecx, 0x2e
jne 0x10011576
mov edx, 2
shl edx, 1
movzx eax, word [ebp + edx - 0x27c]
test eax, eax
jne 0x10011576
jmp 0x100115d6
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10011ed0
push 0x1005a090
lea ecx, [ebp - 0x28]
call fcn.10011f00
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x28]
call fcn.10011f00
mov eax, dword [ebp - 0x2a8]
and eax, 0x10
je 0x100115d6
push 0x1005a094
lea ecx, [ebp - 0x28]
call fcn.10011f00
lea ecx, [ebp - 0x28]
call fcn.10004b20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100115d6
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.10011ad0
lea edx, [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001150e
mov ecx, dword [ebp - 0x2ac]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x20]
call fcn.10011c40
movzx edx, al
test edx, edx
je 0x10011647
mov dword [ebp - 0x2c0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10004b60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10004b60
mov eax, dword [ebp - 0x2c0]
jmp 0x1001167e
mov dword [ebp - 0x2c4], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10004b60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10004b60
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002bcee
mov esp, ebp
pop ebp
ret