Function at 0x1009e090
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f5a86
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x1013b3dc]
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 eax, 0x10183130
xor ecx, ecx
mov byte [ecx + 0x1014212d], 0
lea eax, [eax + 4]
mov dword [eax - 0x1004], 0
add ecx, 0x100
mov dword [eax - 4], 0
cmp ecx, 0x40000
jb 0x1009e0c5
mov ecx, dword [0x10189cf4]
mov esi, 0x7fffffff
mov eax, esi
sub eax, ecx
cmp eax, 8
jb 0x1009e3be
cmp dword [0x10189cf8], 0x10
mov eax, 0x10189ce4
push 8
cmovae eax, dword [0x10189ce4]
push str.Content_
push ecx
push eax
push ecx
push dword [ebp - 0x49c]
lea ecx, [ebp - 0x358]
call fcn.10019a30
mov dword [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0x348]
sub eax, ecx
cmp eax, 8
jb 0x1009e3c3
cmp dword [ebp - 0x344], 0x10
lea eax, [ebp - 0x358]
push 8
cmovae eax, dword [ebp - 0x358]
push str.texture_
push ecx
push eax
push ecx
push dword [ebp - 0x49c]
lea ecx, [ebp - 0x340]
call fcn.10019a30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x330]
sub esi, ecx
cmp esi, 5
jb 0x1009e3c8
cmp dword [ebp - 0x32c], 0x10
lea eax, [ebp - 0x340]
push 5
cmovae eax, dword [ebp - 0x340]
push str.wall_
push ecx
push eax
push ecx
push dword [ebp - 0x49c]
lea ecx, [ebp - 0x328]
call fcn.10019a30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x328]
cmp dword [ebp - 0x314], 0x10
push 0x1012c320
cmovae eax, dword [ebp - 0x328]
push eax
lea eax, [ebp - 0x210]
push str._s_s
push eax
call fcn.10002f10
add esp, 0x10
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov esi, 0x1f5
cmp ebx, 0xffffffff
je 0x1009e2e1
mov edi, 0x1016162d
nop dword [eax]
test byte [ebp - 0x498], 0x10
jne 0x1009e2c4
cmp esi, 0x400
jge 0x1009e2c4
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x310]
push 0x10123d08
push eax
call fcn.10002f10
add esp, 0xc
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x110]
push 0x10123d08
push eax
call fcn.10002f10
lea eax, [ebp - 0x110]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1009e278
sub eax, edx
cmp eax, 4
jle 0x1009e29b
add eax, 0xfffffffc
cmp eax, 0x100
jae 0x1009e3d2
mov byte [ebp + eax - 0x110], cl
lea eax, [ebp - 0x110]
push eax
push 0x10123d08
push edi
call fcn.10002f10
add esp, 0xc
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.1009dd40
inc esi
add edi, 0x100
lea eax, [ebp - 0x498]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1009e220
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x314]
cmp ecx, 0x10
jb 0x1009e31b
mov edx, dword [ebp - 0x328]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009e311
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009e3cd
push ecx
push edx
call fcn.100c5916
add esp, 8
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
cmp ecx, 0x10
jb 0x1009e36c
mov edx, dword [ebp - 0x340]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009e362
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009e3cd
push ecx
push edx
call fcn.100c5916
add esp, 8
mov ecx, dword [ebp - 0x344]
cmp ecx, 0x10
jb 0x1009e3a2
mov edx, dword [ebp - 0x358]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009e398
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009e3cd
push ecx
push edx
call fcn.100c5916
add esp, 8
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.100c55b5
mov esp, ebp
pop ebp
ret
call fcn.100030f0
call fcn.100030f0
call fcn.100030f0
call fcn.100ce6d5
call fcn.100c5e00
int3