Function at 0x461dc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f435
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x57ec74]
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 - 0x1c0], esi
cmp dword [0x5955e4], 0
mov edi, dword [ebp + 0xc]
je 0x461e8b
push 0x55ed28
lea eax, [ebp - 0x1c8]
push 0x55ed2c
push eax
call fcn.0051416c
mov ecx, dword [ebp - 0x1c8]
add esp, 0xc
test ecx, ecx
je 0x461e46
test eax, eax
jne 0x461e46
push str.PumaAnim::LoadCompressed
push ecx
call fcn.00447030
push dword [ebp - 0x1c8]
call fcn.00513a00
add esp, 0xc
cmp dword [0x5955e4], 0
je 0x461e8b
push 0x55ed28
lea eax, [ebp - 0x1bc]
push 0x55ed2c
push eax
call fcn.0051416c
mov ecx, dword [ebp - 0x1bc]
add esp, 0xc
test ecx, ecx
je 0x461e8b
test eax, eax
jne 0x461e8b
push edi
push ecx
call fcn.00447030
push dword [ebp - 0x1bc]
call fcn.00513a00
add esp, 0xc
test edi, edi
jne 0x461f89
push 0x58
lea eax, [ebp - 0x23c]
push edi
push eax
call fcn.004ea420
lea eax, [ebp - 0x94]
mov byte [ebp - 0x94], 0
mov dword [ebp - 0x220], eax
add esp, 0xc
mov eax, dword [0x5955f8]
mov dword [ebp - 0x23c], 0x58
mov dword [ebp - 0x210], 0x55ff7c
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 0x4626bf
lea edi, [ebp - 0x94]
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461f20
sub ecx, edx
test ecx, ecx
jle 0x4626bf
xor eax, eax
nop dword [eax]
nop word [eax + eax]
cmp byte [ebp + eax - 0x94], 0x2e
je 0x462367
inc eax
cmp eax, ecx
jl 0x461f40
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push 0x55ff98
push eax
call fcn.0044e400
add esp, 0xc
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x94]
push 0x55ffa0
push eax
call fcn.00463090
add esp, 0xc
push 0x55ffa4
lea eax, [ebp - 0x1b4]
push edi
push eax
call fcn.0051416c
add esp, 0xc
cmp dword [ebp - 0x1b4], 0
je 0x4626bf
test eax, eax
jne 0x4626bf
lea edi, [esi + 0x150]
cmp dword [esi + 0x15c], eax
je 0x46203d
mov eax, dword [esi + 0x154]
mov eax, dword [eax + 4]
mov dword [esi + 0x158], eax
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x46203d
cmp dword [edi + 0xc], 0
je 0x462016
push ebx
mov ecx, edi
call fcn.0044ff20
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x462016
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.004cbcbf
mov dword [edi + 8], esi
add esp, 8
mov esi, dword [ebp - 0x1c0]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
cmp dword [esi + 0x15c], 0
je 0x46203d
mov eax, dword [esi + 0x154]
mov eax, dword [eax + 4]
mov dword [esi + 0x158], eax
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x461fd7
mov edi, dword [esi + 0x108]
mov ebx, dword [0x5955fc]
test edi, edi
je 0x46206b
push edi
lea ecx, [ebx + 4]
call fcn.0044ff20
test eax, eax
je 0x46206b
push edi
lea ecx, [ebx + 4]
call fcn.00450040
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x1b4]
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1c4], 0
push 2
push 1
push eax
call fcn.0051509a
push dword [ebp - 0x1b4]
movsx eax, word [ebp - 0x1c4]
push 4
mov dword [esi + 0x160], eax
lea eax, [ebp - 0x1d0]
push 1
push eax
call fcn.0051509a
mov eax, dword [ebp - 0x1d0]
add eax, eax
push eax
call fcn.004cbccd
xor edi, edi
add esp, 0x24
mov ebx, eax
mov dword [ebp - 0x1cc], ebx
cmp dword [ebp - 0x1d0], edi
jle 0x462105
mov esi, ebx
push dword [ebp - 0x1b4]
push 1
push 1
push esi
call fcn.0051509a
push dword [ebp - 0x1b4]
lea eax, [esi + 1]
push 1
push 1
push eax
call fcn.0051509a
inc edi
add esp, 0x20
add esi, 2
cmp edi, dword [ebp - 0x1d0]
jl 0x4620d3
xor edi, edi
xor eax, eax
mov dword [ebp - 0x1c8], edi
cmp ax, word [ebp - 0x1c4]
jge 0x46265f
nop dword [eax]
push 0x164
call fcn.004cbc8f
add esp, 4
mov ebx, eax
mov dword [ebp - 0x1d4], ebx
push 0x100
lea esi, [ebx + 8]
mov dword [ebx], vtable.DataObject.0
push 0
push esi
mov dword [ebx + 4], edi
call fcn.004ea420
add esp, 0xc
push str.ANIM_FRAME
push 0x100
push esi
call fcn.0051560d
mov ecx, dword [ebp - 0x1c0]
add esp, 0xc
mov dword [ebx], vtable.PumaAnimFrame.0
mov dword [ebx + 0x10c], 0
cmp dword [ecx + 0x15c], 0
je 0x4621da
mov eax, dword [ecx + 0x154]
mov edi, dword [ecx + 0x158]
push 0xc
mov esi, dword [eax]
mov dword [ecx + 0x158], esi
call fcn.004cbc8f
mov edx, dword [ebp - 0x1c0]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1d4], 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
push dword [ebp - 0x1b4]
lea eax, [ebx + 0x11c]
push 0xc
push 1
push eax
call fcn.0051509a
push dword [ebp - 0x1b4]
lea eax, [ebx + 0x110]
push 0xc
push 1
push eax
call fcn.0051509a
push dword [ebp - 0x1b4]
lea eax, [ebp - 0x1ac]
push 0xc
push 1
push eax
call fcn.0051509a
push dword [ebp - 0x1b4]
lea eax, [ebp - 0x1a0]
push 0xc
push 1
push eax
call fcn.0051509a
mov eax, dword [ebp - 0x1d0]
add esp, 0x40
mov dword [ebx + 0x108], eax
push 0x224
call fcn.004cbc8f
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.0046a1a0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov edx, dword [0x5955fc]
mov dword [ebx + 0x10c], ecx
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1bc], edx
cmp dword [edx + 0x10], 0
je 0x4622f3
test ecx, ecx
je 0x4622f3
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
push 0xc
mov esi, dword [eax]
mov dword [edx + 0xc], esi
call fcn.004cbc8f
mov edx, dword [ebp - 0x1bc]
mov ecx, eax
mov eax, dword [ebp - 0x1d4]
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]
test eax, eax
jne 0x462387
mov edi, dword [ebp - 0x1c0]
add edi, 0x150
cmp dword [edi + 0xc], eax
je 0x46233f
push ebx
mov ecx, edi
call fcn.0044ff20
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x46233f
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.004cbcbf
add esp, 8
mov dword [edi + 8], esi
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1c8]
mov dword [eax + 0x160], ecx
mov eax, dword [ebp - 0x1c4]
movsx edi, ax
jmp 0x462649
cmp eax, ecx
jge 0x461f53
cmp eax, 0x80
jae 0x4626dd
mov byte [ebp + eax - 0x94], 0
jmp 0x461f53
cmp dword [eax + 0x108], 0
jne 0x4623be
mov esi, dword [ebp - 0x1c0]
push ebx
lea ecx, [esi + 0x150]
call fcn.00450040
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov eax, dword [ebp - 0x1c4]
movsx edi, ax
mov dword [esi + 0x160], edi
jmp 0x462649
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]
xor edi, edi
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1bc], ecx
test eax, eax
jle 0x4624b4
lea esi, [ecx + 0xc]
nop word [eax + eax]
push dword [ebp - 0x1b4]
lea eax, [ebp - 0x1ad]
push 1
push 1
push eax
call fcn.0051509a
movsx eax, byte [ebp - 0x1ad]
movd xmm0, eax
lea eax, [ebp - 0x1ad]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56dc28]
movss dword [esi], xmm0
push dword [ebp - 0x1b4]
push 1
push 1
push eax
call fcn.0051509a
movsx eax, byte [ebp - 0x1ad]
movd xmm0, eax
lea eax, [ebp - 0x1ad]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56dc28]
movss dword [esi + 4], xmm0
push dword [ebp - 0x1b4]
push 1
push 1
push eax
call fcn.0051509a
movsx eax, byte [ebp - 0x1ad]
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 [ebx + 0x108]
inc edi
add esi, 0x24
cmp edi, eax
jl 0x462400
mov ecx, dword [ebp - 0x1bc]
xor edi, edi
test eax, eax
jle 0x462598
lea esi, [ecx + 8]
push dword [ebp - 0x1b4]
lea eax, [ebp - 0x1b8]
push 2
push 1
push eax
call fcn.0051509a
movsx eax, word [ebp - 0x1b8]
movd xmm0, eax
lea eax, [ebp - 0x1b8]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56dc70]
mulss xmm0, dword [ebp - 0x1a0]
addss xmm0, dword [ebp - 0x1ac]
movss dword [esi - 8], xmm0
push dword [ebp - 0x1b4]
push 2
push 1
push eax
call fcn.0051509a
movsx eax, word [ebp - 0x1b8]
movd xmm0, eax
lea eax, [ebp - 0x1b8]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56dc70]
mulss xmm0, dword [ebp - 0x19c]
addss xmm0, dword [ebp - 0x1a8]
movss dword [esi - 4], xmm0
push dword [ebp - 0x1b4]
push 2
push 1
push eax
call fcn.0051509a
movsx eax, word [ebp - 0x1b8]
inc edi
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x56dc70]
mulss xmm0, dword [ebp - 0x198]
addss xmm0, dword [ebp - 0x1a4]
movss dword [esi], xmm0
add esi, 0x24
mov eax, dword [ebx + 0x108]
cmp edi, eax
jl 0x4624c1
mov edi, dword [ebp - 0x1bc]
xor ecx, ecx
test eax, eax
jle 0x4625ec
movss xmm1, dword [0x56dc50]
lea edx, [edi + 0x20]
mov esi, dword [ebp - 0x1cc]
movzx eax, byte [esi + ecx*2]
lea edx, [edx + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edx - 0x28], xmm0
movzx eax, byte [esi + 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 0x4625b5
xor ecx, ecx
test eax, eax
jle 0x462606
mov edx, dword [ebp + 0x10]
lea eax, [edi + 0x18]
mov dword [eax], edx
lea eax, [eax + 0x24]
inc ecx
cmp ecx, dword [ebx + 0x108]
jl 0x4625f8
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 - 0x1c4]
mov edi, dword [ebp - 0x1c8]
inc edi
cwde
mov dword [ebp - 0x1c8], edi
cmp edi, eax
jl 0x462120
mov ebx, dword [ebp - 0x1cc]
push dword [ebp - 0x1b4]
call fcn.00513a00
add esp, 4
push ebx
call fcn.004cbc8a
add esp, 4
cmp dword [0x5955e4], 0
je 0x4626bf
push 0x55ed28
lea eax, [ebp - 0x1cc]
push 0x55ed2c
push eax
call fcn.0051416c
mov ecx, dword [ebp - 0x1cc]
add esp, 0xc
test ecx, ecx
je 0x4626bf
test eax, eax
jne 0x4626bf
push 0x55ffa8
push ecx
call fcn.00447030
push dword [ebp - 0x1cc]
call fcn.00513a00
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.004cb96a
mov esp, ebp
pop ebp
ret 0xc
call fcn.004cba9c
int3