Function at 0x419ce0
Capabilities:
Check os version
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x728c2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push str.Creating_Scene
mov ebx, ecx
call fcn.00477fa0
add esp, 4
mov ecx, 0x7cb478
call fcn.004d51b0
mov ecx, 0x7cb478
mov esi, eax
call fcn.004d51e0
mov edi, eax
mov eax, dword [0x7c67dc]
mov ecx, dword [eax + 0x58]
call fcn.0043bb50
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
test ebp, ebp
mov dword [esp + 0x30], 0
je 0x419da4
mov ecx, ebp
call fcn.00405990
push 0
push 0
push 0
lea ecx, [ebp + 0x1c]
push 0
call fcn.00405760
push 1
push 0
mov ecx, ebp
mov dword [ebp], 0x7466f4
call fcn.00405960
push 3
push 3
push 0
mov ecx, ebp
mov dword [ebp + 0x18], 0x3f800000
call fcn.00408a10
push 0x3f800000
push 0
push 0
push 0
lea ecx, [esp + 0x24]
call fcn.00405760
mov ecx, dword [eax]
mov dword [ebp + 0x1c], ecx
jmp 0x419da6
xor ebp, ebp
mov ecx, dword [ebx + 0xf0]
cmp ecx, ebp
mov dword [esp + 0x30], 0xffffffff
je 0x419dce
test ecx, ecx
je 0x419dc1
call fcn.00404630
test ebp, ebp
mov dword [ebx + 0xf0], ebp
je 0x419dce
inc dword [ebp + 4]
mov ecx, dword [ebx + 0xf0]
push 0x7773d4
call fcn.006ea1a0
mov ecx, dword [ebx + 0xf0]
push 1
push 1
call fcn.00405960
mov edx, dword [0x7c67dc]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0xa0]
fld dword [eax + 0x9c]
mov edx, dword [eax + 0xa4]
fstp dword [ebx + 0xfc]
add eax, 0x9c
mov eax, ecx
mov dword [esp + 0x20], ecx
lea ebp, [ebx + 0xfc]
mov ecx, edx
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov dword [esp + 0x24], edx
mov edx, dword [0x7c67dc]
mov ecx, dword [edx + 0x30]
mov eax, dword [ecx]
push ebp
call dword [eax + 0x68]
mov ecx, dword [ebx + 0xf0]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
push 0x3f800000
push edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00405760
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1c], edx
mov eax, dword [ebx + 0xf0]
test eax, eax
mov edx, dword [ebx + 0x9c]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [ecx], eax
je 0x419e83
inc dword [eax + 4]
lea ecx, [edx + 0x88]
call fcn.00405840
mov ecx, dword [0x7c67dc]
mov edx, dword [ecx + 0x158]
mov eax, dword [ebx + 0xf0]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [ecx], eax
je 0x419eb0
inc dword [eax + 4]
lea ecx, [edx + 0x88]
call fcn.00405840
mov edx, dword [ebx + 0xf0]
mov ecx, dword [0x7c67dc]
mov eax, dword [ecx + 0x58]
push edx
mov edx, dword [eax + 0xac]
mov eax, dword [ebx + 0xa8]
push edx
mov edx, dword [ebx + 0xa4]
push eax
mov eax, dword [ebx + 0xa0]
push edx
push eax
call fcn.0040e790
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov byte [esp + 0x13], 0
xor ebx, ebx
push ebx
push str.Test_TES__d
push edi
call ebp
add esp, 0xc
push str..Morrowind.ini
push 0x200
push esi
push 0x7c6180
push edi
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x7c67e0]
mov ecx, dword [ecx]
push esi
call fcn.004baf80
test eax, eax
je 0x419f41
push 1
mov ecx, eax
call fcn.004b6280
mov byte [esp + 0x13], 1
inc ebx
cmp ebx, 0xa
jl 0x419ef9
mov al, byte [esp + 0x13]
test al, al
jne 0x419fe1
xor ebx, ebx
push ebx
push str.GameFile_d
push edi
call ebp
add esp, 0xc
push str..Morrowind.ini
push 0x200
push esi
push 0x7c6180
push edi
push str.Game_Files
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [0x7c67e0]
mov ecx, dword [edx]
push esi
call fcn.004baf80
test eax, eax
je 0x419fd4
push 1
mov ecx, eax
call fcn.004b6280
inc ebx
push ebx
push str.GameFile_d
push edi
call ebp
add esp, 0xc
push str..Morrowind.ini
push 0x200
push esi
push 0x7c6180
push edi
push str.Game_Files
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x7c67e0]
mov ecx, dword [eax]
push esi
call fcn.004baf80
test eax, eax
jne 0x419f8f
jmp 0x419fe1
push str.You_need_to_load_at_least_one_.ESM_or_.ESP_file_to_run_Morrowind.
call fcn.00476e20
add esp, 4
push str.Loading_Master_Plugin
call fcn.00477fa0
mov ecx, dword [0x7c67dc]
add esp, 4
push 0
push 0x253
call fcn.0040f930
push eax
call fcn.005ded20
mov ecx, dword [0x7c67e0]
mov ecx, dword [ecx]
add esp, 8
call fcn.004bb1d0
push str.Done_Loading_Master_Plugin
call fcn.00477fa0
mov ecx, dword [0x7c67dc]
add esp, 4
call fcn.0040e920
mov ecx, dword [0x7c67dc]
call fcn.0040eec0
mov ecx, dword [0x7c67e0]
push 1
push 0
call fcn.0048ed20
push str.Done_Creating_Scene
call fcn.00477fa0
mov ecx, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret