Function at 0x467a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f585
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x57ec74]
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 edi, ecx
cmp dword [0x5955e4], 0
mov esi, dword [ebp + 0xc]
je 0x467b35
push 0x55ed28
lea eax, [ebp - 0x2b8]
push 0x55ed2c
push eax
call fcn.0051416c
mov ecx, dword [ebp - 0x2b8]
add esp, 0xc
test ecx, ecx
je 0x467af0
test eax, eax
jne 0x467af0
push str.PumaMesh::LoadCompressed
push ecx
call fcn.00447030
push dword [ebp - 0x2b8]
call fcn.00513a00
add esp, 0xc
cmp dword [0x5955e4], 0
je 0x467b35
push 0x55ed28
lea eax, [ebp - 0x2ac]
push 0x55ed2c
push eax
call fcn.0051416c
mov ecx, dword [ebp - 0x2ac]
add esp, 0xc
test ecx, ecx
je 0x467b35
test eax, eax
jne 0x467b35
push esi
push ecx
call fcn.00447030
push dword [ebp - 0x2ac]
call fcn.00513a00
add esp, 0xc
test esi, esi
jne 0x467bf3
push 0x58
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.004ea420
lea eax, [ebp - 0x90]
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x304], eax
add esp, 0xc
mov eax, dword [0x5955f8]
mov dword [ebp - 0x320], 0x58
mov dword [ebp - 0x2f4], 0x56030c
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
je 0x4680c2
lea esi, [ebp - 0x90]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467bc5
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x4680c4
nop dword [eax + eax]
cmp byte [ebp + eax - 0x90], 0x2e
je 0x4680a6
inc eax
cmp eax, ecx
jl 0x467be0
push esi
lea eax, [ebp - 0x190]
push 0x560328
push eax
call fcn.0044e400
add esp, 0xc
lea eax, [ebp - 0x290]
push esi
push str._s.crc
push eax
call fcn.0044e400
add esp, 0xc
lea edx, [ebp - 0x2c4]
lea ecx, [ebp - 0x190]
call fcn.00449b90
push 0x560334
lea eax, [ebp - 0x2b0]
push esi
push eax
call fcn.0051416c
add esp, 0xc
cmp dword [ebp - 0x2b0], 0
je 0x4680c2
test eax, eax
jne 0x4680c2
mov esi, dword [edi + 0x128]
mov ebx, dword [0x5955fc]
test esi, esi
je 0x467c97
lea eax, [ebx + 4]
push esi
mov ecx, eax
mov dword [ebp - 0x2b4], eax
call fcn.0044ff20
test eax, eax
je 0x467c97
mov ecx, dword [ebp - 0x2b4]
push esi
call fcn.00450040
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ebx, dword [0x5955fc]
mov esi, dword [edi + 0x12c]
test esi, esi
je 0x467cbf
push esi
lea ecx, [ebx + 4]
call fcn.0044ff20
test eax, eax
je 0x467cbf
push esi
lea ecx, [ebx + 4]
call fcn.00450040
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push dword [ebp - 0x2b0]
lea eax, [ebp - 0x2bc]
push 4
push 1
push eax
call fcn.0051509a
mov eax, dword [ebp - 0x2bc]
add eax, eax
push eax
call fcn.004cbccd
xor ebx, ebx
mov dword [ebp - 0x2b4], eax
add esp, 0x14
cmp dword [ebp - 0x2bc], ebx
jle 0x467d32
mov esi, eax
nop dword [eax + eax]
push dword [ebp - 0x2b0]
push 1
push 1
push esi
call fcn.0051509a
push dword [ebp - 0x2b0]
lea eax, [esi + 1]
push 1
push 1
push eax
call fcn.0051509a
inc ebx
add esp, 0x20
add esi, 2
cmp ebx, dword [ebp - 0x2bc]
jl 0x467d00
push dword [ebp - 0x2b0]
lea eax, [ebp - 0x2a8]
push 0xc
push 1
push eax
call fcn.0051509a
push dword [ebp - 0x2b0]
lea eax, [ebp - 0x29c]
push 0xc
push 1
push eax
call fcn.0051509a
mov eax, dword [ebp - 0x2bc]
push 0x224
mov dword [edi + 0x124], eax
call fcn.004cbc8f
add esp, 0x24
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x124]
push 0x152
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.0046a1a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x5955fc]
push eax
mov dword [edi + 0x128], eax
lea ecx, [ecx + 4]
call fcn.0044fd40
mov eax, dword [edi + 0x128]
lea edx, [ebp - 0x2c0]
push 0
push edx
push 0
mov eax, dword [eax + 0x114]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [edi + 0x124]
xor ebx, ebx
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2b8], ecx
test eax, eax
jle 0x467eb4
lea esi, [ecx + 0xc]
nop word [eax + eax]
push dword [ebp - 0x2b0]
lea eax, [ebp - 0x2a9]
push 1
push 1
push eax
call fcn.0051509a
movsx eax, byte [ebp - 0x2a9]
movd xmm0, eax
lea eax, [ebp - 0x2a9]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56dc28]
movss dword [esi], xmm0
push dword [ebp - 0x2b0]
push 1
push 1
push eax
call fcn.0051509a
movsx eax, byte [ebp - 0x2a9]
movd xmm0, eax
lea eax, [ebp - 0x2a9]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56dc28]
movss dword [esi + 4], xmm0
push dword [ebp - 0x2b0]
push 1
push 1
push eax
call fcn.0051509a
movsx eax, byte [ebp - 0x2a9]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push esi
push esi
divss xmm0, dword [0x56dc28]
movss dword [esi + 8], xmm0
call fcn.00404e16
mov eax, dword [edi + 0x124]
inc ebx
add esi, 0x24
cmp ebx, eax
jl 0x467e00
mov ecx, dword [ebp - 0x2b8]
xor ebx, ebx
test eax, eax
jle 0x467f98
lea esi, [ecx + 8]
push dword [ebp - 0x2b0]
lea eax, [ebp - 0x2ac]
push 2
push 1
push eax
call fcn.0051509a
movsx eax, word [ebp - 0x2ac]
movd xmm0, eax
lea eax, [ebp - 0x2ac]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56dc70]
mulss xmm0, dword [ebp - 0x29c]
addss xmm0, dword [ebp - 0x2a8]
movss dword [esi - 8], xmm0
push dword [ebp - 0x2b0]
push 2
push 1
push eax
call fcn.0051509a
movsx eax, word [ebp - 0x2ac]
movd xmm0, eax
lea eax, [ebp - 0x2ac]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56dc70]
mulss xmm0, dword [ebp - 0x298]
addss xmm0, dword [ebp - 0x2a4]
movss dword [esi - 4], xmm0
push dword [ebp - 0x2b0]
push 2
push 1
push eax
call fcn.0051509a
movsx eax, word [ebp - 0x2ac]
inc ebx
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56dc70]
mulss xmm0, dword [ebp - 0x294]
addss xmm0, dword [ebp - 0x2a0]
movss dword [esi], xmm0
add esi, 0x24
mov eax, dword [edi + 0x124]
cmp ebx, eax
jl 0x467ec1
mov esi, dword [ebp - 0x2b8]
xor ecx, ecx
mov ebx, dword [ebp - 0x2b4]
test eax, eax
jle 0x467fec
movss xmm1, dword [0x56dc50]
lea edx, [esi + 0x20]
movzx eax, byte [ebx + ecx*2]
lea edx, [edx + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edx - 0x28], xmm0
movzx eax, byte [ebx + ecx*2 + 1]
inc ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edx - 0x24], xmm0
mov eax, dword [edi + 0x124]
cmp ecx, eax
jl 0x467fb5
xor ecx, ecx
test eax, eax
jle 0x468007
lea eax, [esi + 0x18]
mov dword [eax], 0xffffffff
lea eax, [eax + 0x24]
inc ecx
cmp ecx, dword [edi + 0x124]
jl 0x467ff5
mov esi, dword [edi + 0x128]
mov eax, dword [esi + 0x114]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi + 0x114]
lea edx, [ebp - 0x2c0]
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 dword [ebp - 0x2b0]
call fcn.00513a00
add esp, 4
push ebx
call fcn.004cbc8a
add esp, 4
cmp dword [0x5955e4], 0
je 0x46809e
push 0x55ed28
lea eax, [ebp - 0x2b4]
push 0x55ed2c
push eax
call fcn.0051416c
mov ecx, dword [ebp - 0x2b4]
add esp, 0xc
test ecx, ecx
je 0x46809e
test eax, eax
jne 0x46809e
push str._DONE_n
push ecx
call fcn.00447030
push dword [ebp - 0x2b4]
call fcn.00513a00
add esp, 0xc
mov eax, dword [ebp - 0x2c4]
jmp 0x4680c4
cmp eax, ecx
jge 0x467bf3
cmp eax, 0x80
jae 0x4680e2
mov byte [ebp + eax - 0x90], 0
jmp 0x467bf3
xor eax, eax
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.004cb96a
mov esp, ebp
pop ebp
ret 8
call fcn.004cba9c
int3