Function at 0x1005e1e0
Capabilities:
Encode data using xor
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 0x100d5f10
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x724
cmp dword [0x100fb6e8], 0
push esi
jne 0x1005e323
mov dword [ebp - 0x5e], 0x49a0494
xor ecx, ecx
mov dword [ebp - 0x5a], 0x484048f
mov dword [ebp - 0x56], 0x4a2048f
mov dword [ebp - 0x52], 0x4aa04bc
mov dword [ebp - 0x4e], 0x490048c
mov dword [ebp - 0x4a], 0x4870486
mov dword [ebp - 0x46], 0x49c0486
mov dword [ebp - 0x42], 0x4820494
mov dword [ebp - 0x3e], 0x49c048c
mov dword [ebp - 0x3a], 0x4f50489
mov dword [ebp - 0x36], 0x4b804af
mov dword [ebp - 0x32], 0x4b1
mov byte [ebp - 0x2e], 1
nop word [eax + eax]
lea eax, [ecx + 0x4c8]
xor word [ebp + ecx*2 - 0x5e], ax
inc ecx
cmp ecx, 0x17
jb 0x1005e280
mov edx, dword [0x1017ddf0]
lea ecx, [ebp - 0x5e]
mov byte [ebp - 0x2e], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005e2a1
sub ecx, esi
mov eax, Ordinal_2
sar ecx, 1
sub eax, edx
cmp eax, ecx
jb 0x1005e495
cmp dword [0x1017ddf4], 8
mov eax, 0x1017dde0
push ecx
cmovae eax, dword [0x1017dde0]
lea ecx, [ebp - 0x5e]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.1000e2e0
mov ecx, 0x100fb6d8
call fcn.1000d830
movups xmm0, xmmword [ebp - 0x2c]
xor eax, eax
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
movups xmmword [0x100fb6d8], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [0x100fb6e8], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call fcn.1000d830
sub esp, 0xc
lea ecx, [ebp - 0x118]
push 0x100fb6d8
call fcn.10045000
mov esi, eax
mov dword [ebp - 4], 0
cmp esi, 0x100fb570
je 0x1005e36b
mov ecx, 0x100fb580
call fcn.1000d7a0
push esi
mov ecx, 0x100fb570
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::swap_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t____]
lea eax, [esi + 0x10]
mov ecx, 0x100fb580
push eax
call fcn.100459b0
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.1000abb0
cmp dword [0x100fb5cc], 0
je 0x1005e483
cmp dword [0x100fb6ec], 8
mov eax, 0x100fb6d8
cmovae eax, dword [0x100fb6d8]
push eax
push 0x30c
lea eax, [ebp - 0x730]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp word [ebp - 0x730], 0
lea esi, [ebp - 0x730]
je 0x1005e45e
push str.Index
push esi
call fcn.1005d8a0
push str.Effect
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
call fcn.1005d8a0
push str.Particle
push esi
mov dword [ebp - 0x24], eax
call fcn.1005d8a0
push 0x100dada0
push esi
mov dword [ebp - 0x20], eax
call fcn.1005d8a0
push str.Ancient
push esi
mov dword [ebp - 0x1c], eax
call fcn.1005d9e0
push str.StyleOverride
push esi
mov byte [ebp - 0x18], al
call fcn.1005d9e0
mov byte [ebp - 0x17], al
mov ecx, 0x100fb564
lea eax, [ebp - 0x14]
push eax
call fcn.1005e650
movups xmm0, xmmword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1005e440
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2]
add esi, 2
cmp word [esi], cx
jne 0x1005e3c4
mov ecx, 0x100fb580
call fcn.1000d7a0
test eax, eax
jne 0x1005e483
push eax
mov eax, dword [0x100fb570]
push 2
mov ecx, dword [eax + 4]
add ecx, 0x100fb570
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100051b0
int3