Function at 0x43f8c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba865
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4e9bb4]
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 [0x4fec98], 0
mov edi, dword [ebp + 0xc]
je 0x43f95f
push 0x4d0c24
push 0x4d0c28
call fcn.004a38dc
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43f92e
push str.PumaAnim::LoadCompressed
push ebx
call fcn.00430d20
push ebx
call fcn.004a39b0
add esp, 0xc
cmp dword [0x4fec98], 0
je 0x43f95f
push 0x4d0c24
push 0x4d0c28
call fcn.004a38dc
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43f95f
push edi
push ebx
call fcn.00430d20
push ebx
call fcn.004a39b0
add esp, 0xc
test edi, edi
jne 0x43fa59
push 0x58
lea eax, [ebp - 0x23c]
push edi
push eax
call fcn.004981d0
lea eax, [ebp - 0x94]
mov byte [ebp - 0x94], 0
mov dword [ebp - 0x220], eax
add esp, 0xc
mov eax, dword [0x4fecac]
mov dword [ebp - 0x23c], 0x58
mov dword [ebp - 0x210], 0x4d1e70
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 0x4401a6
lea edi, [ebp - 0x94]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f9f0
sub ecx, edx
test ecx, ecx
jle 0x4401a6
xor eax, eax
nop dword [eax]
nop word [eax + eax]
cmp byte [ebp + eax - 0x94], 0x2e
je 0x43fe18
inc eax
cmp eax, ecx
jl 0x43fa10
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push 0x4d1e8c
push eax
call fcn.00434510
add esp, 0xc
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x94]
push 0x4d1e94
push eax
call fcn.004407c0
add esp, 0xc
push 0x4d1e98
push edi
call fcn.004a38dc
add esp, 8
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x4401a6
cmp dword [esi + 0x15c], 0
lea edi, [esi + 0x150]
je 0x43fb06
mov ecx, dword [esi + 0x154]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x158], ecx
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x43fb06
nop
cmp dword [edi + 0xc], 0
je 0x43fadf
push ebx
mov ecx, edi
call fcn.00434cb0
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x43fadf
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.004957e1
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 0x43fb06
mov eax, dword [esi + 0x154]
mov eax, dword [eax + 4]
mov dword [esi + 0x158], eax
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x43faa0
mov edi, dword [esi + 0x108]
mov ebx, dword [0x4fecb0]
test edi, edi
je 0x43fb34
push edi
lea ecx, [ebx + 4]
call fcn.00434cb0
test eax, eax
je 0x43fb34
push edi
lea ecx, [ebx + 4]
call fcn.00434d50
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.004a4854
movsx eax, word [ebp - 0x1c0]
push edi
push 4
mov dword [esi + 0x160], eax
lea eax, [ebp - 0x1cc]
push 1
push eax
call fcn.004a4854
mov eax, dword [ebp - 0x1cc]
add eax, eax
push eax
call fcn.004957ef
xor ebx, ebx
mov dword [ebp - 0x1d4], eax
add esp, 0x24
cmp dword [ebp - 0x1cc], ebx
jle 0x43fbbe
mov esi, eax
push edi
push 1
push 1
push esi
call fcn.004a4854
push edi
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.004a4854
inc ebx
add esp, 0x20
add esi, 2
cmp ebx, dword [ebp - 0x1cc]
jl 0x43fb96
xor esi, esi
xor eax, eax
mov dword [ebp - 0x1d0], esi
cmp ax, word [ebp - 0x1c0]
jge 0x44015a
push 0x164
call fcn.004957b1
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.004981d0
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 0x43fc10
mov ecx, dword [ebp - 0x1bc]
mov dword [ebx], vtable.PumaAnimFrame.0
mov dword [ebx + 0x10c], 0
cmp dword [ecx + 0x15c], 0
je 0x43fc99
mov eax, dword [ecx + 0x154]
mov edi, dword [ecx + 0x158]
push 0xc
mov esi, dword [eax]
mov dword [ecx + 0x158], esi
call fcn.004957b1
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.004a4854
push edi
push 0xc
lea eax, [ebx + 0x110]
push 1
push eax
call fcn.004a4854
push edi
push 0xc
lea eax, [ebp - 0x1ac]
push 1
push eax
call fcn.004a4854
push edi
push 0xc
lea eax, [ebp - 0x1a0]
push 1
push eax
call fcn.004a4854
mov eax, dword [ebp - 0x1cc]
add esp, 0x40
mov dword [ebx + 0x108], eax
push 0x224
call fcn.004957b1
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.00443df0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov edx, dword [0x4fecb0]
mov dword [ebx + 0x10c], ecx
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1b8], edx
cmp dword [edx + 0x10], 0
je 0x43fda4
test ecx, ecx
je 0x43fda4
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
push 0xc
mov esi, dword [eax]
mov dword [edx + 0xc], esi
call fcn.004957b1
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 0x43fe38
mov edi, dword [ebp - 0x1bc]
add edi, 0x150
cmp dword [edi + 0xc], eax
je 0x43fdf0
push ebx
mov ecx, edi
call fcn.00434cb0
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x43fdf0
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.004957e1
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 0x440144
cmp eax, ecx
jge 0x43fa23
cmp eax, 0x80
jae 0x4401c4
mov byte [ebp + eax - 0x94], 0
jmp 0x43fa23
cmp dword [eax + 0x108], 0
jne 0x43fea8
mov edi, dword [ebp - 0x1bc]
add edi, 0x150
cmp dword [edi + 0xc], 0
je 0x43fe86
push ebx
mov ecx, edi
call fcn.00434cb0
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
je 0x43fe86
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.004957e1
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 0x440144
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 0x43ffa1
lea esi, [ecx + 0xc]
nop dword [eax + eax]
push edi
push 1
lea eax, [ebp - 0x1ad]
push 1
push eax
call fcn.004a4854
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 [0x4def68]
movss dword [esi], xmm0
call fcn.004a4854
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 [0x4def68]
movss dword [esi + 4], xmm0
call fcn.004a4854
movsx eax, byte [ebp - 0x1ad]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push esi
push esi
divss xmm0, dword [0x4def68]
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 0x43fef0
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1b8], 0
test eax, eax
jle 0x44008a
lea esi, [ecx + 8]
push edi
push 2
lea eax, [ebp - 0x1b4]
push 1
push eax
call fcn.004a4854
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 [0x4defb8]
mulss xmm0, dword [ebp - 0x1a0]
addss xmm0, dword [ebp - 0x1ac]
movss dword [esi - 8], xmm0
call fcn.004a4854
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 [0x4defb8]
mulss xmm0, dword [ebp - 0x19c]
addss xmm0, dword [ebp - 0x1a8]
movss dword [esi - 4], xmm0
call fcn.004a4854
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 [0x4defb8]
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 0x43ffb6
mov esi, dword [ebp - 0x1c8]
xor ecx, ecx
test eax, eax
jle 0x4400e7
movss xmm1, dword [0x4def9c]
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 0x4400b0
xor ecx, ecx
test eax, eax
jle 0x440101
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 0x4400f3
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 0x43fbd5
push edi
call fcn.004a39b0
add esp, 4
push dword [ebp - 0x1d4]
call fcn.004957ac
add esp, 4
cmp dword [0x4fec98], 0
je 0x4401a6
push 0x4d0c24
push 0x4d0c28
call fcn.004a38dc
mov esi, eax
add esp, 8
test esi, esi
je 0x4401a6
push 0x4d1e9c
push esi
call fcn.00430d20
push esi
call fcn.004a39b0
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.004955a0
mov esp, ebp
pop ebp
ret 0xc
call fcn.004956d2
int3