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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c2d3c
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x1022b584]
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]
lea eax, [ebp - 0x484]
push eax
mov dword [ebp - 0x488], ebx
call fcn.1001e860
mov eax, dword [ebp - 0x484]
or edi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x1001e80e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001e80e
mov eax, 0x5c
mov dword [ebp - 0x18], 0
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x14], 0
push str..
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.1001b0d0
add esp, 0xc
mov esi, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x1001e554
cmp eax, edi
je 0x1001e554
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x18], 0
test esi, esi
jne 0x1001e59a
mov esi, 0x101d28a0
push esi
lea eax, [ebp - 0x448]
push 0x104
push eax
call fcn.10190daa
push eax
call fcn.10009a30
add esp, 0x10
lea eax, [ebp - 0x474]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x1001e5b4
mov byte [ebp - 0x475], 1
jmp 0x1001e655
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jl 0x1001e55d
mov byte [ebp - 0x475], 1
jmp 0x1001e655
push 0
lea eax, [ebp - 0x224]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x1001e5fb
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001e5ea
cmp eax, 0xffffffff
je 0x1001e5ea
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x18], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [ebp - 0x475], 1
jmp 0x1001e655
lea eax, [ebp - 0x224]
push 0x5c
push eax
call fcn.1018d60a
mov esi, eax
lea eax, [ebp - 0x224]
push 0x2f
push eax
call fcn.1018d60a
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1001e62c
test esi, esi
je 0x1001e647
lea ecx, [ebp - 0x224]
test esi, esi
lea eax, [ebp - 0x224]
cmovne eax, esi
cmp ecx, eax
jb 0x1001e642
xor eax, eax
mov word [ecx], ax
jmp 0x1001e647
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x14], 1
mov byte [ebp - 0x475], 0
mov edx, dword [ebp - 0x480]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e672
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x475], 0
je 0x1001e685
mov edx, dword [ebp - 0x18]
xor ebx, ebx
jmp 0x1001e7ee
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1001e7b5
mov eax, dword [ebp - 0x474]
shr eax, 4
and eax, 1
je 0x1001e7b5
cmp word [ebp - 0x448], 0x2e
jne 0x1001e6d0
mov ax, word [ebp - 0x446]
test ax, ax
je 0x1001e7b5
cmp ax, 0x2e
jne 0x1001e6d0
cmp word [ebp - 0x444], 0
je 0x1001e7b5
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x474]
call fcn.10019e30
push 0x101d2c78
push dword [ebp - 0x480]
mov byte [ebp - 4], 2
call fcn.1019694f
add esp, 8
test eax, eax
je 0x1001e791
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x474]
call fcn.1001c9e0
lea ecx, [ebp - 0x475]
mov byte [ebp - 4], 3
call fcn.1001b500
push eax
lea ecx, [ebp - 0x47c]
call fcn.1001ba90
mov esi, dword [ebp - 0x47c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001e776
mov edi, dword [ebx + 4]
cmp dword [ebx + 8], edi
je 0x1001e75e
lea eax, [esi - 0x10]
push eax
call fcn.100121a0
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [ebx + 4], 4
jmp 0x1001e773
lea eax, [ebp - 0x47c]
mov ecx, ebx
push eax
push edi
call fcn.10019380
mov esi, dword [ebp - 0x47c]
or edi, 0xffffffff
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001e791
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x480]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e7b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x1001e7de
test ecx, ecx
je 0x1001e7de
lea eax, [ebp - 0x474]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x1001e690
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x488]
mov eax, dword [ebx]
xor ebx, ebx
cmp eax, dword [ecx + 4]
setne bl
mov dword [ebp - 0x14], 0
test edx, edx
je 0x1001e810
cmp edx, 0xffffffff
je 0x1001e810
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x18], 0
jmp 0x1001e810
xor ebx, ebx
mov eax, dword [ebp - 0x484]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x1001e832
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 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.101799ce
mov esp, ebp
pop ebp
ret 4