Function at 0x447f30
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 0x72a538
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], 0x746c0c
call fcn.004d51b0
push str..Morrowind.ini
push 0x200
mov edi, eax
mov eax, dword [esp + 0x2c]
push edi
push str.067_075_80
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_Foggy
mov dword [esi + 4], 2
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.096_103_111
fmul dword [0x746adc]
push str.Sky_Day_Color
push str.Weather_Foggy
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.067_075_80
push str.Sky_Sunset_Color
push str.Weather_Foggy
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.038_048_048
fmul dword [0x746adc]
push str.Sky_Night_Color
push str.Weather_Foggy
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.075_086_097
fmul dword [0x746adc]
push str.Fog_Sunrise_Color
push str.Weather_Foggy
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.096_103_111
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_Foggy
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.099_106_114
fmul dword [0x746adc]
push str.Fog_Sunset_Color
push str.Weather_Foggy
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.038_048_048
fmul dword [0x746adc]
push str.Fog_Night_Color
push str.Weather_Foggy
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.095_100_105
fmul dword [0x746adc]
push str.Ambient_Sunrise_Color
push str.Weather_Foggy
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.099_099_099
fmul dword [0x746adc]
push str.Ambient_Day_Color
push str.Weather_Foggy
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.095_100_105
fmul dword [0x746adc]
push str.Ambient_Sunset_Color
push str.Weather_Foggy
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.090_101_111
fmul dword [0x746adc]
push str.Ambient_Night_Color
push str.Weather_Foggy
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.106_112_117
fmul dword [0x746adc]
push str.Sun_Sunrise_Color
push str.Weather_Foggy
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.110_110_110
fmul dword [0x746adc]
push str.Sun_Day_Color
push str.Weather_Foggy
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.106_112_117
fmul dword [0x746adc]
push str.Sun_Sunset_Color
push str.Weather_Foggy
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.101_114_125
fmul dword [0x746adc]
push str.Sun_Night_Color
push str.Weather_Foggy
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_Foggy
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_Foggy
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 str.2.75
push str.Land_Fog_Day_Depth
push str.Weather_Foggy
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 str.2.75
push str.Land_Fog_Night_Depth
push str.Weather_Foggy
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_Foggy
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 0x78637c
push str.Wind_Speed
push str.Weather_Foggy
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 0x7868d4
push str.Cloud_Speed
push str.Weather_Foggy
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 0x787270
push str.Glare_View
push str.Weather_Foggy
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_Foggy.tga
push str.Cloud_Texture
push str.Weather_Foggy
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], 2
push str.None
push str.Ambient_Loop_Sound_ID
push str.Weather_Foggy
call ebx
push edi
lea eax, [esi + 0x20e]
push 0x775998
push eax
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