Function at 0x10169110
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 0x1019aa40
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x480
cmp dword [0x1024cb60], 0
push esi
push edi
jne 0x101691d3
mov ecx, dword [0x10310f60]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0x14
jb 0x10169422
cmp dword [0x10310f64], 0xf
mov eax, 0x10310f50
push 0x14
cmova eax, dword [0x10310f50]
push str.CoreATTRIBUTES.ini
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.1008ce20
lea eax, [ebp - 0x2c]
mov ecx, 0x1024cb50
push eax
call fcn.10074700
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x101691d3
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101691c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101691c9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1019280b
add esp, 8
cmp dword [0x1024cb64], 0xf
lea ecx, [ebp - 0xf0]
mov eax, 0x1024cb50
cmova eax, dword [0x1024cb50]
sub esp, 0xc
push eax
call fcn.10093220
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, 0x1024c9f8
mov dword [ebp - 4], 0
call fcn.1006d690
lea eax, [ebp - 0xf0]
mov ecx, 0x1024c9e8
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, 0x1024c9f8
push eax
call fcn.101695c0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 0xffffffff
call fcn.1006b8d0
cmp dword [0x1024ca44], 0
je 0x1016940f
cmp dword [0x1024cb64], 0xf
mov eax, 0x1024cb50
cmova eax, dword [0x1024cb50]
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 0x101693ea
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop
push str.Index
push esi
call fcn.101683d0
push str.Effect
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
call fcn.101683d0
push str.Particle
push esi
mov dword [ebp - 0x24], eax
call fcn.101683d0
push str.Sheen
push esi
mov dword [ebp - 0x20], eax
call fcn.101683d0
cmp dword [0x1024cb64], 0xf
mov dword [ebp - 0x1c], eax
mov eax, 0x1024cb50
cmova eax, dword [0x1024cb50]
push eax
push 0x45
lea eax, [ebp - 0x138]
push eax
push 0x102158fc
push str.Ancient
push esi
call edi
mov ecx, str.true
lea eax, [ebp - 0x138]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10169340
test dl, dl
je 0x1016933c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10169340
add eax, 2
add ecx, 2
test dl, dl
jne 0x10169320
xor eax, eax
jmp 0x10169345
sbb eax, eax
or eax, 1
test eax, eax
mov eax, 0x1024cb50
sete byte [ebp - 0x18]
cmp dword [0x1024cb64], 0xf
cmova eax, dword [0x1024cb50]
push eax
push 0x45
lea eax, [ebp - 0x180]
push eax
push 0x102158fc
push str.StyleOverride
push esi
call edi
mov eax, str.true
lea ecx, [ebp - 0x180]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x101693a0
test dl, dl
je 0x1016939c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x101693a0
add ecx, 2
add eax, 2
test dl, dl
jne 0x10169380
xor eax, eax
jmp 0x101693a5
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.101697a0
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 0x101693d0
sub edx, edi
inc esi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esi, edx
cmp byte [esi], al
jne 0x101692b0
mov ecx, 0x1024c9f8
call fcn.1006d690
test eax, eax
jne 0x1016940f
push eax
mov eax, dword [0x1024c9e8]
push 2
mov ecx, dword [eax + 4]
add ecx, 0x1024c9e8
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.10067900
int3