Function at 0x10004d98
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 eax, eax
inc eax
push eax
mov ebx, eax
push esi
push 0x4b1b38
call fcn.100041d4
add esp, 0xc
mov edi, 5
push edi
push 0x6df1f6
call fcn.1000421a
add esp, 8
mov dword [esi], 0x3000
mov eax, 4
push eax
mov ebp, 4
push esi
push 0x703a20
call fcn.100041d4
add esp, 0xc
mov byte [esi], 0x40
push ebx
push esi
push 0x654965
call fcn.100041d4
add esp, 0xc
xor eax, eax
mov dword [esi], eax
xor ebx, ebx
push ebp
push esi
push 0x6ef21c
call fcn.100041d4
add esp, 0xc
mov dword [esi], ebx
push ebp
push esi
push 0x6ef226
call fcn.100041d4
add esp, 0xc
mov dword [esi], 0x14ee9
mov byte [esi + 4], bl
push edi
push esi
push 0x5636f6
call fcn.100041d4
add esp, 0xc
push 0x10003be1
push 0x563cb2
call fcn.100042ac
add esp, 8
push edi
push 0x654058
call fcn.1000421a
add esp, 8
mov edi, 0xe9
push 0x10003b76
push 0x654071
push edi
call fcn.100042cd
add esp, 0xc
push 0x10003b8d
push 0x65490b
push edi
call fcn.100042cd
add esp, 0xc
mov ebp, 0x42d2fe
mov dword [esi], ebp
mov dword [esi + 4], 0x42d294
mov eax, 9
push eax
push ebp
call fcn.1000421a
add esp, 8
mov bx, 0x7eb
lea edi, [esp + 2]
mov word [edi], bx
mov eax, 2
push eax
push edi
push ebp
call fcn.100041d4
add esp, 0xc
mov ebp, dword [esi + 4]
mov eax, 9
push eax
push ebp
call fcn.1000421a
add esp, 8
mov word [edi], bx
mov eax, 2
push eax
push edi
push ebp
call fcn.100041d4
add esp, 0xc
mov byte [esi], 0x7c
xor edi, edi
inc edi
push edi
push esi
push 0x42de8e
call fcn.100041d4
add esp, 0xc
mov word [esi], 0x58eb
mov ebp, 2
push ebp
push esi
push 0x42de96
call fcn.100041d4
add esp, 0xc
mov dword [esi], 0x40800000
mov eax, 4
push eax
push esi
push 0x7fc5f8
call fcn.100041d4
add esp, 0xc
xor ebx, ebx
mov byte [esi], bl
push edi
push esi
push 0x45e6e9
call fcn.100041d4
add esp, 0xc
push ebp
push 0x45e26a
call fcn.1000421a
add esp, 8
mov word [esi], 0xaee9
mov byte [esi + 2], bl
mov ebp, 3
push ebp
push esi
push 0x45e270
call fcn.100041d4
add esp, 0xc
mov word [esi], 0xc031
mov byte [esi + 2], 0x90
push ebp
push esi
push 0x650364
call fcn.100041d4
add esp, 0xc
movups xmm0, xmmword [0x100071b9]
movups xmmword [esi + 0xd], xmm0
movups xmm0, xmmword [0x100071ac]
movups xmmword [esi], xmm0
push 0x1d
push esi
push 0x64fb64
call fcn.100041d4
add esp, 0xc
mov dword [esi], 0x10009900
mov eax, 4
push eax
push esi
push 0x64b971
call fcn.100041d4
add esp, 0xc
mov dword [esi], 0xc2595e5f
mov word [esi + 4], 8
push 6
push esi
push 0x43774c
call fcn.100041d4
add esp, 0xc
mov word [esi], 0x27eb
mov ebx, 2
push ebx
push esi
push 0x6a0b85
call fcn.100041d4
add esp, 0xc
mov byte [esi], 0x30
push edi
push esi
push 0x40d723
call fcn.100041d4
add esp, 0xc
push 0x10003bbb
push 0x4d50e0
mov edi, 0xe9
push edi
call fcn.100042cd
add esp, 0xc
push 0x10003ba4
push 0x6071f3
push edi
mov edi, 0xe9
call fcn.100042cd
add esp, 0xc
mov word [esi], 0x1b0
mov byte [esi + 2], 0xc3
push ebp
push esi
push 0x974395
call fcn.100041d4
add esp, 0xc
push ebx
mov ebx, 2
push 0x949c80
call fcn.1000421a
add esp, 8
mov word [esi], 0x52eb
push ebx
push esi
push 0x4372cc
call fcn.100041d4
add esp, 0xc
push 0x10003b63
push 0x401387
push edi
call fcn.100042cd
add esp, 0xc
mov ebx, str.._settings.ini
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
xor eax, eax
push eax
push str.EnableMemoryAllocator
push 0x100072c9
call edi
xor ecx, ecx
test eax, eax
setne cl
push ecx
call fcn.10004d03
add esp, 4
movzx eax, byte [0x100090b0]
push ebx
push eax
push str.ShowFPS
push str.Scarface
call edi
test eax, eax
je 0x100050de
mov byte [0x100090b0], 1
push 1
call fcn.10004443
add esp, 4
mov ebp, str.Scarface
push ebx
push dword [0x100090b4]
push str.Vibrance
push ebp
call edi
mov dword [0x100090b4], eax
call fcn.1000450d
mov dword [esp + 4], 0x100090b8
push 4
push esi
push 0x65163e
call fcn.100041d4
add esp, 0xc
movzx eax, byte [0x100090bc]
push ebx
push eax
push str.WidescreenHUD
push ebp
call edi
test eax, eax
je 0x10005135
mov byte [0x100090bc], 1
call fcn.1000499c
push str.._settings.ini
push 0
push str.Enable
push str.PostProcessFX
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10005157
mov byte [0x830a0c], 1
mov esi, str.._settings.ini
push esi
push dword [0x100090c0]
push str.Bloom
push str.PostProcessFX
call edi
mov dword [0x100090c0], eax
call fcn.10004535
push esi
push 0
push str.SkipLicenseScreen
push str.Scarface
call edi
test eax, eax
je 0x10005196
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 0x100051c0
push 5
push 0x4f61f0
call fcn.1000421a
add esp, 8
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret