Function at 0x45d060
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push str.Enter:InitWorldView___n
call fcn.00453cc0
add esp, 4
mov dword [0x81942c], 1
lea ecx, [ebp - 0x34]
call fcn.00405940
mov ebx, dword [ebp - 0x2c]
xor esi, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
test ebx, ebx
je 0x45d0b1
xor eax, eax
xor edx, edx
rdtsc
mov dword [ebp - 0x14], edx
xor eax, eax
xor edx, edx
rdtsc
mov ebx, dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], esi
mov ecx, dword [0xad0ce8]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], 0x1000
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ecx + 8]
lea eax, [ebp - 0xc]
push eax
push edx
mov ecx, dword [edx]
call dword [ecx + 0x5c]
test eax, eax
js 0x45d0ea
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str.Texture_RAM_available_:__d_bytes_out_of_total__d_bytes_n
call fcn.00453cc0
add esp, 0xc
test dword [0x5c958d], 0x80000000
mov ecx, 0x8458c0
mov eax, dword [0xad0ce8]
push 0x180
je 0x45d123
push 0x885110
push dword [eax + 0x6c4]
push dword [eax + 4]
call fcn.004684a0
test eax, eax
je 0x45d13e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x875710
push dword [eax + 0x6c4]
push dword [eax + 4]
call fcn.004684a0
test eax, eax
jne 0x45d2c8
mov eax, dword [0xad0ce8]
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0x14], 0x1000
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [eax + 8]
lea edx, [ebp - 0x14]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x5c]
test eax, eax
js 0x45d176
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push str.Texture_RAM_available_:__d_bytes_out_of_total__d_bytes_n
call fcn.00453cc0
add esp, 0xc
test ebx, ebx
je 0x45d18e
xor eax, eax
xor edx, edx
rdtsc
sub eax, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], esi
push esi
push str.Create_textures_took__ld_cycles_n
call fcn.00453cc0
mov eax, 0x1010101
mov dword [0xaf41f0], 0
mov ecx, 0x100
mov edi, 0x819028
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [0x5c3b00]
mov dword [0xaf41ec], eax
test ebx, ebx
je 0x45d1d1
xor eax, eax
xor edx, edx
rdtsc
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
mov ecx, eax
xor edi, edi
shr ecx, 2
and eax, 0xffffffe0
and ecx, 7
add ecx, eax
shl ecx, 2
mov dword [ebp - 0x14], ecx
nop dword [eax]
mov esi, edi
mov eax, edi
and esi, 0xffffffe0
shr eax, 2
add esi, ecx
and eax, 7
shl esi, 6
add esi, eax
push 0x40
shl esi, 5
call fcn.004e370b
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x45d268
mov ecx, dword [0xc280b8]
xorps xmm0, xmm0
mov dword [eax + 4], 0
add ecx, esi
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x30], 0x20
movups xmmword [eax + 8], xmm0
movq qword [eax + 0x18], xmm0
mov dword [eax + 0x20], 0
mov dword [eax], vtable.TC_PalettisedObject.0
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], 0x100
jmp 0x45d26a
xor eax, eax
mov ecx, dword [ebp - 0x14]
add edi, 4
mov dword [ebx*4 + 0x818028], eax
inc ebx
cmp edi, 0x80
jb 0x45d1f0
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
cmp eax, 0x80
jb 0x45d1d8
cmp dword [ebp - 8], 0
je 0x45d2ab
xor eax, eax
xor edx, edx
rdtsc
sub eax, dword [ebp - 4]
mov ecx, eax
jmp 0x45d2ae
mov ecx, dword [ebp - 4]
push ecx
push str.new_cache_objs_took__ld_cycles_n
call fcn.00453cc0
push str.Exit_OK:InitWorldView___n
call fcn.00453cc0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret