Function at 0x1000a230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029e1b
mov eax, dword fs:[0]
push eax
sub esp, 0xc58
mov eax, dword [0x1003b0ac]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0xc64], 0
call fcn.100152f0
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100152f0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100152f0
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.100152f0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100152f0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100152f0
xor eax, eax
mov dword [ebp - 0xc44], 7
add esp, 0x48
mov dword [ebp - 0xc48], 0
mov word [ebp - 0xc58], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc40]
push 0x1a
push eax
push 0
call fcn.1000a620
add esp, 0x10
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0xc40]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x1000a320
lea eax, [ebp - 0x420]
push 0x5c
push eax
call fcn.1001544a
add esp, 8
test eax, eax
jne 0x1000a394
lea eax, [ebp - 0xc58]
push edi
push eax
call fcn.10009eb0
xor eax, eax
mov dword [esi + 0x14], 7
add esp, 8
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, esi
lea eax, [ebp - 0xc58]
push eax
call fcn.10002660
mov ecx, dword [ebp - 0xc44]
cmp ecx, 8
jb 0x1000a5f7
inc ecx
push ecx
jmp 0x1000a5e6
xor ecx, ecx
mov word [eax], cx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x832], ax
test ax, ax
jne 0x1000a3a0
lea ecx, [ebp - 0x830]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000a3c1
mov eax, dword [str.Local]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ecx], eax
mov eax, dword [0x1002b918]
mov dword [ecx + 4], eax
mov eax, dword [0x1002b91c]
mov dword [ecx + 8], eax
mov ax, word [0x1002b920]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x830]
push eax
call ebx
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
xor ecx, ecx
mov dword [ebp - 0xc5c], eax
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x62a], ax
test ax, ax
jne 0x1000a414
lea ecx, [ebp - 0x628]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000a435
mov eax, dword [str.LocalLow]
mov dword [ecx], eax
mov eax, dword [0x1002b928]
mov dword [ecx + 4], eax
mov eax, dword [0x1002b92c]
mov dword [ecx + 8], eax
mov eax, dword [0x1002b930]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1002b934]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x628]
push eax
call ebx
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
xor ecx, ecx
mov dword [ebp - 0xc60], eax
nop dword [eax + eax]
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xa3a], ax
test ax, ax
jne 0x1000a490
lea ecx, [ebp - 0xa38]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000a4b1
mov eax, dword [str.Roaming]
mov dword [ecx], eax
mov eax, dword [0x1002b93c]
mov dword [ecx + 4], eax
mov eax, dword [0x1002b940]
mov dword [ecx + 8], eax
mov eax, dword [0x1002b944]
mov dword [ecx + 0xc], eax
mov ax, word [0x1002b948]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0xa38]
push eax
call ebx
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
mov ecx, dword [ebp - 0xc5c]
test ecx, ecx
je 0x1000a5a8
mov ecx, dword [ebp - 0xc60]
test ecx, ecx
je 0x1000a5a8
test eax, eax
je 0x1000a5a8
push edi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call fcn.10002d60
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x1000a55a
lea eax, [ebp - 0x218]
push eax
call fcn.10009de0
add esp, 4
cmp word [ebp - 0x218], 0
jne 0x1000a57b
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0xc58]
call fcn.10002b40
jmp 0x1000a5b8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a584
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc58]
call fcn.10002b40
jmp 0x1000a5b8
lea eax, [ebp - 0xc58]
push edi
push eax
call fcn.10009eb0
add esp, 8
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0xc58]
push eax
call fcn.10002660
mov eax, dword [ebp - 0xc44]
cmp eax, 8
jb 0x1000a5f7
inc eax
push eax
push dword [ebp - 0xc58]
lea ecx, [ebp - 0xc58]
call fcn.10002c40
mov eax, esi
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.100124da
mov esp, ebp
pop ebp
ret