Function at 0x10155d20
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 0x10185c40
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x480
cmp dword [0x10233c58], 0
push esi
push edi
jne 0x10155de3
mov ecx, dword [0x102ee8c8]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0x14
jb 0x10156032
cmp dword [0x102ee8cc], 0x10
mov eax, 0x102ee8b8
push 0x14
cmovae eax, dword [0x102ee8b8]
push str.CoreATTRIBUTES.ini
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.1007e9b0
lea eax, [ebp - 0x2c]
mov ecx, 0x10233c48
push eax
call fcn.100693b0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10155de3
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10155dd9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10155dd9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1017dc57
add esp, 8
cmp dword [0x10233c5c], 0x10
lea ecx, [ebp - 0xf0]
mov eax, 0x10233c48
cmovae eax, dword [0x10233c48]
sub esp, 0xc
push eax
call fcn.10084fe0
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, 0x10233af0
mov dword [ebp - 4], 0
call fcn.100624a0
lea eax, [ebp - 0xf0]
mov ecx, 0x10233ae0
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, 0x10233af0
push eax
call fcn.101561c0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 0xffffffff
call fcn.10060680
cmp dword [0x10233b3c], 0
je 0x1015601f
cmp dword [0x10233c5c], 0x10
mov eax, 0x10233c48
cmovae eax, dword [0x10233c48]
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 0x10155ffa
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop
push str.Index
push esi
call fcn.101550c0
push str.Effect
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
call fcn.101550c0
push str.Particle
push esi
mov dword [ebp - 0x24], eax
call fcn.101550c0
push str.Sheen
push esi
mov dword [ebp - 0x20], eax
call fcn.101550c0
cmp dword [0x10233c5c], 0x10
mov dword [ebp - 0x1c], eax
mov eax, 0x10233c48
cmovae eax, dword [0x10233c48]
push eax
push 0x45
lea eax, [ebp - 0x138]
push eax
push 0x101fe100
push str.Ancient
push esi
call edi
mov ecx, str.true
lea eax, [ebp - 0x138]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10155f50
test dl, dl
je 0x10155f4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10155f50
add eax, 2
add ecx, 2
test dl, dl
jne 0x10155f30
xor eax, eax
jmp 0x10155f55
sbb eax, eax
or eax, 1
test eax, eax
mov eax, 0x10233c48
sete byte [ebp - 0x18]
cmp dword [0x10233c5c], 0x10
cmovae eax, dword [0x10233c48]
push eax
push 0x45
lea eax, [ebp - 0x180]
push eax
push 0x101fe100
push str.StyleOverride
push esi
call edi
mov eax, str.true
lea ecx, [ebp - 0x180]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10155fb0
test dl, dl
je 0x10155fac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10155fb0
add ecx, 2
add eax, 2
test dl, dl
jne 0x10155f90
xor eax, eax
jmp 0x10155fb5
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.101563a0
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 0x10155fe0
sub edx, edi
inc esi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esi, edx
cmp byte [esi], al
jne 0x10155ec0
mov ecx, 0x10233af0
call fcn.100624a0
test eax, eax
jne 0x1015601f
push eax
mov eax, dword [0x10233ae0]
push 2
mov ecx, dword [eax + 4]
add ecx, 0x10233ae0
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.1005c870
int3