Function at 0x45b070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3e8f
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x62c7a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c0], edi
mov esi, dword [ebp + 0xc]
mov ecx, 0x62f12c
push str.PumaAnim::LoadCompressed
call fcn.004480d0
push esi
mov ecx, 0x62f12c
call fcn.004480d0
test esi, esi
jne 0x45b1b6
push 0x58
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.0055c100
lea eax, [ebp - 0x90]
mov dword [ebp - 0x234], 0x58
mov dword [ebp - 0x218], eax
add esp, 0xc
mov eax, dword [0x62f318]
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x208], 0x5d3f44
mov dword [ebp - 0x214], 0x80
mov dword [ebp - 0x228], str.PUMA_ANC_files
mov eax, dword [eax + 0x2a3cc]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 0x200], 8
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x45b714
lea esi, [ebp - 0x90]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45b153
sub ecx, edx
test ecx, ecx
jle 0x45b714
xor eax, eax
nop word [eax + eax]
cmp byte [ebp + eax - 0x90], 0x2e
je 0x45b2f0
inc eax
cmp eax, ecx
jl 0x45b170
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x190]
push str._s.anc
push eax
call fcn.0043d380
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x90]
push 0x5d30e0
push eax
call fcn.0043d380
add esp, 0x18
push 0x5d3f7c
push esi
call fcn.00569402
mov ebx, eax
add esp, 8
mov dword [ebp - 0x1d4], ebx
test ebx, ebx
je 0x45b714
add edi, 0x150
mov ecx, edi
mov dword [ebp - 0x1cc], edi
call fcn.0044e020
mov esi, eax
test esi, esi
je 0x45b20d
nop dword [eax]
push esi
mov ecx, edi
call fcn.0044e210
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov ecx, edi
call fcn.0044e020
mov esi, eax
test esi, esi
jne 0x45b1f0
mov esi, dword [ebp - 0x1c0]
mov ecx, dword [0x62f31c]
push dword [esi + 0x108]
call fcn.00462e90
push ebx
push 2
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1b4], 0
push 1
push eax
call fcn.00591f2e
movsx eax, word [ebp - 0x1b4]
push ebx
push 4
mov dword [esi + 0x160], eax
lea eax, [ebp - 0x1bc]
push 1
push eax
call fcn.00591f2e
mov eax, dword [ebp - 0x1bc]
add eax, eax
push eax
call fcn.00559c06
add esp, 0x24
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1bc], 0
jle 0x45b2af
mov esi, eax
xor edi, edi
push ebx
push 1
push 1
push esi
call fcn.00591f2e
push ebx
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.00591f2e
inc edi
add esp, 0x20
add esi, 2
cmp edi, dword [ebp - 0x1bc]
jl 0x45b281
mov edi, dword [ebp - 0x1cc]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x1c4], esi
cmp ax, word [ebp - 0x1b4]
jge 0x45b6f1
push 0x164
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x45b310
push esi
mov ecx, eax
call fcn.0045a350
mov esi, eax
jmp 0x45b312
cmp eax, ecx
jge 0x45b183
cmp eax, 0x80
jae 0x45b732
mov byte [ebp + eax - 0x90], 0
jmp 0x45b183
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
test esi, esi
jne 0x45b352
call fcn.0044e020
mov esi, eax
test esi, esi
je 0x45b419
nop
push esi
mov ecx, edi
call fcn.0044e210
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov ecx, edi
call fcn.0044e020
mov esi, eax
test esi, esi
jne 0x45b330
jmp 0x45b419
push esi
call fcn.0044de70
push ebx
push 0xc
lea eax, [esi + 0x11c]
push 1
push eax
call fcn.00591f2e
push ebx
push 0xc
lea eax, [esi + 0x110]
push 1
push eax
call fcn.00591f2e
push ebx
push 0xc
lea eax, [ebp - 0x1a8]
push 1
push eax
call fcn.00591f2e
push ebx
push 0xc
lea eax, [ebp - 0x19c]
push 1
push eax
call fcn.00591f2e
mov eax, dword [ebp - 0x1bc]
add esp, 0x40
mov dword [esi + 0x108], eax
push 0x224
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x45b3e4
mov ecx, dword [esi + 0x108]
push 0x152
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.00462ba0
jmp 0x45b3e6
xor eax, eax
mov dword [esi + 0x10c], eax
mov ecx, dword [0x62f31c]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00462e80
mov eax, dword [esi + 0x10c]
test eax, eax
jne 0x45b439
push esi
mov ecx, edi
call fcn.0044e210
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1c4]
mov dword [ecx + 0x160], eax
mov eax, dword [ebp - 0x1b4]
movsx esi, ax
jmp 0x45b6e1
cmp dword [eax + 0x108], 0
jne 0x45b46c
push esi
mov ecx, edi
call fcn.0044e210
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1b4]
movsx esi, ax
mov dword [ecx + 0x160], esi
jmp 0x45b6e1
mov ecx, dword [0x62f31c]
push eax
call fcn.00462f30
mov edx, dword [esi + 0x108]
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1b8], 0
test edx, edx
jle 0x45b551
lea edi, [eax + 0xc]
nop dword [eax]
push ebx
push 1
lea eax, [ebp - 0x1a9]
push 1
push eax
call fcn.00591f2e
movsx eax, byte [ebp - 0x1a9]
push ebx
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0x1a9]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x5d3fbc]
movss dword [edi], xmm0
call fcn.00591f2e
movsx eax, byte [ebp - 0x1a9]
push ebx
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0x1a9]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x5d3fbc]
movss dword [edi + 4], xmm0
call fcn.00591f2e
movsx eax, byte [ebp - 0x1a9]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push edi
push edi
divss xmm0, dword [0x5d3fbc]
movss dword [edi + 8], xmm0
call fcn.004012ae
mov eax, dword [ebp - 0x1b8]
add edi, 0x24
mov edx, dword [esi + 0x108]
inc eax
mov dword [ebp - 0x1b8], eax
cmp eax, edx
jl 0x45b4a0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1b8], 0
test edx, edx
jle 0x45b63a
lea edi, [eax + 8]
push ebx
push 2
lea eax, [ebp - 0x1b0]
push 1
push eax
call fcn.00591f2e
movsx eax, word [ebp - 0x1b0]
push ebx
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x1b0]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x5d3fc8]
mulss xmm0, dword [ebp - 0x19c]
addss xmm0, dword [ebp - 0x1a8]
movss dword [edi - 8], xmm0
call fcn.00591f2e
movsx eax, word [ebp - 0x1b0]
push ebx
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x1b0]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x5d3fc8]
mulss xmm0, dword [ebp - 0x198]
addss xmm0, dword [ebp - 0x1a4]
movss dword [edi - 4], xmm0
call fcn.00591f2e
movsx eax, word [ebp - 0x1b0]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
divss xmm0, dword [0x5d3fc8]
mulss xmm0, dword [ebp - 0x194]
addss xmm0, dword [ebp - 0x1a0]
movss dword [edi], xmm0
add edi, 0x24
mov edx, dword [esi + 0x108]
cmp eax, edx
jl 0x45b566
xor ecx, ecx
test edx, edx
jle 0x45b69d
mov edi, dword [ebp - 0x1c8]
movss xmm1, dword [0x5d3fc0]
add edi, 0x20
mov ebx, dword [ebp - 0x1d0]
nop word [eax + eax]
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 0x45b660
mov ebx, dword [ebp - 0x1d4]
xor ecx, ecx
test edx, edx
jle 0x45b6be
mov eax, dword [ebp - 0x1c8]
mov edx, dword [ebp + 0x10]
add eax, 0x18
nop
mov dword [eax], edx
lea eax, [eax + 0x24]
inc ecx
cmp ecx, dword [esi + 0x108]
jl 0x45b6b0
push dword [esi + 0x10c]
mov ecx, dword [0x62f31c]
call fcn.00463010
mov eax, dword [ebp - 0x1b4]
mov edi, dword [ebp - 0x1cc]
mov esi, dword [ebp - 0x1c4]
inc esi
cwde
mov dword [ebp - 0x1c4], esi
cmp esi, eax
jl 0x45b2c6
push ebx
call fcn.00569114
push dword [ebp - 0x1d0]
call fcn.00559c0f
add esp, 8
mov ecx, 0x62f12c
push str._DONE_n
call fcn.004480d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005596ea
mov esp, ebp
pop ebp
ret 0xc
call fcn.0055a470
int3