Function at 0x4bb1f0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7593
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa4], edi
mov ecx, dword [0x9c25c8]
mov dword [edi], vtable.ObjectManager.0
mov dword [0x9c25a8], 0x5c
mov dword [edi + 0x21a6c], 0
mov dword [edi + 0x21a74], 0
mov dword [edi + 0x21a78], 0
mov eax, dword [ecx]
push edi
call dword [eax + 0x18]
push 0x20800
lea esi, [edi + 0x1134]
push 0
push esi
call fcn.00468b40
add esp, 0xc
mov dword [ebp - 0x9c], 0
lea eax, [ebp - 0x9c]
push 0x5ec588
push str.UIRC.bin
push eax
call fcn.0046c5d4
mov eax, dword [ebp - 0x9c]
add esp, 0xc
test eax, eax
je 0x4bb2d2
push eax
push 1
push 0x20800
push esi
call fcn.0047004e
push dword [ebp - 0x9c]
call fcn.0046bf19
add esp, 0x14
push 0x5ec6e4
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push str.AniSound4.txt
push eax
call fcn.0046c5d4
mov eax, dword [ebp - 0x9c]
add esp, 0xc
test eax, eax
je 0x4bb47c
mov dword [ebp - 0xa8], 0x3c
nop dword [eax]
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x98]
push ecx
push str._s__d_n
push eax
call fcn.0044c0e0
mov eax, dword [ebp - 0xa0]
add esp, 0x10
xor esi, esi
cmp eax, 2
jge 0x4bb420
imul edi, eax, 0xa8
imul eax, eax, 0x70
nop word [eax + eax]
lea ecx, [eax + esi]
lea eax, [edi + esi]
lea eax, [eax*4 + 0x9b7a20]
push eax
lea eax, [ecx*4 + 0x9c2060]
push eax
lea eax, [ecx*4 + 0x9c2140]
push eax
lea eax, [ecx*4 + 0x9c1ce0]
push eax
lea eax, [ecx*4 + 0x9c1dc0]
push eax
lea eax, [ecx*4 + 0x9c1960]
push eax
lea eax, [ecx*4 + 0x9c1a40]
push eax
lea eax, [ecx*4 + 0x9c15e0]
push eax
lea eax, [ecx*4 + 0x9c16c0]
push eax
lea eax, [ebp - 0x98]
push eax
push str._s__d__d__d__d__d__d__d__d__d_n
push dword [ebp - 0x9c]
call fcn.0044c0e0
imul ecx, dword [ebp - 0xa0], 0x70
add esp, 0x30
imul edi, dword [ebp - 0xa0], 0xa8
mov dword [ebp - 0xac], ecx
lea edx, [ecx + esi]
mov eax, dword [edx*4 + 0x9c16c0]
lea ecx, [edi + esi]
mov dword [ecx*4 + 0x9b7940], eax
inc esi
mov eax, dword [edx*4 + 0x9c15e0]
mov dword [ecx*4 + 0x9b7860], eax
mov eax, dword [ebp - 0xac]
cmp esi, 0x38
jl 0x4bb350
sub dword [ebp - 0xa8], 1
je 0x4bb468
mov eax, dword [ebp - 0x9c]
jmp 0x4bb310
imul ecx, eax, 0xa8
add ecx, esi
lea eax, [ecx*4 + 0x9b7a20]
push eax
lea eax, [ecx*4 + 0x9b7860]
push eax
lea eax, [ecx*4 + 0x9b7940]
push eax
lea eax, [ebp - 0x98]
push eax
push str._s__d__d__d_n
push dword [ebp - 0x9c]
call fcn.0044c0e0
inc esi
add esp, 0x18
cmp esi, 0x38
jge 0x4bb401
mov eax, dword [ebp - 0xa0]
jmp 0x4bb420
push dword [ebp - 0x9c]
call fcn.0046bf19
mov edi, dword [ebp - 0xa4]
add esp, 4
push 0x5ec588
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push str.curse.bin
push eax
call fcn.0046c5d4
mov eax, dword [ebp - 0x9c]
add esp, 0xc
test eax, eax
je 0x4bb54d
push eax
push 1
push 4
push 0xa6f4e4
call fcn.0047004e
mov eax, dword [0xa6f4e4]
xor ecx, ecx
shl eax, 5
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00466c2c
mov ecx, eax
add esp, 0x14
mov eax, dword [0xa6f4e4]
mov dword [0xa6f4e0], ecx
add eax, 0xffffffff
je 0x4bb53f
xor esi, esi
xor edi, edi
push dword [ebp - 0x9c]
lea eax, [esi + ecx]
push 1
push 0x20
push eax
call fcn.0047004e
push dword [ebp - 0x9c]
mov eax, dword [0xa6f4e0]
push 1
add eax, 0x10
add eax, esi
push 0x20
push eax
call fcn.0047004e
mov eax, dword [0xa6f4e4]
inc edi
dec eax
add esp, 0x20
add esi, 0x20
cmp edi, eax
jae 0x4bb539
mov ecx, dword [0xa6f4e0]
jmp 0x4bb4f3
mov edi, dword [ebp - 0xa4]
push dword [ebp - 0x9c]
call fcn.0046bf19
add esp, 4
push 0x24
mov dword [edi + 0x21934], 0
call fcn.0046677d
add esp, 4
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax], vtable.TreeNode.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov byte [eax + 0x14], 0
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [ebp - 4], 0xffffffff
push 0xc4
mov dword [edi + 0x21a6c], eax
call fcn.0046677d
mov esi, eax
add esp, 4
mov dword [ebp - 0xa4], esi
mov dword [ebp - 4], 1
push 0xc4
push 0
push esi
call fcn.00468b40
add esp, 0xc
mov dword [esi], vtable.TreeNode.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [esi], vtable.TMCamera.0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [0x9c25a8], 0x49
call fcn.004e5ce0
mov dword [esi + 0xc0], 0x41a00000
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x21a6c]
mov dword [edi + 0x21a74], esi
mov dword [esi + 4], ecx
mov eax, dword [ecx + 0x10]
mov dword [esi + 0xc], eax
mov dword [ecx + 0x10], esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4bb6b4
mov dword [eax + 8], esi
push 0x388
lea eax, [edi + 8]
mov dword [0x9c25b0], 0
push 0
push eax
mov dword [edi + 0x21a70], 0xffffffff
mov dword [edi + 0x21938], 0xffffffff
mov dword [edi + 0x2193c], 0xffffffff
mov dword [edi + 0x21a80], 0
mov dword [edi + 0x10f8], 0
mov dword [edi + 0xf84], 0
mov dword [edi + 0xf80], 0
mov word [edi + 0x10e0], 0xffff
call fcn.00468b40
add esp, 0xc
lea eax, [edi + 0x390]
push 0x540
push 0
push eax
call fcn.00468b40
add esp, 0xc
lea eax, [edi + 0x8d0]
push 0x410
push 0
push eax
call fcn.00468b40
add esp, 0xc
lea eax, [edi + 0xce0]
push 0x2a0
push 0
push eax
call fcn.00468b40
add esp, 0xc
lea eax, [edi + 0x1104]
push 0x30
push 0
push eax
call fcn.00468b40
movaps xmm0, xmmword [0x6057e0]
lea ecx, [edi + 0x24e2c]
movups xmmword [edi + 0x10e2], xmm0
mov dword [edi + 0x10f2], 0xffffffff
add esp, 0xc
mov dword [edi + 0x21a7c], 0
mov eax, 0x40
mov dword [edi + 0x24e14], 1
mov dword [edi + 0x24e18], 0
mov dword [edi + 0x1100], 0
xor edx, edx
lea ecx, [ecx + 0x20]
xorps xmm0, xmm0
movups xmmword [ecx - 0x30], xmm0
mov dword [ecx - 0x20], 0
mov dword [ecx - 0x1c], edx
mov dword [ecx - 0x18], edx
mov dword [ecx - 0x14], edx
sub eax, 1
jne 0x4bb7c0
mov dword [edi + 0x2561c], edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret