Function at 0x481c40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
push ecx
lea edi, [ebp - 0x78]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
add eax, 0xb
cmp eax, dword [ebp + 0x10]
jbe 0x481c88
jmp 0x48201e
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 1]
shl eax, 0x10
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 2]
shl edx, 8
add eax, edx
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 3]
lea eax, [eax + edx + 0xf]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jbe 0x481cc5
jmp 0x48201e
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
cmp eax, 8
jne 0x481e14
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0
fild qword [ebp - 0x2c]
mov edx, dword [ebp - 4]
fadd qword [edx + 0x70]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x70]
mov ecx, dword [ebp - 8]
sub ecx, 4
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0
fild qword [ebp - 0x34]
mov edx, dword [ebp - 4]
fadd qword [edx + 0x78]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 1]
shl edx, 0x10
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 2]
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 3]
add ecx, dword [ebp - 0x10]
add ecx, edx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x481e0f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0xb]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx]
sar edx, 4
and edx, 0xf
mov dword [ebp - 0x38], edx
fild dword [ebp - 0x38]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x18]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx]
sar edx, 2
and edx, 3
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 3
ja case.default.0x481d87
mov eax, dword [ebp - 0x3c]
jmp dword [eax*4 + 0x48217c]
mov ecx, dword [ebp - 4]
fld qword [0x51ad60]
fstp qword [ecx + 0x20]
jmp case.default.0x481d87
mov edx, dword [ebp - 4]
fld qword [0x51ad58]
fstp qword [edx + 0x20]
jmp case.default.0x481d87
mov eax, dword [ebp - 4]
fld qword [0x51ad50]
fstp qword [eax + 0x20]
jmp case.default.0x481d87
mov ecx, dword [ebp - 4]
fld qword [0x51ad48]
fstp qword [ecx + 0x20]
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx]
sar eax, 1
and eax, 1
mov dword [ebp - 0x40], eax
je 0x481ddc
cmp dword [ebp - 0x40], 1
je 0x481dea
jmp 0x481df6
mov ecx, dword [ebp - 4]
fld qword [0x51ad40]
fstp qword [ecx + 0x30]
jmp 0x481df6
mov edx, dword [ebp - 4]
fld qword [0x51ad38]
fstp qword [edx + 0x30]
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax]
and ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 1
jmp 0x481fd0
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx]
cmp edx, 9
jne 0x481fd0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
fild qword [ebp - 0x48]
mov ecx, dword [ebp - 4]
fadd qword [ecx + 0x70]
mov edx, dword [ebp - 4]
fstp qword [edx + 0x70]
mov eax, dword [ebp - 8]
sub eax, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
fild qword [ebp - 0x50]
mov ecx, dword [ebp - 4]
fadd qword [ecx + 0x80]
mov edx, dword [ebp - 4]
fstp qword [edx + 0x80]
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 1]
shl ecx, 0x10
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 2]
shl eax, 8
add ecx, eax
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 3]
add eax, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0xb]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne case.default.0x481ee9
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax]
and ecx, 0xf
mov dword [ebp - 0x54], ecx
fild dword [ebp - 0x54]
mov edx, dword [ebp - 4]
fstp qword [edx + 0x48]
mov eax, dword [ebp - 4]
mov dword [eax + 4], 1
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx]
and edx, 0xf
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
sub eax, 2
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
ja case.default.0x481ee9
mov ecx, dword [ebp - 0x58]
jmp dword [ecx*4 + 0x48218c]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004821a0
jmp case.default.0x481ee9
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00482390
jmp case.default.0x481ee9
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00482400
jmp case.default.0x481ee9
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00482470
jmp case.default.0x481ee9
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00482390
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx]
sar eax, 4
and eax, 1
je 0x481fc6
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa8]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 7]
shl eax, 0x18
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 4]
shl edx, 0x10
add eax, edx
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 5]
shl edx, 8
add eax, edx
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 6]
add eax, edx
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fdiv qword [0x51ad28]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x98]
jmp 0x481fd0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 7]
shl eax, 0x18
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 4]
shl edx, 0x10
add eax, edx
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 5]
shl edx, 8
add eax, edx
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 6]
add eax, edx
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fdiv qword [0x51ad28]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x90]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
jmp 0x481c78
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
fld qword [eax + 0x90]
fstp qword [edx + 0xb8]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xa8], 0
je 0x482045
mov edx, dword [ebp - 4]
mov dword [edx], 1
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jne 0x4820e9
mov esi, esp
push 8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.MSVCR71.dll_calloc]
add esp, 8
cmp esi, esp
call fcn.004f90e1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xac], eax
mov esi, esp
push 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.MSVCR71.dll_calloc]
add esp, 8
cmp esi, esp
call fcn.004f90e1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xac], 0
je 0x4820b7
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb0], 0
jne 0x4820e9
mov esi, esp
push str.Not_enough_memory_for_the_keyframe_index._n
mov ecx, dword [sym.imp.MSVCR71.dll__iob]
add ecx, 0x40
push ecx
call dword [sym.imp.MSVCR71.dll_fprintf]
add esp, 8
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push 1
call dword [sym.imp.MSVCR71.dll_exit]
cmp esi, esp
call fcn.004f90e1
cmp dword [ebp - 0x14], 0
je 0x48210e
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], 0
fild qword [ebp - 0x68]
mov eax, dword [ebp - 4]
fdiv qword [eax + 0xb8]
mov ecx, dword [ebp - 4]
fstp qword [ecx + 0x50]
cmp dword [ebp - 0xc], 0
je 0x48213c
mov edx, dword [ebp - 0xc]
shl edx, 3
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], 0
fild qword [ebp - 0x70]
fdiv qword [0x51ad30]
mov eax, dword [ebp - 4]
fdiv qword [eax + 0xb8]
mov ecx, dword [ebp - 4]
fstp qword [ecx + 0x58]
cmp dword [ebp - 0x10], 0
je 0x48216a
mov edx, dword [ebp - 0x10]
shl edx, 3
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], 0
fild qword [ebp - 0x78]
fdiv qword [0x51ad30]
mov eax, dword [ebp - 4]
fdiv qword [eax + 0xb8]
mov ecx, dword [ebp - 4]
fstp qword [ecx + 0x28]
pop edi
pop esi
add esp, 0x78
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret 0xc