Function at 0x1000a850
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14a4
call fcn.10039000
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x620]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x1a
mov esi, ecx
push ebx
mov dword [ebp - 0x149c], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1000a8ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SHGetFolderPath
push str.GetAllUserAppDirectory
call fcn.10014390
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x620], cx
lea eax, [ebp - 0x828]
mov ecx, 0x10044c48
lea edx, [ebp - 0x620]
call fcn.10015110
mov edx, eax
push edx
lea eax, [ebp - 0xc38]
push 0x104
push eax
call fcn.10026c57
add esp, 0xc
push 0x10045d18
lea ecx, [ebp - 0xc38]
push 0x104
push ecx
call fcn.10026be2
add esp, 0xc
lea edx, [ebp - 0x1090]
push edx
lea eax, [ebp - 0xc38]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14a4], eax
cmp eax, 0xffffffff
jne 0x1000a924
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002656f
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14a0], esi
lea ecx, [ebp - 0x1064]
push 0x10045d20
push ecx
call fcn.10026b57
add esp, 8
test eax, eax
je 0x1000aaef
lea edx, [ebp - 0x1064]
push 0x10045d24
push edx
call fcn.10026b57
add esp, 8
test eax, eax
je 0x1000aaef
test byte [ebp - 0x1090], 0x10
je 0x1000aaef
lea eax, [ebp - 0x1064]
push eax
lea ecx, [ebp - 0x1298]
push 0x104
push ecx
call fcn.10026c57
add esp, 0xc
lea eax, [ebp - 0x418]
lea ecx, [ebp - 0x1064]
lea edx, [ebp - 0x828]
call fcn.10015110
lea eax, [ebp - 0x210]
mov ecx, str.theme.deleted.ini
lea edx, [ebp - 0x418]
call fcn.10015110
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
push edx
call edi
cmp eax, 0xffffffff
je 0x1000a9db
lea eax, [ebp - 0x418]
push eax
call fcn.1000a620
add esp, 4
jmp 0x1000aaef
lea eax, [ebp - 0x210]
mov ecx, str.theme.ini
lea edx, [ebp - 0x418]
call fcn.10015110
mov ecx, eax
push ecx
call edi
cmp eax, 0xffffffff
je 0x1000aaef
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x210]
push edx
push 0x104
lea eax, [ebp - 0x1498]
push eax
push 0x10045a28
push 0x10044cac
push str.kuao_Skin
call esi
lea ecx, [ebp - 0x210]
push ecx
push 0x104
lea edx, [ebp - 0xa30]
push edx
push 0x10045a28
push 0x10045d2c
push str.kuao_Skin
call esi
lea eax, [ebp - 0x1498]
push 0x10045a28
push eax
call fcn.10026b57
add esp, 8
test eax, eax
je 0x1000aaef
lea ecx, [ebp - 0xa30]
push 0x10045a28
push ecx
call fcn.10026b57
add esp, 8
test eax, eax
je 0x1000aaef
lea eax, [ebp - 0xe40]
lea ecx, [ebp - 0xa30]
lea edx, [ebp - 0x418]
call fcn.10015110
mov edx, eax
push edx
call edi
cmp eax, 0xffffffff
je 0x1000aaef
mov eax, dword [ebp - 0x149c]
push eax
sub esp, 0x408
mov ecx, 0x102
lea esi, [ebp - 0x1498]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.1000a7d0
add esp, 0x40c
cmp eax, 0xffffffff
jne 0x1000aaef
mov eax, dword [ebp - 0x14a0]
mov edi, eax
inc ebx
mov ecx, 0x102
lea esi, [ebp - 0x1498]
add eax, 0x408
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14a0], eax
mov esi, dword [ebp - 0x14a4]
lea ecx, [ebp - 0x1090]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000a92a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x149c]
push 0x1000a780
push 0x408
push ebx
push edx
call fcn.10026610
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1002656f
mov esp, ebp
pop ebp
ret