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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x20068
call fcn.00418020
mov eax, dword [0x419074]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x2005c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20064], esi
mov dword [ebp - 0x20048], ebx
mov dword [ebp - 0x20060], edi
mov dword [ebp - 0x20058], eax
mov dword [ebp - 0x20054], 0x2000000
call fcn.0040800b
and dword [ebp - 0x20050], 0
cmp edi, 4
jae 0x411159
xor eax, eax
jmp 0x4117c1
push 0x2a
pop eax
mov word [esi], ax
xor eax, eax
mov word [esi + 2], ax
cmp dword [0x419534], eax
jne 0x41117a
mov edi, 0x2200000
mov dword [ebp - 0x20054], edi
jmp 0x41117f
mov edi, 0x2000000
push 0x45afc0
push 0x41afa0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x20044], eax
cmp eax, 0xffffffff
jne 0x4111c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x411152
push ecx
mov edx, 0x43afc0
mov ecx, ebx
call fcn.0040e744
push eax
push 0x406674
push 0xffffffffffffffff
call fcn.0041283e
add esp, 0xc
jmp 0x411152
xor eax, eax
mov word [esi], ax
mov esi, dword [ebp - 0x20044]
mov eax, dword [0x45afec]
mov ecx, dword [0x45aff0]
cmp eax, 0x2e
je 0x4115e6
movzx ecx, cx
cmp eax, 0x2e002e
jne 0x4111f5
test ecx, ecx
je 0x4115e6
push 0x20000
lea edx, [ebp - 0x2000c]
mov ecx, ebx
call fcn.0040a3fe
push 0x45afec
mov edx, 0x20000
lea ecx, [ebp - 0x2000c]
call fcn.00407eee
push 0
push edi
push 3
push 0
push 3
push 0x80
lea eax, [ebp - 0x2000c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411258
lea eax, [ebp - 0x2000c]
push eax
push 0x4066a4
push esi
call fcn.0041283e
add esp, 0xc
jmp 0x4115e0
lea eax, [ebp - 0x20040]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x41128c
lea eax, [ebp - 0x2000c]
push eax
push 0x4066a4
push 0xffffffffffffffff
call fcn.0041283e
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4115e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x20040]
test bl, 2
je 0x4112ab
cmp dword [0x41aeec], 0
je 0x4115da
shr ebx, 4
and ebx, 1
mov ecx, ebx
call fcn.00408d33
test byte [ebp - 0x20040], 2
mov edi, eax
je 0x4112ca
or dword [edi + 0x14], 0x80
cmp word [0x45b1f4], 0
je 0x4112db
or dword [edi + 0x14], 0x8000
mov ecx, dword [edi + 0x2c]
mov eax, dword [ebp - 0x20048]
mov dword [edi + 0x1c], eax
test ecx, ecx
je 0x411326
mov eax, dword [ebp - 0x2002c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20028]
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x2c]
mov eax, dword [ebp - 0x20034]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x20030]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x2c]
mov eax, dword [ebp - 0x2003c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x20038]
mov dword [ecx + 0x14], eax
push 0x45afec
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [0x41af50], 0
mov esi, eax
mov dword [ebp - 0x2004c], esi
jne 0x4113d1
cmp esi, 0x6e
jbe 0x41138b
mov esi, 0x406378
test ebx, ebx
jne 0x411359
mov esi, 0x406384
mov ebx, dword [ebp - 0x20048]
mov edx, 0x43afc0
push 0x45afec
push 0x20000
mov ecx, ebx
call fcn.0040e6cd
push eax
push esi
push 0x4066d8
push 0
call fcn.0041283e
add esp, 0x14
jmp 0x4115e0
push 0x3b
push 0x45afec
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x4113d1
mov esi, 0x406378
test ebx, ebx
jne 0x4113ac
mov esi, 0x406384
mov ebx, dword [ebp - 0x20048]
mov edx, 0x43afc0
push 0x45afec
push 0x20000
mov ecx, ebx
call fcn.0040e6cd
push eax
push esi
push 0x406710
jmp 0x41137c
mov word [edi + 0x1a], si
lea esi, [esi*2 + 2]
mov ecx, esi
call fcn.00412a96
push 0x45afec
mov edx, esi
mov dword [edi + 4], eax
mov ecx, eax
call fcn.00407ec0
mov ecx, dword [ebp - 0x20050]
mov edx, edi
call fcn.0040ef4e
cmp dword [0x41af50], 0
mov dword [ebp - 0x20050], eax
jne 0x411521
mov eax, dword [0x41aebc]
test eax, eax
je 0x4114c7
cmp dword [ebp - 0x2004c], 0x40
jbe 0x411472
mov esi, 0x406378
test ebx, ebx
jne 0x411438
mov esi, 0x406384
push 0x20000
mov edx, 0x43afc0
mov ecx, edi
call fcn.0040e6cd
push eax
push esi
push 0x401110
push 0x406770
call dword [sym.imp.msvcrt.dll_printf]
push 1
call fcn.00417f51
add esp, 0x14
push eax
call dword [sym.imp.msvcrt.dll_fflush]
mov eax, dword [0x41aebc]
pop ecx
test eax, eax
je 0x4114c7
mov ecx, 0x45afec
call fcn.00411065
test eax, eax
jne 0x4114c7
mov esi, 0x406378
test ebx, ebx
jne 0x411492
mov esi, 0x406384
push 0x20000
mov edx, 0x43afc0
mov ecx, edi
call fcn.0040e6cd
push eax
push esi
push 0x401110
push 0x4067b8
call dword [sym.imp.msvcrt.dll_printf]
push 1
call fcn.00417f51
add esp, 0x14
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
cmp dword [0x41aeb0], 0
je 0x411521
mov eax, dword [ebp - 0x2004c]
mov ecx, dword [ebp - 0x20058]
lea eax, [ecx + eax*2]
add eax, dword [ebp - 0x2005c]
cmp eax, 0xf0
jbe 0x411521
push 0x20000
mov edx, 0x43afc0
mov ecx, edi
call fcn.0040e6cd
push eax
push 0x401110
push 0x406808
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
test ebx, ebx
jne 0x4116a2
or ebx, dword [ebp - 0x2001c]
cmp dword [0x41aeac], 0
mov ecx, dword [ebp - 0x20020]
mov dword [ebp - 0x2004c], ecx
je 0x411585
mov eax, ebx
or eax, ecx
jne 0x411585
push 0x20000
mov edx, 0x43afc0
mov ecx, edi
call fcn.0040e6cd
push eax
push 0x401110
push 0x40684c
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
mov ecx, dword [ebp - 0x2004c]
mov esi, dword [0x41912c]
mov dword [edi + 0xc], ecx
push 0
mov dword [edi + 8], ebx
mov edi, esi
pop edx
add edi, ebx
push 0
adc edx, ecx
add edi, 0xffffffff
pop eax
adc edx, 0xffffffff
mov ecx, esi
add ecx, 0xffffffff
push 0
adc eax, 0xffffffff
not ecx
not eax
and edi, ecx
push esi
and edx, eax
push edx
push edi
call fcn.00417fb0
add dword [0x419568], eax
add dword [0x41ad18], ebx
mov eax, dword [ebp - 0x2004c]
adc dword [0x41ad1c], eax
call fcn.00408059
mov ebx, dword [ebp - 0x20048]
mov esi, dword [ebp - 0x20044]
push 0x45afc0
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [ebp - 0x20054]
test eax, eax
jne 0x4111cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x411628
push ecx
mov edx, 0x43afc0
mov ecx, ebx
call fcn.0040e744
push eax
push 0x406674
push 0xffffffffffffffff
call fcn.0041283e
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x20050]
mov edi, eax
test eax, eax
je 0x4117c1
mov ebx, dword [ebp - 0x20064]
cmp dword [edi + 0x14], 0
jge 0x4117b0
movzx esi, word [edi + 0x1a]
mov ecx, dword [ebp - 0x20060]
lea eax, [esi*2 + 4]
cmp ecx, eax
jae 0x411767
push ecx
push 0x20000
mov edx, 0x43afc0
mov ecx, edi
call fcn.0040e6cd
push eax
push 0x401110
push 0x4068a0
call dword [sym.imp.msvcrt.dll_printf]
push 1
call fcn.00417f51
add esp, 0x14
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
jmp 0x4117b0
cmp dword [0x41af68], 0
mov ebx, dword [ebp - 0x20048]
je 0x4115e0
cmp dword [0x41af74], 0
jne 0x4116e0
cmp ebx, dword [0x419e80]
jne 0x4116e0
push 0x402254
push dword [edi + 4]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x4116e0
mov dword [0x41af74], edi
cmp dword [0x41af68], 0
je 0x4115e0
cmp dword [0x41af78], 0
jne 0x411718
cmp ebx, dword [0x419e80]
jne 0x411718
push 0x406878
push dword [edi + 4]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x411718
mov dword [0x41af78], edi
cmp dword [0x41af68], 0
je 0x4115e0
cmp dword [0x41af7c], 0
jne 0x4115e0
cmp ebx, dword [0x419e80]
jne 0x4115e0
push 0x40688c
push dword [edi + 4]
call dword [sym.imp.msvcrt.dll__wcsicmp]
mov esi, dword [ebp - 0x20044]
pop ecx
pop ecx
test eax, eax
jne 0x4115e6
mov dword [0x41af7c], edi
jmp 0x4115e6
add esi, esi
push esi
push dword [edi + 4]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea edx, [ebx + 2]
add edx, esi
mov ecx, edi
push 0x5c
pop eax
mov word [esi + ebx], ax
xor eax, eax
mov word [edx], ax
mov eax, dword [ebp - 0x20058]
add eax, esi
push eax
mov eax, dword [ebp - 0x2005c]
inc eax
push eax
mov eax, dword [ebp - 0x20060]
sub eax, esi
sub eax, 2
push eax
call fcn.004110f0
mov ecx, dword [edi + 0x34]
mov dword [ecx], eax
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x411645
mov eax, dword [ebp - 0x20050]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417930
mov esp, ebp
pop ebp
ret 0xc