Function at 0x100018f5
Capabilities:
Get system information on windows
Read .ini file

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
push str.._settings.ini
push 0
push str.AffinityMode
push 0x100040ea
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 2
je 0x1000195c
mov esi, eax
push 5
push 0x6df1f6
call fcn.100016bc
add esp, 8
cmp esi, 1
jne 0x1000195c
lea esi, [esp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 0x14]
cmp eax, 3
jb 0x1000195c
xor ecx, ecx
inc ecx
xor esi, esi
bts esi, ecx
inc ecx
cmp eax, ecx
jne 0x10001946
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
lea esi, [esp + 4]
mov dword [esi], 0x3000
push 4
push esi
push 0x703a20
call fcn.10001674
add esp, 0xc
mov byte [esi], 0x40
push 1
push esi
push 0x654965
call fcn.10001674
add esp, 0xc
mov dword [esi], 0x14ee9
mov byte [esi + 4], 0
push 5
push esi
push 0x5636f6
call fcn.10001674
add esp, 0xc
push 0x100018b6
push 0x563cb2
call fcn.10001705
add esp, 8
mov dword [esi + 4], 0x42d294
mov dword [esi], 0x42d2fe
xor edi, edi
lea ebx, [esp + 2]
mov ebp, dword [esp + edi*4 + 4]
push 9
push ebp
call fcn.100016bc
add esp, 8
mov word [esp + 2], 0x7eb
push 2
push ebx
push ebp
call fcn.10001674
add esp, 0xc
inc edi
cmp edi, 2
jne 0x100019c8
mov dword [esp + 4], 0x40800000
push 4
push esi
push 0x7fc5f8
call fcn.10001674
add esp, 0xc
xor ebx, ebx
mov byte [esp + 4], bl
xor edi, edi
inc edi
push edi
push esi
push 0x45e6e9
call fcn.10001674
add esp, 0xc
mov ebp, 2
push ebp
push 0x45e26a
call fcn.100016bc
add esp, 8
mov word [esp + 4], 0xaee9
mov byte [esp + 6], bl
push 3
push esi
push 0x45e270
call fcn.10001674
add esp, 0xc
mov word [esp + 4], 0x27eb
push ebp
push esi
push 0x6a0b85
call fcn.10001674
add esp, 0xc
mov byte [esp + 4], 0x30
push edi
push esi
push 0x40d723
call fcn.10001674
add esp, 0xc
mov byte [esp + 4], 0xe9
push edi
push esi
push 0x4d50e0
call fcn.10001674
add esp, 0xc
test al, al
je 0x10001aa2
push 0x100018c0
push 0x4d50e0
call fcn.10001705
add esp, 8
mov word [esp + 4], 0x1b0
mov byte [esp + 6], 0xc3
push 3
push esi
push 0x974395
call fcn.10001674
add esp, 0xc
mov word [esp + 4], 0x52eb
push 2
push esi
push 0x4372cc
call fcn.10001674
add esp, 0xc
push str.._settings.ini
push 0
push str.Vibrance
push str.Scarface
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001b15
cmp byte [0x1000541c], 0
je 0x10001b96
mov dword [esp + 4], 0x10005418
push 4
push esi
push 0x65163e
call fcn.10001674
add esp, 0xc
push str.._settings.ini
push 0
push str.ShowFPS
push str.Scarface
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001b3f
push 2
push 0x658e6a
call fcn.100016bc
add esp, 8
push str.._settings.ini
push 0
push str.SkipLicenseScreen
push str.Scarface
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001b64
mov dword [0x8234cc], 0x453b8000
push str.._settings.ini
push 0
push str.SkipMovies
push str.Scarface
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001b8e
push 5
push 0x4f61f0
call fcn.100016bc
add esp, 8
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x10004030]
minss xmm0, dword [0x10004004]
mov byte [0x1000541c], 1
xorps xmm1, xmm1
maxss xmm0, xmm1
movss dword [0x10005418], xmm0
jmp 0x10001afd