Function at 0x1000a910
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027b9b
mov eax, dword fs:[0]
push eax
sub esp, 0xc54
mov eax, dword [0x1003a064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0xc5c], esi
call fcn.10012430
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10012430
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10012430
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.10012430
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10012430
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10012430
xor eax, eax
mov dword [ebp - 0xc48], 0
add esp, 0x48
mov dword [ebp - 0xc44], 7
mov word [ebp - 0xc58], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc40]
push 0x1a
push eax
push 0
call fcn.1000ac90
add esp, 0x10
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xc40]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x1000a9f4
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.1001258a
add esp, 8
test eax, eax
je 0x1000ac14
xor ecx, ecx
mov word [eax], cx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x832], ax
test ax, ax
jne 0x1000aa30
lea ecx, [ebp - 0x830]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000aa51
mov eax, dword [str.Local]
mov dword [ecx], eax
mov eax, dword [0x100299fc]
mov dword [ecx + 4], eax
mov eax, dword [0x10029a00]
mov dword [ecx + 8], eax
mov ax, word [0x10029a04]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
xor ecx, ecx
mov dword [ebp - 0xc60], eax
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x62a], ax
test ax, ax
jne 0x1000aaa2
lea ecx, [ebp - 0x628]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000aac3
mov eax, dword [str.LocalLow]
mov dword [ecx], eax
mov eax, dword [0x10029a0c]
mov dword [ecx + 4], eax
mov eax, dword [0x10029a10]
mov dword [ecx + 8], eax
mov eax, dword [0x10029a14]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10029a18]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
xor ecx, ecx
mov dword [ebp - 0xc5c], eax
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xa3a], ax
test ax, ax
jne 0x1000ab20
lea ecx, [ebp - 0xa38]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000ab41
mov eax, dword [str.Roaming]
mov dword [ecx], eax
mov eax, dword [0x10029a20]
mov dword [ecx + 4], eax
mov eax, dword [0x10029a24]
mov dword [ecx + 8], eax
mov eax, dword [0x10029a28]
mov dword [ecx + 0xc], eax
mov ax, word [0x10029a2c]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
cmp dword [ebp - 0xc60], 0
je 0x1000ac14
cmp dword [ebp - 0xc5c], 0
je 0x1000ac14
test eax, eax
je 0x1000ac14
push edi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.10002860
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000abe4
lea eax, [ebp - 0x420]
push eax
call fcn.1000a650
add esp, 4
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000abf0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc58]
call fcn.10002740
jmp 0x1000ac24
lea eax, [ebp - 0xc58]
push edi
push eax
call fcn.1000a720
add esp, 8
movups xmm0, xmmword [ebp - 0xc58]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0xc58]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0xc58], ax
movq xmm0, qword [ebp - 0xc48]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0xc48], eax
mov dword [ebp - 0xc44], 7
call fcn.10002470
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000fe5f
mov esp, ebp
pop ebp
ret