Function at 0x946f21
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9a8ec2
mov eax, dword fs:[0]
push eax
sub esp, 0x780
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x54c]
mov ecx, 0x150
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x9fc300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x27a7255
call fcn.005e2d5c
mov dword [ebp - 0x24], 0
mov esi, esp
push 0x9b0318
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.ucrtbased.dll_fopen_s]
add esp, 0xc
cmp esi, esp
call fcn.005e11e1
cmp dword [ebp - 0x24], 0
jne 0x946ec2
xor eax, eax
jmp 0x94897f
mov dword [ebp - 0x30], 0
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push 1
push 4
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.005e11e1
test eax, eax
je 0x948964
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x784], eax
mov ecx, dword [ebp - 0x784]
sub ecx, 1
mov dword [ebp - 0x784], ecx
cmp dword [ebp - 0x784], 0xf
ja case.0x946f1a.3
mov edx, dword [ebp - 0x784]
jmp dword [edx*4 + 0x948b00]
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0x28
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.005e11e1
test eax, eax
jne 0x946f75
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Cant_Read_Resource_Data__d__in___s__r_n
call fcn.005ddcf3
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.005e11e1
xor eax, eax
jmp 0x94897f
push 0x1e4
call fcn.005de946
add esp, 4
mov dword [ebp - 0x6bc], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x6bc], 0
je 0x946ff3
push 0x1e4
mov ecx, dword [ebp - 0x6bc]
call fcn.005df215
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
cvtsi2ss xmm0, dword [ebp - 0x48]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x4c]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x50]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x54]
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x6bc]
call fcn.005dfdb4
mov dword [ebp - 0x784], eax
jmp 0x946ffd
mov dword [ebp - 0x784], 0
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x6b0]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0
jne 0x947040
mov ecx, dword [ebp - 0x18]
call fcn.005e2ebf
push eax
mov eax, dword [ebp - 0x60]
push eax
push str.Cant_Create___d__in_Scene___d__r_n
call fcn.005ddcf3
add esp, 0xc
xor eax, eax
jmp 0x94897f
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x784], edx
mov esi, esp
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x6c]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x784], edx
cvtsi2ss xmm0, dword [ebp - 0x48]
mov esi, esp
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x4c]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x50]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x54]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x6c]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
cmp dword [ebp - 0x5c], 0
je 0x947107
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x947105
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.005e2177
jmp 0x94713d
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x1dc], ecx
jmp 0x94895f
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0x28
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.005e11e1
test eax, eax
jne 0x9471a5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Cant_Read_Resource_Data__d__in___s__r_n
call fcn.005ddcf3
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.005e11e1
xor eax, eax
jmp 0x94897f
push 0x5a4
call fcn.005de946
add esp, 4
mov dword [ebp - 0x6d4], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x6d4], 0
je 0x94723f
push 0x5a4
mov ecx, dword [ebp - 0x6d4]
call fcn.005df251
mov eax, dword [ebp - 0x84]
push eax
cvtsi2ss xmm0, dword [ebp - 0x90]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x94]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x98]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x9c]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x6d4]
call fcn.005e309a
mov dword [ebp - 0x784], eax
jmp 0x947249
mov dword [ebp - 0x784], 0
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x6c8], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x6c8]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
jne 0x947295
mov ecx, dword [ebp - 0x18]
call fcn.005e2ebf
push eax
mov eax, dword [ebp - 0xa8]
push eax
push str.Cant_Create___d__in_Scene___d__r_n
call fcn.005ddcf3
add esp, 0xc
xor eax, eax
jmp 0x94897f
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x784], edx
mov esi, esp
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xb4]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x784], edx
cvtsi2ss xmm0, dword [ebp - 0x90]
mov esi, esp
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x94]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x98]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x9c]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xb4]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x94738f
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x788], ecx
cmp dword [ebp - 0x788], 0
je 0x947367
mov edx, dword [ebp - 0x788]
add edx, 0x24
mov dword [ebp - 0x78c], edx
jmp 0x947371
mov dword [ebp - 0x78c], 0
mov esi, esp
mov eax, dword [ebp - 0x78c]
push eax
mov ecx, dword [ebp - 0xb4]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x9473b7
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov esi, esp
push 0
mov ecx, dword [ebp - 0xb4]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
cmp dword [ebp - 0xa4], 0
je 0x94741c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x94741a
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.005e2177
jmp 0x947455
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
jmp 0x94895f
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0x1c
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.005e11e1
test eax, eax
jne 0x9474b1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Cant_Read_Resource_Data__d__in___s__r_n
call fcn.005ddcf3
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.005e11e1
xor eax, eax
jmp 0x94897f
push 0x1d0
call fcn.005de946
add esp, 4
mov dword [ebp - 0x6ec], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x6ec], 0
je 0x947536
push 0x1d0
mov ecx, dword [ebp - 0x6ec]
call fcn.005ddda7
cvtsi2ss xmm0, dword [ebp - 0xcc]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0xd0]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0xd4]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0xd8]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0x6ec]
call fcn.005de6b7
mov dword [ebp - 0x784], eax
jmp 0x947540
mov dword [ebp - 0x784], 0
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x6e0], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x6e0]
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 0
jne 0x94758c
mov ecx, dword [ebp - 0x18]
call fcn.005e2ebf
push eax
mov eax, dword [ebp - 0xe4]
push eax
push str.Cant_Create___d__in_Scene___d__r_n
call fcn.005ddcf3
add esp, 0xc
xor eax, eax
jmp 0x94897f
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x784], edx
mov esi, esp
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xf0]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x784], edx
cvtsi2ss xmm0, dword [ebp - 0xcc]
mov esi, esp
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0xd0]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0xd4]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0xd8]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xf0]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
cmp dword [ebp - 0xe0], 0
je 0x947683
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x947681
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xfc]
call fcn.005e2177
jmp 0x9476bc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
jmp 0x94895f
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0x28
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.005e11e1
test eax, eax
jne 0x947718
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Cant_Read_Resource_Data__d__in___s__r_n
call fcn.005ddcf3
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.005e11e1
xor eax, eax
jmp 0x94897f
push 0x80
push 0
lea eax, [ebp - 0x1b4]
push eax
call fcn.005df85f
add esp, 0xc
mov eax, dword [ebp - 0x108]
shl eax, 6
add eax, 0xc632f0
push eax
push 0x9b02f8
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.005e02d2
add esp, 0xc
push 0x208
call fcn.005de946
add esp, 4
mov dword [ebp - 0x704], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x704], 0
je 0x9477eb
push 0x208
mov ecx, dword [ebp - 0x704]
call fcn.005e291a
lea eax, [ebp - 0x1b4]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x110]
push edx
cvtsi2ss xmm0, dword [ebp - 0x114]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x118]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x11c]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x120]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x704]
call fcn.005dd34d
mov dword [ebp - 0x784], eax
jmp 0x9477f5
mov dword [ebp - 0x784], 0
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x6f8], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x6f8]
mov dword [ebp - 0x1c0], edx
cmp dword [ebp - 0x1c0], 0
jne 0x947841
mov ecx, dword [ebp - 0x18]
call fcn.005e2ebf
push eax
mov eax, dword [ebp - 0x12c]
push eax
push str.Cant_Create___d__in_Scene___d__r_n
call fcn.005ddcf3
add esp, 0xc
xor eax, eax
jmp 0x94897f
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x784], edx
mov esi, esp
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x1c0]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x784], edx
cvtsi2ss xmm0, dword [ebp - 0x114]
mov esi, esp
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x118]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x11c]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x120]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x1c0]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
cmp dword [ebp - 0x128], 0
je 0x947938
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 0
je 0x947936
mov eax, dword [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x1cc]
call fcn.005e2177
jmp 0x947971
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x9479d9
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x788], ecx
cmp dword [ebp - 0x788], 0
je 0x9479b1
mov edx, dword [ebp - 0x788]
add edx, 0x24
mov dword [ebp - 0x78c], edx
jmp 0x9479bb
mov dword [ebp - 0x78c], 0
mov esi, esp
mov eax, dword [ebp - 0x78c]
push eax
mov ecx, dword [ebp - 0x1c0]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x947a01
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov esi, esp
push 0
mov ecx, dword [ebp - 0x1c0]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x94895f
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0x34
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.005e11e1
test eax, eax
jne 0x947a5d
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Cant_Read_Resource_Data__d__in___s__r_n
call fcn.005ddcf3
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.005e11e1
xor eax, eax
jmp 0x94897f
push 0x80
push 0
lea eax, [ebp - 0x290]
push eax
call fcn.005df85f
add esp, 0xc
mov eax, dword [ebp - 0x1d8]
shl eax, 6
add eax, 0xc632f0
push eax
push 0x9b02f8
lea ecx, [ebp - 0x290]
push ecx
call fcn.005e02d2
add esp, 0xc
push 0xe4c
call fcn.005de946
add esp, 4
mov dword [ebp - 0x71c], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x71c], 0
je 0x947b49
push 0xe4c
mov ecx, dword [ebp - 0x71c]
call fcn.005e0c05
mov eax, dword [ebp - 0x1dc]
push eax
mov ecx, dword [ebp - 0x1e0]
push ecx
mov edx, dword [ebp - 0x1e4]
push edx
mov eax, dword [ebp - 0x1e8]
push eax
cvtsi2ss xmm0, dword [ebp - 0x1f0]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1f4]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1f8]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1fc]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1ec]
push ecx
lea edx, [ebp - 0x290]
push edx
mov eax, dword [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x71c]
call fcn.005dfd28
mov dword [ebp - 0x784], eax
jmp 0x947b53
mov dword [ebp - 0x784], 0
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x710], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x710]
mov dword [ebp - 0x29c], edx
cmp dword [ebp - 0x29c], 0
jne 0x947b9f
mov ecx, dword [ebp - 0x18]
call fcn.005e2ebf
push eax
mov eax, dword [ebp - 0x208]
push eax
push str.Cant_Create___d__in_Scene___d__r_n
call fcn.005ddcf3
add esp, 0xc
xor eax, eax
jmp 0x94897f
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x784], edx
mov esi, esp
mov eax, dword [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x29c]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x784], edx
cvtsi2ss xmm0, dword [ebp - 0x1f0]
mov esi, esp
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1f4]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1f8]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1fc]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x29c]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
cmp dword [ebp - 0x204], 0
je 0x947c96
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x204]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x947c94
mov eax, dword [ebp - 0x29c]
push eax
mov ecx, dword [ebp - 0x2a8]
call fcn.005e2177
jmp 0x947ccf
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x29c]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
jmp 0x94895f
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0xb8
lea ecx, [ebp - 0x368]
push ecx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.005e11e1
test eax, eax
jne 0x947d2e
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Cant_Read_Resource_Data__d__in___s__r_n
call fcn.005ddcf3
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.005e11e1
xor eax, eax
jmp 0x94897f
push 0x1064
call fcn.005de946
add esp, 4
mov dword [ebp - 0x734], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x734], 0
je 0x947def
push 0x1064
mov ecx, dword [ebp - 0x734]
call fcn.005dd0f5
mov eax, dword [ebp - 0x33c]
push eax
mov ecx, dword [ebp - 0x340]
push ecx
mov edx, dword [ebp - 0x344]
push edx
mov eax, dword [ebp - 0x348]
push eax
cvtsi2ss xmm0, dword [ebp - 0x350]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x354]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x358]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x35c]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x34c]
push ecx
mov edx, dword [ebp - 0x334]
push edx
mov eax, dword [ebp - 0x338]
push eax
lea ecx, [ebp - 0x330]
push ecx
mov edx, dword [ebp - 0x360]
push edx
mov ecx, dword [ebp - 0x734]
call fcn.005e3ec8
mov dword [ebp - 0x784], eax
jmp 0x947df9
mov dword [ebp - 0x784], 0
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0x728], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x728]
mov dword [ebp - 0x374], ecx
cmp dword [ebp - 0x374], 0
jne 0x947e45
mov ecx, dword [ebp - 0x18]
call fcn.005e2ebf
push eax
mov eax, dword [ebp - 0x368]
push eax
push str.Cant_Create___d__in_Scene___d__r_n
call fcn.005ddcf3
add esp, 0xc
xor eax, eax
jmp 0x94897f
mov eax, dword [ebp - 0x374]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x784], edx
mov esi, esp
mov eax, dword [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x374]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x374]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x784], edx
cvtsi2ss xmm0, dword [ebp - 0x350]
mov esi, esp
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x354]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x358]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x35c]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x374]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
cmp dword [ebp - 0x364], 0
je 0x947f3c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x364]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0
je 0x947f3a
mov eax, dword [ebp - 0x374]
push eax
mov ecx, dword [ebp - 0x380]
call fcn.005e2177
jmp 0x947f75
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x374]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x947fdd
mov eax, dword [ebp - 0x374]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x788], ecx
cmp dword [ebp - 0x788], 0
je 0x947fb5
mov edx, dword [ebp - 0x788]
add edx, 0x24
mov dword [ebp - 0x78c], edx
jmp 0x947fbf
mov dword [ebp - 0x78c], 0
mov esi, esp
mov eax, dword [ebp - 0x78c]
push eax
mov ecx, dword [ebp - 0x374]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x948005
mov eax, dword [ebp - 0x374]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov esi, esp
push 0
mov ecx, dword [ebp - 0x374]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x94895f
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0x30
lea ecx, [ebp - 0x3b8]
push ecx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.005e11e1
test eax, eax
jne 0x948061
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Cant_Read_Resource_Data__d__in___s__r_n
call fcn.005ddcf3
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.005e11e1
xor eax, eax
jmp 0x94897f
push 0x374
call fcn.005de946
add esp, 4
mov dword [ebp - 0x74c], eax
mov dword [ebp - 4], 6
cmp dword [ebp - 0x74c], 0
je 0x94810d
push 0x374
mov ecx, dword [ebp - 0x74c]
call fcn.005e3a54
mov eax, dword [ebp - 0x38c]
push eax
mov ecx, dword [ebp - 0x390]
push ecx
mov edx, dword [ebp - 0x394]
push edx
cvtsi2ss xmm0, dword [ebp - 0x398]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x39c]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x3a0]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x3a4]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x3a8]
push eax
mov ecx, dword [ebp - 0x3ac]
push ecx
mov edx, dword [ebp - 0x3b0]
push edx
mov ecx, dword [ebp - 0x74c]
call fcn.005e07d7
mov dword [ebp - 0x784], eax
jmp 0x948117
mov dword [ebp - 0x784], 0
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0x740], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x740]
mov dword [ebp - 0x3c4], ecx
cmp dword [ebp - 0x3c4], 0
jne 0x948163
mov ecx, dword [ebp - 0x18]
call fcn.005e2ebf
push eax
mov eax, dword [ebp - 0x3b8]
push eax
push str.Cant_Create___d__in_Scene___d__r_n
call fcn.005ddcf3
add esp, 0xc
xor eax, eax
jmp 0x94897f
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x784], edx
mov esi, esp
mov eax, dword [ebp - 0x3b8]
push eax
mov ecx, dword [ebp - 0x3c4]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x784], edx
cvtsi2ss xmm0, dword [ebp - 0x398]
mov esi, esp
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x39c]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x3a0]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x3a4]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x3b8]
push eax
mov ecx, dword [ebp - 0x3c4]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
cmp dword [ebp - 0x3b4], 0
je 0x94825a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x3b4]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
je 0x948258
mov eax, dword [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x3d0]
call fcn.005e2177
jmp 0x948293
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x9482fb
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x788], ecx
cmp dword [ebp - 0x788], 0
je 0x9482d3
mov edx, dword [ebp - 0x788]
add edx, 0x24
mov dword [ebp - 0x78c], edx
jmp 0x9482dd
mov dword [ebp - 0x78c], 0
mov esi, esp
mov eax, dword [ebp - 0x78c]
push eax
mov ecx, dword [ebp - 0x3c4]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x948323
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov esi, esp
push 0
mov ecx, dword [ebp - 0x3c4]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x94895f
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0x20
lea ecx, [ebp - 0x3f8]
push ecx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.005e11e1
test eax, eax
jne 0x94837f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Cant_Read_Resource_Data__d__in___s__r_n
call fcn.005ddcf3
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.005e11e1
xor eax, eax
jmp 0x94897f
push 0x1f4
call fcn.005de946
add esp, 4
mov dword [ebp - 0x764], eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x764], 0
je 0x94840b
push 0x1f4
mov ecx, dword [ebp - 0x764]
call fcn.005dd85c
mov eax, dword [ebp - 0x3dc]
push eax
cvtsi2ss xmm0, dword [ebp - 0x3e0]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x3e4]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x3e8]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x3ec]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x3f0]
push ecx
mov ecx, dword [ebp - 0x764]
call fcn.005e2ba4
mov dword [ebp - 0x784], eax
jmp 0x948415
mov dword [ebp - 0x784], 0
mov edx, dword [ebp - 0x784]
mov dword [ebp - 0x758], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x758]
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x948461
mov ecx, dword [ebp - 0x18]
call fcn.005e2ebf
push eax
mov eax, dword [ebp - 0x3f8]
push eax
push str.Cant_Create___d__in_Scene___d__r_n
call fcn.005ddcf3
add esp, 0xc
xor eax, eax
jmp 0x94897f
mov eax, dword [ebp - 0x404]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x784], edx
mov esi, esp
mov eax, dword [ebp - 0x3f8]
push eax
mov ecx, dword [ebp - 0x404]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x404]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x784], edx
cvtsi2ss xmm0, dword [ebp - 0x3e0]
mov esi, esp
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x3e4]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x3e8]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x3ec]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x3f8]
push eax
mov ecx, dword [ebp - 0x404]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
cmp dword [ebp - 0x3f4], 0
je 0x948558
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x3f4]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x948556
mov eax, dword [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x410]
call fcn.005e2177
jmp 0x948591
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x9485f9
mov eax, dword [ebp - 0x404]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x788], ecx
cmp dword [ebp - 0x788], 0
je 0x9485d1
mov edx, dword [ebp - 0x788]
add edx, 0x24
mov dword [ebp - 0x78c], edx
jmp 0x9485db
mov dword [ebp - 0x78c], 0
mov esi, esp
mov eax, dword [ebp - 0x78c]
push eax
mov ecx, dword [ebp - 0x404]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x948621
mov eax, dword [ebp - 0x404]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov esi, esp
push 0
mov ecx, dword [ebp - 0x404]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x94895f
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0x34
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.005e11e1
test eax, eax
jne 0x94867d
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Cant_Read_Resource_Data__d__in___s__r_n
call fcn.005ddcf3
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.005e11e1
xor eax, eax
jmp 0x94897f
push 0x11bc
call fcn.005de946
add esp, 4
mov dword [ebp - 0x77c], eax
mov dword [ebp - 4], 8
cmp dword [ebp - 0x77c], 0
je 0x948732
push 0x11bc
mov ecx, dword [ebp - 0x77c]
call fcn.005ddec4
push 0
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
mov edx, dword [ebp - 0x424]
push edx
mov eax, dword [ebp - 0x428]
push eax
cvtsi2ss xmm0, dword [ebp - 0x42c]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x430]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x434]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x438]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x77c]
call fcn.005deee1
mov dword [ebp - 0x784], eax
jmp 0x94873c
mov dword [ebp - 0x784], 0
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x770], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x458], edx
cmp dword [ebp - 0x458], 0
jne 0x948788
mov ecx, dword [ebp - 0x18]
call fcn.005e2ebf
push eax
mov eax, dword [ebp - 0x44c]
push eax
push str.Cant_Create___d__in_Scene___d__r_n
call fcn.005ddcf3
add esp, 0xc
xor eax, eax
jmp 0x94897f
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x784], edx
mov esi, esp
mov eax, dword [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x458]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x784], edx
cvtsi2ss xmm0, dword [ebp - 0x42c]
mov esi, esp
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x430]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x434]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x438]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x458]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
cmp dword [ebp - 0x448], 0
je 0x94887f
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x448]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
je 0x94887d
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [ebp - 0x464]
call fcn.005e2177
jmp 0x9488b8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x788], edx
mov esi, esp
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [ebp - 0x784]
call dword [ebp - 0x788]
cmp esi, esp
call fcn.005e11e1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x948920
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x788], ecx
cmp dword [ebp - 0x788], 0
je 0x9488f8
mov edx, dword [ebp - 0x788]
add edx, 0x24
mov dword [ebp - 0x78c], edx
jmp 0x948902
mov dword [ebp - 0x78c], 0
mov esi, esp
mov eax, dword [ebp - 0x78c]
push eax
mov ecx, dword [ebp - 0x458]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x948948
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x784], edx
mov esi, esp
push 0
mov ecx, dword [ebp - 0x458]
call dword [ebp - 0x784]
cmp esi, esp
call fcn.005e11e1
jmp 0x94895f
mov eax, dword [ebp - 0x30]
push eax
push str.Not_Support_Control_Type___d__r_n
call fcn.005ddcf3
add esp, 8
xor eax, eax
jmp 0x94897f
jmp 0x946ec9
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.005e11e1
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x9489bc]
call fcn.005e078c
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005df77e
add esp, 0x78c
cmp ebp, esp
call fcn.005e11e1
mov esp, ebp
pop ebp
ret 4