Function at 0x411400
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x7284b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x7c67dc]
fld dword [eax + 0xa4]
mov eax, dword [eax + 0xf4]
fld dword [eax + 0x34]
push ebx
fsub st(1)
push esi
mov esi, ecx
mov ecx, dword [esi + 0x354]
fst dword [esp + 0xc]
fmul dword [0x746498]
or ebx, 0xffffffff
test ecx, ecx
push edi
fadd st(1)
fstp dword [esp + 0xc]
fstp st(0)
je 0x41145e
mov eax, dword [esp + 0xc]
push eax
call fcn.0040a660
jmp 0x4114a7
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x20], 0
je 0x411488
mov ecx, dword [esp + 0xc]
push 1
push ecx
mov ecx, eax
call fcn.004091b0
jmp 0x41148a
xor eax, eax
mov dword [esi + 0x354], eax
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x20], ebx
je 0x4114a7
push str.Transition_Fader
mov ecx, eax
call fcn.006ea1a0
fld dword [esp + 0x10]
mov ecx, dword [esi + 0x35c]
test ecx, ecx
fmul dword [0x746640]
fst dword [esp + 0x10]
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
je 0x4114d3
mov edx, dword [esp + 0xc]
push edx
call fcn.0040a660
jmp 0x41151c
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x20], 1
je 0x4114fd
mov ecx, dword [esp + 0xc]
push 1
push ecx
mov ecx, eax
call fcn.004091b0
jmp 0x4114ff
xor eax, eax
mov dword [esi + 0x35c], eax
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x20], ebx
je 0x41151c
push str.SunGlare_Fader
mov ecx, eax
call fcn.006ea1a0
fld dword [esp + 0x10]
mov ecx, dword [esi + 0x364]
test ecx, ecx
fadd dword [esp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
fstp dword [esp + 0xc]
je 0x411547
mov edx, dword [esp + 0xc]
push edx
call fcn.0040a660
jmp 0x4115e0
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x20], 2
je 0x411571
mov ecx, dword [esp + 0xc]
push 1
push ecx
mov ecx, eax
call fcn.004091b0
jmp 0x411573
xor eax, eax
mov dword [esi + 0x364], eax
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x20], ebx
je 0x411590
push str.Werewolf_Fader
mov ecx, eax
call fcn.006ea1a0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x7de818
call fcn.0040a7e0
mov ecx, dword [esi + 0x364]
call fcn.0040a230
push str.Textures
push str._swerewolfOverlay.tga
mov ecx, 0x7cb478
call fcn.004d51b0
push eax
call edi
add esp, 0xc
mov ecx, 0x7cb478
call fcn.004d51b0
mov ecx, dword [esi + 0x364]
push eax
call fcn.0040a3e0
fld dword [esp + 0x10]
mov ecx, dword [esi + 0x358]
test ecx, ecx
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
je 0x411602
mov edx, dword [esp + 0xc]
push edx
call fcn.0040a660
jmp 0x41164b
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x20], 3
je 0x41162c
mov ecx, dword [esp + 0xc]
push 1
push ecx
mov ecx, eax
call fcn.004091b0
jmp 0x41162e
xor eax, eax
mov dword [esi + 0x358], eax
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x20], ebx
je 0x41164b
push str.Blindness_Fader
mov ecx, eax
call fcn.006ea1a0
push str..Morrowind.ini
push 1
push str.ShowHitFader
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x411735
fld dword [esp + 0x10]
mov ecx, dword [esi + 0x360]
test ecx, ecx
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
je 0x41169c
mov edx, dword [esp + 0xc]
push edx
call fcn.0040a660
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x20], 4
je 0x4116c6
mov ecx, dword [esp + 0xc]
push 0
push ecx
mov ecx, eax
call fcn.004091b0
jmp 0x4116c8
xor eax, eax
mov dword [esi + 0x360], eax
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x20], ebx
je 0x4116e5
push str.Hit_Fader
mov ecx, eax
call fcn.006ea1a0
push 1
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x7de818
call fcn.0040a7e0
mov ecx, dword [esi + 0x360]
call fcn.0040a230
push str.Textures
push str._sBM_Player_hit_01.tga
mov ecx, 0x7cb478
call fcn.004d51b0
push eax
call edi
add esp, 0xc
mov ecx, 0x7cb478
call fcn.004d51b0
mov ecx, dword [esi + 0x360]
push eax
call fcn.0040a3e0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret