Function at 0x44f710
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 0x72a6f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
push edi
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
push ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
push ebp
lea ecx, [esi + 0x38]
push ebp
mov dword [esp + 0x1c], esi
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0x44]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0x50]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0x5c]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0x68]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ebx, [esi + 0x74]
push ebp
mov ecx, ebx
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0x80]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0x8c]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0x98]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0xa4]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0xb0]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0xbc]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0xc8]
push ebp
call fcn.004057e0
push ebp
push ebp
lea ecx, [esi + 0xd4]
push ebp
call fcn.004057e0
mov eax, 0x3f800000
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0x20d], 0
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], ebp
mov dword [esi + 0xfc], ebp
mov ecx, 0x7cb478
mov dword [esp + 0x1c], ebp
mov dword [esi], 0x746c80
call fcn.004d51b0
push str..Morrowind.ini
push 0x200
mov edi, eax
mov eax, dword [esp + 0x2c]
push edi
push str.062_059_058
push str.Sky_Sunrise_Color
mov dword [esi + 0x314], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.Weather_Snow
mov dword [esi + 4], 8
mov dword [esi + 0x10], eax
mov byte [esi + 0x20c], 0
call ebp
lea ecx, [esi + 0x7c]
push ecx
lea edx, [esi + 0x78]
push edx
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_sscanf]
push str._f__f__f
push edi
call ebx
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.086_080_078
fmul dword [0x746adc]
push str.Sky_Day_Color
push str.Weather_Snow
fstp dword [esi + 0x78]
fld dword [esi + 0x7c]
fmul dword [0x746adc]
fstp dword [esi + 0x7c]
call ebp
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 ebx
fld dword [esi + 0x80]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
fstp dword [esi + 0x80]
fld dword [esi + 0x84]
fmul dword [0x746adc]
fstp dword [esi + 0x84]
fld dword [esi + 0x88]
fmul dword [0x746adc]
fstp dword [esi + 0x88]
push 0x200
push edi
push str.062_059_058
push str.Sky_Sunset_Color
push str.Weather_Snow
call ebp
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 ebx
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.038_038_038
fmul dword [0x746adc]
push str.Sky_Night_Color
push str.Weather_Snow
fstp dword [esi + 0x90]
fld dword [esi + 0x94]
fmul dword [0x746adc]
fstp dword [esi + 0x94]
call ebp
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 ebx
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.070_070_070
fmul dword [0x746adc]
push str.Fog_Sunrise_Color
push str.Weather_Snow
fstp dword [esi + 0x9c]
fld dword [esi + 0xa0]
fmul dword [0x746adc]
fstp dword [esi + 0xa0]
call ebp
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 ebx
fld dword [esi + 0x44]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [esi + 0x44]
push edi
fld dword [esi + 0x48]
push str.086_080_078
fmul dword [0x746adc]
fstp dword [esi + 0x48]
fld dword [esi + 0x4c]
fmul dword [0x746adc]
fstp dword [esi + 0x4c]
push str.Fog_Day_Color
push str.Weather_Snow
call ebp
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 ebx
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.079_071_070
fmul dword [0x746adc]
push str.Fog_Sunset_Color
push str.Weather_Snow
fstp dword [esi + 0x54]
fld dword [esi + 0x58]
fmul dword [0x746adc]
fstp dword [esi + 0x58]
call ebp
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 ebx
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.038_038_038
fmul dword [0x746adc]
push str.Fog_Night_Color
push str.Weather_Snow
fstp dword [esi + 0x60]
fld dword [esi + 0x64]
fmul dword [0x746adc]
fstp dword [esi + 0x64]
call ebp
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 ebx
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.083_083_083
fmul dword [0x746adc]
push str.Ambient_Sunrise_Color
push str.Weather_Snow
fstp dword [esi + 0x6c]
fld dword [esi + 0x70]
fmul dword [0x746adc]
fstp dword [esi + 0x70]
call ebp
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 ebx
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.099_099_099
fmul dword [0x746adc]
push str.Ambient_Day_Color
push str.Weather_Snow
fstp dword [esi + 0x18]
fld dword [esi + 0x1c]
fmul dword [0x746adc]
fstp dword [esi + 0x1c]
call ebp
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 ebx
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.083_083_083
fmul dword [0x746adc]
push str.Ambient_Sunset_Color
push str.Weather_Snow
fstp dword [esi + 0x24]
fld dword [esi + 0x28]
fmul dword [0x746adc]
fstp dword [esi + 0x28]
call ebp
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 ebx
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.067_067_067
fmul dword [0x746adc]
push str.Ambient_Night_Color
push str.Weather_Snow
fstp dword [esi + 0x30]
fld dword [esi + 0x34]
fmul dword [0x746adc]
fstp dword [esi + 0x34]
call ebp
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 ebx
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.085_085_085
fmul dword [0x746adc]
push str.Sun_Sunrise_Color
push str.Weather_Snow
fstp dword [esi + 0x3c]
fld dword [esi + 0x40]
fmul dword [0x746adc]
fstp dword [esi + 0x40]
call ebp
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 ebx
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.110_110_110
fmul dword [0x746adc]
push str.Sun_Day_Color
push str.Weather_Snow
fstp dword [esi + 0xa8]
fld dword [esi + 0xac]
fmul dword [0x746adc]
fstp dword [esi + 0xac]
call ebp
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 ebx
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.085_085_085
fmul dword [0x746adc]
push str.Sun_Sunset_Color
push str.Weather_Snow
fstp dword [esi + 0xb4]
fld dword [esi + 0xb8]
fmul dword [0x746adc]
fstp dword [esi + 0xb8]
call ebp
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 ebx
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.060_060_060
fmul dword [0x746adc]
push str.Sun_Night_Color
push str.Weather_Snow
fstp dword [esi + 0xc0]
fld dword [esi + 0xc4]
fmul dword [0x746adc]
fstp dword [esi + 0xc4]
call ebp
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 ebx
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_Snow
fstp dword [esi + 0xcc]
fld dword [esi + 0xd0]
fmul dword [0x746adc]
fstp dword [esi + 0xd0]
call ebp
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 ebx
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..030
fmul dword [0x746adc]
push str.Transition_Delta
push str.Weather_Snow
fstp dword [esi + 0xd8]
fld dword [esi + 0xdc]
fmul dword [0x746adc]
fstp dword [esi + 0xdc]
call ebp
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 0x787328
push str.Land_Fog_Day_Depth
push str.Weather_Snow
call ebp
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 0x787328
push str.Land_Fog_Night_Depth
push str.Weather_Snow
call ebp
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_Snow
call ebp
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 0x786440
push str.Wind_Speed
push str.Weather_Snow
call ebp
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 0x787324
push str.Cloud_Speed
push str.Weather_Snow
call ebp
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_Snow
call ebp
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_Snow.tga
push str.Cloud_Texture
push str.Weather_Snow
call ebp
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push edi
push str.Textures
lea edx, [esi + 0x104]
push 0x775a78
push edx
call ebx
add esp, 0x10
push str..Morrowind.ini
push 0x200
push edi
mov dword [esi + 0x208], 0
push str.None
push str.Ambient_Loop_Sound_ID
push str.Weather_Snow
call ebp
push edi
lea eax, [esi + 0x20e]
push 0x775998
push eax
call ebx
add esp, 0xc
push str..Morrowind.ini
push 0x200
push edi
push 0x786484
push str.Snow_Diameter
push str.Weather_Snow
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x786af4
fmul dword [0x746498]
push str.Snow_Height_Min
push str.Weather_Snow
fstp dword [esi + 0x318]
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x31c]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x787410
push str.Snow_Height_Max
push str.Weather_Snow
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x320]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x7873fc
push str.Snow_Threshold
push str.Weather_Snow
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x324]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x786440
push str.Snow_Entrance_Speed
push str.Weather_Snow
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x328]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x787410
push str.Max_Snowflakes
push str.Weather_Snow
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x32c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 8]
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4