Function at 0x48cfb0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x72b37e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x7cb478
call fcn.004d51b0
mov esi, dword [esp + 0x16c]
cmp esi, 0xffffffff
mov ebx, eax
mov dword [esp + 0x2c], ebx
je 0x48d2ad
xor edi, edi
cmp esi, edi
je 0x48d2bd
cmp esi, 3
sete al
mov dword [0x7c9ca8], esi
mov byte [ebp + 0xb4dd], 1
mov byte [0x7c9cac], al
cmp dword [0x7c9ca0], edi
mov byte [0x7c8f71], 1
jne 0x48d084
mov ecx, dword [ebp]
call fcn.004ba940
cmp esi, 2
mov dword [0x7c9ca0], eax
mov dword [ebp + 0xb4e0], edi
mov dword [0x7c9ca4], 0x7fffffff
jne 0x48d091
mov ecx, dword [ebp + 0xb4e0]
push ecx
mov ecx, dword [ebp]
call fcn.004ba950
mov edx, dword [ebp + 0xb4e0]
inc edx
cmp eax, edi
mov dword [ebp + 0xb4e0], edx
je 0x48d07d
mov ecx, eax
call fcn.004e22f0
test al, al
jne 0x48d07d
mov edx, dword [ebp + 0xb4e0]
cmp edx, dword [0x7c9ca0]
jb 0x48d044
mov byte [0x7c9cad], 0
mov ecx, dword [ebp]
call fcn.004c3d00
jmp 0x48d2bd
cmp esi, 4
jne 0x48d07d
push str..Morrowind.ini
push edi
push str.Create_Maps_Enable
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
dec eax
je 0x48d0e4
dec eax
je 0x48d0d8
push str.To_create_the_XBox_maps_add__Create_Maps_Enable__1__in_the_ini_file._r_nTo_create_cell_maps_add__Create_Maps_Enable__2_.
call fcn.00477400
mov dword [0x7c9ca0], edi
mov byte [ebp + 0xb4dd], 0
add esp, 4
mov byte [0x7c8f71], 1
jmp 0x48d831
mov byte [0x7c9cad], 0
jmp 0x48d1bf
mov eax, dword [esp + 0x170]
mov dword [0x7c9cb0], eax
add eax, 0xc
push eax
push str._s.MAP
push ebx
mov byte [0x7c9cad], 1
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x574
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
mov dword [esp + 0x28], eax
cmp eax, edi
mov dword [esp + 0x164], edi
je 0x48d13b
mov ecx, dword [0x7c9cb0]
push edi
add ecx, 0x110
push ebx
push ecx
mov ecx, eax
call fcn.004b3f10
jmp 0x48d13d
xor eax, eax
push edi
push 1
mov ecx, eax
mov dword [esp + 0x16c], 0xffffffff
mov dword [0x7c9cb4], eax
call fcn.004b4510
test al, al
jne 0x48d1bf
mov ecx, dword [0x7c9cb4]
push 1
call fcn.004b42b0
mov ecx, dword [0x7c9cb4]
push 0x33534554
call fcn.004b6a70
push 0x12c
lea edx, [esp + 0x34]
xor eax, eax
mov ecx, 0x4b
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [0x7c9cb4]
push edx
push 0x52444548
mov dword [esp + 0x3c], 0x3fa66666
call fcn.004b6ba0
mov ecx, dword [0x7c9cb4]
call fcn.004b6c50
mov ecx, dword [0x7c9cb4]
call fcn.004b47c0
xor edi, edi
mov eax, dword [0x7c67dc]
mov ecx, dword [eax + 0x2e4]
mov edx, dword [ecx + 0x24]
shr edx, 5
and dl, 1
mov byte [0x7c9cb8], dl
mov ecx, dword [eax + 0x2e4]
mov edx, dword [ecx + 0x24]
shr edx, 3
and dl, 1
mov byte [0x7c9cb9], dl
mov ecx, dword [eax + 0x2e4]
mov edx, dword [ecx + 0x24]
shr edx, 0x16
and dl, 1
mov byte [0x7c9cba], dl
mov ecx, dword [eax + 0x2e4]
mov edx, dword [ecx + 0x24]
shr edx, 2
and dl, 1
mov byte [0x7c9cbb], dl
mov ecx, dword [eax + 0x2e4]
mov edx, dword [ecx + 0x24]
shr edx, 0x19
and dl, 1
mov byte [0x7c9cbc], dl
mov eax, dword [eax + 0x2e4]
or dword [eax + 0x24], 0x20
mov eax, dword [0x7c67dc]
mov eax, dword [eax + 0x2e4]
or dword [eax + 0x24], 8
mov ecx, dword [0x7c67dc]
mov eax, dword [ecx + 0x2e4]
or dword [eax + 0x24], 0x400000
mov edx, dword [0x7c67dc]
mov eax, dword [edx + 0x2e4]
or dword [eax + 0x24], 4
mov eax, dword [0x7c67dc]
mov eax, dword [eax + 0x2e4]
or dword [eax + 0x24], 0x2000000
mov ecx, dword [0x7c67dc]
mov ecx, dword [ecx + 0x58]
call fcn.00440870
mov eax, dword [0x7c67dc]
mov edx, dword [eax + 0x2e4]
mov ecx, dword [edx + 0x24]
shr ecx, 3
and cl, 1
mov byte [eax + 0xda], cl
mov ecx, dword [ebp]
call fcn.004c3d00
jmp 0x48d2bd
mov byte [ebp + 0xb4dd], 0
mov byte [0x7c8f71], 0
xor edi, edi
mov al, byte [ebp + 0xb4dd]
test al, al
je 0x48d831
mov al, byte [ebp + 0xb511]
test al, al
jne 0x48d831
mov edx, dword [ebp + 0xb4e0]
mov ecx, dword [ebp]
push edx
call fcn.004ba950
mov esi, eax
mov eax, dword [0x7c67e0]
mov ecx, dword [eax + 0xac]
xor bl, bl
cmp ecx, edi
mov byte [esp + 0x13], 0
jne 0x48d310
mov ecx, esi
call fcn.004e22f0
test al, al
je 0x48d310
mov byte [esp + 0x13], 1
cmp esi, edi
je 0x48d344
mov ecx, dword [esi + 8]
shr ecx, 5
test cl, 1
jne 0x48d344
mov al, byte [0x7c9cad]
test al, al
je 0x48d342
mov edx, dword [0x7c9cb0]
push edx
mov ecx, esi
call fcn.004e3010
test al, al
je 0x48d344
cmp dword [esi + 0x80], edi
jne 0x48d344
mov bl, 1
cmp dword [0x7c9ca8], 4
je 0x48d39e
mov ecx, esi
call fcn.004e22f0
test al, al
jne 0x48d39e
cmp dword [0x7c9ca4], 0x7fffffff
jne 0x48d370
mov ecx, esi
call fcn.004db9d0
mov dword [0x7c9ca4], eax
mov ecx, esi
call fcn.004db9d0
mov ecx, dword [0x7c9ca4]
cmp ecx, eax
jle 0x48d38b
mov eax, ecx
sub eax, 3
mov dword [0x7c9ca4], eax
mov ecx, esi
call fcn.004db9d0
cmp eax, dword [0x7c9ca4]
jne 0x48d6cb
test bl, bl
je 0x48d6cb
mov ecx, esi
call fcn.004db9f0
shl eax, 0xd
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov ecx, esi
fadd dword [0x746754]
fstp dword [esp + 0x14]
call fcn.004db9d0
mov ebx, dword [sym.imp.MSVCRT.dll_clock]
shl eax, 0xd
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
fadd dword [0x746754]
mov dword [esp + 0x24], 0
fstp dword [esp + 0x1c]
call ebx
mov dword [esp + 0x28], eax
mov al, byte [0x7c9cac]
test al, al
je 0x48d458
mov ecx, esi
call fcn.004e22f0
test al, al
jne 0x48d458
mov edi, dword [sym.imp.MSVCRT.dll_rand]
call edi
cdq
mov ecx, 3
idiv ecx
dec edx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul dword [0x747874]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
call edi
cdq
mov ecx, 3
idiv ecx
dec edx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
xor edi, edi
fmul dword [0x747874]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
cmp dword [0x7c9ca8], 4
je 0x48d479
mov edx, dword [0x7c67dc]
mov eax, dword [edx + 0xa8]
fld dword [eax + 0x34]
fadd dword [0x746470]
fstp dword [eax + 0x34]
mov ecx, esi
call fcn.004e22f0
test al, al
je 0x48d4f8
mov ecx, esi
call fcn.004dd650
push 1
push 0x54415453
mov ecx, esi
call fcn.004dbef0
cmp eax, edi
jne 0x48d4a8
mov ecx, esi
call fcn.004dbb80
cmp eax, edi
je 0x48d4bb
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x40]
jmp 0x48d4d4
mov ecx, dword [0x7de6cc]
mov edx, dword [0x7de6d0]
mov eax, dword [0x7de6d4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x1c]
push ecx
push esi
mov ecx, ebp
mov dword [esp + 0x2c], eax
call fcn.00489050
mov edx, dword [0x7c67dc]
mov ecx, dword [edx + 0x58]
call fcn.00440870
jmp 0x48d59e
cmp dword [ebp + 0xac], edi
je 0x48d55e
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.004897e0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.0048e410
fld dword [esp + 0x14]
fcomp dword [0x746468]
fnstsw ax
test ah, 1
jne 0x48d546
mov eax, dword [esp + 0x14]
mov ecx, dword [0x7c67dc]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 0x58]
call fcn.00440820
jmp 0x48d59e
mov ecx, dword [0x7c67dc]
mov dword [esp + 0x24], 0
mov ecx, dword [ecx + 0x58]
call fcn.00440820
jmp 0x48d59e
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.00485680
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.0048e410
fld dword [esp + 0x18]
fcomp dword [0x746468]
fnstsw ax
test ah, 1
jne 0x48d596
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
jmp 0x48d59e
mov dword [esp + 0x24], 0
mov ecx, dword [0x7c67dc]
call fcn.0040ff20
mov ecx, dword [eax + 0x10]
and ecx, 0xffdfffff
mov dword [eax + 0x230], 1
mov dword [eax + 0x10], ecx
mov dword [eax + 0x234], edi
mov ecx, dword [0x7c67dc]
call fcn.0040ff20
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call dword [edx + 0x40]
mov ecx, dword [0x7c67dc]
call fcn.0040ff20
mov ecx, eax
call fcn.0055ecb0
mov edx, dword [0x7c9a94]
push edi
push edx
mov ecx, ebp
call fcn.0048f5f0
mov al, byte [0x7c9cad]
test al, al
je 0x48d643
mov eax, dword [0x7c9cb4]
push eax
mov ecx, esi
call fcn.004e3050
mov al, byte [esp + 0x13]
test al, al
je 0x48d643
mov ecx, dword [0x7c9cb4]
push edi
push 1
call fcn.004b4510
mov ecx, dword [0x7c9cb4]
push ecx
mov ecx, dword [ebp]
call fcn.004c7f10
mov ecx, dword [0x7c9cb4]
call fcn.004b47c0
call ebx
sub eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
mov ecx, esi
fmul dword [0x746730]
fstp dword [esp + 0x14]
call fcn.004e22f0
test al, al
fld dword [esp + 0x14]
je 0x48d68d
mov edx, dword [esi]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call dword [edx + 0x20]
push eax
mov eax, dword [esp + 0x38]
push str.Cell___s___Interior__Time:__.1f
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
jmp 0x48d6be
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.004db9f0
push eax
mov ecx, esi
call fcn.004db9d0
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
push eax
mov eax, dword [esp + 0x40]
push str.Cell___s____d___d__Time:__.1f
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x1c
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00477400
add esp, 4
mov edx, dword [ebp + 0xb4e0]
inc edx
mov dword [ebp + 0xb4e0], edx
mov ecx, dword [0x7c9ca0]
mov eax, edx
cmp eax, ecx
jb 0x48d831
mov dword [0x7c9ca0], edi
mov byte [ebp + 0xb4dd], 0
mov al, byte [0x7c9cad]
test al, al
mov byte [0x7c8f71], 0
je 0x48d831
mov ecx, dword [0x7c9cb4]
push edi
push 1
call fcn.004b4510
mov ecx, dword [0x7c9cb4]
call fcn.004b5440
mov ecx, dword [0x7c9cb4]
call fcn.004b47c0
mov ecx, dword [0x7c9cb4]
cmp ecx, edi
mov esi, ecx
je 0x48d747
call fcn.004b4140
push esi
call fcn.00727530
add esp, 4
mov edx, dword [0x7c67dc]
mov al, byte [0x7c9cb8]
mov dword [0x7c9cb4], edi
mov byte [0x7c9cad], 0
mov ecx, dword [edx + 0x2e4]
test al, al
mov eax, dword [ecx + 0x24]
je 0x48d771
or eax, 0x20
jmp 0x48d774
and eax, 0xffffffdf
mov dword [ecx + 0x24], eax
mov eax, dword [0x7c67dc]
mov ecx, dword [eax + 0x2e4]
mov al, byte [0x7c9cb9]
test al, al
mov eax, dword [ecx + 0x24]
je 0x48d793
or eax, 8
jmp 0x48d796
and eax, 0xfffffff7
mov dword [ecx + 0x24], eax
mov ecx, dword [0x7c67dc]
mov al, byte [0x7c9cba]
mov ecx, dword [ecx + 0x2e4]
test al, al
mov eax, dword [ecx + 0x24]
je 0x48d7b8
or eax, 0x400000
jmp 0x48d7bd
and eax, 0xffbfffff
mov dword [ecx + 0x24], eax
mov edx, dword [0x7c67dc]
mov al, byte [0x7c9cbb]
mov ecx, dword [edx + 0x2e4]
test al, al
mov eax, dword [ecx + 0x24]
je 0x48d7dd
or eax, 4
jmp 0x48d7e0
and eax, 0xfffffffb
mov dword [ecx + 0x24], eax
mov eax, dword [0x7c67dc]
mov ecx, dword [eax + 0x2e4]
mov al, byte [0x7c9cbc]
test al, al
mov eax, dword [ecx + 0x24]
je 0x48d801
or eax, 0x2000000
jmp 0x48d806
and eax, 0xfdffffff
mov dword [ecx + 0x24], eax
mov ecx, dword [0x7c67dc]
mov ecx, dword [ecx + 0x58]
call fcn.00440820
mov eax, dword [0x7c67dc]
mov edx, dword [eax + 0x2e4]
mov ecx, dword [edx + 0x24]
shr ecx, 3
and cl, 1
mov byte [eax + 0xda], cl
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 8