Function at 0x449be0
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 0x72a5b8
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
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
push edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
push ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
push ebx
lea ecx, [esi + 0x44]
push ebx
mov dword [esp + 0x1c], esi
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 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
lea ecx, [esi + 0xd4]
push ebx
push ebx
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], 0x746c2c
call fcn.004d51b0
push str..Morrowind.ini
push 0x200
mov edi, eax
mov eax, dword [esp + 0x2c]
push edi
push str.053_055_057
push str.Sky_Sunrise_Color
mov dword [esi + 0x434], ebx
mov byte [esi + 0x438], bl
mov byte [esi + 0x20c], bl
mov dword [esi + 0x314], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.Weather_Rain
mov dword [esi + 4], 4
mov dword [esi + 0x10], eax
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.072_076_080
fmul dword [0x746adc]
push str.Sky_Day_Color
push str.Weather_Rain
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
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.053_055_057
push str.Sky_Sunset_Color
push str.Weather_Rain
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.035_035_035
fmul dword [0x746adc]
push str.Sky_Night_Color
push str.Weather_Rain
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.064_068_070
fmul dword [0x746adc]
push str.Fog_Sunrise_Color
push str.Weather_Rain
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]
push edi
fld dword [esi + 0x48]
push str.072_076_080
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_Rain
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.060_067_069
fmul dword [0x746adc]
push str.Fog_Sunset_Color
push str.Weather_Rain
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.035_035_035
fmul dword [0x746adc]
push str.Fog_Night_Color
push str.Weather_Rain
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.062_062_062
fmul dword [0x746adc]
push str.Ambient_Sunrise_Color
push str.Weather_Rain
fstp dword [esi + 0x6c]
fld dword [esi + 0x70]
fmul dword [0x746adc]
fstp dword [esi + 0x70]
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.060_060_060
fmul dword [0x746adc]
push str.Ambient_Day_Color
push str.Weather_Rain
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.062_062_062
fmul dword [0x746adc]
push str.Ambient_Sunset_Color
push str.Weather_Rain
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.064_064_064
fmul dword [0x746adc]
push str.Ambient_Night_Color
push str.Weather_Rain
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.058_058_058
fmul dword [0x746adc]
push str.Sun_Sunrise_Color
push str.Weather_Rain
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.065_065_065
fmul dword [0x746adc]
push str.Sun_Day_Color
push str.Weather_Rain
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.058_058_058
fmul dword [0x746adc]
push str.Sun_Sunset_Color
push str.Weather_Rain
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.052_052_052
fmul dword [0x746adc]
push str.Sun_Night_Color
push str.Weather_Rain
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_Rain
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..030
fmul dword [0x746adc]
push str.Transition_Delta
push str.Weather_Rain
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 0x787324
push str.Land_Fog_Day_Depth
push str.Weather_Rain
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 0x787324
push str.Land_Fog_Night_Depth
push str.Weather_Rain
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_Rain
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 0x78744c
push str.Wind_Speed
push str.Weather_Rain
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 0x787448
push str.Cloud_Speed
push str.Weather_Rain
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_Rain
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_Rainy.tga
push str.Cloud_Texture
push str.Weather_Rain
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
push 0x200
push edi
mov dword [esi + 0x208], 1
push 0x786484
push str.Rain_Diameter
push str.Weather_Rain
call ebx
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.Rain_Height_Min
push str.Weather_Rain
fstp dword [esi + 0x41c]
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x420]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x787410
push str.Rain_Height_Max
push str.Weather_Rain
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x424]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x7873fc
push str.Rain_Threshold
push str.Weather_Rain
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x428]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x786440
push str.Rain_Entrance_Speed
push str.Weather_Rain
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x42c]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push str.Rain
push str.Rain_Loop_Sound_ID
push str.Weather_Rain
call ebx
push edi
lea eax, [esi + 0x318]
push 0x775998
push eax
call ebp
add esp, 0xc
push str..Morrowind.ini
push 0x200
push edi
push 0x787410
push str.Max_Raindrops
push str.Weather_Rain
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x430]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push str.None
push str.Ambient_Loop_Sound_ID
push str.Weather_Rain
call ebx
push edi
lea ecx, [esi + 0x20e]
push 0x775998
push ecx
call ebp
mov ecx, dword [esp + 0x20]
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4