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

Disassembly:
sub esp, 0x14c
mov eax, dword [0x10125a94]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
mov ebp, dword [esp + 0x15c]
lea eax, [esp + 0x10]
push esi
mov esi, dword [esp + 0x15c]
push edi
push eax
push ebp
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, ebp
mov dword [esp + 0x14], eax
lea edx, [ebx + 1]
nop
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x10033650
sub ebx, edx
mov byte [ebx + ebp - 1], cl
lea edi, [ebx + ebp]
cmp eax, 0xffffffff
je 0x10033832
nop dword [eax]
test byte [esp + 0x18], 0x10
je 0x1003378e
mov ecx, 0x100f8cec
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100336a4
test dl, dl
je 0x100336a0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100336a4
add eax, 2
add ecx, 2
test dl, dl
jne 0x10033684
xor eax, eax
jmp 0x100336a9
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003378e
mov ecx, 0x100f8cf0
lea eax, [esp + 0x44]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100336e0
test dl, dl
je 0x100336dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100336e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100336c0
xor eax, eax
jmp 0x100336e5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003378e
cmp byte [esp + 0x44], 0x5b
mov edi, 1
jne 0x1003378a
lea ecx, [esp + 0x44]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033704
sub ecx, edx
cmp byte [esp + ecx + 0x43], 0x5d
jne 0x1003378a
lea eax, [ebx + 1]
add eax, ecx
cmp eax, 0x104
lea eax, [esp + 0x44]
jae 0x1003376e
lea edi, [ebx + ebp]
mov ecx, eax
lea edx, [edi - 1]
sub edx, ecx
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x10033730
lea ecx, [ebp - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10033740
mov ax, word [0x100f8cf4]
mov word [ecx], ax
mov al, byte [0x100f8cf6]
push ebp
push esi
mov byte [ecx + 2], al
call fcn.10033610
add esp, 8
mov byte [edi - 1], 0
jmp 0x10033811
push eax
mov eax, dword [esi + 4]
push ebp
push str.skipping__s_s_because_the_path_is_too_long
push 2
push dword [eax + 0x18]
call fcn.100198a0
add esp, 0x14
jmp 0x10033811
xor esi, esi
jmp 0x100337df
mov dl, byte [esp + 0x44]
lea ecx, [esp + 0x44]
xor edi, edi
xor esi, esi
test dl, dl
je 0x100337cc
nop
inc ecx
cmp dl, 0x2e
mov eax, ecx
cmovne eax, esi
mov esi, eax
mov dl, byte [ecx]
test dl, dl
jne 0x100337a0
test esi, esi
je 0x100337cc
push 0x100f8c7c
push esi
call fcn.10036cd0
add esp, 8
test eax, eax
jne 0x100337cc
lea esi, [eax + 1]
jmp 0x100337df
lea eax, [esp + 0x44]
xor esi, esi
push eax
call fcn.100327f0
add esp, 4
test eax, eax
je 0x1003380d
push ebp
push 0x800
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.100323a0
add esp, 0x10
test eax, eax
je 0x1003380d
push edi
push esi
mov esi, dword [esp + 0x18]
push eax
push esi
call fcn.10033180
add esp, 0x10
jmp 0x10033811
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10033670
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1003385c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x1003385c
call esi
push eax
mov eax, dword [esp + 0x14]
push ebp
push str.failed_to_find_script_collections__path:__s__win32:__d_
push 1
mov eax, dword [eax + 4]
push dword [eax + 0x18]
call fcn.100198a0
add esp, 0x14
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100aebeb
add esp, 0x14c
ret