Function at 0x43fda0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4babb5
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4eac74]
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 [0x4ffd58], 0
mov edi, dword [ebp + 0xc]
je 0x43fe3f
push 0x4d1cc4
push 0x4d1cc8
call fcn.004a3c4f
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43fe0e
push str.PumaAnim::LoadCompressed
push ebx
call fcn.00430f00
push ebx
call fcn.004a3d23
add esp, 0xc
cmp dword [0x4ffd58], 0
je 0x43fe3f
push 0x4d1cc4
push 0x4d1cc8
call fcn.004a3c4f
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43fe3f
push edi
push ebx
call fcn.00430f00
push ebx
call fcn.004a3d23
add esp, 0xc
test edi, edi
jne 0x43ff39
push 0x58
lea eax, [ebp - 0x23c]
push edi
push eax
call fcn.00498510
lea eax, [ebp - 0x94]
mov byte [ebp - 0x94], 0
mov dword [ebp - 0x220], eax
add esp, 0xc
mov eax, dword [0x4ffd6c]
mov dword [ebp - 0x23c], 0x58
mov dword [ebp - 0x210], 0x4d2f10
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 0x440686
lea edi, [ebp - 0x94]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43fed0
sub ecx, edx
test ecx, ecx
jle 0x440686
xor eax, eax
nop dword [eax]
nop word [eax + eax]
cmp byte [ebp + eax - 0x94], 0x2e
je 0x4402f8
inc eax
cmp eax, ecx
jl 0x43fef0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push 0x4d2f2c
push eax
call fcn.004346f0
add esp, 0xc
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x94]
push 0x4d2f34
push eax
call fcn.00440ca0
add esp, 0xc
push 0x4d2f38
push edi
call fcn.004a3c4f
add esp, 8
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x440686
cmp dword [esi + 0x15c], 0
lea edi, [esi + 0x150]
je 0x43ffe6
mov ecx, dword [esi + 0x154]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x158], ecx
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x43ffe6
nop
cmp dword [edi + 0xc], 0
je 0x43ffbf
push ebx
mov ecx, edi
call fcn.00434e90
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x43ffbf
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.00495b21
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 0x43ffe6
mov eax, dword [esi + 0x154]
mov eax, dword [eax + 4]
mov dword [esi + 0x158], eax
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x43ff80
mov edi, dword [esi + 0x108]
mov ebx, dword [0x4ffd70]
test edi, edi
je 0x440014
push edi
lea ecx, [ebx + 4]
call fcn.00434e90
test eax, eax
je 0x440014
push edi
lea ecx, [ebx + 4]
call fcn.00434f30
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.004a4bc7
movsx eax, word [ebp - 0x1c0]
push edi
push 4
mov dword [esi + 0x160], eax
lea eax, [ebp - 0x1cc]
push 1
push eax
call fcn.004a4bc7
mov eax, dword [ebp - 0x1cc]
add eax, eax
push eax
call fcn.00495b2f
xor ebx, ebx
mov dword [ebp - 0x1d4], eax
add esp, 0x24
cmp dword [ebp - 0x1cc], ebx
jle 0x44009e
mov esi, eax
push edi
push 1
push 1
push esi
call fcn.004a4bc7
push edi
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.004a4bc7
inc ebx
add esp, 0x20
add esi, 2
cmp ebx, dword [ebp - 0x1cc]
jl 0x440076
xor esi, esi
xor eax, eax
mov dword [ebp - 0x1d0], esi
cmp ax, word [ebp - 0x1c0]
jge 0x44063a
push 0x164
call fcn.00495af1
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.00498510
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 0x4400f0
mov ecx, dword [ebp - 0x1bc]
mov dword [ebx], vtable.PumaAnimFrame.0
mov dword [ebx + 0x10c], 0
cmp dword [ecx + 0x15c], 0
je 0x440179
mov eax, dword [ecx + 0x154]
mov edi, dword [ecx + 0x158]
push 0xc
mov esi, dword [eax]
mov dword [ecx + 0x158], esi
call fcn.00495af1
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.004a4bc7
push edi
push 0xc
lea eax, [ebx + 0x110]
push 1
push eax
call fcn.004a4bc7
push edi
push 0xc
lea eax, [ebp - 0x1ac]
push 1
push eax
call fcn.004a4bc7
push edi
push 0xc
lea eax, [ebp - 0x1a0]
push 1
push eax
call fcn.004a4bc7
mov eax, dword [ebp - 0x1cc]
add esp, 0x40
mov dword [ebx + 0x108], eax
push 0x224
call fcn.00495af1
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.00444140
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov edx, dword [0x4ffd70]
mov dword [ebx + 0x10c], ecx
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1b8], edx
cmp dword [edx + 0x10], 0
je 0x440284
test ecx, ecx
je 0x440284
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
push 0xc
mov esi, dword [eax]
mov dword [edx + 0xc], esi
call fcn.00495af1
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 0x440318
mov edi, dword [ebp - 0x1bc]
add edi, 0x150
cmp dword [edi + 0xc], eax
je 0x4402d0
push ebx
mov ecx, edi
call fcn.00434e90
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x4402d0
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.00495b21
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 0x440624
cmp eax, ecx
jge 0x43ff03
cmp eax, 0x80
jae 0x4406a4
mov byte [ebp + eax - 0x94], 0
jmp 0x43ff03
cmp dword [eax + 0x108], 0
jne 0x440388
mov edi, dword [ebp - 0x1bc]
add edi, 0x150
cmp dword [edi + 0xc], 0
je 0x440366
push ebx
mov ecx, edi
call fcn.00434e90
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x440366
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.00495b21
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 0x440624
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 0x440481
lea esi, [ecx + 0xc]
nop dword [eax + eax]
push edi
push 1
lea eax, [ebp - 0x1ad]
push 1
push eax
call fcn.004a4bc7
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 [0x4e0008]
movss dword [esi], xmm0
call fcn.004a4bc7
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 [0x4e0008]
movss dword [esi + 4], xmm0
call fcn.004a4bc7
movsx eax, byte [ebp - 0x1ad]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push esi
push esi
divss xmm0, dword [0x4e0008]
movss dword [esi + 8], xmm0
call fcn.00402788
mov ecx, dword [ebp - 0x1b8]
add esi, 0x24
mov eax, dword [ebx + 0x108]
inc ecx
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jl 0x4403d0
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1b8], 0
test eax, eax
jle 0x44056a
lea esi, [ecx + 8]
push edi
push 2
lea eax, [ebp - 0x1b4]
push 1
push eax
call fcn.004a4bc7
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 [0x4e0058]
mulss xmm0, dword [ebp - 0x1a0]
addss xmm0, dword [ebp - 0x1ac]
movss dword [esi - 8], xmm0
call fcn.004a4bc7
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 [0x4e0058]
mulss xmm0, dword [ebp - 0x19c]
addss xmm0, dword [ebp - 0x1a8]
movss dword [esi - 4], xmm0
call fcn.004a4bc7
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 [0x4e0058]
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 0x440496
mov esi, dword [ebp - 0x1c8]
xor ecx, ecx
test eax, eax
jle 0x4405c7
movss xmm1, dword [0x4e003c]
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 0x440590
xor ecx, ecx
test eax, eax
jle 0x4405e1
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 0x4405d3
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 0x4400b5
push edi
call fcn.004a3d23
add esp, 4
push dword [ebp - 0x1d4]
call fcn.00495aec
add esp, 4
cmp dword [0x4ffd58], 0
je 0x440686
push 0x4d1cc4
push 0x4d1cc8
call fcn.004a3c4f
mov esi, eax
add esp, 8
test esi, esi
je 0x440686
push 0x4d2f3c
push esi
call fcn.00430f00
push esi
call fcn.004a3d23
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.004958e0
mov esp, ebp
pop ebp
ret 0xc
call fcn.00495a12
int3