Function at 0x1000eb4a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x30
mov eax, 0x100286dc
call fcn.10013a45
mov ebx, ecx
and dword [ebp - 0x14], 0
lea edi, [ebx + 0x38]
mov eax, dword [edi + 0xc]
push edi
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], 2
call fcn.1000c822
xor esi, esi
inc esi
push esi
push str.SetupMenuItems
lea ecx, [ebp - 0x1c]
call fcn.10010d5c
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x28]
push eax
push str.SFXLocal
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], esi
call fcn.10010c29
and dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push str.SFXNetwork
lea ecx, [ebp - 0x1c]
call fcn.10010c29
push esi
lea eax, [ebp - 0x20]
push eax
push str.SFXOther
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
call fcn.10010c29
jmp 0x1000ed44
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
call fcn.1000c0be
cmp dword [eax + 0x18], 8
jb 0x1000ebe5
mov eax, dword [eax + 4]
jmp 0x1000ebe8
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
jne 0x1000ebfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x34]
call fcn.1000c0be
cmp dword [eax + 0x18], 8
jb 0x1000ec10
mov eax, dword [eax + 4]
jmp 0x1000ec13
add eax, 4
push str..exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea ecx, [ebp - 0x34]
test eax, eax
jne 0x1000ec59
call fcn.1000c0be
cmp dword [eax + 0x18], 8
jb 0x1000ec3d
mov eax, dword [eax + 4]
jmp 0x1000ec40
add eax, 4
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.1000bb97
add esp, 0x10
test eax, eax
je 0x1000ec77
lea ecx, [ebp - 0x34]
call fcn.1000c0be
cmp dword [eax + 0x18], 8
jb 0x1000ec69
mov eax, dword [eax + 4]
jmp 0x1000ec6c
add eax, 4
push eax
call fcn.1000aed7
pop ecx
test eax, eax
jne 0x1000ec85
or dword [ebp - 0x14], esi
and dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
jmp 0x1000ed30
cmp eax, esi
je 0x1000ec93
cmp eax, 7
je 0x1000ec93
cmp eax, 0xf
jne 0x1000ec9a
mov dword [ebp - 0x10], 0xa
cmp eax, 0xa
jne 0x1000eca3
or dword [ebp - 0x10], 7
cmp eax, 0xf
je 0x1000ecb2
cmp eax, 3
je 0x1000ecb2
cmp eax, 4
jne 0x1000ecb6
or dword [ebp - 0x10], 2
cmp eax, 5
je 0x1000eccf
cmp eax, 6
je 0x1000eccf
cmp eax, 0xc
je 0x1000eccf
cmp eax, 0xb
je 0x1000eccf
cmp eax, 0xd
jne 0x1000ecd3
or dword [ebp - 0x10], 2
cmp eax, 0x10
jne 0x1000ecdc
or dword [ebp - 0x10], 4
push eax
call fcn.1000a99a
pop ecx
test eax, eax
je 0x1000ecea
or dword [ebp - 0x10], esi
test byte [ebp - 0x2c], 0x10
je 0x1000ed27
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], esi
call fcn.1000c0be
cmp dword [eax + 0x14], esi
jbe 0x1000ed1f
lea ecx, [ebp - 0x34]
call fcn.1000c0be
push esi
mov ecx, eax
call fcn.1000c049
push 0x3a
pop ecx
cmp cx, word [eax]
je 0x1000ed1f
mov dword [ebp - 0x10], 5
mov eax, dword [ebp - 0x10]
or dword [ebp - 0x14], eax
jmp 0x1000ed30
mov eax, dword [ebp - 0x10]
or dword [ebp - 0x14], eax
and dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x50]
call fcn.1000e968
lea ecx, [ebp - 0x34]
call fcn.1000c0ea
mov eax, dword [edi + 0x10]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000c822
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10008d83
test al, al
je 0x1000ebce
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, esi
jne 0x1000ed88
push 0
lea ecx, [ebx + 0x50]
call fcn.1000c099
test byte [eax], 2
je 0x1000ed88
or dword [ebp - 0x14], 0x10
cmp dword [ebp - 0x18], 0
je 0x1000ed92
or dword [ebp - 0x14], 0x40
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, esi
jbe 0x1000ede6
or dword [ebp - 0x14], esi
mov edi, esi
lea esi, [ebx + 0x50]
mov eax, dword [esi + 0x10]
push esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000c822
mov eax, dword [esi + 0xc]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.1000c822
push edi
push dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push eax
call fcn.1000c854
add esp, 0x18
cmp dword [eax], 0
jne 0x1000ede6
and dword [ebp - 0x14], 0xffffffb1
cmp word [ebx + 0x9c], 0
je 0x1000edf9
mov eax, dword [ebp + 8]
and dword [eax], 0xfff8fbf2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10004f93
mov eax, dword [ebp - 0x14]
call fcn.10013b1d
ret 4