Function at 0x1000a860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1003b06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push 0x1a
push eax
push 0
call fcn.1000b4b0
lea ebx, [ebp - 0x20c]
add esp, 0x10
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x1000a8a6
sub ebx, ecx
sar ebx, 1
call fcn.10011890
test al, al
je 0x1000a8cf
pop ecx
push ecx
push eax
push ebp
pop edx
push ecx
pop ecx
pop edx
push ecx
pop ebp
pop esi
pop eax
pop ebp
push edi
push edi
push esp
push esi
call fcn.10011900
test al, al
je 0x1000a8ed
push ecx
pop ecx
pop ebp
pop edx
push ebx
push eax
push esp
push eax
pop esi
pop edx
push ebp
push ecx
push ebx
push ebp
push ebp
pop ebp
push ebx
pop esp
push ecx
push ebx
pop edx
call fcn.10011f20
test al, al
je 0x1000a906
pop edi
pop esi
pop edx
push ecx
pop edi
pop esi
pop ecx
pop edx
pop eax
pop esp
pop esi
pop esi
pop ecx
push esp
push ebx
push ecx
test ebx, ebx
je 0x1000aa78
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x1000a920
mov eax, dword [0x1002b448]
mov edx, dword [ebp - 0x210]
mov esi, edx
mov dword [edi], eax
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1000a940
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x1000a956
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x1000a980
mov dword [edi], eax
call fcn.10011a50
test al, al
je 0x1000a9b1
push ebx
push ebp
pop ebp
pop ebp
push esi
pop edi
pop esi
pop edx
pop edx
push ebp
push ebp
pop esp
push ebp
push ebp
push esi
push edx
push esp
pop ebp
pop ebx
push edi
pop esp
pop edx
push ecx
pop edi
pop eax
pop edi
call fcn.10011c10
test al, al
je 0x1000a9d3
push esi
pop esp
push esp
pop ebx
push edi
pop ecx
push ebx
push esi
pop ebx
pop esi
push ecx
push eax
pop edi
pop eax
pop esi
push esi
pop esi
pop ecx
push ebx
pop edi
pop ebp
push edi
pop eax
pop ebx
pop eax
call fcn.10011ac0
test al, al
je 0x1000a9f8
pop eax
push esi
pop ebp
pop edx
push edi
pop eax
push ecx
push edx
pop esp
pop edi
pop ebx
push esi
push ebx
pop eax
push ebx
pop eax
push esi
pop ebp
pop ebp
push edx
push edi
pop ebx
pop edi
pop esi
push ebp
pop ebp
pop ebp
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000aa18
lea eax, [ebp - 0x20c]
push eax
call fcn.1000a700
add esp, 4
call fcn.10011d60
test al, al
je 0x1000aa3f
pop ebx
push esi
push esp
pop eax
pop ebp
pop eax
push ebx
push ebx
push ebp
pop esi
pop esi
push ecx
pop ecx
push edi
pop esp
push edx
push edi
pop edx
pop edx
pop esp
push edx
push edx
pop ebp
pop edx
push esp
pop edx
pop edi
pop esp
push edi
pop esp
cmp word [ebp - 0x20c], 0
jne 0x1000aa4d
xor ecx, ecx
jmp 0x1000aa65
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000aa56
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.10002ba0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012ad9
mov esp, ebp
pop ebp
ret