Function at 0x44d2b0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x72a638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
push ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
push ebx
lea ecx, [esi + 0x38]
push ebx
mov dword [esp + 0x1c], esi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0x44]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0x50]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0x5c]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0x68]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ebp, [esi + 0x74]
push ebx
mov ecx, ebp
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0x80]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0x8c]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0x98]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0xa4]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0xb0]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0xbc]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0xc8]
push ebx
call fcn.004057e0
push ebx
push ebx
lea ecx, [esi + 0xd4]
push ebx
call fcn.004057e0
mov eax, 0x3f800000
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0x20d], bl
mov dword [esi + 8], 0x3dcccccd
mov dword [esi + 0xf0], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0xf8], eax
mov dword [esi + 0xf4], eax
mov dword [esi + 0x100], ebx
mov dword [esi + 0xfc], ebx
mov ecx, 0x7cb478
mov dword [esp + 0x1c], ebx
mov dword [esi], 0x746c60
call fcn.004d51b0
push str..Morrowind.ini
push 0x200
mov edi, eax
mov eax, dword [esp + 0x2c]
push edi
push str.076_048_036
push str.Sky_Sunrise_Color
mov byte [esi + 0x20c], bl
mov dword [esi + 0x314], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.Weather_Ashstorm
mov dword [esi + 4], 6
mov dword [esi + 0x10], eax
mov dword [esi + 0x318], 0x46c35000
mov dword [esi + 0x31c], 0x4788b800
call ebx
lea ecx, [esi + 0x7c]
push ecx
lea edx, [esi + 0x78]
push edx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_sscanf]
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x74]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x74]
push edi
fld dword [esi + 0x78]
push str.094_060_045
fmul dword [0x746adc]
push str.Sky_Day_Color
push str.Weather_Ashstorm
fstp dword [esi + 0x78]
fld dword [esi + 0x7c]
fmul dword [0x746adc]
fstp dword [esi + 0x7c]
call ebx
lea eax, [esi + 0x88]
push eax
lea ecx, [esi + 0x84]
push ecx
lea eax, [esi + 0x80]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x80]
fmul dword [0x746adc]
add esp, 0x14
fstp dword [esi + 0x80]
fld dword [esi + 0x84]
fmul dword [0x746adc]
fstp dword [esi + 0x84]
fld dword [esi + 0x88]
fmul dword [0x746adc]
push str..Morrowind.ini
fstp dword [esi + 0x88]
push 0x200
push edi
push str.076_048_036
push str.Sky_Sunset_Color
push str.Weather_Ashstorm
call ebx
lea edx, [esi + 0x94]
push edx
lea eax, [esi + 0x90]
push eax
lea eax, [esi + 0x8c]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x8c]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x8c]
push edi
fld dword [esi + 0x90]
push str.058_036_027
fmul dword [0x746adc]
push str.Sky_Night_Color
push str.Weather_Ashstorm
fstp dword [esi + 0x90]
fld dword [esi + 0x94]
fmul dword [0x746adc]
fstp dword [esi + 0x94]
call ebx
lea ecx, [esi + 0xa0]
push ecx
lea edx, [esi + 0x9c]
push edx
lea eax, [esi + 0x98]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x98]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x98]
push edi
fld dword [esi + 0x9c]
push str.101_060_041
fmul dword [0x746adc]
push str.Fog_Sunrise_Color
push str.Weather_Ashstorm
fstp dword [esi + 0x9c]
fld dword [esi + 0xa0]
fmul dword [0x746adc]
fstp dword [esi + 0xa0]
call ebx
lea eax, [esi + 0x4c]
push eax
lea ecx, [esi + 0x48]
push ecx
lea eax, [esi + 0x44]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x44]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x44]
fld dword [esi + 0x48]
fmul dword [0x746adc]
fstp dword [esi + 0x48]
fld dword [esi + 0x4c]
fmul dword [0x746adc]
fstp dword [esi + 0x4c]
push edi
push str.094_060_045
push str.Fog_Day_Color
push str.Weather_Ashstorm
call ebx
lea edx, [esi + 0x58]
push edx
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x50]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x50]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x50]
push edi
fld dword [esi + 0x54]
push str.107_056_035
fmul dword [0x746adc]
push str.Fog_Sunset_Color
push str.Weather_Ashstorm
fstp dword [esi + 0x54]
fld dword [esi + 0x58]
fmul dword [0x746adc]
fstp dword [esi + 0x58]
call ebx
lea ecx, [esi + 0x64]
push ecx
lea edx, [esi + 0x60]
push edx
lea eax, [esi + 0x5c]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x5c]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x5c]
push edi
fld dword [esi + 0x60]
push str.058_036_027
fmul dword [0x746adc]
push str.Fog_Night_Color
push str.Weather_Ashstorm
fstp dword [esi + 0x60]
fld dword [esi + 0x64]
fmul dword [0x746adc]
fstp dword [esi + 0x64]
call ebx
lea eax, [esi + 0x70]
push eax
lea ecx, [esi + 0x6c]
push ecx
lea eax, [esi + 0x68]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x68]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x68]
push edi
fld dword [esi + 0x6c]
push str.072_050_040
fmul dword [0x746adc]
push str.Ambient_Sunrise_Color
fstp dword [esi + 0x6c]
fld dword [esi + 0x70]
fmul dword [0x746adc]
fstp dword [esi + 0x70]
push str.Weather_Ashstorm
call ebx
lea edx, [esi + 0x1c]
push edx
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0x14]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x14]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x14]
push edi
fld dword [esi + 0x18]
push str.070_044_036
fmul dword [0x746adc]
push str.Ambient_Day_Color
push str.Weather_Ashstorm
fstp dword [esi + 0x18]
fld dword [esi + 0x1c]
fmul dword [0x746adc]
fstp dword [esi + 0x1c]
call ebx
lea ecx, [esi + 0x28]
push ecx
lea edx, [esi + 0x24]
push edx
lea eax, [esi + 0x20]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x20]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x20]
push edi
fld dword [esi + 0x24]
push str.072_050_040
fmul dword [0x746adc]
push str.Ambient_Sunset_Color
push str.Weather_Ashstorm
fstp dword [esi + 0x24]
fld dword [esi + 0x28]
fmul dword [0x746adc]
fstp dword [esi + 0x28]
call ebx
lea eax, [esi + 0x34]
push eax
lea ecx, [esi + 0x30]
push ecx
lea eax, [esi + 0x2c]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x2c]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x2c]
push edi
fld dword [esi + 0x30]
push str.085_055_043
fmul dword [0x746adc]
push str.Ambient_Night_Color
push str.Weather_Ashstorm
fstp dword [esi + 0x30]
fld dword [esi + 0x34]
fmul dword [0x746adc]
fstp dword [esi + 0x34]
call ebx
lea edx, [esi + 0x40]
push edx
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x38]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0x38]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x38]
push edi
fld dword [esi + 0x3c]
push str.140_080_055
fmul dword [0x746adc]
push str.Sun_Sunrise_Color
push str.Weather_Ashstorm
fstp dword [esi + 0x3c]
fld dword [esi + 0x40]
fmul dword [0x746adc]
fstp dword [esi + 0x40]
call ebx
lea ecx, [esi + 0xac]
push ecx
lea edx, [esi + 0xa8]
push edx
lea eax, [esi + 0xa4]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0xa4]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0xa4]
push edi
fld dword [esi + 0xa8]
push str.194_105_067
fmul dword [0x746adc]
push str.Sun_Day_Color
push str.Weather_Ashstorm
fstp dword [esi + 0xa8]
fld dword [esi + 0xac]
fmul dword [0x746adc]
fstp dword [esi + 0xac]
call ebx
lea eax, [esi + 0xb8]
push eax
lea ecx, [esi + 0xb4]
push ecx
lea eax, [esi + 0xb0]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0xb0]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0xb0]
push edi
fld dword [esi + 0xb4]
push str.140_080_055
fmul dword [0x746adc]
push str.Sun_Sunset_Color
push str.Weather_Ashstorm
fstp dword [esi + 0xb4]
fld dword [esi + 0xb8]
fmul dword [0x746adc]
fstp dword [esi + 0xb8]
call ebx
lea edx, [esi + 0xc4]
push edx
lea eax, [esi + 0xc0]
push eax
lea eax, [esi + 0xbc]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0xbc]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0xbc]
push edi
fld dword [esi + 0xc0]
push str.085_055_043
fmul dword [0x746adc]
push str.Sun_Night_Color
push str.Weather_Ashstorm
fstp dword [esi + 0xc0]
fld dword [esi + 0xc4]
fmul dword [0x746adc]
fstp dword [esi + 0xc4]
call ebx
lea ecx, [esi + 0xd0]
push ecx
lea edx, [esi + 0xcc]
push edx
lea eax, [esi + 0xc8]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0xc8]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0xc8]
push edi
fld dword [esi + 0xcc]
push str.255_255_255
fmul dword [0x746adc]
push str.Sun_Disc_Sunset_Color
push str.Weather_Ashstorm
fstp dword [esi + 0xcc]
fld dword [esi + 0xd0]
fmul dword [0x746adc]
fstp dword [esi + 0xd0]
call ebx
lea eax, [esi + 0xdc]
push eax
lea ecx, [esi + 0xd8]
push ecx
lea eax, [esi + 0xd4]
push eax
push str._f__f__f
push edi
call ebp
fld dword [esi + 0xd4]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0xd4]
push edi
fld dword [esi + 0xd8]
push str..035
fmul dword [0x746adc]
push str.Transition_Delta
push str.Weather_Ashstorm
fstp dword [esi + 0xd8]
fld dword [esi + 0xdc]
fmul dword [0x746adc]
fstp dword [esi + 0xdc]
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 8]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x787630
push str.Land_Fog_Day_Depth
push str.Weather_Ashstorm
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xf4]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x787630
push str.Land_Fog_Night_Depth
push str.Weather_Ashstorm
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xf8]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x777760
push str.Clouds_Maximum_Percent
push str.Weather_Ashstorm
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xf0]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x78762c
push str.Wind_Speed
push str.Weather_Ashstorm
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x100]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push str.12.5
push str.Cloud_Speed
push str.Weather_Ashstorm
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xfc]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x78637c
push str.Glare_View
push str.Weather_Ashstorm
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xc]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push str.Tx_Sky_Ash.tga
push str.Cloud_Texture
push str.Weather_Ashstorm
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push edi
push str.Textures
lea edx, [esi + 0x104]
push 0x775a78
push edx
call ebp
add esp, 0x10
push str..Morrowind.ini
mov dword [esi + 0x208], 3
push 0x200
push edi
push str.None
push str.Ambient_Loop_Sound_ID
push str.Weather_Ashstorm
call ebx
push edi
lea eax, [esi + 0x20e]
push 0x775998
push eax
call ebp
add esp, 0xc
push str..Morrowind.ini
push 0x200
push edi
push 0x787610
push str.Storm_Threshold
push str.Weather_Ashstorm
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x320]
mov ecx, dword [esp + 0x18]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4