Function at 0x10160c90
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10191b90
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x480
cmp dword [0x10240c70], 0
push esi
push edi
jne 0x10160d53
mov ecx, dword [0x102fe050]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0x14
jb 0x10160fa2
cmp dword [0x102fe054], 0x10
mov eax, 0x102fe040
push 0x14
cmovae eax, dword [0x102fe040]
push str.CoreATTRIBUTES.ini
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.100861b0
lea eax, [ebp - 0x2c]
mov ecx, 0x10240c60
push eax
call fcn.1006d7c0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10160d53
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10160d49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10160d49
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10189b37
add esp, 8
cmp dword [0x10240c74], 0x10
lea ecx, [ebp - 0xf0]
mov eax, 0x10240c60
cmovae eax, dword [0x10240c60]
sub esp, 0xc
push eax
call fcn.1008c490
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xf4], eax
mov ecx, 0x10240b08
mov dword [ebp - 4], 0
call fcn.100668a0
lea eax, [ebp - 0xf0]
mov ecx, 0x10240af8
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::swap_class_std::basic_istream_char__struct_std::char_traits_char____]
lea eax, [ebp - 0xe0]
mov ecx, 0x10240b08
push eax
call fcn.10161150
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 0xffffffff
call fcn.10064ae0
cmp dword [0x10240b54], 0
je 0x10160f8f
cmp dword [0x10240c74], 0x10
mov eax, 0x10240c60
cmovae eax, dword [0x10240c60]
push eax
push 0x30c
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp byte [ebp - 0x490], 0
lea esi, [ebp - 0x490]
je 0x10160f6a
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop
push str.Index
push esi
call fcn.1015ff50
push str.Effect
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
call fcn.1015ff50
push str.Particle
push esi
mov dword [ebp - 0x24], eax
call fcn.1015ff50
push str.Sheen
push esi
mov dword [ebp - 0x20], eax
call fcn.1015ff50
cmp dword [0x10240c74], 0x10
mov dword [ebp - 0x1c], eax
mov eax, 0x10240c60
cmovae eax, dword [0x10240c60]
push eax
push 0x45
lea eax, [ebp - 0x138]
push eax
push 0x1020a334
push str.Ancient
push esi
call edi
mov ecx, str.true
lea eax, [ebp - 0x138]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10160ec0
test dl, dl
je 0x10160ebc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10160ec0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10160ea0
xor eax, eax
jmp 0x10160ec5
sbb eax, eax
or eax, 1
test eax, eax
mov eax, 0x10240c60
sete byte [ebp - 0x18]
cmp dword [0x10240c74], 0x10
cmovae eax, dword [0x10240c60]
push eax
push 0x45
lea eax, [ebp - 0x180]
push eax
push 0x1020a334
push str.StyleOverride
push esi
call edi
mov eax, str.true
lea ecx, [ebp - 0x180]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10160f20
test dl, dl
je 0x10160f1c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10160f20
add ecx, 2
add eax, 2
test dl, dl
jne 0x10160f00
xor eax, eax
jmp 0x10160f25
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
sete byte [ebp - 0x17]
push eax
call fcn.10161330
movups xmm0, xmmword [ebp - 0x28]
mov edx, esi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
lea edi, [edx + 1]
movups xmmword [ecx + 0xc], xmm0
mov dword [ecx + 0x1c], eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10160f50
sub edx, edi
inc esi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esi, edx
cmp byte [esi], al
jne 0x10160e30
mov ecx, 0x10240b08
call fcn.100668a0
test eax, eax
jne 0x10160f8f
push eax
mov eax, dword [0x10240af8]
push 2
mov ecx, dword [eax + 4]
add ecx, 0x10240af8
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10060cd0
int3