Function at 0x43ea90
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x19c
push 0xffffffffffffffff
push 0x4c49a1
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x507b40]
xor eax, ebp
mov dword [ebp + 0x198], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
mov esi, dword [ebp + 0x1a8]
mov ecx, 0x50936c
push str.PumaAnim::LoadCompressed
call fcn.004304a0
push esi
mov ecx, 0x50936c
call fcn.004304a0
test esi, esi
jne 0x43ebd0
push 0x58
lea eax, [ebp - 0x98]
push esi
push eax
call fcn.0049c270
lea eax, [ebp + 0x118]
mov dword [ebp - 0x98], 0x58
mov dword [ebp - 0x7c], eax
add esp, 0xc
mov eax, dword [0x509420]
mov byte [ebp + 0x118], 0
mov dword [ebp - 0x6c], 0x4cb7e0
mov dword [ebp - 0x78], 0x80
mov dword [ebp - 0x8c], str.PUMA_ANC_files
mov eax, dword [eax + 0x2a3cc]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x64], 8
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x43f095
lea esi, [ebp + 0x118]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43eb75
sub ecx, edx
test ecx, ecx
jle 0x43f095
xor eax, eax
nop dword [eax + eax]
cmp byte [ebp + eax + 0x118], 0x2e
je 0x43ecfe
inc eax
cmp eax, ecx
jl 0x43eb90
lea eax, [ebp + 0x118]
push eax
lea eax, [ebp + 0x18]
push 0x4cb7fc
push eax
call fcn.00434400
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x118]
push 0x4cb804
push eax
call fcn.0043e480
add esp, 0x18
push 0x4cb808
push esi
call fcn.004aa88b
mov ebx, eax
add esp, 8
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x43f095
add edi, 0x150
mov ecx, edi
mov dword [ebp - 0x30], edi
call fcn.00434f60
mov esi, eax
test esi, esi
je 0x43ec20
push esi
mov ecx, edi
call fcn.00435100
mov ecx, dword [esi]
push 1
mov eax, dword [ecx]
mov ecx, esi
call eax
mov ecx, edi
call fcn.00434f60
mov esi, eax
test esi, esi
jne 0x43ec01
mov esi, dword [ebp - 0x28]
mov ecx, dword [0x509424]
push dword [esi + 0x108]
call fcn.00443420
push ebx
push 2
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push 1
push eax
call fcn.004ab359
movsx eax, word [ebp - 0x18]
push ebx
push 4
mov dword [esi + 0x160], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.004ab359
mov eax, dword [ebp - 0x24]
add eax, eax
push eax
call fcn.00498892
add esp, 0x24
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x24], 0
jle 0x43eca8
mov esi, eax
xor edi, edi
nop dword [eax]
push ebx
push 1
push 1
push esi
call fcn.004ab359
push ebx
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.004ab359
inc edi
add esp, 0x20
add esi, 2
cmp edi, dword [ebp - 0x24]
jl 0x43ec80
mov edi, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
cmp ax, word [ebp - 0x18]
jge 0x43f075
nop dword [eax + eax]
push 0x164
call fcn.00498854
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x43ed1e
push str.ANIM_FRAME
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00434290
mov dword [esi], vtable.PumaAnimFrame.0
mov dword [esi + 0x10c], 0
jmp 0x43ed20
cmp eax, ecx
jge 0x43eba3
cmp eax, 0x80
jae 0x43f0ba
mov byte [ebp + eax + 0x118], 0
jmp 0x43eba3
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
test esi, esi
jne 0x43ed62
call fcn.00434f60
mov esi, eax
test esi, esi
je 0x43ee1d
nop dword [eax]
push esi
mov ecx, edi
call fcn.00435100
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov ecx, edi
call fcn.00434f60
mov esi, eax
test esi, esi
jne 0x43ed40
jmp 0x43ee1d
push esi
call fcn.00434d90
push ebx
push 0xc
lea eax, [esi + 0x11c]
push 1
push eax
call fcn.004ab359
push ebx
push 0xc
lea eax, [esi + 0x110]
push 1
push eax
call fcn.004ab359
push ebx
push 0xc
lea eax, [ebp]
push 1
push eax
call fcn.004ab359
push ebx
push 0xc
lea eax, [ebp + 0xc]
push 1
push eax
call fcn.004ab359
mov eax, dword [ebp - 0x24]
add esp, 0x40
mov dword [esi + 0x108], eax
push 0x224
call fcn.00498854
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x43ede8
mov ecx, dword [esi + 0x108]
push 0x152
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.00443150
jmp 0x43edea
xor eax, eax
mov dword [esi + 0x10c], eax
mov ecx, dword [0x509424]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00443410
mov eax, dword [esi + 0x10c]
test eax, eax
jne 0x43ee34
push esi
mov ecx, edi
call fcn.00435100
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x160], eax
mov eax, dword [ebp - 0x18]
movsx ecx, ax
jmp 0x43f068
cmp dword [eax + 0x108], 0
jne 0x43ee61
push esi
mov ecx, edi
call fcn.00435100
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
movsx ecx, ax
mov dword [edx + 0x160], ecx
jmp 0x43f068
mov ecx, dword [0x509424]
push eax
call fcn.00443450
mov edx, dword [esi + 0x108]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
test edx, edx
jle 0x43ef1e
lea edi, [eax + 0xc]
push ebx
push 1
lea eax, [ebp - 0xd]
push 1
push eax
call fcn.004ab359
movsx eax, byte [ebp - 0xd]
push ebx
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0xd]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4cb844]
movss dword [edi], xmm0
call fcn.004ab359
movsx eax, byte [ebp - 0xd]
push ebx
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0xd]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4cb844]
movss dword [edi + 4], xmm0
call fcn.004ab359
movsx eax, byte [ebp - 0xd]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push edi
push edi
divss xmm0, dword [0x4cb844]
movss dword [edi + 8], xmm0
call fcn.00401271
mov eax, dword [ebp - 0x20]
add edi, 0x24
mov edx, dword [esi + 0x108]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, edx
jl 0x43ee88
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], 0
test edx, edx
jle 0x43efda
lea edi, [eax + 8]
push ebx
push 2
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.004ab359
movsx eax, word [ebp - 0x14]
push ebx
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x14]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4cb850]
mulss xmm0, dword [ebp + 0xc]
addss xmm0, dword [ebp]
movss dword [edi - 8], xmm0
call fcn.004ab359
movsx eax, word [ebp - 0x14]
push ebx
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x14]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4cb850]
mulss xmm0, dword [ebp + 0x10]
addss xmm0, dword [ebp + 4]
movss dword [edi - 4], xmm0
call fcn.004ab359
movsx eax, word [ebp - 0x14]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
divss xmm0, dword [0x4cb850]
mulss xmm0, dword [ebp + 0x14]
addss xmm0, dword [ebp + 8]
movss dword [edi], xmm0
add edi, 0x24
mov edx, dword [esi + 0x108]
cmp eax, edx
jl 0x43ef30
xor ecx, ecx
test edx, edx
jle 0x43f02b
mov edi, dword [ebp - 0x2c]
movss xmm1, dword [0x4cb848]
add edi, 0x20
mov ebx, dword [ebp - 0x34]
movzx eax, byte [ebx + ecx*2]
lea edi, [edi + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edi - 0x28], xmm0
movzx eax, byte [ebx + ecx*2 + 1]
inc ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edi - 0x24], xmm0
mov edx, dword [esi + 0x108]
cmp ecx, edx
jl 0x43eff1
mov ebx, dword [ebp - 0x38]
xor ecx, ecx
test edx, edx
jle 0x43f04e
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 0x1ac]
add eax, 0x18
nop dword [eax]
mov dword [eax], edx
lea eax, [eax + 0x24]
inc ecx
cmp ecx, dword [esi + 0x108]
jl 0x43f040
push dword [esi + 0x10c]
mov ecx, dword [0x509424]
call fcn.00443480
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
inc ecx
cwde
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
jl 0x43ecc0
push ebx
call fcn.004aa799
push dword [ebp - 0x34]
call fcn.0049889b
add esp, 8
mov ecx, 0x50936c
push 0x4cb80c
call fcn.004304a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x198]
xor ecx, ebp
call fcn.00498846
lea esp, [ebp + 0x19c]
pop ebp
ret 0xc
call fcn.00498769
int3