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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8289
mov eax, dword fs:[0]
push eax
mov eax, 0x1b2c
call fcn.100ddf80
mov eax, dword [0x101a12fc]
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, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1b38], 0
mov dword [ebp - 0x1b30], 0
mov dword [ebp - 0x1b2c], 0
mov dword [ebp - 0x1b28], 0
mov edx, dword [str..dp32]
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x182c], 7
mov dword [ebp - 0x1830], 0
mov word [ebp - 0x1840], ax
cmp word [edx], ax
jne 0x100917c3
xor ecx, ecx
jmp 0x100917df
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x100917d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100917d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1840]
call fcn.10047490
xor eax, eax
mov byte [ebp - 4], 1
push 0x7fe
push eax
mov word [ebp - 0x1810], ax
lea eax, [ebp - 0x180e]
push eax
call fcn.100dd9d6
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x10091818
mov eax, dword [edi]
jmp 0x1009181a
mov eax, edi
push eax
lea eax, [ebp - 0x1810]
push 0x1010caa0
push eax
call fcn.100903b0
add esp, 0xc
lea eax, [ebp - 0x1b20]
push eax
lea eax, [ebp - 0x1810]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10091863
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
jmp 0x10091ce8
test byte [ebp - 0x1b20], 0x10
je 0x10091994
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push eax
call fcn.100dd9d6
cmp dword [ebp - 0x182c], 8
lea eax, [ebp - 0x1840]
cmovae eax, dword [ebp - 0x1840]
push eax
lea eax, [ebp - 0x1af4]
push eax
push eax
lea eax, [ebp - 0x1010]
push str._s_s_s
push eax
call fcn.100903b0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.100dd9d6
add esp, 0x2c
lea eax, [ebp - 0x1010]
mov ecx, edi
push eax
call fcn.1000d750
push eax
lea eax, [ebp - 0x810]
push str._s_s
push eax
call fcn.100903b0
add esp, 0x10
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10091c84
xor eax, eax
mov dword [ebp - 0x1814], 7
mov dword [ebp - 0x1818], 0
mov word [ebp - 0x1828], ax
cmp word [ebp - 0x1af4], ax
je 0x1009194f
lea eax, [ebp - 0x1af4]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10091940
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1af4]
push eax
lea ecx, [ebp - 0x1828]
call fcn.10047490
lea eax, [ebp - 0x1828]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1b30]
call fcn.100963e0
cmp dword [ebp - 0x1814], 8
mov byte [ebp - 4], 1
jb 0x10091c84
push dword [ebp - 0x1828]
jmp 0x10091c7c
cmp dword [ebp - 0x182c], 8
lea eax, [ebp - 0x1840]
cmovae eax, dword [ebp - 0x1840]
push eax
lea eax, [ebp - 0x1af4]
push eax
call dword [0x100ef464]
add esp, 8
test eax, eax
je 0x10091c84
mov ecx, dword [ebp - 0x1830]
cmp word [eax + ecx*2], 0
jne 0x10091c84
xor eax, eax
mov dword [ebp - 0x1844], 7
mov dword [ebp - 0x1848], 0
mov word [ebp - 0x1858], ax
cmp word [ebp - 0x1af4], ax
jne 0x100919fc
xor ecx, ecx
jmp 0x10091a14
lea ecx, [ebp - 0x1af4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10091a05
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1af4]
push eax
lea ecx, [ebp - 0x1858]
call fcn.10047490
lea eax, [ebp - 0x1858]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1870]
push eax
lea ecx, [ebp - 0x1b21]
call fcn.10090e00
cmp dword [ebp - 0x1844], 8
mov byte [ebp - 4], 5
jb 0x10091a5f
push dword [ebp - 0x1858]
call fcn.100dd8b4
add esp, 4
xor eax, eax
mov dword [ebp - 0x1844], 7
push 0x1010c724
mov word [ebp - 0x1858], ax
lea eax, [ebp - 0x1888]
push edi
push eax
mov dword [ebp - 0x1848], 0
call fcn.10045020
lea ecx, [ebp - 0x1870]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x18b8]
push eax
call fcn.10049660
push 0x1010c724
push eax
lea eax, [ebp - 0x18a0]
mov byte [ebp - 4], 7
push eax
call fcn.10049690
lea ecx, [ebp - 0x1870]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x18d0]
push eax
call fcn.10049660
push dword [0x101a07bc]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1828]
push eax
call fcn.10049690
add esp, 0x3c
cmp dword [ebp - 0x18bc], 8
jb 0x10091b05
push dword [ebp - 0x18d0]
call fcn.100dd8b4
add esp, 4
xor eax, eax
mov dword [ebp - 0x18bc], 7
mov dword [ebp - 0x18c0], 0
mov word [ebp - 0x18d0], ax
cmp dword [ebp - 0x188c], 8
jb 0x10091b39
push dword [ebp - 0x18a0]
call fcn.100dd8b4
add esp, 4
xor eax, eax
mov dword [ebp - 0x188c], 7
mov dword [ebp - 0x1890], 0
mov word [ebp - 0x18a0], ax
cmp dword [ebp - 0x18a4], 8
jb 0x10091b6d
push dword [ebp - 0x18b8]
call fcn.100dd8b4
add esp, 4
xor eax, eax
mov dword [ebp - 0x18a4], 7
mov dword [ebp - 0x18a8], 0
mov word [ebp - 0x18b8], ax
cmp dword [ebp - 0x1874], 8
mov byte [ebp - 4], 0xe
jb 0x10091ba5
push dword [ebp - 0x1888]
call fcn.100dd8b4
add esp, 4
xor eax, eax
mov dword [ebp - 0x1874], 7
cmp dword [ebp - 0x1814], 8
mov word [ebp - 0x1888], ax
lea eax, [ebp - 0x1828]
cmovae eax, dword [ebp - 0x1828]
push eax
mov dword [ebp - 0x1878], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x1870]
push eax
je 0x10091c2a
lea eax, [ebp - 0x1858]
push eax
call fcn.1009eda0
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xf
jb 0x10091c03
mov eax, dword [eax]
push eax
push str._PLUGIN__Ignoring_top_level_plugin_in_favor_of_the_directory_plugins_s_n
call fcn.10044d60
add esp, 8
cmp dword [ebp - 0x1844], 0x10
jb 0x10091c35
push dword [ebp - 0x1858]
call fcn.100dd8b4
add esp, 4
jmp 0x10091c35
lea ecx, [ebp - 0x1b30]
call fcn.10096460
cmp dword [ebp - 0x1814], 8
jb 0x10091c4c
push dword [ebp - 0x1828]
call fcn.100dd8b4
add esp, 4
xor eax, eax
mov dword [ebp - 0x1814], 7
cmp dword [ebp - 0x185c], 8
mov dword [ebp - 0x1818], 0
mov word [ebp - 0x1828], ax
mov byte [ebp - 4], 1
jb 0x10091c84
push dword [ebp - 0x1870]
call fcn.100dd8b4
add esp, 4
lea eax, [ebp - 0x1b20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10091863
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x1b2c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1b30]
mov ecx, edi
sub ecx, esi
mov byte [ebp - 0x1b34], 0
push dword [ebp - 0x1b34]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.1008fb40
mov eax, dword [ebp - 0x1b28]
add esp, 0x10
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], eax
cmp dword [ebp - 0x182c], 8
jb 0x10091cff
push dword [ebp - 0x1840]
call fcn.100dd8b4
add esp, 4
mov eax, ebx
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.100dd9b4
mov esp, ebp
pop ebp
ret