Function at 0x10025780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc0
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0x7d8], ax
lea eax, [ebp - 0x7d6]
push eax
mov edi, ecx
call fcn.10098090
add esp, 0xc
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0xbc0], ax
lea eax, [ebp - 0xbbe]
push eax
call fcn.10098090
add esp, 0xc
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0x3f0], ax
lea eax, [ebp - 0x3ee]
push eax
call fcn.10098090
add esp, 0xc
call fcn.100066b0
cmp dword [eax + 0xb0], 8
lea esi, [eax + 0x9c]
jb 0x10025807
mov esi, dword [esi]
call fcn.100066b0
add eax, 0x6c
cmp dword [eax + 0x14], 8
jb 0x10025817
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x7d8]
push 0x10192050
push eax
call fcn.10091da4
add esp, 0xc
lea ecx, [ebp - 0x7d8]
call fcn.1000f510
push str..scpf
push edi
push esi
lea eax, [ebp - 0x3f0]
push str._sSkin_s_s
push eax
call fcn.10091da4
add esp, 0x14
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002588e
call fcn.100066b0
add eax, 0x3c
cmp dword [eax + 0x14], 8
jb 0x10025873
mov eax, dword [eax]
push str..scpf
push edi
push eax
lea eax, [ebp - 0x3f0]
push str._sAllSkin_s_s
push eax
call fcn.10091da4
add esp, 0x14
lea eax, [ebp - 0x3f0]
push eax
push str.SCSkinInst.exe
push esi
lea eax, [ebp - 0xbc0]
push str._s_s__untie__s
push eax
call fcn.10091da4
add esp, 0x14
lea ecx, [ebp - 0xbc0]
call fcn.1000e070
mov ecx, str.default
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100258e7
test dx, dx
je 0x100258e3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100258e7
add eax, 4
add ecx, 4
test dx, dx
jne 0x100258c1
xor eax, eax
jmp 0x100258ec
sbb eax, eax
or eax, 1
mov ecx, dword [0x101ed6cc]
test eax, eax
jne 0x10025926
test ecx, ecx
jne 0x10025922
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1002591a
mov dword [ecx], vtable.CShareConfigManager.0
mov dword [0x101ed6cc], ecx
push 0
jmp 0x1002594c
xor ecx, ecx
mov dword [0x101ed6cc], ecx
push 0
jmp 0x1002594c
test ecx, ecx
jne 0x1002594a
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10025942
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x10025944
xor ecx, ecx
mov dword [0x101ed6cc], ecx
push 1
mov eax, dword [ecx]
push 0x57
call dword [eax + 0xc]
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x1002597d
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10025975
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x10025977
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push edi
push 0x9f
call dword [eax + 8]
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x100259b2
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100259aa
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x100259ac
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push 0x9a
call dword [eax]
mov ecx, dword [0x101ed6cc]
lea esi, [eax + 1]
test ecx, ecx
jne 0x100259e8
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100259e0
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x100259e2
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push esi
push 0x9a
call dword [eax + 0xc]
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x10025a1d
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10025a15
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x10025a17
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push esi
push 0x9a
call dword [eax + 0x48]
call fcn.100066b0
cmp dword [eax + 0xe0], 8
lea edi, [eax + 0xcc]
jb 0x10025a3e
mov edi, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
push 0x10191dc0
push 0x10191dc4
push str.SetModify
call esi
push edi
push 0x10191dc0
push str.IsModifyUIStyle
push str.SetModify
call esi
push edi
push 0x10191dc0
push str.IsTempModifyUIStyle64
push str.SetModify
call esi
push edi
push 0x10191dc0
push str.IsTempModifyUIStyle
push str.SetModify
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1009174c
mov esp, ebp
pop ebp
ret