Function at 0x4e0af0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x623ec0]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
push str.UIUITextureListN.bin
lea eax, [esp + 0x24]
mov ebx, ecx
push 0x5ec718
push eax
mov dword [esp + 0x18], ebx
call fcn.00445aa0
add esp, 0xc
lea eax, [esp + 0x20]
push 0x5ec588
push eax
call fcn.0046c5bd
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e0b4c
push str.Cannot_init_UI_Texture_List_n
jmp 0x4e0d8a
push esi
push 1
lea eax, [ebx + 0x190c]
push 0x21000
push eax
call fcn.0047004e
push esi
call fcn.0046bf19
add esp, 0x14
push 0x5ec6e4
push str.UIUITextureSetList.txt
call fcn.0046c5bd
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4e0ba9
push str.Error_in_Init_UI_Texture_Set_r_n
call fcn.00586620
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
push str._s_r_nSetIndex:__d_r_nItemCount:__d_r_n
push edi
call fcn.0044c0e0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4e0d4d
mov edx, 0x1c
mov ecx, dword [esp + 0x18]
cmp ecx, 0x2bc
jl 0x4e0bf7
lea eax, [esp + 0x20]
push eax
push str.Cannot_read___s__in_UI_TextureSetList_r_n
call fcn.00586620
add esp, 8
jmp 0x4e0d22
mov eax, dword [esp + 0x1c]
mov dword [ebx + ecx*8 + 0x32c], eax
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00466c2c
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x10], 0
mov dword [edx + ecx*8 + 0x330], eax
cmp dword [esp + 0x1c], ebx
jle 0x4e0d20
xor esi, esi
nop
mov eax, dword [esp + 0x18]
mov ecx, dword [edx + eax*8 + 0x330]
add ecx, esi
lea eax, [ecx + 0x18]
push eax
lea eax, [ecx + 0x14]
push eax
lea eax, [ecx + 0x10]
push eax
lea eax, [ecx + 0xc]
push eax
lea eax, [ecx + 8]
push eax
lea eax, [ecx + 4]
push eax
push ecx
push str._d__d__d__d__d__d__d_r_n
push edi
call fcn.0044c0e0
add esp, 0x24
cmp dword [esp + 0x18], 0x20e
jne 0x4e0d08
xor edi, edi
mov eax, 0x51eb851f
cmp dword [esp + 0x10], 0x63
cmovle edi, dword [esp + 0x10]
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x64
mov eax, edi
sub eax, ecx
mov ecx, 0xa
cdq
idiv ecx
mov ecx, dword [esp + 0xc]
imul edx, edx, 0x64
mov ecx, dword [ecx + 0x13a0]
mov dword [ecx + esi + 4], edx
mov edx, dword [esp + 0xc]
imul ecx, eax, 0x64
mov eax, dword [esp + 0x18]
mov eax, dword [edx + eax*8 + 0x330]
mov dword [eax + esi + 8], ecx
mov eax, dword [esp + 0x18]
mov eax, dword [edx + eax*8 + 0x330]
mov dword [eax + esi + 0xc], 0x64
mov eax, dword [esp + 0x18]
mov eax, dword [edx + eax*8 + 0x330]
mov dword [eax + esi + 0x10], 0x64
lea eax, [edi + 1]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x4e0d0c
mov edx, dword [esp + 0xc]
inc ebx
add esi, 0x1c
cmp ebx, dword [esp + 0x1c]
jl 0x4e0c40
mov ebx, dword [esp + 0xc]
jmp 0x4e0d22
mov ebx, edx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
push str._s_r_nSetIndex:__d_r_nItemCount:__d_r_n
push edi
call fcn.0044c0e0
add esp, 0x14
mov edx, 0x1c
cmp eax, 0xffffffff
jne 0x4e0bd4
push edi
call fcn.0046bf19
add esp, 4
lea eax, [esp + 0x20]
push str.EffectEffectTextureList.bin
push 0x5ec718
push eax
call fcn.00445aa0
add esp, 0xc
lea eax, [esp + 0x20]
push 0x5ec588
push eax
call fcn.0046c5bd
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e0db6
push str.Cannot_init_Effect_Textur_List_n
call fcn.00586620
add esp, 4
push str.Error_in_Init_Dynamic_Texture_r_n
call fcn.00586620
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
push esi
push 1
lea eax, [ebx + 0x2290c]
push 0x4d580
push eax
call fcn.0047004e
push esi
call fcn.0046bf19
add esp, 0x14
mov ecx, ebx
call fcn.004df840
test eax, eax
jne 0x4e0e02
push str.Error_in_Init_Model_Texture_r_n
call fcn.00586620
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
push str.EnvEnvTextureList3.bin
lea eax, [esp + 0x24]
push 0x5ec718
push eax
call fcn.00445aa0
add esp, 0xc
lea eax, [esp + 0x20]
push 0x5ec588
push eax
call fcn.0046c5bd
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e0e62
push str.Cannot_init_env_texture_list__n
call fcn.00586620
add esp, 4
push str.Error_in_Init_Environment_Texture_r_n
call fcn.00586620
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
push esi
push 1
lea eax, [ebx + 0x177e8c]
push 0x42000
push eax
call fcn.0047004e
push esi
call fcn.0046bf19
mov ecx, dword [esp + 0xb8]
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret