Function at 0x10e14ef
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x26c], edi
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e1543
test byte [eax + 0x1c], 1
je 0x10e1543
cmp byte [eax + 0x19], 4
jb 0x10e1543
push 0x1010df4
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
and dword [ebp - 0x260], 0
or dword [ebp - 0x264], 0xffffffff
and dword [ebp - 0x258], 0
mov esi, 0x1010e40
test edi, edi
jne 0x10e1571
push 0x10112c0
push 0x93a
push esi
call fcn.0107b644
cmp dword [edi + 4], 0
je 0x10e1587
push 0x101129c
push 0x93b
push esi
call fcn.0107b644
lea eax, [ebp - 0x260]
push eax
push 0
push ebx
call fcn.010de224
mov dword [ebp - 0x25c], eax
test eax, eax
jl 0x10e17ba
mov ebx, 0x250
push ebx
lea eax, [ebp - 0x254]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
jne 0x10e162d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e1615
test dword [eax + 0x1c], 0x200
je 0x10e1615
cmp byte [eax + 0x19], 3
jb 0x10e1615
push esi
push dword [ebp - 0x260]
push 0x1010df4
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
cmp esi, 5
jne 0x10e17ba
mov dword [ebp - 0x25c], 0x80070005
jmp 0x10e17ba
mov edi, 0x1007948
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e1663
test byte [eax + 0x1c], 1
je 0x10e1663
cmp byte [eax + 0x19], 4
jb 0x10e1663
lea ecx, [ebp - 0x228]
push ecx
push 0x1010df4
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
lea eax, [ebp - 0x228]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10e166c
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10e1681
sub eax, ecx
sar eax, 1
cmp esi, eax
jb 0x10e16a7
lea eax, [ebp - 0x228]
push edi
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10e171e
mov eax, 0x1007940
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10e16af
sub eax, edx
sar eax, 1
cmp esi, eax
jb 0x10e16d9
lea eax, [ebp - 0x228]
push 0x1007940
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10e171e
test byte [ebp - 0x254], 0x10
je 0x10e171e
push 0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0107c9fc
mov dword [ebp - 0x25c], eax
test eax, eax
jl 0x10e17ba
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x258]
push eax
call fcn.0106b707
and dword [ebp - 0x258], 0
xor esi, esi
cmp dword [ebp - 0x258], esi
je 0x10e173a
push dword [ebp - 0x258]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x258], esi
push ebx
lea eax, [ebp - 0x254]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10e1632
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
je 0x10e17ba
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e17a4
test byte [eax + 0x1c], 1
je 0x10e17a4
cmp byte [eax + 0x19], 2
jb 0x10e17a4
push esi
push dword [ebp - 0x260]
push 0x1010df4
push 0x49
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
test esi, esi
jle 0x10e17b4
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 0x25c], esi
xor esi, esi
cmp dword [ebp - 0x258], esi
je 0x10e17d0
push dword [ebp - 0x258]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x260], esi
je 0x10e17e4
push dword [ebp - 0x260]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x25c], esi
pop edi
pop esi
pop ebx
jge 0x10e1831
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e185b
test byte [eax + 0x1c], 1
je 0x10e1836
cmp byte [eax + 0x19], 3
jb 0x10e1836
push dword [ebp - 0x25c]
push dword [ebp - 0x268]
push 0x1010df4
push 0x4a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e185b
test byte [eax + 0x1c], 1
je 0x10e185b
cmp byte [eax + 0x19], 4
jb 0x10e185b
push 0x1010df4
push 0x4b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x25c]
xor ecx, ebp
call fcn.0106f798
leave
ret 8