Function at 0x43ce50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x72a186
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x7cb478
call fcn.004d51b0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..Morrowind.ini
push 0x200
mov esi, eax
push esi
push str.255_20_20
push str.Script_Color
push str.Moons
call edi
push 0x7c7b38
push 0x7c7b34
push 0x7c7b30
push str._f__f__f
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
fld dword [0x7c7b30]
fmul dword [0x746adc]
add esp, 0x14
push str..Morrowind.ini
push 0x200
fstp dword [0x7c7b30]
push esi
fld dword [0x7c7b34]
push 0x786af4
fmul dword [0x746adc]
push str.Masser_Size
push str.Moons
fstp dword [0x7c7b34]
fld dword [0x7c7b38]
fmul dword [0x746adc]
fstp dword [0x7c7b38]
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x38]
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786ae4
push str.Masser_Fade_In_Start
push str.Moons
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
push esi
call ebx
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786244
push str.Masser_Fade_In_Finish
push str.Moons
mov dword [esp + 0x48], eax
call edi
push esi
call ebx
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786258
push str.Masser_Fade_Out_Start
push str.Moons
mov dword [esp + 0x44], eax
call edi
push esi
call ebx
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
mov dword [esp + 0x34], eax
push 0x786a98
push str.Masser_Fade_Out_Finish
push str.Moons
call edi
push esi
call ebx
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786a7c
push str.Masser_Axis_Offset
push str.Moons
mov dword [esp + 0x50], eax
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fmul dword [0x7464b8]
add esp, 4
push str..Morrowind.ini
push 0x200
fstp dword [esp + 0x2c]
push esi
push str.1.02
push str.Masser_Speed
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x24]
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x78608c
push str.Masser_Daily_Increment
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x20]
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786a34
push str.Masser_Fade_Start_Angle
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x1c]
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786440
push str.Masser_Fade_End_Angle
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x18]
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x777770
push str.Masser_Moon_Shadow_Early_Fade_Angle
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fst dword [esp + 0x14]
fcomp dword [0x746468]
add esp, 4
fnstsw ax
test ah, 1
je 0x43d0cf
mov dword [esp + 0x10], 0
push esi
push str.Textures_tx_masser_full.tga
call fcn.0047a960
add esp, 8
test eax, eax
jne 0x43d0ee
push str.Masser_texture__tx_masser_full.tga__not_found.
call fcn.00476e20
add esp, 4
push 0x15c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x48], 0
je 0x43d153
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebp
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x50]
push 0
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push ecx
push str.Textures_tx_masser
mov ecx, eax
call fcn.004443b0
jmp 0x43d155
xor eax, eax
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x48], eax
mov eax, dword [eax]
mov edx, dword [ecx]
push 1
push eax
mov dword [esp + 0x50], 0xffffffff
call dword [edx + 0x94]
push str..Morrowind.ini
push 0x200
push esi
push 0x78697c
push str.Secunda_Size
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x38]
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786968
push str.Secunda_Fade_In_Start
push str.Moons
call edi
push esi
call ebx
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x78694c
push str.Secunda_Fade_In_Finish
push str.Moons
mov dword [esp + 0x48], eax
call edi
push esi
call ebx
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786258
push str.Secunda_Fade_Out_Start
push str.Moons
mov dword [esp + 0x44], eax
call edi
push esi
call ebx
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786918
push str.Secunda_Fade_Out_Finish
push str.Moons
mov dword [esp + 0x40], eax
call edi
push esi
call ebx
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x78697c
push str.Secunda_Axis_Offset
push str.Moons
mov ebx, eax
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fmul dword [0x7464b8]
add esp, 4
push str..Morrowind.ini
push 0x200
fstp dword [esp + 0x2c]
push esi
push 0x7868e8
push str.Secunda_Speed
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x24]
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x7868d4
push str.Secunda_Daily_Increment
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x20]
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786a34
push str.Secunda_Fade_Start_Angle
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x1c]
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x786440
push str.Secunda_Fade_End_Angle
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x18]
add esp, 4
push str..Morrowind.ini
push 0x200
push esi
push 0x777770
push str.Secunda_Moon_Shadow_Early_Fade_Angle
push str.Moons
call edi
push esi
call dword [sym.imp.MSVCRT.dll_atof]
fst dword [esp + 0x14]
fcomp dword [0x746468]
add esp, 4
fnstsw ax
test ah, 1
je 0x43d347
mov dword [esp + 0x10], 0
push esi
push str.Textures_tx_secunda_full.tga
call fcn.0047a960
add esp, 8
test eax, eax
jne 0x43d366
push str.Secunda_texture__tx_secunda_full.tga__not_found.
call fcn.00476e20
add esp, 4
push 0x15c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x48], 1
je 0x43d3c7
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebp
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push 1
push edx
mov edx, dword [esp + 0x4c]
push ebx
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x60]
push ecx
push edx
push str.Textures_tx_secunda
mov ecx, eax
call fcn.004443b0
jmp 0x43d3c9
xor eax, eax
mov dword [ebp + 0x44], eax
mov ebp, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp]
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x50], 0xffffffff
call dword [edx + 0x94]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret