Function at 0x48a670
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov al, byte [0x717b43]
mov byte [ebp - 0x140], al
push 0x3f
push 0
lea ecx, [ebp - 0x13f]
push ecx
call fcn.0067d630
add esp, 0xc
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xdc8938]
test eax, eax
je 0x48a6aa
jmp 0x48ad99
cmp dword [ebp + 8], 0x100
jge 0x48a7be
mov ecx, dword [ebp + 8]
push ecx
push 0xdc8200
push str._stex_03d.tga
lea edx, [ebp - 0xb0]
push edx
call fcn.0041e320
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push 0xdc8200
push 0x717f38
lea ecx, [ebp - 0x70]
push ecx
call fcn.0041e320
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
push 0xdc8200
push str._stex_03dto.tga
lea eax, [ebp - 0x100]
push eax
call fcn.0041e320
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
push 0xdc8200
push str._ssex_03dhi.sex
lea edx, [ebp - 0x140]
push edx
call fcn.0041e320
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push str.tex_03d.tga
lea ecx, [ebp - 0x30]
push ecx
call fcn.0041e320
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str.tex_03dhi.tga
lea eax, [ebp - 0x20]
push eax
call fcn.0041e320
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.tex_03dto.tga
lea edx, [ebp - 0xc0]
push edx
call fcn.0041e320
add esp, 0xc
push 0xdc8308
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
push str.Textures
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x48a7a2
push 0xdc8308
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
push ecx
push str.Textures
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
cmp dword [0x27a20ac], 0
je 0x48a7b9
mov edx, dword [0x27a20ac]
add edx, dword [ebp + 8]
mov al, byte [ebp - 4]
mov byte [edx], al
jmp 0x48ab0e
cmp dword [ebp + 8], 0x200
jge 0x48a8d2
mov ecx, dword [ebp + 8]
push ecx
push 0xdc80f8
push str._stex_03d.tga
lea edx, [ebp - 0xb0]
push edx
call fcn.0041e320
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push 0xdc80f8
push 0x717f38
lea ecx, [ebp - 0x70]
push ecx
call fcn.0041e320
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
push 0xdc80f8
push str._stex_03dto.tga
lea eax, [ebp - 0x100]
push eax
call fcn.0041e320
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
push 0xdc80f8
push str._ssex_03dhi.sex
lea edx, [ebp - 0x140]
push edx
call fcn.0041e320
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push str.tex_03d.tga
lea ecx, [ebp - 0x30]
push ecx
call fcn.0041e320
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str.tex_03dhi.tga
lea eax, [ebp - 0x20]
push eax
call fcn.0041e320
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.tex_03dto.tga
lea edx, [ebp - 0xc0]
push edx
call fcn.0041e320
add esp, 0xc
push 0xdc8410
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
push str.Textures
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x48a8b6
push 0xdc8410
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
push ecx
push str.Textures
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
cmp dword [0x27a20ac], 0
je 0x48a8cd
mov edx, dword [0x27a20ac]
add edx, dword [ebp + 8]
mov al, byte [ebp - 4]
mov byte [edx], al
jmp 0x48ab0e
cmp dword [ebp + 8], 0x240
jge 0x48a945
mov ecx, dword [ebp + 8]
sub ecx, 0x200
push ecx
push 0xdc8620
push str._stex_03d.tga
lea edx, [ebp - 0xb0]
push edx
call fcn.0041e320
add esp, 0x10
mov eax, dword [ebp + 8]
sub eax, 0x200
push eax
push 0xdc8620
push 0x717f38
lea ecx, [ebp - 0x70]
push ecx
call fcn.0041e320
add esp, 0x10
mov edx, dword [ebp + 8]
sub edx, 0x200
push edx
push 0xdc8620
push str._stex_03dto.tga
lea eax, [ebp - 0x100]
push eax
call fcn.0041e320
add esp, 0x10
jmp 0x48ab0e
cmp dword [ebp + 8], 0x2c0
jge 0x48a9e0
mov ecx, dword [ebp + 8]
sub ecx, 0x240
push ecx
push 0xdc8728
push str._stex_03d.tga
lea edx, [ebp - 0xb0]
push edx
call fcn.0041e320
add esp, 0x10
mov eax, dword [ebp + 8]
sub eax, 0x240
push eax
push 0xdc8728
push 0x717f38
lea ecx, [ebp - 0x70]
push ecx
call fcn.0041e320
add esp, 0x10
mov edx, dword [ebp + 8]
sub edx, 0x240
push edx
push 0xdc8728
push str._stex_03dto.tga
lea eax, [ebp - 0x100]
push eax
call fcn.0041e320
add esp, 0x10
mov ecx, dword [ebp + 8]
sub ecx, 0x240
push ecx
mov eax, dword [ebp + 8]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
push str.people_page__d_offset__d__n
call fcn.00495230
add esp, 0xc
jmp 0x48ab0e
cmp dword [ebp + 8], 0x480
jge 0x48aa7e
mov edx, dword [ebp + 8]
sub edx, 0x2c0
push edx
push 0xdc8518
push str._stex_03d.tga
lea eax, [ebp - 0xb0]
push eax
call fcn.0041e320
add esp, 0x10
mov ecx, dword [ebp + 8]
sub ecx, 0x2c0
push ecx
push 0xdc8518
push 0x717f38
lea edx, [ebp - 0x70]
push edx
call fcn.0041e320
add esp, 0x10
mov eax, dword [ebp + 8]
sub eax, 0x2c0
push eax
push 0xdc8518
push str._stex_03dto.tga
lea ecx, [ebp - 0x100]
push ecx
call fcn.0041e320
add esp, 0x10
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp + 8]
sub eax, 0x2c0
push eax
mov eax, dword [ebp + 8]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
push eax
push str.prims_page__d_offset__d_fname__s_n
call fcn.00495230
add esp, 0x10
jmp 0x48ab0e
cmp dword [ebp + 8], 0x540
jge 0x48aaee
mov ecx, dword [ebp + 8]
sub ecx, 0x480
push ecx
push 0xdc8830
push str._stex_03d.tga
lea edx, [ebp - 0xb0]
push edx
call fcn.0041e320
add esp, 0x10
mov eax, dword [ebp + 8]
sub eax, 0x480
push eax
push 0xdc8830
push 0x717f38
lea ecx, [ebp - 0x70]
push ecx
call fcn.0041e320
add esp, 0x10
mov edx, dword [ebp + 8]
sub edx, 0x480
push edx
push 0xdc8830
push str._stex_03dto.tga
lea eax, [ebp - 0x100]
push eax
call fcn.0041e320
add esp, 0x10
jmp 0x48ab0e
mov ecx, 1
test ecx, ecx
je 0x48ab0e
push 0x347
push str.C:devworkspaces_repo_clonesClean_UrbanChaosMuckyFoot_UrbanChaos_fallenDDEngineSource_texture.cpp
push str.ASSERT_TRIGGERED
call fcn.0049b8f0
add esp, 0xc
movzx edx, byte [0xdc75b4]
test edx, edx
jne 0x48ab26
cmp dword [0xdc80f0], 0
je 0x48ac22
push 0x716764
lea eax, [ebp - 0x100]
push eax
call fcn.00401720
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x48ab73
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401700
add esp, 4
push 1
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x100]
push eax
imul ecx, dword [ebp + 8], 0x154
add ecx, 0xdc9778
call fcn.0048fdf0
jmp 0x48ac20
push 0x716764
lea ecx, [ebp - 0x70]
push ecx
call fcn.00401720
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48abb7
mov edx, dword [ebp - 0xc]
push edx
call fcn.00401700
add esp, 4
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
push ecx
imul ecx, dword [ebp + 8], 0x154
add ecx, 0xdc9778
call fcn.0048fdf0
jmp 0x48ac20
push 0x716764
lea edx, [ebp - 0xb0]
push edx
call fcn.00401720
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x48ac01
mov eax, dword [ebp - 0x10]
push eax
call fcn.00401700
add esp, 4
push 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xb0]
push edx
imul ecx, dword [ebp + 8], 0x154
add ecx, 0xdc9778
call fcn.0048fdf0
jmp 0x48ac20
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._cant_find_page__d_name64__s__n
call fcn.00495230
add esp, 0xc
mov edx, dword [ebp + 8]
mov byte [edx + 0xdc8938], 1
jmp 0x48ac9c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0049f0f0
add esp, 8
movzx edx, al
test edx, edx
je 0x48ac57
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
push ecx
imul ecx, dword [ebp + 8], 0x154
add ecx, 0xdc9778
call fcn.0048fdf0
jmp 0x48ac9c
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.0049f0f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x48ac92
push 1
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xb0]
push eax
imul ecx, dword [ebp + 8], 0x154
add ecx, 0xdc9778
call fcn.0048fdf0
jmp 0x48ac9c
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xdc8938], 1
cmp dword [ebp + 8], 0x200
jge 0x48ad65
movzx edx, byte [0xdc75b4]
test edx, edx
jne 0x48acbd
cmp dword [0xdc80f0], 0
je 0x48ad15
lea eax, [ebp - 0x140]
push eax
call fcn.00423700
add esp, 4
mov ecx, dword [ebp + 8]
mov word [ecx*2 + 0xdc75b8], ax
cmp dword [0xdc80f0], 0
je 0x48ad13
mov edx, dword [ebp + 8]
movzx eax, word [edx*2 + 0xdc75b8]
test eax, eax
je 0x48ad13
mov ecx, dword [ebp + 8]
add ecx, 0x620
push ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx*2 + 0xdc75b8]
push eax
call fcn.0049f150
push eax
call fcn.004249a0
add esp, 0xc
jmp 0x48ad65
mov ecx, dword [ebp + 8]
add ecx, 0x620
push ecx
push 0x717b43
call fcn.0049f0f0
add esp, 8
movzx edx, al
test edx, edx
jne 0x48ad42
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx*2 + 0xdc75b8], ax
jmp 0x48ad65
mov edx, dword [ebp + 8]
add edx, 0x620
push edx
call fcn.0049f150
push eax
call fcn.004247c0
add esp, 8
mov ecx, dword [ebp + 8]
mov word [ecx*2 + 0xdc75b8], ax
mov edx, dword [ebp + 8]
push edx
call fcn.0046e620
add esp, 4
test eax, eax
je 0x48ad99
mov eax, dword [ebp + 8]
add eax, 1
imul ecx, eax, 0x154
cmp dword [ecx + 0xdc98c0], 0
jne 0x48ad99
mov edx, dword [ebp + 8]
add edx, 1
push edx
call fcn.0048a670
add esp, 4
mov esp, ebp
pop ebp
ret