Function at 0x100911e0
Capabilities:
Check if file exists
Check os version
Get common file path
Read .ini file

Disassembly:
push ebp
sub esp, 0x32c
lea ebp, [esp - 4]
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x32c], eax
push 0x10
mov eax, 0x10186d1a
call fcn.10145d80
xor esi, esi
push 0x206
lea eax, [ebp + 0x126]
push esi
push eax
mov edi, ecx
mov word [ebp + 0x124], si
call fcn.10146c80
push 0x110
lea eax, [ebp + 4]
push esi
push eax
mov dword [ebp], 0x114
call fcn.10146c80
add esp, 0x18
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 0x10], 2
mov ebx, 0x104
jb 0x10091336
cmp dword [ebp + 4], 6
jb 0x10091336
push str.shell32.dll
mov word [ebp + 0x124], si
call fcn.10016aa1
push str.SHGetKnownFolderPath
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x1009130d
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0x8000
lea ecx, [ebp + 0x114]
push ecx
mov dword [ebp - 0x10], esi
mov dword [ebp + 0x114], 0xa520a1a4
mov word [ebp + 0x118], 0x1780
mov word [ebp + 0x11a], 0x4ff6
mov byte [ebp + 0x11c], 0xbd
mov byte [ebp + 0x11d], 0x18
mov byte [ebp + 0x11e], 0x16
mov byte [ebp + 0x11f], 0x73
mov byte [ebp + 0x120], 0x43
mov byte [ebp + 0x121], 0xc5
mov byte [ebp + 0x122], 0xaf
mov byte [ebp + 0x123], 0x16
call eax
cmp dword [ebp - 0x10], esi
je 0x1009130d
push dword [ebp - 0x10]
lea eax, [ebp + 0x124]
push ebx
push eax
call fcn.10090926
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp word [ebp + 0x124], si
jne 0x1009132b
lea eax, [ebp + 0x124]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10091352
lea eax, [ebp + 0x124]
push eax
push esi
push esi
push 0x801a
push esi
mov word [ebp + 0x124], si
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [0x101f3028]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x124]
push eax
lea eax, [ebp - 0x14]
push str._sSogouPY.users00000001env.ini
push eax
mov dword [ebp - 4], esi
call fcn.10004662
lea eax, [ebp + 0x124]
push eax
add edi, 0x14
push str._sSogouPY.users00000001AllSkin_
push edi
mov dword [ebp - 0x18], edi
call fcn.10004662
add esp, 0x18
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100913c4
lea eax, [ebp + 0x124]
push eax
lea eax, [ebp - 0x14]
push str._sSogouPYenv.ini
push eax
call fcn.10004662
lea eax, [ebp + 0x124]
push eax
push str._sSogouPYAllSkin_
push edi
call fcn.10004662
add esp, 0x18
push dword [ebp - 0x14]
mov edi, str.Setting
push esi
push str.SkinEnabled
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x10091455
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ebx
push ebx
mov byte [ebp - 4], 1
call fcn.1000401e
push eax
push 0x1019f188
push str.ActiveSkinName
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100041f7
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], esi
je 0x10091443
push str..ssf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10007b6e
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.1000e81a
lea ecx, [ebp - 0x1c]
call fcn.10003b75
jmp 0x1009144b
mov ecx, dword [ebp - 0x18]
call fcn.100116a5
lea ecx, [ebp - 0x10]
call fcn.10003b75
jmp 0x10091462
mov ecx, dword [ebp - 0x18]
push str.defaultskin
call fcn.1000425b
lea ecx, [ebp - 0x14]
call fcn.10003b75
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x32c]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x330
leave
ret