Function at 0x40eb30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58355f
mov eax, dword fs:[0]
push eax
sub esp, 0xbd8
mov eax, dword [0x60b044]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x7e0]
push 0x3e8
push 0
push eax
call fcn.0042bf30
push 0x3e8
lea eax, [ebp - 0xbc8]
push 0
push eax
call fcn.0042bf30
push 0x3e8
lea eax, [ebp - 0x3f8]
push 0
push eax
call fcn.0042bf30
mov eax, dword [0x61554c]
add esp, 0x24
test eax, eax
jne 0x40ebd3
push 0x1d4
call fcn.0041aff4
add esp, 4
mov dword [ebp - 0xbe4], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00408c00
mov dword [ebp - 4], 0xffffffff
mov dword [0x61554c], eax
mov ecx, eax
call fcn.0041e907
mov esi, eax
mov eax, dword [0x61554c]
test eax, eax
jne 0x40ec12
push 0x1d4
call fcn.0041aff4
add esp, 4
mov dword [ebp - 0xbe4], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00408c00
mov dword [ebp - 4], 0xffffffff
mov dword [0x61554c], eax
mov ecx, eax
call fcn.00425ae1
push eax
lea eax, [ebp - 0x7e0]
push 0x600108
push eax
call fcn.00402ca0
lea eax, [ebp - 0x7e0]
push eax
call fcn.00427e5e
push str..wnpf
push ebx
push esi
lea eax, [ebp - 0x3f8]
push str._sSkin_s_s
push eax
call fcn.00402ca0
add esp, 0x24
lea eax, [ebp - 0x3f8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ecbb
mov eax, dword [0x61554c]
test eax, eax
jne 0x40ec99
push 0x1d4
call fcn.0041aff4
add esp, 4
mov dword [ebp - 0xbe4], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00408c00
mov dword [ebp - 4], 0xffffffff
mov dword [0x61554c], eax
push str..wnpf
push ebx
mov ecx, eax
call fcn.0041e8fb
push eax
lea eax, [ebp - 0x3f8]
push str._sAllSkin_s_s
push eax
call fcn.00402ca0
add esp, 0x14
lea eax, [ebp - 0x3f8]
push eax
push str.WnSkinInst.exe
push esi
lea eax, [ebp - 0xbc8]
push str._s_s__untie__s
push eax
call fcn.00402ca0
lea eax, [ebp - 0xbc8]
push eax
call fcn.00427d99
add esp, 0x18
mov ecx, str.default
mov eax, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ed16
test dx, dx
je 0x40ed12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ed16
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ecf0
xor eax, eax
jmp 0x40ed1b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40ed28
call fcn.00428ee1
push 0
jmp 0x40ed2f
call fcn.00428ee1
push 1
mov edx, dword [eax]
mov ecx, eax
push 0x4f
call dword [edx + 0x14]
mov eax, dword [0x615774]
test eax, eax
jne 0x40ed5c
push 4
call fcn.0041aff4
mov dword [ebp - 0xbe4], eax
add esp, 4
mov dword [0x615774], eax
mov dword [eax], vtable.CShareConfigManager.0
mov edx, dword [eax]
mov ecx, eax
push 0x8c
call dword [edx]
lea esi, [eax + 1]
mov eax, dword [0x615774]
test eax, eax
jne 0x40ed8e
push 4
call fcn.0041aff4
mov dword [ebp - 0xbe4], eax
add esp, 4
mov dword [0x615774], eax
mov dword [eax], vtable.CShareConfigManager.0
mov edx, dword [eax]
mov ecx, eax
push esi
push 0x8c
call dword [edx + 0xc]
mov eax, dword [0x615774]
test eax, eax
jne 0x40edbf
push 4
call fcn.0041aff4
mov dword [ebp - 0xbe4], eax
add esp, 4
mov dword [0x615774], eax
mov dword [eax], vtable.CShareConfigManager.0
mov edx, dword [eax]
mov ecx, eax
push esi
push 0x8c
call dword [edx + 0x48]
mov eax, dword [0x61554c]
test eax, eax
jne 0x40ee02
push 0x1d4
call fcn.0041aff4
add esp, 4
mov dword [ebp - 0xbe4], eax
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00408c00
mov dword [ebp - 4], 0xffffffff
mov dword [0x61554c], eax
mov ecx, eax
call fcn.004259ac
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
push edi
push 0x5fe0f0
push str.IsModifyUIStyle64
push str.SetModify
call esi
push edi
push 0x5fe0f0
push str.IsModifyUIStyle
push str.SetModify
call esi
push edi
push 0x5fe0f0
push str.IsTempModifyUIStyle64
push str.SetModify
call esi
push edi
push 0x5fe0f0
push str.IsTempModifyUIStyle
push str.SetModify
call esi
xor eax, eax
mov dword [ebp - 0xbcc], 7
mov dword [ebp - 0xbd0], 0
mov word [ebp - 0xbe0], ax
cmp word [ebx], ax
jne 0x40ee7f
xor ecx, ecx
jmp 0x40ee93
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ee84
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0xbe0]
call fcn.004031f0
mov dword [ebp - 4], 4
call fcn.00428ee1
lea ecx, [ebp - 0xbe0]
push ecx
push 0x91
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xbcc]
cmp eax, 8
jb 0x40eee4
inc eax
lea ecx, [ebp - 0xbe0]
push eax
push dword [ebp - 0xbe0]
call fcn.00403400
xor eax, eax
mov dword [ebp - 0xbcc], 7
push str.wnwb.exe
mov dword [ebp - 0xbd0], 0
mov word [ebp - 0xbe0], ax
call fcn.004282b1
add esp, 4
test eax, eax
je 0x40ef3c
push 0x600e78
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ef3c
push 0
push 0
push 0x7f0
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
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.0041afe3
mov esp, ebp
pop ebp
ret 4