Function at 0x1001a2a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5c2e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x100c66d0]
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, dword [ebp + 8]
mov ebx, ecx
push 0xffffffffffffffff
push 0
push eax
mov dword [ebp - 4], 0
call fcn.100058a0
lea esi, [ebp - 0x64]
call fcn.10025650
mov edi, eax
lea eax, [ebp - 0x48]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.1001a8d0
add esp, 8
mov ecx, eax
lea eax, [ebp + 0xc]
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.10010fc0
mov ecx, eax
mov eax, edi
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.10011000
mov esi, 0x10
cmp dword [ebp - 0x88], esi
jb 0x1001a33f
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.1003d468
add esp, 4
xor edi, edi
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], edi
mov byte [ebp - 0x9c], 0
cmp dword [ebp - 0x34], esi
jb 0x1001a369
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x50], esi
jb 0x1001a38c
mov eax, dword [ebp - 0x64]
push eax
call fcn.1003d468
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x18], esi
jae 0x1001a3a5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1001a3c3
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call fcn.100058a0
jmp 0x1001a450
lea esi, [ebp - 0xb8]
call fcn.10025650
mov esi, eax
lea edi, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.1001a990
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.100109a0
mov esi, 0x10
cmp dword [ebp - 0x6c], esi
jb 0x1001a3ff
mov edx, dword [ebp - 0x80]
push edx
call fcn.1003d468
add esp, 4
xor edi, edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
cmp dword [ebp - 0xa4], esi
jb 0x1001a42a
mov eax, dword [ebp - 0xb8]
push eax
call fcn.1003d468
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x1001a435
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1001a484
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call fcn.100058a0
xor edi, edi
cmp dword [ebp - 0x18], esi
jb 0x1001a461
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp dword [ebp + 0x20], esi
jb 0x1001a480
mov eax, dword [ebp + 0xc]
push eax
call fcn.1003d468
add esp, 4
mov al, 1
jmp 0x1001a4b6
cmp dword [ebp - 0x18], esi
jb 0x1001a495
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp dword [ebp + 0x20], esi
jb 0x1001a4b4
mov edx, dword [ebp + 0xc]
push edx
call fcn.1003d468
add esp, 4
xor al, al
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.1003c5b5
mov esp, ebp
pop ebp
ret 0x20