Function at 0x10004e36
Capabilities:
Read .ini file

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
lea esi, [esp + 4]
mov byte [esi], 0xeb
xor ebx, ebx
inc ebx
push ebx
push esi
push 0x4b1b38
call fcn.100026a0
add esp, 0xc
mov ebp, 5
push ebp
push 0x6df1f6
call fcn.100026e8
add esp, 8
mov dword [esi], 0x3000
mov edi, 4
push edi
push esi
push 0x703a20
call fcn.100026a0
add esp, 0xc
mov byte [esi], 0x40
push ebx
push esi
push 0x654965
call fcn.100026a0
add esp, 0xc
xor ebx, ebx
mov dword [esi], ebx
push edi
push esi
push 0x6ef21c
call fcn.100026a0
add esp, 0xc
mov dword [esi], ebx
push edi
push esi
push 0x6ef226
call fcn.100026a0
add esp, 0xc
mov dword [esi], 0x14ee9
mov byte [esi + 4], 0
push ebp
push esi
push 0x5636f6
call fcn.100026a0
add esp, 0xc
mov word [esi], 0x1b3
mov edi, 2
push edi
push esi
push 0x565768
call fcn.100026a0
add esp, 0xc
push edi
push 0x56642b
call fcn.100026e8
add esp, 8
push edi
push 0x5657b1
call fcn.100026e8
add esp, 8
push 0x10004cbd
push 0x563cb2
call fcn.1000277a
add esp, 8
push ebp
push 0x654058
call fcn.100026e8
add esp, 8
mov edi, 0xe9
push 0x10004c52
push 0x654071
push edi
call fcn.1000279b
add esp, 0xc
push 0x10004c69
push 0x65490b
push edi
call fcn.1000279b
add esp, 0xc
mov dword [esi + 4], 0x42d294
mov dword [esi], 0x42d2fe
lea edi, [esp + 2]
mov ebp, dword [esp + ebx*4 + 4]
push 9
push ebp
call fcn.100026e8
add esp, 8
mov word [esp + 2], 0x7eb
push 2
push edi
push ebp
call fcn.100026a0
add esp, 0xc
inc ebx
cmp ebx, 2
jne 0x10004f63
mov byte [esp + 4], 0x7c
xor edi, edi
inc edi
push edi
push esi
push 0x42de8e
call fcn.100026a0
add esp, 0xc
mov word [esp + 4], 0x58eb
mov ebp, 2
push ebp
push esi
push 0x42de96
call fcn.100026a0
add esp, 0xc
mov dword [esp + 4], 0x40800000
mov eax, 4
push eax
push esi
push 0x7fc5f8
call fcn.100026a0
add esp, 0xc
xor ebx, ebx
mov byte [esp + 4], bl
push edi
push esi
push 0x45e6e9
call fcn.100026a0
add esp, 0xc
push ebp
push 0x45e26a
call fcn.100026e8
add esp, 8
mov word [esp + 4], 0xaee9
mov byte [esp + 6], bl
mov ebx, 3
push ebx
push esi
push 0x45e270
call fcn.100026a0
add esp, 0xc
mov word [esp + 4], 0xc031
mov byte [esp + 6], 0x90
push ebx
push esi
push 0x650364
call fcn.100026a0
add esp, 0xc
movups xmm0, xmmword [0x100071fd]
movups xmmword [esp + 0x11], xmm0
movups xmm0, xmmword [0x100071f0]
movups xmmword [esp + 4], xmm0
push 0x1d
push esi
push 0x64fb64
call fcn.100026a0
add esp, 0xc
mov dword [esp + 4], 0x1000993c
mov eax, 4
push eax
push esi
push 0x64b971
call fcn.100026a0
add esp, 0xc
mov dword [esp + 4], 0xc2595e5f
mov word [esp + 8], 8
push 6
push esi
push 0x43774c
call fcn.100026a0
add esp, 0xc
mov word [esp + 4], 0x27eb
push ebp
push esi
push 0x6a0b85
call fcn.100026a0
add esp, 0xc
mov byte [esp + 4], 0x30
push edi
push esi
push 0x40d723
call fcn.100026a0
add esp, 0xc
mov edi, 0xe9
push 0x10004c97
push 0x4d50e0
push edi
call fcn.1000279b
add esp, 0xc
push 0x10004c80
push 0x6071f3
push edi
call fcn.1000279b
add esp, 0xc
mov word [esp + 4], 0x1b0
mov byte [esp + 6], 0xc3
push ebx
push esi
push 0x974395
call fcn.100026a0
add esp, 0xc
push ebp
push 0x949c80
call fcn.100026e8
add esp, 8
mov word [esp + 4], 0x52eb
push ebp
push esi
push 0x4372cc
call fcn.100026a0
add esp, 0xc
push 0x10004c23
push 0x401387
push edi
call fcn.1000279b
add esp, 0xc
mov ebx, str.._settings.ini
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 0
push str.EnableMemoryAllocator
push 0x1000734c
call edi
xor ecx, ecx
test eax, eax
setne cl
push ecx
call fcn.10004da2
add esp, 4
movzx eax, byte [0x1000900c]
push ebx
push eax
push str.ShowFPS
push str.Scarface
call edi
test eax, eax
je 0x10005194
mov byte [0x1000900c], 1
push 1
call fcn.1000290c
add esp, 4
mov ebp, str.Scarface
push ebx
push dword [0x10009010]
push str.Vibrance
push ebp
call edi
mov dword [0x10009010], eax
call fcn.100029d9
mov dword [esp + 4], 0x10009014
push 4
push esi
push 0x65163e
call fcn.100026a0
add esp, 0xc
movzx eax, byte [0x10009018]
push ebx
push eax
push str.WidescreenHUD
push ebp
call edi
test eax, eax
je 0x100051eb
mov byte [0x10009018], 1
call fcn.10002f64
push str.._settings.ini
push 0
push str.Enable
push str.PostProcessFX
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x1000520d
mov byte [0x830a0c], 1
mov ebx, str.._settings.ini
push ebx
push dword [0x1000901c]
push str.Bloom
push str.PostProcessFX
call edi
mov dword [0x1000901c], eax
call fcn.10002a01
push ebx
push 0
push str.SkipLicenseScreen
push str.Scarface
call edi
test eax, eax
je 0x1000524c
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 0x10005276
push 5
push 0x4f61f0
call fcn.100026e8
add esp, 8
mov ebp, str.._settings.ini
mov ebx, str.Camera
push ebp
push dword [0x10009024]
push 0x100074a9
push ebx
call edi
cvtsi2ss xmm0, eax
mov dword [0x10009024], eax
mulss xmm0, dword [0x10007020]
movss dword [0x10009028], xmm0
mulss xmm0, dword [0x100071a4]
movss dword [0x10009f10], xmm0
push 0x10004c36
push 0x56456d
push 0xe9
call fcn.1000279b
add esp, 0xc
mov dword [esp + 4], 0x10009f10
push 4
push esi
push 0x567a88
call fcn.100026a0
add esp, 0xc
movzx eax, byte [0x1000902c]
push ebp
push eax
push str.Acceleration
push ebx
call edi
test eax, eax
jne 0x1000530d
mov byte [0x1000902c], 0
push 0
call fcn.10002aba
add esp, 4
push str.._settings.ini
push 1
push str.SlowOverTarget
push str.Camera
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x1000533d
mov byte [esp + 4], 0
push 1
push esi
push 0x5660b5
call fcn.100026a0
add esp, 0xc
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret