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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
push str.._settings.ini
push 0
push str.AffinityMode
push 0x1000414a
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 2
je 0x10001ad1
mov esi, eax
push 5
push 0x6df1f6
call fcn.10001712
add esp, 8
cmp esi, 1
jne 0x10001ad1
lea esi, [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esi + 0x14]
cmp ecx, 3
jb 0x10001ad1
lea eax, [ecx + 2]
and eax, 0xfffffffc
add ecx, 0xfffffffe
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movdqa xmm3, xmmword [0x10004030]
pxor xmm2, xmm2
mov ecx, 4
movdqa xmm4, xmmword [0x10004040]
movdqa xmm5, xmmword [0x10004050]
movdqa xmm6, xmmword [0x10004060]
movdqa xmm1, xmm2
movdqa xmm2, xmm3
pslld xmm2, 0x17
paddd xmm2, xmm4
cvttps2dq xmm7, xmm2
movdqa xmm2, xmm5
pmuludq xmm2, xmm7
pshufd xmm2, xmm2, 0xe8
pshufd xmm7, xmm7, 0xf5
pmuludq xmm7, xmm5
pshufd xmm7, xmm7, 0xe8
punpckldq xmm2, xmm7
por xmm2, xmm1
paddd xmm3, xmm6
lea edx, [eax + ecx]
add edx, 0xfffffffc
add ecx, 0xfffffffc
cmp edx, 4
jne 0x10001a1f
neg ecx
movd xmm3, ecx
pshufd xmm3, xmm3, 0
por xmm3, xmmword [0x10004070]
movdqa xmm4, xmmword [0x10004080]
pxor xmm0, xmm4
pxor xmm3, xmm4
pcmpgtd xmm3, xmm0
pand xmm1, xmm3
pandn xmm3, xmm2
por xmm3, xmm1
pshufd xmm0, xmm3, 0xee
por xmm0, xmm3
pshufd xmm1, xmm0, 0x55
por xmm1, xmm0
movdqu xmmword [esp + 0x30], xmm1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub esp, 8
mov dword [esp], eax
movups xmm0, xmmword [esp + 0x38]
movss dword [esp + 4], xmm0
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
lea esi, [esp + 0xc]
mov dword [esi], 0x3000
push 4
push esi
push 0x703a20
call fcn.100016cc
add esp, 0xc
mov byte [esi], 0x40
xor eax, eax
inc eax
push eax
push esi
push 0x654965
call fcn.100016cc
add esp, 0xc
mov dword [esi], 0x14ee9
xor eax, eax
mov byte [esi + 4], al
push 5
push esi
push 0x5636f6
call fcn.100016cc
add esp, 0xc
push 0x1000194d
push 0x563cb2
call fcn.1000175b
add esp, 8
mov edi, 0x42d2fe
mov dword [esi], edi
mov dword [esi + 4], 0x42d294
mov eax, 9
push eax
push edi
call fcn.10001712
add esp, 8
mov bp, 0x7eb
lea ebx, [esp + 0xa]
mov word [ebx], bp
mov eax, 2
push eax
push ebx
push edi
call fcn.100016cc
add esp, 0xc
mov edi, dword [esi + 4]
mov eax, 9
push eax
push edi
call fcn.10001712
add esp, 8
mov word [ebx], bp
mov eax, 2
push eax
mov ebp, 2
push ebx
push edi
call fcn.100016cc
add esp, 0xc
xor ebx, ebx
mov byte [esi], bl
xor edi, edi
inc edi
push edi
push esi
push 0x45e6e9
call fcn.100016cc
add esp, 0xc
push ebp
push 0x45e26a
call fcn.10001712
add esp, 8
mov word [esi], 0xaee9
mov byte [esi + 2], bl
push 3
push esi
push 0x45e270
call fcn.100016cc
add esp, 0xc
mov word [esi], 0x27eb
push ebp
push esi
push 0x6a0b85
call fcn.100016cc
add esp, 0xc
mov byte [esi], 0x30
push edi
push esi
push 0x40d723
call fcn.100016cc
add esp, 0xc
mov byte [esi], 0xe9
push edi
push esi
push 0x4d50e0
call fcn.100016cc
add esp, 0xc
test al, al
je 0x10001c19
push 0x10001957
push 0x4d50e0
call fcn.1000175b
add esp, 8
mov word [esp + 0xc], 0x1b0
mov byte [esp + 0xe], 0xc3
push 3
push esi
push 0x974395
call fcn.100016cc
add esp, 0xc
mov word [esp + 0xc], 0x52eb
push 2
push esi
push 0x4372cc
call fcn.100016cc
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 0x10001c8e
mov ecx, dword [0x10005300]
test cl, 1
je 0x10001d0f
mov dword [esp + 0xc], 0x100052fc
push 4
push esi
push 0x65163e
call fcn.100016cc
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 0x10001cb8
push 2
push 0x658e6a
call fcn.10001712
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 0x10001cdd
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 0x10001d07
push 5
push 0x4f61f0
call fcn.10001712
add esp, 8
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
or ecx, 1
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x10004090]
minss xmm0, dword [0x10004004]
mov dword [0x10005300], ecx
pxor xmm1, xmm1
maxss xmm0, xmm1
movss dword [0x100052fc], xmm0
jmp 0x10001c76