Function at 0x44b4c0
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 0x72a5f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
push edi
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
push ebp
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
push ebp
lea ecx, [esi + 0x44]
push ebp
mov dword [esp + 0x20], esi
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], 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
lea ecx, [esi + 0xd4]
push ebp
push ebp
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 + 0x20], ebp
mov dword [esi], 0x746c48
call fcn.004d51b0
mov ecx, 0x7cb478
mov edi, eax
call fcn.004d51e0
push str..Morrowind.ini
push 0x200
push edi
push str.046_046_048
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
push str.Sky_Sunrise_Color
mov dword [esi + 0x840], ebp
mov dword [esi + 0x83c], ebp
mov dword [esi + 0x314], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.Weather_Thunderstorm
mov dword [esi + 4], 5
mov dword [esi + 0x10], eax
mov byte [esi + 0x868], 0
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.055_055_059
fmul dword [0x746adc]
push str.Sky_Day_Color
push str.Weather_Thunderstorm
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
fstp dword [esi + 0x80]
fld dword [esi + 0x84]
fmul dword [0x746adc]
fstp dword [esi + 0x84]
fld dword [esi + 0x88]
push str..Morrowind.ini
fmul dword [0x746adc]
push 0x200
push edi
push str.046_046_048
push str.Sky_Sunset_Color
fstp dword [esi + 0x88]
push str.Weather_Thunderstorm
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.037_037_037
fmul dword [0x746adc]
push str.Sky_Night_Color
push str.Weather_Thunderstorm
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.049_049_049
fmul dword [0x746adc]
push str.Fog_Sunrise_Color
push str.Weather_Thunderstorm
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
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 str..Morrowind.ini
push 0x200
push edi
push str.055_055_059
push str.Fog_Day_Color
push str.Weather_Thunderstorm
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.049_049_049
fmul dword [0x746adc]
push str.Fog_Sunset_Color
push str.Weather_Thunderstorm
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.037_037_037
fmul dword [0x746adc]
push str.Fog_Night_Color
push str.Weather_Thunderstorm
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]
fmul dword [0x746adc]
fstp dword [esi + 0x6c]
fld dword [esi + 0x70]
fmul dword [0x746adc]
fstp dword [esi + 0x70]
push str.052_052_053
push str.Ambient_Sunrise_Color
push str.Weather_Thunderstorm
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.050_050_050
fmul dword [0x746adc]
push str.Ambient_Day_Color
push str.Weather_Thunderstorm
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.052_052_053
fmul dword [0x746adc]
push str.Ambient_Sunset_Color
push str.Weather_Thunderstorm
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.055_055_055
fmul dword [0x746adc]
push str.Ambient_Night_Color
push str.Weather_Thunderstorm
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.057_057_057
fmul dword [0x746adc]
push str.Sun_Sunrise_Color
push str.Weather_Thunderstorm
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.065_065_065
fmul dword [0x746adc]
push str.Sun_Day_Color
push str.Weather_Thunderstorm
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.057_057_057
fmul dword [0x746adc]
push str.Sun_Sunset_Color
push str.Weather_Thunderstorm
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.048_048_048
fmul dword [0x746adc]
push str.Sun_Night_Color
push str.Weather_Thunderstorm
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_Thunderstorm
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..040
fmul dword [0x746adc]
push str.Transition_Delta
push str.Weather_Thunderstorm
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 0x787570
push str.Thunder_Frequency
push str.Weather_Thunderstorm
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x844]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x787558
push str.Thunder_Threshold
push str.Weather_Thunderstorm
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x848]
lea edx, [esi + 0x82c]
lea eax, [esi + 0x318]
add esp, 4
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
push ebx
push str.Thunder_Sound_ID__d
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push str..Morrowind.ini
push 0x200
push edi
push str.Thunder
push edx
push str.Weather_Thunderstorm
call ebp
mov eax, dword [esp + 0x28]
push edi
push 0x775998
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [eax], 0
inc ebx
add eax, 4
add ecx, 0x104
cmp ebx, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
jl 0x44bd7d
push str..Morrowind.ini
push 0x200
push edi
push str.1.75
push str.Land_Fog_Day_Depth
push str.Weather_Thunderstorm
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 str.1.75
push str.Land_Fog_Night_Depth
push str.Weather_Thunderstorm
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_Thunderstorm
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 0x78751c
push str.Wind_Speed
push str.Weather_Thunderstorm
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 str.10.0
push str.Cloud_Speed
push str.Weather_Thunderstorm
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_Thunderstorm
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_Thunder.tga
push str.Cloud_Texture
push str.Weather_Thunderstorm
call ebp
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push edi
push str.Textures
lea ecx, [esi + 0x104]
push 0x775a78
push ecx
call ebx
add esp, 0x10
push str..Morrowind.ini
push 0x200
push edi
push 0x786484
push str.Rain_Diameter
push str.Weather_Thunderstorm
mov dword [esi + 0x208], 1
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push str.Rain_Loop
fmul dword [0x746498]
push str.Rain_Loop_Sound_ID
push str.Weather_Thunderstorm
fstp dword [esi + 0x84c]
call ebp
push edi
lea edx, [esi + 0x728]
push 0x775998
push edx
call ebx
add esp, 0xc
push str..Morrowind.ini
push 0x200
push edi
push str.None
push str.Ambient_Loop_Sound_ID
push str.Weather_Thunderstorm
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 0x786af4
push str.Rain_Height_Min
push str.Weather_Thunderstorm
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x850]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x787410
push str.Rain_Height_Max
push str.Weather_Thunderstorm
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x854]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x7874f0
push str.Rain_Threshold
push str.Weather_Thunderstorm
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x858]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push str.10.0
push str.Rain_Entrance_Speed
push str.Weather_Thunderstorm
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x85c]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push 0x787410
push str.Max_Raindrops
push str.Weather_Thunderstorm
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x860]
add esp, 4
push str..Morrowind.ini
push 0x200
push edi
push str.4.00
push str.Flash_Decrement
push str.Weather_Thunderstorm
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0x864]
mov ecx, dword [esp + 0x1c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4