Function at 0x460c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53caf5
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x57bbb4]
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 [0x592204], 0
mov edi, dword [ebp + 0xc]
je 0x460caf
push 0x55bad8
push 0x55badc
call fcn.005112b9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x460c7e
push str.PumaAnim::LoadCompressed
push ebx
call fcn.004469d0
push ebx
call fcn.00511399
add esp, 0xc
cmp dword [0x592204], 0
je 0x460caf
push 0x55bad8
push 0x55badc
call fcn.005112b9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x460caf
push edi
push ebx
call fcn.004469d0
push ebx
call fcn.00511399
add esp, 0xc
test edi, edi
jne 0x460da9
push 0x58
lea eax, [ebp - 0x23c]
push edi
push eax
call fcn.004e7ba0
lea eax, [ebp - 0x94]
mov byte [ebp - 0x94], 0
mov dword [ebp - 0x220], eax
add esp, 0xc
mov eax, dword [0x592218]
mov dword [ebp - 0x23c], 0x58
mov dword [ebp - 0x210], 0x55cd14
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 0x4614f6
lea edi, [ebp - 0x94]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460d40
sub ecx, edx
test ecx, ecx
jle 0x4614f6
xor eax, eax
nop dword [eax]
nop word [eax + eax]
cmp byte [ebp + eax - 0x94], 0x2e
je 0x461168
inc eax
cmp eax, ecx
jl 0x460d60
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push 0x55cd30
push eax
call fcn.0044d9b0
add esp, 0xc
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x94]
push 0x55cd38
push eax
call fcn.00461f00
add esp, 0xc
push 0x55cd3c
push edi
call fcn.005112b9
add esp, 8
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x4614f6
cmp dword [esi + 0x15c], 0
lea edi, [esi + 0x150]
je 0x460e56
mov ecx, dword [esi + 0x154]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x158], ecx
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x460e56
nop
cmp dword [edi + 0xc], 0
je 0x460e2f
push ebx
mov ecx, edi
call fcn.0044f4a0
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x460e2f
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.004c9431
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 0x460e56
mov eax, dword [esi + 0x154]
mov eax, dword [eax + 4]
mov dword [esi + 0x158], eax
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x460df0
mov edi, dword [esi + 0x108]
mov ebx, dword [0x59221c]
test edi, edi
je 0x460e84
push edi
lea ecx, [ebx + 4]
call fcn.0044f4a0
test eax, eax
je 0x460e84
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.00512702
movsx eax, word [ebp - 0x1c0]
push edi
push 4
mov dword [esi + 0x160], eax
lea eax, [ebp - 0x1cc]
push 1
push eax
call fcn.00512702
mov eax, dword [ebp - 0x1cc]
add eax, eax
push eax
call fcn.004c943f
xor ebx, ebx
mov dword [ebp - 0x1d4], eax
add esp, 0x24
cmp dword [ebp - 0x1cc], ebx
jle 0x460f0e
mov esi, eax
push edi
push 1
push 1
push esi
call fcn.00512702
push edi
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.00512702
inc ebx
add esp, 0x20
add esi, 2
cmp ebx, dword [ebp - 0x1cc]
jl 0x460ee6
xor esi, esi
xor eax, eax
mov dword [ebp - 0x1d0], esi
cmp ax, word [ebp - 0x1c0]
jge 0x4614aa
push 0x164
call fcn.004c9401
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.004e7ba0
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 0x460f60
mov ecx, dword [ebp - 0x1bc]
mov dword [ebx], vtable.PumaAnimFrame.0
mov dword [ebx + 0x10c], 0
cmp dword [ecx + 0x15c], 0
je 0x460fe9
mov eax, dword [ecx + 0x154]
mov edi, dword [ecx + 0x158]
push 0xc
mov esi, dword [eax]
mov dword [ecx + 0x158], esi
call fcn.004c9401
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.00512702
push edi
push 0xc
lea eax, [ebx + 0x110]
push 1
push eax
call fcn.00512702
push edi
push 0xc
lea eax, [ebp - 0x1ac]
push 1
push eax
call fcn.00512702
push edi
push 0xc
lea eax, [ebp - 0x1a0]
push 1
push eax
call fcn.00512702
mov eax, dword [ebp - 0x1cc]
add esp, 0x40
mov dword [ebx + 0x108], eax
push 0x224
call fcn.004c9401
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.00469040
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov edx, dword [0x59221c]
mov dword [ebx + 0x10c], ecx
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1b8], edx
cmp dword [edx + 0x10], 0
je 0x4610f4
test ecx, ecx
je 0x4610f4
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
push 0xc
mov esi, dword [eax]
mov dword [edx + 0xc], esi
call fcn.004c9401
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 0x461188
mov edi, dword [ebp - 0x1bc]
add edi, 0x150
cmp dword [edi + 0xc], eax
je 0x461140
push ebx
mov ecx, edi
call fcn.0044f4a0
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x461140
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.004c9431
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 0x461494
cmp eax, ecx
jge 0x460d73
cmp eax, 0x80
jae 0x461514
mov byte [ebp + eax - 0x94], 0
jmp 0x460d73
cmp dword [eax + 0x108], 0
jne 0x4611f8
mov edi, dword [ebp - 0x1bc]
add edi, 0x150
cmp dword [edi + 0xc], 0
je 0x4611d6
push ebx
mov ecx, edi
call fcn.0044f4a0
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x4611d6
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.004c9431
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 0x461494
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 0x4612f1
lea esi, [ecx + 0xc]
nop dword [eax + eax]
push edi
push 1
lea eax, [ebp - 0x1ad]
push 1
push eax
call fcn.00512702
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 [0x56aa78]
movss dword [esi], xmm0
call fcn.00512702
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 [0x56aa78]
movss dword [esi + 4], xmm0
call fcn.00512702
movsx eax, byte [ebp - 0x1ad]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push esi
push esi
divss xmm0, dword [0x56aa78]
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 0x461240
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1b8], 0
test eax, eax
jle 0x4613da
lea esi, [ecx + 8]
push edi
push 2
lea eax, [ebp - 0x1b4]
push 1
push eax
call fcn.00512702
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 [0x56aacc]
mulss xmm0, dword [ebp - 0x1a0]
addss xmm0, dword [ebp - 0x1ac]
movss dword [esi - 8], xmm0
call fcn.00512702
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 [0x56aacc]
mulss xmm0, dword [ebp - 0x19c]
addss xmm0, dword [ebp - 0x1a8]
movss dword [esi - 4], xmm0
call fcn.00512702
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 [0x56aacc]
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 0x461306
mov esi, dword [ebp - 0x1c8]
xor ecx, ecx
test eax, eax
jle 0x461437
movss xmm1, dword [0x56aaac]
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 0x461400
xor ecx, ecx
test eax, eax
jle 0x461451
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 0x461443
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 0x460f25
push edi
call fcn.00511399
add esp, 4
push dword [ebp - 0x1d4]
call fcn.004c93fc
add esp, 4
cmp dword [0x592204], 0
je 0x4614f6
push 0x55bad8
push 0x55badc
call fcn.005112b9
mov esi, eax
add esp, 8
test esi, esi
je 0x4614f6
push 0x55cd40
push esi
call fcn.004469d0
push esi
call fcn.00511399
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.004c90dc
mov esp, ebp
pop ebp
ret 0xc
call fcn.004c920e
int3