Function at 0x10007aa5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x110
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0xe7876927
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xe7fc9e0f
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], edx
movq mm0, qword [esp + 0xf8]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x100], eax
pxor mm0, qword [esp + 0x100]
movq qword [esp + 0xf0], mm0
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov byte [eax], 0
mov edi, str.._settings.ini
push edi
push dword [0x1000b020]
push str.EmissionRate
push str.ParticleEmitter
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x1000b020], eax
push edi
push 0x200
push 0x7fcbc8
push esi
push str.LanguageID
push str.Scarface
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [0x7fcbc8]
test al, al
je 0x10007bff
lea ecx, [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], 0x833593a9
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x83587907
mov edx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], edi
movq mm0, qword [esp + 0xe0]
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], edx
pxor mm0, qword [esp + 0xe8]
movq qword [esp + 0xd8], mm0
mov edx, dword [esp + 0xd8]
mov esi, dword [esp + 0xdc]
mov dword [esp + 4], esi
mov dword [esp], edx
mov edx, dword [esp]
mov esi, dword [esp + 4]
mov byte [ecx], al
push 1
push ecx
push edx
call fcn.100026d4
add esp, 0xc
push str.._settings.ini
push 0
push str.Mode
push str.Windowed
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10007f33
mov esi, eax
xor eax, eax
lea ebx, [esp + 0x10]
mov dword [ebx + 4], eax
mov dword [ebx], 0xd46b3bfd
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xd42ebd0f
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx]
mov edi, dword [ebx + 4]
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], edx
movq mm0, qword [esp + 0xc8]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], eax
pxor mm0, qword [esp + 0xd0]
movq qword [esp + 0xc0], mm0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [ebx], 1
push 4
mov edi, ebx
push ebx
xor ebx, ebx
push eax
call fcn.100026d4
add esp, 0xc
cmp esi, 2
jne 0x10007d42
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0xeab1ddfc
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xeaf4af73
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], edx
movq mm0, qword [esp + 0xb0]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], eax
pxor mm0, qword [esp + 0xb8]
movq qword [esp + 0xa8], mm0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 4]
push 0x10006328
push dword [esp + 4]
push 0xe9
call fcn.100027cf
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x9f0254fa
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x9f67120b
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edx
movq mm0, qword [esp + 0x98]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], eax
pxor mm0, qword [esp + 0xa0]
movq qword [esp + 0x90], mm0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov byte [esp + 0x10], 0xbd
xor ecx, ecx
inc ecx
push ecx
mov esi, edi
push edi
push eax
call fcn.100026d4
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x99b999f4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x99dcdf03
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edx
movq mm0, qword [esp + 0x80]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], eax
pxor mm0, qword [esp + 0x88]
movq qword [esp + 0x78], mm0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov byte [esp + 0x10], 0x9d
xor ecx, ecx
inc ecx
push ecx
push esi
push eax
call fcn.100026d4
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0xf683f6b5
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xf6e6bfef
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edx
movq mm0, qword [esp + 0x68]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
pxor mm0, qword [esp + 0x70]
movq qword [esp + 0x60], mm0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov cl, 1
mov byte [esp + 0x10], cl
xor ecx, ecx
inc ecx
push ecx
push esi
push eax
call fcn.100026d4
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0xa05334bb
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xa0367e07
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edx
movq mm0, qword [esp + 0x50]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
pxor mm0, qword [esp + 0x58]
movq qword [esp + 0x48], mm0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov cl, 1
mov byte [esp + 0x10], cl
xor ecx, ecx
inc ecx
push ecx
push esi
push eax
call fcn.100026d4
add esp, 0xc
push str.._settings.ini
push 0
push str.DebugMenu
push 0x1000a349
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10008012
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x87a48e43
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x87d89217
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
movq mm0, qword [esp + 0x38]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
pxor mm0, qword [esp + 0x40]
movq qword [esp + 0x30], mm0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov byte [ecx], al
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x8c15ae5e
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x8c69b20b
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
movq mm0, qword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
pxor mm0, qword [esp + 0x28]
movq qword [esp + 0x18], mm0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov byte [ecx], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret