Function at 0x460ea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cc45
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x57bc74]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1bc], esi
cmp dword [0x5922c4], 0
mov edi, dword [ebp + 0xc]
je 0x460f3f
push 0x55bcf8
push 0x55bcfc
call fcn.00511419
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x460f0e
push str.PumaAnim::LoadCompressed
push ebx
call fcn.004469d0
push ebx
call fcn.005114f9
add esp, 0xc
cmp dword [0x5922c4], 0
je 0x460f3f
push 0x55bcf8
push 0x55bcfc
call fcn.00511419
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x460f3f
push edi
push ebx
call fcn.004469d0
push ebx
call fcn.005114f9
add esp, 0xc
test edi, edi
jne 0x461039
push 0x58
lea eax, [ebp - 0x23c]
push edi
push eax
call fcn.004e7d00
lea eax, [ebp - 0x94]
mov byte [ebp - 0x94], 0
mov dword [ebp - 0x220], eax
add esp, 0xc
mov eax, dword [0x5922d8]
mov dword [ebp - 0x23c], 0x58
mov dword [ebp - 0x210], 0x55cf4c
mov dword [ebp - 0x21c], 0x80
mov eax, dword [eax + 0x2a3cc]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
mov dword [ebp - 0x230], str.PUMA_ANC_files
mov dword [ebp - 0x208], 8
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x461786
lea edi, [ebp - 0x94]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460fd0
sub ecx, edx
test ecx, ecx
jle 0x461786
xor eax, eax
nop dword [eax]
nop word [eax + eax]
cmp byte [ebp + eax - 0x94], 0x2e
je 0x4613f8
inc eax
cmp eax, ecx
jl 0x460ff0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push 0x55cf68
push eax
call fcn.0044d9b0
add esp, 0xc
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x94]
push 0x55cf70
push eax
call fcn.00462190
add esp, 0xc
push 0x55cf74
push edi
call fcn.00511419
add esp, 8
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x461786
cmp dword [esi + 0x15c], 0
lea edi, [esi + 0x150]
je 0x4610e6
mov ecx, dword [esi + 0x154]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x158], ecx
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x4610e6
nop
cmp dword [edi + 0xc], 0
je 0x4610bf
push ebx
mov ecx, edi
call fcn.0044f4a0
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x4610bf
mov esi, dword [eax]
mov eax, dword [eax + 4]
push 0xc
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
push dword [edi + 8]
call fcn.004c9581
mov dword [edi + 8], esi
add esp, 8
mov esi, dword [ebp - 0x1bc]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
cmp dword [esi + 0x15c], 0
je 0x4610e6
mov eax, dword [esi + 0x154]
mov eax, dword [eax + 4]
mov dword [esi + 0x158], eax
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x461080
mov edi, dword [esi + 0x108]
mov ebx, dword [0x5922dc]
test edi, edi
je 0x461114
push edi
lea ecx, [ebx + 4]
call fcn.0044f4a0
test eax, eax
je 0x461114
push edi
lea ecx, [ebx + 4]
call fcn.0044f5c0
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edi, dword [ebp - 0x1c4]
lea eax, [ebp - 0x1c0]
push edi
push 2
push 1
push eax
mov dword [ebp - 0x1c0], 0
call fcn.00512862
movsx eax, word [ebp - 0x1c0]
push edi
push 4
mov dword [esi + 0x160], eax
lea eax, [ebp - 0x1cc]
push 1
push eax
call fcn.00512862
mov eax, dword [ebp - 0x1cc]
add eax, eax
push eax
call fcn.004c958f
xor ebx, ebx
mov dword [ebp - 0x1d4], eax
add esp, 0x24
cmp dword [ebp - 0x1cc], ebx
jle 0x46119e
mov esi, eax
push edi
push 1
push 1
push esi
call fcn.00512862
push edi
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.00512862
inc ebx
add esp, 0x20
add esi, 2
cmp ebx, dword [ebp - 0x1cc]
jl 0x461176
xor esi, esi
xor eax, eax
mov dword [ebp - 0x1d0], esi
cmp ax, word [ebp - 0x1c0]
jge 0x46173a
push 0x164
call fcn.004c9551
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1b8], ebx
push 0x100
mov dword [ebx + 4], esi
lea esi, [ebx + 8]
push 0
push esi
mov dword [ebx], vtable.DataObject.0
call fcn.004e7d00
mov ecx, str.ANIM_FRAME
add esp, 0xc
sub esi, ecx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x4611f0
mov ecx, dword [ebp - 0x1bc]
mov dword [ebx], vtable.PumaAnimFrame.0
mov dword [ebx + 0x10c], 0
cmp dword [ecx + 0x15c], 0
je 0x461279
mov eax, dword [ecx + 0x154]
mov edi, dword [ecx + 0x158]
push 0xc
mov esi, dword [eax]
mov dword [ecx + 0x158], esi
call fcn.004c9551
mov edx, dword [ebp - 0x1bc]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1b8], ecx
mov dword [ecx + 4], ecx
mov dword [ecx], ecx
mov dword [ecx + 8], 0
mov dword [edx + 0x158], ecx
mov dword [ecx + 8], ebx
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 dword [eax], ecx
mov dword [edx + 0x158], edi
mov edi, dword [ebp - 0x1c4]
push edi
push 0xc
lea eax, [ebx + 0x11c]
push 1
push eax
call fcn.00512862
push edi
push 0xc
lea eax, [ebx + 0x110]
push 1
push eax
call fcn.00512862
push edi
push 0xc
lea eax, [ebp - 0x1ac]
push 1
push eax
call fcn.00512862
push edi
push 0xc
lea eax, [ebp - 0x1a0]
push 1
push eax
call fcn.00512862
mov eax, dword [ebp - 0x1cc]
add esp, 0x40
mov dword [ebx + 0x108], eax
push 0x224
call fcn.004c9551
add esp, 4
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x108]
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 [ebx + 0x10c], ecx
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1b8], edx
cmp dword [edx + 0x10], 0
je 0x461384
test ecx, ecx
je 0x461384
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 - 0x1b8]
mov ecx, eax
mov eax, dword [ebp - 0x1c8]
add esp, 4
mov dword [ebp - 0x1e0], ecx
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 dword [eax], ecx
mov dword [edx + 0xc], edi
mov eax, dword [ebx + 0x10c]
mov edi, dword [ebp - 0x1c4]
test eax, eax
jne 0x461418
mov edi, dword [ebp - 0x1bc]
add edi, 0x150
cmp dword [edi + 0xc], eax
je 0x4613d0
push ebx
mov ecx, edi
call fcn.0044f4a0
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x4613d0
mov esi, dword [eax]
mov eax, dword [eax + 4]
push 0xc
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
push dword [edi + 8]
call fcn.004c9581
add esp, 8
mov dword [edi + 8], esi
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1d0]
mov dword [eax + 0x160], ecx
mov eax, dword [ebp - 0x1c0]
movsx esi, ax
jmp 0x461724
cmp eax, ecx
jge 0x461003
cmp eax, 0x80
jae 0x4617a4
mov byte [ebp + eax - 0x94], 0
jmp 0x461003
cmp dword [eax + 0x108], 0
jne 0x461488
mov edi, dword [ebp - 0x1bc]
add edi, 0x150
cmp dword [edi + 0xc], 0
je 0x461466
push ebx
mov ecx, edi
call fcn.0044f4a0
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x461466
mov esi, dword [eax]
mov eax, dword [eax + 4]
push 0xc
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
push dword [edi + 8]
call fcn.004c9581
add esp, 8
mov dword [edi + 8], esi
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x1c0]
movsx esi, ax
mov dword [ecx + 0x160], esi
jmp 0x461724
mov eax, dword [eax + 0x114]
lea edx, [ebp - 0x1d8]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x108]
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1b8], 0
test eax, eax
jle 0x461581
lea esi, [ecx + 0xc]
nop dword [eax + eax]
push edi
push 1
lea eax, [ebp - 0x1ad]
push 1
push eax
call fcn.00512862
movsx eax, byte [ebp - 0x1ad]
push edi
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0x1ad]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x56acc0]
movss dword [esi], xmm0
call fcn.00512862
movsx eax, byte [ebp - 0x1ad]
push edi
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0x1ad]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x56acc0]
movss dword [esi + 4], xmm0
call fcn.00512862
movsx eax, byte [ebp - 0x1ad]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push esi
push esi
divss xmm0, dword [0x56acc0]
movss dword [esi + 8], xmm0
call fcn.00404e16
mov ecx, dword [ebp - 0x1b8]
add esi, 0x24
mov eax, dword [ebx + 0x108]
inc ecx
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jl 0x4614d0
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1b8], 0
test eax, eax
jle 0x46166a
lea esi, [ecx + 8]
push edi
push 2
lea eax, [ebp - 0x1b4]
push 1
push eax
call fcn.00512862
movsx eax, word [ebp - 0x1b4]
push edi
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x1b4]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x56ad14]
mulss xmm0, dword [ebp - 0x1a0]
addss xmm0, dword [ebp - 0x1ac]
movss dword [esi - 8], xmm0
call fcn.00512862
movsx eax, word [ebp - 0x1b4]
push edi
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x1b4]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x56ad14]
mulss xmm0, dword [ebp - 0x19c]
addss xmm0, dword [ebp - 0x1a8]
movss dword [esi - 4], xmm0
call fcn.00512862
movsx eax, word [ebp - 0x1b4]
add esp, 0x30
mov ecx, dword [ebp - 0x1b8]
inc ecx
mov dword [ebp - 0x1b8], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56ad14]
mulss xmm0, dword [ebp - 0x198]
addss xmm0, dword [ebp - 0x1a4]
movss dword [esi], xmm0
add esi, 0x24
mov eax, dword [ebx + 0x108]
cmp ecx, eax
jl 0x461596
mov esi, dword [ebp - 0x1c8]
xor ecx, ecx
test eax, eax
jle 0x4616c7
movss xmm1, dword [0x56acf4]
lea edx, [esi + 0x20]
mov edi, dword [ebp - 0x1d4]
nop word [eax + eax]
movzx eax, byte [edi + ecx*2]
lea edx, [edx + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edx - 0x28], xmm0
movzx eax, byte [edi + ecx*2 + 1]
inc ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edx - 0x24], xmm0
mov eax, dword [ebx + 0x108]
cmp ecx, eax
jl 0x461690
xor ecx, ecx
test eax, eax
jle 0x4616e1
mov edx, dword [ebp + 0x10]
lea eax, [esi + 0x18]
mov dword [eax], edx
lea eax, [eax + 0x24]
inc ecx
cmp ecx, dword [ebx + 0x108]
jl 0x4616d3
mov esi, dword [ebx + 0x10c]
mov eax, dword [esi + 0x114]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi + 0x114]
lea edx, [ebp - 0x1e4]
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]
mov eax, dword [ebp - 0x1c0]
mov esi, dword [ebp - 0x1d0]
mov edi, dword [ebp - 0x1c4]
inc esi
cwde
mov dword [ebp - 0x1d0], esi
cmp esi, eax
jl 0x4611b5
push edi
call fcn.005114f9
add esp, 4
push dword [ebp - 0x1d4]
call fcn.004c954c
add esp, 4
cmp dword [0x5922c4], 0
je 0x461786
push 0x55bcf8
push 0x55bcfc
call fcn.00511419
mov esi, eax
add esp, 8
test esi, esi
je 0x461786
push 0x55cf78
push esi
call fcn.004469d0
push esi
call fcn.005114f9
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c922c
mov esp, ebp
pop ebp
ret 0xc
call fcn.004c935e
int3