Function at 0x4669e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cd95
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x57bc74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2b4], esi
cmp dword [0x5922c4], 0
mov edi, dword [ebp + 0xc]
je 0x466a7f
push 0x55bcf8
push 0x55bcfc
call fcn.00511419
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x466a4e
push str.PumaMesh::LoadCompressed
push ebx
call fcn.004469d0
push ebx
call fcn.005114f9
add esp, 0xc
cmp dword [0x5922c4], 0
je 0x466a7f
push 0x55bcf8
push 0x55bcfc
call fcn.00511419
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x466a7f
push edi
push ebx
call fcn.004469d0
push ebx
call fcn.005114f9
add esp, 0xc
test edi, edi
jne 0x466b43
push 0x58
lea eax, [ebp - 0x320]
push edi
push eax
call fcn.004e7d00
lea eax, [ebp - 0x90]
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x304], eax
add esp, 0xc
mov eax, dword [0x5922d8]
mov dword [ebp - 0x320], 0x58
mov dword [ebp - 0x2f4], 0x55d2f8
mov dword [ebp - 0x300], 0x80
mov eax, dword [eax + 0x2a3cc]
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x320]
push eax
mov dword [ebp - 0x314], str.PUMA_MEC_files
mov dword [ebp - 0x2ec], 8
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
jne 0x466b07
xor eax, eax
jmp 0x46703b
lea edi, [ebp - 0x90]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x466b12
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x46703b
nop word [eax + eax]
cmp byte [ebp + eax - 0x90], 0x2e
je 0x467059
inc eax
cmp eax, ecx
jl 0x466b30
push edi
lea eax, [ebp - 0x190]
push 0x55d314
push eax
call fcn.0044d9b0
add esp, 0xc
lea eax, [ebp - 0x290]
push edi
push str._s.crc
push eax
call fcn.0044d9b0
add esp, 0xc
lea edx, [ebp - 0x2c8]
lea ecx, [ebp - 0x190]
call fcn.004492e0
push 0x55d320
push edi
call fcn.00511419
mov ebx, eax
add esp, 8
mov dword [ebp - 0x2c4], ebx
test ebx, ebx
je 0x466b00
mov edi, dword [esi + 0x128]
test edi, edi
je 0x466bd4
mov eax, dword [0x5922dc]
add eax, 4
push edi
mov ecx, eax
mov dword [ebp - 0x2b8], eax
call fcn.0044f4a0
test eax, eax
je 0x466bd4
mov ecx, dword [ebp - 0x2b8]
push edi
call fcn.0044f5c0
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edi, dword [esi + 0x12c]
test edi, edi
je 0x466c0c
mov eax, dword [0x5922dc]
add eax, 4
push edi
mov ecx, eax
mov dword [ebp - 0x2b8], eax
call fcn.0044f4a0
test eax, eax
je 0x466c0c
mov ecx, dword [ebp - 0x2b8]
push edi
call fcn.0044f5c0
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push ebx
push 4
lea eax, [ebp - 0x2bc]
push 1
push eax
call fcn.00512862
mov eax, dword [ebp - 0x2bc]
add eax, eax
push eax
call fcn.004c958f
xor edi, edi
mov dword [ebp - 0x2b8], eax
add esp, 0x14
cmp dword [ebp - 0x2bc], edi
jle 0x466c6e
mov esi, eax
push ebx
push 1
push 1
push esi
call fcn.00512862
push ebx
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.00512862
inc edi
add esp, 0x20
add esi, 2
cmp edi, dword [ebp - 0x2bc]
jl 0x466c40
mov esi, dword [ebp - 0x2b4]
push ebx
push 0xc
lea eax, [ebp - 0x2a8]
push 1
push eax
call fcn.00512862
push ebx
push 0xc
lea eax, [ebp - 0x29c]
push 1
push eax
call fcn.00512862
mov eax, dword [ebp - 0x2bc]
push 0x224
mov dword [esi + 0x124], eax
call fcn.004c9551
add esp, 0x24
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x124]
push 0x152
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.00469140
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov edx, dword [0x5922dc]
mov dword [esi + 0x128], eax
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2b0], edx
cmp dword [edx + 0x10], 0
je 0x466d54
test eax, eax
je 0x466d54
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
push 0xc
mov esi, dword [eax]
mov dword [edx + 0xc], esi
call fcn.004c9551
mov edx, dword [ebp - 0x2b0]
mov ecx, eax
mov dword [ebp - 0x2c0], ecx
add esp, 4
mov eax, dword [ebp - 0x2ac]
mov dword [ecx + 4], ecx
mov dword [ecx], ecx
mov dword [ecx + 8], 0
mov dword [edx + 0xc], ecx
mov dword [ecx + 8], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x2b4]
mov dword [eax], ecx
mov dword [edx + 0xc], edi
mov ecx, dword [esi + 0x128]
mov eax, dword [ecx + 0x114]
lea edx, [ebp - 0x2c0]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov ecx, dword [esi + 0x124]
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], 0
test ecx, ecx
jle 0x466e45
lea edi, [eax + 0xc]
push ebx
push 1
lea eax, [ebp - 0x2a9]
push 1
push eax
call fcn.00512862
movsx eax, byte [ebp - 0x2a9]
push ebx
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0x2a9]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x56acc0]
movss dword [edi], xmm0
call fcn.00512862
movsx eax, byte [ebp - 0x2a9]
push ebx
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0x2a9]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x56acc0]
movss dword [edi + 4], xmm0
call fcn.00512862
movsx eax, byte [ebp - 0x2a9]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push edi
push edi
divss xmm0, dword [0x56acc0]
movss dword [edi + 8], xmm0
call fcn.00404e16
mov eax, dword [ebp - 0x2b0]
add edi, 0x24
mov ecx, dword [esi + 0x124]
inc eax
mov dword [ebp - 0x2b0], eax
cmp eax, ecx
jl 0x466d94
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b0], 0
test ecx, ecx
jle 0x466f34
lea edi, [eax + 8]
nop word [eax + eax]
push ebx
push 2
lea eax, [ebp - 0x2ac]
push 1
push eax
call fcn.00512862
movsx eax, word [ebp - 0x2ac]
push ebx
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x2ac]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x56ad14]
mulss xmm0, dword [ebp - 0x29c]
addss xmm0, dword [ebp - 0x2a8]
movss dword [edi - 8], xmm0
call fcn.00512862
movsx eax, word [ebp - 0x2ac]
push ebx
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x2ac]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x56ad14]
mulss xmm0, dword [ebp - 0x298]
addss xmm0, dword [ebp - 0x2a4]
movss dword [edi - 4], xmm0
call fcn.00512862
movsx eax, word [ebp - 0x2ac]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x2b0]
inc eax
mov dword [ebp - 0x2b0], eax
divss xmm0, dword [0x56ad14]
mulss xmm0, dword [ebp - 0x294]
addss xmm0, dword [ebp - 0x2a0]
movss dword [edi], xmm0
add edi, 0x24
mov ecx, dword [esi + 0x124]
cmp eax, ecx
jl 0x466e60
xor edx, edx
test ecx, ecx
jle 0x466f8e
mov edi, dword [ebp - 0x2b4]
movss xmm1, dword [0x56acf4]
add edi, 0x20
mov ebx, dword [ebp - 0x2b8]
movzx eax, byte [ebx + edx*2]
lea edi, [edi + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edi - 0x28], xmm0
movzx eax, byte [ebx + edx*2 + 1]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edi - 0x24], xmm0
mov ecx, dword [esi + 0x124]
cmp edx, ecx
jl 0x466f51
mov ebx, dword [ebp - 0x2c4]
xor eax, eax
test ecx, ecx
jle 0x466fb2
mov ecx, dword [ebp - 0x2b4]
add ecx, 0x18
nop dword [eax]
mov dword [ecx], 0xffffffff
lea ecx, [ecx + 0x24]
inc eax
cmp eax, dword [esi + 0x124]
jl 0x466fa0
mov esi, dword [esi + 0x128]
mov eax, dword [esi + 0x114]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi + 0x114]
lea edx, [ebp - 0x2c4]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [esi + 0x114]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
push ebx
call fcn.005114f9
add esp, 4
push dword [ebp - 0x2b8]
call fcn.004c954c
add esp, 4
cmp dword [0x5922c4], 0
je 0x467035
push 0x55bcf8
push 0x55bcfc
call fcn.00511419
mov esi, eax
add esp, 8
test esi, esi
je 0x467035
push str._DONE_n
push esi
call fcn.004469d0
push esi
call fcn.005114f9
add esp, 0xc
mov eax, dword [ebp - 0x2c8]
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.004c922c
mov esp, ebp
pop ebp
ret 8
cmp eax, ecx
jge 0x466b43
cmp eax, 0x80
jae 0x467075
mov byte [ebp + eax - 0x90], 0
jmp 0x466b43
call fcn.004c935e
int3