Function at 0x4bd3b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor esi, esi
push esi
mov dword [esp + 0x14], ecx
push esi
mov ecx, ebp
call fcn.004b4510
test al, al
jne 0x4bd3db
push str.DataHandler:_internal_error
call fcn.00477400
add esp, 4
mov ecx, 0x7cb478
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], esi
call fcn.004d51b0
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebx, eax
mov dword [0x7ca988], esi
jmp 0x4bd403
xor esi, esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push ebp
call fcn.004bd670
test eax, eax
jne 0x4bd41f
mov dword [esp + 0x20], esi
mov ecx, dword [0x7c67e0]
push 1
call fcn.0048ed70
mov ecx, dword [0x7c67e0]
call fcn.0048ed90
fmul dword [0x74646c]
call sub.MSVCRT.dll__ftol
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
je 0x4bd549
lea esi, [ebp + 0xc]
push esi
push eax
push str.Loading_Files__d_____s_
push ebx
mov dword [esp + 0x24], eax
call edi
mov edx, dword [esp + 0x20]
mov al, byte [edx + 0xb375]
add esp, 0x10
test al, al
je 0x4bd48b
mov ecx, dword [0x7c67dc]
push 0x259
call fcn.0040f930
push eax
push ebx
call edi
add esp, 8
jmp 0x4bd4a3
mov ecx, dword [0x7c67dc]
push esi
push 0x25a
call fcn.0040f930
push eax
push ebx
call edi
add esp, 0xc
push ebx
call fcn.005deef0
fild dword [esp + 0x1c]
fstp dword [esp]
call fcn.005def50
add esp, 4
test al, al
je 0x4bd549
mov eax, dword [0x7c6cdc]
mov eax, dword [eax + 0x108]
test eax, eax
je 0x4bd53c
cmp dword [eax], 2
jne 0x4bd53c
mov ecx, dword [0x7c67dc]
call fcn.00453630
mov ecx, dword [0x7c67dc]
fld dword [ecx + 0x2c]
fadd dword [0x7ca9b0]
fst dword [0x7ca9b0]
fcomp dword [0x746914]
fnstsw ax
test ah, 0x41
jne 0x4bd53c
mov ecx, 0x7cb478
call fcn.004d51b0
mov edx, dword [0x7c6cdc]
mov ecx, dword [edx + 0x108]
mov esi, eax
push 3
push esi
call fcn.00459830
mov eax, dword [0x7c6cdc]
mov ecx, dword [eax + 0x108]
push esi
call fcn.00459420
mov dword [0x7ca9b0], 0
mov ecx, dword [0x7c6cdc]
push 0
call fcn.0041be90
push 1
mov ecx, ebp
call fcn.004b6380
test al, al
jne 0x4bd401
mov ecx, ebp
call fcn.004b47c0
test al, al
jne 0x4bd572
push str.DataHandler:_internal_error
call fcn.00477400
add esp, 4
push str..Morrowind.ini
push 0
push str.Create_Maps_Enable
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4bd654
add ebp, 0xc
push ebp
push str._s.MAP
push ebx
call edi
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0xae60]
add esp, 0xc
call fcn.004f1ab0
test ebx, ebx
mov esi, eax
je 0x4bd654
test esi, esi
je 0x4bd654
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov edi, dword [esi]
lea edx, [edi + 0xc]
push edx
push ebx
call ebp
add esp, 8
test eax, eax
je 0x4bd5fb
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xae60]
push esi
call fcn.004d4270
mov esi, eax
test esi, esi
jne 0x4bd5c7
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
xor esi, esi
cmp edi, esi
je 0x4bd654
push esi
push esi
mov ecx, edi
call fcn.004b4510
test al, al
jne 0x4bd61b
push str.DataHandler:_internal_error
call fcn.00477400
add esp, 4
mov ecx, dword [esp + 0x10]
push esi
push esi
push edi
call fcn.004bd670
test eax, eax
jne 0x4bd62f
mov dword [esp + 0x20], esi
push 1
mov ecx, edi
call fcn.004b6380
test al, al
jne 0x4bd61b
mov ecx, edi
call fcn.004b47c0
test al, al
jne 0x4bd654
push str.DataHandler:_internal_error
call fcn.00477400
add esp, 4
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc